Merge remote-tracking branch 'upstream/branch0101' into branch0101

# Conflicts:
#	python/knext/knext/examples/financial/schema/financial_schema_helper.py
This commit is contained in:
Qu 2023-12-28 21:02:09 +08:00
commit 64e07ce051
4 changed files with 18 additions and 17 deletions

View File

@ -28,10 +28,9 @@ import com.antgroup.openspg.builder.model.record.BaseRecord;
import com.antgroup.openspg.builder.model.record.BuilderRecord;
import com.antgroup.openspg.core.schema.model.identifier.SPGTypeIdentifier;
import com.antgroup.openspg.core.schema.model.type.BaseSPGType;
import com.google.common.collect.Lists;
import java.util.ArrayList;
import java.util.List;
import com.google.common.collect.Lists;
import lombok.extern.slf4j.Slf4j;
@Slf4j

View File

@ -37,6 +37,7 @@
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
</manifest>
</archive>
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
</configuration>
<executions>
<execution>

View File

@ -26,51 +26,51 @@ class Financial:
name = PropertyHelper("name")
stdId = PropertyHelper("stdId")
alias = PropertyHelper("alias")
class AreaRiskEvent(SPGTypeHelper):
description = PropertyHelper("description")
id = PropertyHelper("id")
name = PropertyHelper("name")
eventTime = PropertyHelper("eventTime")
object = PropertyHelper("object")
subject = PropertyHelper("subject")
object = PropertyHelper("object")
eventTime = PropertyHelper("eventTime")
class Company(SPGTypeHelper):
description = PropertyHelper("description")
id = PropertyHelper("id")
name = PropertyHelper("name")
orgCertNo = PropertyHelper("orgCertNo")
establishDate = PropertyHelper("establishDate")
regArea = PropertyHelper("regArea")
regCapital = PropertyHelper("regCapital")
businessScope = PropertyHelper("businessScope")
legalPerson = PropertyHelper("legalPerson")
regArea = PropertyHelper("regArea")
establishDate = PropertyHelper("establishDate")
businessScope = PropertyHelper("businessScope")
class CompanyEvent(SPGTypeHelper):
description = PropertyHelper("description")
id = PropertyHelper("id")
name = PropertyHelper("name")
location = PropertyHelper("location")
eventTime = PropertyHelper("eventTime")
happenedTime = PropertyHelper("happenedTime")
subject = PropertyHelper("subject")
location = PropertyHelper("location")
happenedTime = PropertyHelper("happenedTime")
object = PropertyHelper("object")
class Indicator(SPGTypeHelper):
description = PropertyHelper("description")
id = PropertyHelper("id")
name = PropertyHelper("name")
stdId = PropertyHelper("stdId")
alias = PropertyHelper("alias")
class State(SPGTypeHelper):
description = PropertyHelper("description")
id = PropertyHelper("id")
name = PropertyHelper("name")
causes = PropertyHelper("causes")
alias = PropertyHelper("alias")
derivedFrom = PropertyHelper("derivedFrom")
causes = PropertyHelper("causes")
stdId = PropertyHelper("stdId")
alias = PropertyHelper("alias")
AdministrativeArea = AdministrativeArea("Financial.AdministrativeArea")
AreaRiskEvent = AreaRiskEvent("Financial.AreaRiskEvent")

View File

@ -127,9 +127,10 @@
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
<mainClass>com.antgroup.openspg.reasoner.runner.local.LocalReasonerMain</mainClass>
</manifest>
</archive>
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
</configuration>
<executions>
<execution>