diff --git a/tenet/scheme/amr_master_rule/__init__.py b/tenet/scheme/amr_master_rule/__init__.py index 2e71e6fa3bc1f86c192867b5627d93d0d133a919..df392a72cf6a61beafc6618aaa19ed68329b9b32 100644 --- a/tenet/scheme/amr_master_rule/__init__.py +++ b/tenet/scheme/amr_master_rule/__init__.py @@ -26,5 +26,6 @@ from scheme.amr_master_rule.transduction.phenomena_and_analyzer_1 import * from scheme.amr_master_rule.transduction.phenomena_and_analyzer_2 import * from scheme.amr_master_rule.owl_generation.owl_property_generator import * +from scheme.amr_master_rule.owl_generation.owl_class_generator import * from scheme.amr_master_rule import * diff --git a/tenet/scheme/amr_master_rule/owl_generation/owl_class_generator.py b/tenet/scheme/amr_master_rule/owl_generation/owl_class_generator.py index 2c464c4228b440a06b1aec4534321cc04978593d..509d0558e21d945102983b7b216d500a521639ea 100644 --- a/tenet/scheme/amr_master_rule/owl_generation/owl_class_generator.py +++ b/tenet/scheme/amr_master_rule/owl_generation/owl_class_generator.py @@ -17,6 +17,8 @@ from transduction import net from transduction.rdfterm_computer import produce_uriref, produce_literal from transduction.query_builder import generate_select_query +DEFAULT_CLASS_TYPE = 'base-out:Undetermined_Thing' + #============================================================================== # Select Pattern: Atom / Composite Class Net @@ -112,11 +114,14 @@ def __get_mother_class_uri(graph, mother_class_net_uri): return __compute_class_uri(mother_class_net) -def __define_triple(new_class_uri, relation, data): - triple_list = [] - for predicat in data: - triple_list.append((new_class_uri, relation, predicat)) - return triple_list + +def __compute_class_type_uri(class_net): + if isinstance(class_net.class_type, list) and len(class_net.class_type) > 0: + class_type = class_net.class_type[0] + else: # default class_type + class_type = f'{DEFAULT_CLASS_TYPE}' + return produce_uriref(class_net.support_graph, class_type) + def __generate_owl_taxonomic_relation(graph, new_class_uri, net): @@ -124,14 +129,14 @@ def __generate_owl_taxonomic_relation(graph, new_class_uri, net): triple_list = [] relation = produce_uriref(graph, 'rdfs:subClassOf') predicat = None - + if net.type_id == 'Atom_Class_Net': - predicat = produce_uriref(graph, 'base-out:Out_ObjectClass') + predicat = __compute_class_type_uri(net) if net.type_id == 'Composite_Class_Net': mother_class_net_uri = net.get_attribute_first_value(net.mother_class_net) if mother_class_net_uri is None: - predicat = produce_uriref(graph, 'base-out:Out_ObjectClass') + predicat = __compute_class_type_uri(net) else : predicat = __get_mother_class_uri(graph, mother_class_net_uri) @@ -141,6 +146,14 @@ def __generate_owl_taxonomic_relation(graph, new_class_uri, net): return triple_list + +def __define_triple(new_class_uri, relation, data): + triple_list = [] + for predicat in data: + triple_list.append((new_class_uri, relation, predicat)) + return triple_list + + def __generate_owl_triple_definition(graph, net): triple_list = [] @@ -148,7 +161,8 @@ def __generate_owl_triple_definition(graph, net): new_class_uri = __compute_class_uri(net) rdf_type_uri = produce_uriref(graph, RDF.type) - triple_list += __define_triple(new_class_uri, rdf_type_uri, net.class_type) + class_type_list = [produce_uriref(graph, 'owl:Class')] + triple_list += __define_triple(new_class_uri, rdf_type_uri, class_type_list) relation = produce_uriref(graph, 'rdfs:label') triple_list += __define_triple(new_class_uri, relation, net.class_name) diff --git a/tenet/transduction/net/class_net.py b/tenet/transduction/net/class_net.py index 5fdb9af2b1e33101b4b75d63105182749dc2787d..fb5d733cebd94c1cb1b3acd353b7d3e2bfb61419 100644 --- a/tenet/transduction/net/class_net.py +++ b/tenet/transduction/net/class_net.py @@ -34,9 +34,10 @@ class ClassNet(Net): self.type_uri = produce_uriref(self.support_graph, f'net:{self.type_id}') # -- Net Attributes - self.attr_list += ['class_name', 'class_uri'] + self.attr_list += ['class_name', 'class_uri', 'class_type'] self._class_name = None self._class_uri = None + self._class_type = None #-------------------------------------------------------------------------- @@ -63,3 +64,14 @@ class ClassNet(Net): @class_uri.setter def class_uri(self, new_value): self._class_uri = self.set_attribute_value_list(new_value, produce_uriref) + + + @property + def class_type(self): + if self._class_type is None: + self._class_type = self.get_value_list_from_graph('class_type') + return self._class_type + + @class_type.setter + def class_type(self, new_value): + self._class_type = self.set_attribute_value_list(new_value, produce_uriref) diff --git a/tenet/transduction/semantic_net_rdf_reference.py b/tenet/transduction/semantic_net_rdf_reference.py index 3419af633e966e08224afc076ec521f67fb52bdf..079d1a9ddbd046a48be4e9b42d2ae8a8c277c538 100644 --- a/tenet/transduction/semantic_net_rdf_reference.py +++ b/tenet/transduction/semantic_net_rdf_reference.py @@ -39,6 +39,7 @@ class SemanticNetReferenceHandle: # Class Net 'class_name': 'hasClassName', 'mother_class_net': 'hasMotherClassNet', + 'class_type': 'hasClassType', # Property Net 'property_name': 'hasPropertyName', diff --git a/tests/dev_owl_rule_tests/test_data/devGraph-classes-to-generate.result.ttl b/tests/dev_owl_rule_tests/test_data/devGraph-classes-to-generate.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..35ee1069c84a1a240e505e922f8df782e99c8cd5 --- /dev/null +++ b/tests/dev_owl_rule_tests/test_data/devGraph-classes-to-generate.result.ttl @@ -0,0 +1,1572 @@ +@base <https://amr.tetras-libre.fr/rdf/devGraph-classes-to-generate/result> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix ext-out: <https://tenet.tetras-libre.fr/extract-result#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns4: <http://amr.isi.edu/entity-types#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +ns2:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns2:hasID "test-1" ; + ns2:hasSentence "The sun is a star." ; + ns2:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns2:hasID "test-2" ; + ns2:hasSentence "Earth is a planet." ; + ns2:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns3:bind-01.ARG0 a ns3:FrameRole . + +ns3:bind-01.ARG1 a ns3:FrameRole . + +ns3:orbit-01.ARG0 a ns3:FrameRole . + +ns3:orbit-01.ARG1 a ns3:FrameRole . + +ns11:domain a ns2:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:op1 a ns2:Role . + +ns11:op2 a ns2:Role . + +ns2:hasID a owl:AnnotationProperty . + +ns2:hasSentence a owl:AnnotationProperty . + +ns2:root a owl:AnnotationProperty . + +<https://amr.tetras-libre.fr/rdf/schema> a owl:Ontology ; + owl:versionIRI :0.1 . + +:AMR_DataProperty a owl:DatatypeProperty . + +:AMR_Prep_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:edge_a_op1_s2 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_o a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_ARG0_g a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_b_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_d2_polarity_negative a :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +:edge_m9_ARG0_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_m9_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o3_op1_d a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_o3_op2_d2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_p9_ARG0_s a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_p9_ARG1_a a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p_name_SolarSystem a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_s_domain_p a :AMR_Edge ; + :hasAmrRole :role_domain ; + :hasRoleID "domain" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:phenomena_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:phenomena_modality_prohibition a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_have-degree-91 a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + +:role_manner a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_SSC-01-01 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#root01> ; + :hasRootLeaf :leaf_system_s ; + :hasSentenceID "SSC-01-01" ; + :hasSentenceStatement "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +ext-out:gravitation-bind-system a owl:Class ; + rdfs:subClassOf ext-out:gravitation ; + sys:fromStructure "SSC-01-01" . + +ext-out:object-orbit-hasManner-direct-sun a owl:Class ; + rdfs:subClassOf ext-out:object ; + sys:fromStructure "SSC-01-01" . + +ext-out:object-orbit-hasManner-not-direct-sun a owl:Class ; + rdfs:subClassOf ext-out:object ; + sys:fromStructure "SSC-01-01" . + +ext-out:sun a owl:Class ; + rdfs:label "sun" ; + rdfs:subClassOf sys:Undetermined_Thing ; + sys:fromStructure "SSC-01-01" . + +ext-out:system-hasPart-object a owl:Class ; + rdfs:subClassOf ext-out:system ; + sys:fromStructure "SSC-01-01" . + +ext-out:system-hasPart-sun a owl:Class ; + rdfs:subClassOf ext-out:system ; + sys:fromStructure "SSC-01-01" . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Axiom_Net a owl:Class ; + rdfs:subClassOf net:Axiom_Net . + +net:Property_Direction a owl:Class ; + rdfs:subClassOf net:Feature . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atomOf a owl:AnnotationProperty ; + rdfs:label "atom of" ; + rdfs:subPropertyOf net:typeProperty . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:axiom_disjointProperty_direct_not-direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_direct_not-direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "SSC-01-01" . + +net:axiom_disjointProperty_not-direct_direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-direct_direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_gravitation-bind-system_g a net:Composite_Class_Net ; + net:composeFrom net:atomClass_gravitation_g, + net:atomClass_system_s, + net:atomProperty_bind_b ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_bind-01_b, + :leaf_gravitation_g, + :leaf_system_s ; + net:hasMotherClassNet net:atomClass_gravitation_g ; + net:hasNaming "gravitation-bind-system" ; + net:hasRestriction net:restriction_bind-system_b ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_object-orbit-hasManner-direct-sun_o a net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-direct_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; + net:hasNaming "object-orbit-hasManner-direct-sun" ; + net:hasRestriction net:restriction_orbit-hasManner-direct-sun_o2 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_object-orbit-hasManner-not-direct-sun_o a net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-not-direct_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; + net:hasNaming "object-orbit-hasManner-not-direct-sun" ; + net:hasRestriction net:restriction_orbit-hasManner-not-direct-sun_o2 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_system-hasPart-object_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_SolarSystem_p ; + net:composeFrom net:atomClass_object_o, + net:atomClass_system_s, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_hasPart_p9, + :leaf_object_o, + :leaf_system_s ; + net:hasMotherClassNet net:atomClass_system_s ; + net:hasNaming "system-hasPart-object" ; + net:hasRestriction net:restriction_hasPart-object_p9 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_system-hasPart-sun_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_SolarSystem_p ; + net:composeFrom net:atomClass_sun_s2, + net:atomClass_system_s, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_hasPart_p9, + :leaf_sun_s2, + :leaf_system_s ; + net:hasMotherClassNet net:atomClass_system_s ; + net:hasNaming "system-hasPart-sun" ; + net:hasRestriction net:restriction_hasPart-sun_p9 ; + net:hasStructure "SSC-01-01" . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_atom a owl:AnnotationProperty ; + rdfs:label "has atom" ; + rdfs:subPropertyOf net:has_object . + +net:has_class a owl:AnnotationProperty ; + rdfs:label "is class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_class_name a owl:AnnotationProperty ; + rdfs:subPropertyOf net:has_value . + +net:has_class_uri a owl:AnnotationProperty ; + rdfs:label "class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_concept a owl:AnnotationProperty ; + rdfs:label "concept "@fr ; + rdfs:subPropertyOf net:objectValue . + +net:has_entity a owl:AnnotationProperty ; + rdfs:label "has entity" ; + rdfs:subPropertyOf net:has_object . + +net:has_feature a owl:AnnotationProperty ; + rdfs:label "has feature" ; + rdfs:subPropertyOf net:has_object . + +net:has_instance a owl:AnnotationProperty ; + rdfs:label "entity instance" ; + rdfs:subPropertyOf net:objectValue . + +net:has_instance_uri a owl:AnnotationProperty ; + rdfs:label "instance uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_item a owl:AnnotationProperty ; + rdfs:label "has item" ; + rdfs:subPropertyOf net:has_object . + +net:has_mother_class a owl:AnnotationProperty ; + rdfs:label "has mother class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_mother_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_node a owl:AnnotationProperty ; + rdfs:label "UNL Node" ; + rdfs:subPropertyOf net:netProperty . + +net:has_parent a owl:AnnotationProperty ; + rdfs:label "has parent" ; + rdfs:subPropertyOf net:has_object . + +net:has_parent_class a owl:AnnotationProperty ; + rdfs:label "parent class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_parent_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_possible_domain a owl:AnnotationProperty ; + rdfs:label "has possible domain" ; + rdfs:subPropertyOf net:has_object . + +net:has_possible_range a owl:AnnotationProperty ; + rdfs:label "has possible range" ; + rdfs:subPropertyOf net:has_object . + +net:has_relation a owl:AnnotationProperty ; + rdfs:label "has relation" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_source a owl:AnnotationProperty ; + rdfs:label "has source" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_structure a owl:AnnotationProperty ; + rdfs:label "Linguistic Structure (in UNL Document)" ; + rdfs:subPropertyOf net:netProperty . + +net:has_target a owl:AnnotationProperty ; + rdfs:label "has target" ; + rdfs:subPropertyOf net:has_relation_value . + +net:inverse_direction a owl:NamedIndividual . + +net:listBy a owl:AnnotationProperty ; + rdfs:label "list by" ; + rdfs:subPropertyOf net:typeProperty . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +net:listOf a owl:AnnotationProperty ; + rdfs:label "list of" ; + rdfs:subPropertyOf net:typeProperty . + +net:modCat1 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 1)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat2 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 2)" ; + rdfs:subPropertyOf net:objectValue . + +net:normal_direction a owl:NamedIndividual . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/SSC-01-01#b> a ns3:bind-01 ; + ns3:bind-01.ARG0 <http://amr.isi.edu/amr_data/SSC-01-01#g> ; + ns3:bind-01.ARG1 <http://amr.isi.edu/amr_data/SSC-01-01#s> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#o2> a ns3:orbit-01 ; + ns3:orbit-01.ARG0 <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + ns3:orbit-01.ARG1 <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + ns11:manner <http://amr.isi.edu/amr_data/SSC-01-01#o3> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#root01> a ns2:AMR ; + ns2:has-id "SSC-01-01" ; + ns2:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly." ; + ns2:root <http://amr.isi.edu/amr_data/SSC-01-01#s> . + +<http://amr.isi.edu/amr_data/test-1#s> ns11:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns4:planet a ns2:NamedEntity ; + rdfs:comment "bug" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns2:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_bind-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:bind-01 ; + :label "bind-01" . + +:concept_gravitation rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns11:gravitation ; + :label "gravitation" . + +:concept_manner rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:manner ; + :isReifiedConcept true ; + :label "hasManner" . + +:concept_object rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns11:object ; + :label "object" . + +:concept_or rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns2:or ; + :hasPhenomenaLink :phenomena_conjunction_or ; + :label "or" . + +:concept_orbit-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:orbit-01 ; + :label "orbit-01" . + +:concept_part rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:part ; + :isReifiedConcept true ; + :label "hasPart" . + +:concept_sun rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns11:sun ; + :label "sun" . + +:role_domain a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_polarity a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#a> ; + :label "a" . + +:variable_b a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#b> ; + :label "b" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#d> ; + :label "d" . + +:variable_d2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#d2> ; + :label "d2" . + +:variable_g a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#g> ; + :label "g" . + +:variable_m9 a ns11:manner, + :AMR_Variable ; + :isReifiedVariable true ; + :label "m9" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + :label "o" . + +:variable_o2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o2> ; + :label "o2" . + +:variable_o3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o3> ; + :label "o3" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#p> ; + :label "p" ; + :name "Solar System" . + +:variable_p9 a ns11:part, + :AMR_Variable ; + :isReifiedVariable true ; + :label "p9" . + +:variable_s a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#s> ; + :label "s" . + +:variable_s2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + :label "s2" . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +ext-out:gravitation a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf sys:Undetermined_Thing ; + sys:fromStructure "SSC-01-01" . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_orbit_o2 a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasClassName "orbit" ; + net:hasNaming "orbit" ; + net:hasStructure "SSC-01-01" . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:atomClass_sun_s2 ; + :role_op2 net:atomClass_object_o ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "SSC-01-01" . + +net:phenomena_conjunction-OR_o3 a net:Phenomena_Net ; + :role_op1 net:atomProperty_direct_d ; + :role_op2 net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_or_o3 ; + net:coverNode :leaf_or_o3 ; + net:hasNaming "conjunction-OR" ; + net:hasPhenomenaRef "or" ; + net:hasPhenomenaType :phenomena_conjunction_or ; + net:hasStructure "SSC-01-01" . + +net:restriction_bind-system_b a net:Restriction_Net ; + net:composeFrom net:atomClass_system_s, + net:atomProperty_bind_b ; + net:coverBaseNode :leaf_bind-01_b ; + net:coverNode :leaf_bind-01_b, + :leaf_system_s ; + net:hasNaming "bind-system" ; + net:hasRestrictionNetValue net:atomClass_system_s ; + net:hasRestrictionOnProperty net:atomProperty_bind_b ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasManner-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-direct" ; + net:hasRestrictionNetValue net:atomProperty_direct_d, + net:atomProperty_direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasManner-not-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_hasManner_m9, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-not-direct" ; + net:hasRestrictionNetValue net:compositeProperty_not-direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasPart-object_p9 a net:Restriction_Net ; + net:composeFrom net:atomClass_object_o, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9, + :leaf_object_o ; + net:hasNaming "hasPart-object" ; + net:hasRestrictionNetValue net:atomClass_object_o ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasPart-sun_p9 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s2, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9, + :leaf_sun_s2 ; + net:hasNaming "hasPart-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_orbit-hasManner-direct-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-direct_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasNaming "orbit-hasManner-direct-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:compositeProperty_orbit-hasManner-direct_o2 ; + net:hasStructure "SSC-01-01" . + +net:restriction_orbit-hasManner-not-direct-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-not-direct_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasNaming "orbit-hasManner-not-direct-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:compositeProperty_orbit-hasManner-not-direct_o2 ; + net:hasStructure "SSC-01-01" . + +<http://amr.isi.edu/amr_data/SSC-01-01#a> a ns2:and ; + ns11:op1 <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + ns11:op2 <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#d> a ns3:direct-02 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#d2> a ns3:direct-02 ; + ns11:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#g> a ns11:gravitation ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#o3> a ns2:or ; + ns11:op1 <http://amr.isi.edu/amr_data/SSC-01-01#d> ; + ns11:op2 <http://amr.isi.edu/amr_data/SSC-01-01#d2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#p> a ns4:planet, + ns4:system ; + rdfs:label "Solar System" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns4:system a ns2:NamedEntity ; + rdfs:label "system" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:bind-01 a ns2:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:orbit-01 a ns2:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:gravitation a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:manner a ns2:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:object a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:part a ns2:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:sun a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:system a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:NamedEntity a ns2:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:and a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:or a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:concept_direct-02 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:direct-02 ; + :label "direct-02" . + +:concept_system rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns4:system, + ns11:system ; + :label "system" . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:role_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +ext-out:object a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf sys:Undetermined_Thing ; + sys:fromStructure "SSC-01-01" . + +ext-out:system a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf sys:Undetermined_Thing ; + sys:fromStructure "SSC-01-01" . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:coverAmrValue :value_SolarSystem ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-01-01" ; + net:hasValueLabel "Solar System" . + +net:value_negative_blankNode a net:Value_Net ; + net:coverAmrValue :value_negative ; + net:hasNaming "negative" ; + net:hasStructure "SSC-01-01" ; + net:hasValueLabel "negative" . + +<http://amr.isi.edu/amr_data/SSC-01-01#o> a ns11:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#s> a ns11:system ; + ns11:domain <http://amr.isi.edu/amr_data/SSC-01-01#p> ; + ns11:part <http://amr.isi.edu/amr_data/SSC-01-01#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#s2> a ns11:sun ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:direct-02 a ns2:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:Frame a ns2:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:value_negative a :AMR_Value ; + rdfs:label "negative" . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:atomClass_gravitation_g a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_gravitation_g ; + net:hasClassName "gravitation" ; + net:hasNaming "gravitation" ; + net:hasStructure "SSC-01-01" . + +net:atomProperty_bind_b a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_gravitation_g ; + :role_ARG1 net:atomClass_system_s ; + net:coverBaseNode :leaf_bind-01_b ; + net:coverNode :leaf_bind-01_b ; + net:hasNaming "bind" ; + net:hasPropertyName "bind" ; + net:hasPropertyName01 "binding" ; + net:hasPropertyName10 "bind-by" ; + net:hasPropertyName12 "bind-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_gravitation_g, + :leaf_system_s . + +net:compositeProperty_orbit-hasManner-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasRestriction net:restriction_hasManner-direct_m9 ; + net:hasStructure "SSC-01-01" . + +net:compositeProperty_orbit-hasManner-not-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasRestriction net:restriction_hasManner-not-direct_m9 ; + net:hasStructure "SSC-01-01" . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:individual_SolarSystem_p a net:Individual_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:hasIndividualLabel "Solar System" ; + net:hasMotherClassNet net:atomClass_system_p ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-01-01" . + +ns3:FrameRole a ns2:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_s2 :leaf_sun_s2 ; + :edge_a_op2_o :leaf_object_o ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_or_o3 a :AMR_Leaf ; + :edge_o3_op1_d :leaf_direct-02_d ; + :edge_o3_op2_d2 :leaf_direct-02_d2 ; + :hasConcept :concept_or ; + :hasVariable :variable_o3 . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +net:atomClass_system_p a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:hasClassName "system" ; + net:hasNaming "system" ; + net:hasStructure "SSC-01-01" . + +net:atomProperty_direct_d a net:Atom_Property_Net ; + net:coverBaseNode :leaf_direct-02_d ; + net:coverNode :leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_bind-01_b a :AMR_Leaf ; + :edge_b_ARG0_g :leaf_gravitation_g ; + :edge_b_ARG1_s :leaf_system_s ; + :hasConcept :concept_bind-01 ; + :hasVariable :variable_b . + +:leaf_system_p a :AMR_Leaf ; + :edge_p_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_p . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:leaf_gravitation_g a :AMR_Leaf ; + :hasConcept :concept_gravitation ; + :hasVariable :variable_g . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:atomProperty_hasManner_m9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_orbit_o2, + net:atomProperty_orbit_o2 ; + :role_ARG1 net:phenomena_conjunction-OR_o3 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_hasManner_m9 ; + net:hasNaming "hasManner" ; + net:hasPropertyName "hasManner" ; + net:hasPropertyName01 "hasMannering" ; + net:hasPropertyName10 "hasManner-by" ; + net:hasPropertyName12 "hasManner-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_or_o3, + :leaf_orbit-01_o2 . + +net:atomProperty_hasPart_p9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_system_s ; + :role_ARG1 net:atomClass_object_o, + net:atomClass_sun_s2, + net:phenomena_conjunction-AND_a ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9 ; + net:hasNaming "hasPart" ; + net:hasPropertyName "hasPart" ; + net:hasPropertyName01 "hasParting" ; + net:hasPropertyName10 "hasPart-by" ; + net:hasPropertyName12 "hasPart-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_and_a, + :leaf_system_s . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s2 . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_direct-02_d a :AMR_Leaf ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +:leaf_hasPart_p9 a :AMR_Leaf ; + :edge_p9_ARG0_s :leaf_system_s ; + :edge_p9_ARG1_a :leaf_and_a ; + :hasConcept :concept_part ; + :hasVariable :variable_p9 ; + :isReifiedLeaf true . + +net:compositeProperty_not-direct_d2 a net:Composite_Property_Net ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_system_s a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_domain net:atomClass_system_p, + net:individual_SolarSystem_p ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_system_s ; + net:hasClassName "system" ; + net:hasNaming "system" ; + net:hasStructure "SSC-01-01" . + +net:atomProperty_direct_d2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :value_negative . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_sun_s2 a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s2 . + +:leaf_hasManner_m9 a :AMR_Leaf ; + :edge_m9_ARG0_o2 :leaf_orbit-01_o2 ; + :edge_m9_ARG1_o3 :leaf_or_o3 ; + :hasConcept :concept_manner ; + :hasVariable :variable_m9 ; + :isReifiedLeaf true . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_system_s a :AMR_Leaf ; + :edge_s_domain_p :leaf_system_p ; + :hasConcept :concept_system ; + :hasVariable :variable_s . + +net:atomClass_object_o a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:hasClassName "object" ; + net:hasNaming "object" ; + net:hasStructure "SSC-01-01" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:atomClass_sun_s2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_sun_s2 ; + net:coverNode :leaf_sun_s2 ; + net:hasClassName "sun" ; + net:hasNaming "sun" ; + net:hasStructure "SSC-01-01" . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_ARG0_o :leaf_object_o ; + :edge_o2_ARG1_s2 :leaf_sun_s2 ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:leaf_direct-02_d2 a :AMR_Leaf ; + :edge_d2_polarity_negative :value_negative ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d2 . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_owl_rule_tests/test_data/devGraph-classes-to-generate.ttl b/tests/dev_owl_rule_tests/test_data/devGraph-classes-to-generate.ttl new file mode 100644 index 0000000000000000000000000000000000000000..16b56b21a4f9079a1d6931e35ce9ee33f91640fe --- /dev/null +++ b/tests/dev_owl_rule_tests/test_data/devGraph-classes-to-generate.ttl @@ -0,0 +1,1530 @@ +@base <http://https://tenet.tetras-libre.fr/demo/01//transduction> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +ns2:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns2:hasID "test-1" ; + ns2:hasSentence "The sun is a star." ; + ns2:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns2:hasID "test-2" ; + ns2:hasSentence "Earth is a planet." ; + ns2:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns3:bind-01.ARG0 a ns3:FrameRole . + +ns3:bind-01.ARG1 a ns3:FrameRole . + +ns3:orbit-01.ARG0 a ns3:FrameRole . + +ns3:orbit-01.ARG1 a ns3:FrameRole . + +ns11:domain a ns2:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:op1 a ns2:Role . + +ns11:op2 a ns2:Role . + +ns2:hasID a owl:AnnotationProperty . + +ns2:hasSentence a owl:AnnotationProperty . + +ns2:root a owl:AnnotationProperty . + +<https://amr.tetras-libre.fr/rdf/schema> a owl:Ontology ; + owl:versionIRI :0.1 . + +:AMR_DataProperty a owl:DatatypeProperty . + +:AMR_Prep_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:edge_a_op1_s2 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_o a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_ARG0_g a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_b_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_d2_polarity_negative a :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +:edge_m9_ARG0_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_m9_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o3_op1_d a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_o3_op2_d2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_p9_ARG0_s a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_p9_ARG1_a a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p_name_SolarSystem a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_s_domain_p a :AMR_Edge ; + :hasAmrRole :role_domain ; + :hasRoleID "domain" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:phenomena_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:phenomena_modality_prohibition a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_have-degree-91 a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + +:role_manner a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_SSC-01-01 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#root01> ; + :hasRootLeaf :leaf_system_s ; + :hasSentenceID "SSC-01-01" ; + :hasSentenceStatement "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Axiom_Net a owl:Class ; + rdfs:subClassOf net:Axiom_Net . + +net:Property_Direction a owl:Class ; + rdfs:subClassOf net:Feature . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atomOf a owl:AnnotationProperty ; + rdfs:label "atom of" ; + rdfs:subPropertyOf net:typeProperty . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:axiom_disjointProperty_direct_not-direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_direct_not-direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "SSC-01-01" . + +net:axiom_disjointProperty_not-direct_direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-direct_direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_gravitation-bind-system_g a net:Composite_Class_Net ; + net:composeFrom net:atomClass_gravitation_g, + net:atomClass_system_s, + net:atomProperty_bind_b ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_bind-01_b, + :leaf_gravitation_g, + :leaf_system_s ; + net:hasMotherClassNet net:atomClass_gravitation_g ; + net:hasNaming "gravitation-bind-system" ; + net:hasRestriction net:restriction_bind-system_b ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_object-orbit-hasManner-direct-sun_o a net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-direct_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; + net:hasNaming "object-orbit-hasManner-direct-sun" ; + net:hasRestriction net:restriction_orbit-hasManner-direct-sun_o2 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_object-orbit-hasManner-not-direct-sun_o a net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-not-direct_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; + net:hasNaming "object-orbit-hasManner-not-direct-sun" ; + net:hasRestriction net:restriction_orbit-hasManner-not-direct-sun_o2 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_system-hasPart-object_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_SolarSystem_p ; + net:composeFrom net:atomClass_object_o, + net:atomClass_system_s, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_hasPart_p9, + :leaf_object_o, + :leaf_system_s ; + net:hasMotherClassNet net:atomClass_system_s ; + net:hasNaming "system-hasPart-object" ; + net:hasRestriction net:restriction_hasPart-object_p9 ; + net:hasStructure "SSC-01-01" . + +net:compositeClass_system-hasPart-sun_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_SolarSystem_p ; + net:composeFrom net:atomClass_sun_s2, + net:atomClass_system_s, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_hasPart_p9, + :leaf_sun_s2, + :leaf_system_s ; + net:hasMotherClassNet net:atomClass_system_s ; + net:hasNaming "system-hasPart-sun" ; + net:hasRestriction net:restriction_hasPart-sun_p9 ; + net:hasStructure "SSC-01-01" . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_atom a owl:AnnotationProperty ; + rdfs:label "has atom" ; + rdfs:subPropertyOf net:has_object . + +net:has_class a owl:AnnotationProperty ; + rdfs:label "is class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_class_name a owl:AnnotationProperty ; + rdfs:subPropertyOf net:has_value . + +net:has_class_uri a owl:AnnotationProperty ; + rdfs:label "class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_concept a owl:AnnotationProperty ; + rdfs:label "concept "@fr ; + rdfs:subPropertyOf net:objectValue . + +net:has_entity a owl:AnnotationProperty ; + rdfs:label "has entity" ; + rdfs:subPropertyOf net:has_object . + +net:has_feature a owl:AnnotationProperty ; + rdfs:label "has feature" ; + rdfs:subPropertyOf net:has_object . + +net:has_instance a owl:AnnotationProperty ; + rdfs:label "entity instance" ; + rdfs:subPropertyOf net:objectValue . + +net:has_instance_uri a owl:AnnotationProperty ; + rdfs:label "instance uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_item a owl:AnnotationProperty ; + rdfs:label "has item" ; + rdfs:subPropertyOf net:has_object . + +net:has_mother_class a owl:AnnotationProperty ; + rdfs:label "has mother class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_mother_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_node a owl:AnnotationProperty ; + rdfs:label "UNL Node" ; + rdfs:subPropertyOf net:netProperty . + +net:has_parent a owl:AnnotationProperty ; + rdfs:label "has parent" ; + rdfs:subPropertyOf net:has_object . + +net:has_parent_class a owl:AnnotationProperty ; + rdfs:label "parent class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_parent_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_possible_domain a owl:AnnotationProperty ; + rdfs:label "has possible domain" ; + rdfs:subPropertyOf net:has_object . + +net:has_possible_range a owl:AnnotationProperty ; + rdfs:label "has possible range" ; + rdfs:subPropertyOf net:has_object . + +net:has_relation a owl:AnnotationProperty ; + rdfs:label "has relation" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_source a owl:AnnotationProperty ; + rdfs:label "has source" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_structure a owl:AnnotationProperty ; + rdfs:label "Linguistic Structure (in UNL Document)" ; + rdfs:subPropertyOf net:netProperty . + +net:has_target a owl:AnnotationProperty ; + rdfs:label "has target" ; + rdfs:subPropertyOf net:has_relation_value . + +net:inverse_direction a owl:NamedIndividual . + +net:listBy a owl:AnnotationProperty ; + rdfs:label "list by" ; + rdfs:subPropertyOf net:typeProperty . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +net:listOf a owl:AnnotationProperty ; + rdfs:label "list of" ; + rdfs:subPropertyOf net:typeProperty . + +net:modCat1 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 1)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat2 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 2)" ; + rdfs:subPropertyOf net:objectValue . + +net:normal_direction a owl:NamedIndividual . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/SSC-01-01#b> a ns3:bind-01 ; + ns3:bind-01.ARG0 <http://amr.isi.edu/amr_data/SSC-01-01#g> ; + ns3:bind-01.ARG1 <http://amr.isi.edu/amr_data/SSC-01-01#s> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#o2> a ns3:orbit-01 ; + ns3:orbit-01.ARG0 <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + ns3:orbit-01.ARG1 <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + ns11:manner <http://amr.isi.edu/amr_data/SSC-01-01#o3> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#root01> a ns2:AMR ; + ns2:has-id "SSC-01-01" ; + ns2:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly." ; + ns2:root <http://amr.isi.edu/amr_data/SSC-01-01#s> . + +<http://amr.isi.edu/amr_data/test-1#s> ns11:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +<http://amr.isi.edu/entity-types#planet> a ns2:NamedEntity ; + rdfs:comment "bug" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns2:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_bind-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:bind-01 ; + :label "bind-01" . + +:concept_gravitation rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns11:gravitation ; + :label "gravitation" . + +:concept_manner rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:manner ; + :isReifiedConcept true ; + :label "hasManner" . + +:concept_object rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns11:object ; + :label "object" . + +:concept_or rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns2:or ; + :hasPhenomenaLink :phenomena_conjunction_or ; + :label "or" . + +:concept_orbit-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:orbit-01 ; + :label "orbit-01" . + +:concept_part rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:part ; + :isReifiedConcept true ; + :label "hasPart" . + +:concept_sun rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns11:sun ; + :label "sun" . + +:role_domain a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_polarity a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#a> ; + :label "a" . + +:variable_b a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#b> ; + :label "b" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#d> ; + :label "d" . + +:variable_d2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#d2> ; + :label "d2" . + +:variable_g a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#g> ; + :label "g" . + +:variable_m9 a ns11:manner, + :AMR_Variable ; + :isReifiedVariable true ; + :label "m9" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + :label "o" . + +:variable_o2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o2> ; + :label "o2" . + +:variable_o3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#o3> ; + :label "o3" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#p> ; + :label "p" ; + :name "Solar System" . + +:variable_p9 a ns11:part, + :AMR_Variable ; + :isReifiedVariable true ; + :label "p9" . + +:variable_s a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#s> ; + :label "s" . + +:variable_s2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + :label "s2" . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_orbit_o2 a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasClassName "orbit" ; + net:hasNaming "orbit" ; + net:hasStructure "SSC-01-01" . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:atomClass_sun_s2 ; + :role_op2 net:atomClass_object_o ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "SSC-01-01" . + +net:phenomena_conjunction-OR_o3 a net:Phenomena_Net ; + :role_op1 net:atomProperty_direct_d ; + :role_op2 net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_or_o3 ; + net:coverNode :leaf_or_o3 ; + net:hasNaming "conjunction-OR" ; + net:hasPhenomenaRef "or" ; + net:hasPhenomenaType :phenomena_conjunction_or ; + net:hasStructure "SSC-01-01" . + +net:restriction_bind-system_b a net:Restriction_Net ; + net:composeFrom net:atomClass_system_s, + net:atomProperty_bind_b ; + net:coverBaseNode :leaf_bind-01_b ; + net:coverNode :leaf_bind-01_b, + :leaf_system_s ; + net:hasNaming "bind-system" ; + net:hasRestrictionNetValue net:atomClass_system_s ; + net:hasRestrictionOnProperty net:atomProperty_bind_b ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasManner-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-direct" ; + net:hasRestrictionNetValue net:atomProperty_direct_d, + net:atomProperty_direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasManner-not-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_hasManner_m9, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-not-direct" ; + net:hasRestrictionNetValue net:compositeProperty_not-direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasPart-object_p9 a net:Restriction_Net ; + net:composeFrom net:atomClass_object_o, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9, + :leaf_object_o ; + net:hasNaming "hasPart-object" ; + net:hasRestrictionNetValue net:atomClass_object_o ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_hasPart-sun_p9 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s2, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9, + :leaf_sun_s2 ; + net:hasNaming "hasPart-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-01-01" . + +net:restriction_orbit-hasManner-direct-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-direct_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasNaming "orbit-hasManner-direct-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:compositeProperty_orbit-hasManner-direct_o2 ; + net:hasStructure "SSC-01-01" . + +net:restriction_orbit-hasManner-not-direct-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s2, + net:compositeProperty_orbit-hasManner-not-direct_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2, + :leaf_sun_s2 ; + net:hasNaming "orbit-hasManner-not-direct-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:compositeProperty_orbit-hasManner-not-direct_o2 ; + net:hasStructure "SSC-01-01" . + +<http://amr.isi.edu/amr_data/SSC-01-01#a> a ns2:and ; + ns11:op1 <http://amr.isi.edu/amr_data/SSC-01-01#s2> ; + ns11:op2 <http://amr.isi.edu/amr_data/SSC-01-01#o> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#d> a ns3:direct-02 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#d2> a ns3:direct-02 ; + ns11:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#g> a ns11:gravitation ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#o3> a ns2:or ; + ns11:op1 <http://amr.isi.edu/amr_data/SSC-01-01#d> ; + ns11:op2 <http://amr.isi.edu/amr_data/SSC-01-01#d2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#p> a <http://amr.isi.edu/entity-types#planet>, + <http://amr.isi.edu/entity-types#system> ; + rdfs:label "Solar System" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#system> a ns2:NamedEntity ; + rdfs:label "system" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:bind-01 a ns2:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:orbit-01 a ns2:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:gravitation a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:manner a ns2:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:object a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:part a ns2:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:sun a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:system a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:NamedEntity a ns2:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:and a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:or a ns2:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:concept_direct-02 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:direct-02 ; + :label "direct-02" . + +:concept_system rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk <http://amr.isi.edu/entity-types#system>, + ns11:system ; + :label "system" . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:role_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:coverAmrValue :value_SolarSystem ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-01-01" ; + net:hasValueLabel "Solar System" . + +net:value_negative_blankNode a net:Value_Net ; + net:coverAmrValue :value_negative ; + net:hasNaming "negative" ; + net:hasStructure "SSC-01-01" ; + net:hasValueLabel "negative" . + +<http://amr.isi.edu/amr_data/SSC-01-01#o> a ns11:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#s> a ns11:system ; + ns11:domain <http://amr.isi.edu/amr_data/SSC-01-01#p> ; + ns11:part <http://amr.isi.edu/amr_data/SSC-01-01#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-01-01#s2> a ns11:sun ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:direct-02 a ns2:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:Frame a ns2:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:value_negative a :AMR_Value ; + rdfs:label "negative" . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:atomClass_gravitation_g a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_gravitation_g ; + net:hasClassName "gravitation" ; + net:hasNaming "gravitation" ; + net:hasStructure "SSC-01-01" . + +net:atomProperty_bind_b a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_gravitation_g ; + :role_ARG1 net:atomClass_system_s ; + net:coverBaseNode :leaf_bind-01_b ; + net:coverNode :leaf_bind-01_b ; + net:hasNaming "bind" ; + net:hasPropertyName "bind" ; + net:hasPropertyName01 "binding" ; + net:hasPropertyName10 "bind-by" ; + net:hasPropertyName12 "bind-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_gravitation_g, + :leaf_system_s . + +net:compositeProperty_orbit-hasManner-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasRestriction net:restriction_hasManner-direct_m9 ; + net:hasStructure "SSC-01-01" . + +net:compositeProperty_orbit-hasManner-not-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasRestriction net:restriction_hasManner-not-direct_m9 ; + net:hasStructure "SSC-01-01" . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:individual_SolarSystem_p a net:Individual_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:hasIndividualLabel "Solar System" ; + net:hasMotherClassNet net:atomClass_system_p ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-01-01" . + +ns3:FrameRole a ns2:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_s2 :leaf_sun_s2 ; + :edge_a_op2_o :leaf_object_o ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_or_o3 a :AMR_Leaf ; + :edge_o3_op1_d :leaf_direct-02_d ; + :edge_o3_op2_d2 :leaf_direct-02_d2 ; + :hasConcept :concept_or ; + :hasVariable :variable_o3 . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +net:atomClass_system_p a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:hasClassName "system" ; + net:hasNaming "system" ; + net:hasStructure "SSC-01-01" . + +net:atomProperty_direct_d a net:Atom_Property_Net ; + net:coverBaseNode :leaf_direct-02_d ; + net:coverNode :leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_bind-01_b a :AMR_Leaf ; + :edge_b_ARG0_g :leaf_gravitation_g ; + :edge_b_ARG1_s :leaf_system_s ; + :hasConcept :concept_bind-01 ; + :hasVariable :variable_b . + +:leaf_system_p a :AMR_Leaf ; + :edge_p_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_p . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:leaf_gravitation_g a :AMR_Leaf ; + :hasConcept :concept_gravitation ; + :hasVariable :variable_g . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:atomProperty_hasManner_m9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_orbit_o2, + net:atomProperty_orbit_o2 ; + :role_ARG1 net:phenomena_conjunction-OR_o3 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_hasManner_m9 ; + net:hasNaming "hasManner" ; + net:hasPropertyName "hasManner" ; + net:hasPropertyName01 "hasMannering" ; + net:hasPropertyName10 "hasManner-by" ; + net:hasPropertyName12 "hasManner-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_or_o3, + :leaf_orbit-01_o2 . + +net:atomProperty_hasPart_p9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_system_s ; + :role_ARG1 net:atomClass_object_o, + net:atomClass_sun_s2, + net:phenomena_conjunction-AND_a ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9 ; + net:hasNaming "hasPart" ; + net:hasPropertyName "hasPart" ; + net:hasPropertyName01 "hasParting" ; + net:hasPropertyName10 "hasPart-by" ; + net:hasPropertyName12 "hasPart-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_and_a, + :leaf_system_s . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s2 . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_direct-02_d a :AMR_Leaf ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +:leaf_hasPart_p9 a :AMR_Leaf ; + :edge_p9_ARG0_s :leaf_system_s ; + :edge_p9_ARG1_a :leaf_and_a ; + :hasConcept :concept_part ; + :hasVariable :variable_p9 ; + :isReifiedLeaf true . + +net:compositeProperty_not-direct_d2 a net:Composite_Property_Net ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_system_s a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_domain net:atomClass_system_p, + net:individual_SolarSystem_p ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_system_s ; + net:hasClassName "system" ; + net:hasNaming "system" ; + net:hasStructure "SSC-01-01" . + +net:atomProperty_direct_d2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-01-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :value_negative . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_sun_s2 a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s2 . + +:leaf_hasManner_m9 a :AMR_Leaf ; + :edge_m9_ARG0_o2 :leaf_orbit-01_o2 ; + :edge_m9_ARG1_o3 :leaf_or_o3 ; + :hasConcept :concept_manner ; + :hasVariable :variable_m9 ; + :isReifiedLeaf true . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_system_s a :AMR_Leaf ; + :edge_s_domain_p :leaf_system_p ; + :hasConcept :concept_system ; + :hasVariable :variable_s . + +net:atomClass_object_o a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:hasClassName "object" ; + net:hasNaming "object" ; + net:hasStructure "SSC-01-01" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:atomClass_sun_s2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_sun_s2 ; + net:coverNode :leaf_sun_s2 ; + net:hasClassName "sun" ; + net:hasNaming "sun" ; + net:hasStructure "SSC-01-01" . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_ARG0_o :leaf_object_o ; + :edge_o2_ARG1_s2 :leaf_sun_s2 ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:leaf_direct-02_d2 a :AMR_Leaf ; + :edge_d2_polarity_negative :value_negative ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d2 . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_owl_rule_tests/test_rule_owl_class_generator.py b/tests/dev_owl_rule_tests/test_rule_owl_class_generator.py new file mode 100644 index 0000000000000000000000000000000000000000..4b608c08f5a41b5c04d80a652fb75dfd903a0f28 --- /dev/null +++ b/tests/dev_owl_rule_tests/test_rule_owl_class_generator.py @@ -0,0 +1,213 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Extraction Rule Test +#------------------------------------------------------------------------------ +# Script to test rules under development +#============================================================================== + +import subprocess, os +from rdflib import Graph, Namespace +from rdflib.namespace import NamespaceManager, FOAF, RDF +from rdflib import URIRef, Literal, BNode + +FILE_PATH = f'{os.path.dirname(os.path.abspath(__file__))}' +INPUT_DIR_PATH = f'{FILE_PATH}/test_data/' +OUTPUT_DIR_PATH = f'{FILE_PATH}/test_data/' + +TEST_FILE_NAME = 'devGraph-classes-to-generate' +INPUT_GRAPH_PATH = f'{INPUT_DIR_PATH}{TEST_FILE_NAME}.ttl' +OUTPUT_GRAPH_PATH = f'{OUTPUT_DIR_PATH}{TEST_FILE_NAME}.result.ttl' +OUTPUT_GRAPH_URI = f'https://amr.tetras-libre.fr/rdf/{TEST_FILE_NAME}/result' + +from context import tenet +from tenet.transduction import rdfterm_computer, prefix_handle +from tenet.scheme.amr_master_rule.owl_generation import owl_class_generator as dev_rule +from tenet.scheme import amr_master_rule as amr_rule + + + + +#============================================================================== +# Useful Methods +#============================================================================== + +def load_test_graph(): + print(f'\n -- Test Graph Loading') + graph = Graph() + prefix_handle.update_graph_namespacemanager(graph) + graph.parse(INPUT_GRAPH_PATH) + print(f" ----- Graph Loaded ({len(graph)})") + return graph + + +def define_clause_list(composition_pattern_list): + clause_list = [] + for (net_1, relation, net_2) in composition_pattern_list: + clause_list.append(f'{net_1} {relation} {net_2}.') + return clause_list + + +def print_triple(triple, num=-1): + num_str = f'[{num}]' if num > -1 else '[-]' + (s, p, o) = triple + s = rdfterm_computer.__update_uri_with_prefix(graph, s) + p = rdfterm_computer.__update_uri_with_prefix(graph, p) + o = rdfterm_computer.__update_uri_with_prefix(graph, o) + print(f' {num_str} {s} {p} {o}') + + + +def add_triples_in_graph(graph, triple_list): + print(f'\n -- Adding triple(s) in graph') + print(f" ----- Graph length before update: {len(graph)}") + print(f" ----- Number of triples to add: {len(triple_list)}") + + print(f" ----- Added triples:") + n = 0 + for triple in triple_list: + n += 1 + print_triple(triple, num=n) + graph.add(triple) + + print(f" ----- Graph length after update: {len(graph)}") + + print(f'\n -- Serialize test graph to {OUTPUT_GRAPH_PATH}') + graph.serialize(destination=OUTPUT_GRAPH_PATH, + format='turtle', + base=OUTPUT_GRAPH_URI) + + +#============================================================================== +# Development Test +#============================================================================== + +def test_search_pattern_1(graph): + print('\n -- Search patterns (1)') + pattern_result_set = dev_rule.__search_pattern_1(graph) + print(f'\n ----- number of selection found: {len(pattern_result_set)}') + for selection in pattern_result_set: + result_str = f'>>> ' + result_str += f'{selection.class_net.n3(graph.namespace_manager)}' + print(result_str) + + +def test_search_pattern_2(graph): + print('\n -- Search patterns (2)') + pattern_result_set = dev_rule.__search_pattern_2(graph) + print(f'\n ----- number of selection found: {len(pattern_result_set)}') + for selection in pattern_result_set: + result_str = f'>>> ' + result_str += f'{selection.class_net.n3(graph.namespace_manager)}' + print(result_str) + +def __test_get_list_function(graph, get_function, f_name): + print(f'\n -- Get net list with {f_name}') + net_list = get_function(graph) + print(f'\n ----- number of selection found: {len(net_list)}') + for net in net_list: + print(f'>>> {net.uri.n3(graph.namespace_manager)}') + return net_list + +def test_get_atom_class_net_list(graph): + get_function = dev_rule.__get_atom_class_net_list + f_name = '__get_atom_class_net_list' + return __test_get_list_function(graph, get_function, f_name) + +def test_get_composite_class_net_list(graph): + get_function = dev_rule.__get_composite_class_net_list + f_name = '__get_composite_class_net_list' + return __test_get_list_function(graph, get_function, f_name) + +def test_get_mother_class_net_list(graph): + list_1 = dev_rule.__get_atom_class_net_list(graph) + list_2 = dev_rule.__get_composite_class_net_list(graph) + print(f'\n -- Get net list with __get_mother_class_net_list') + net_list = dev_rule.__get_mother_class_net_list(list_1, list_2) + print(f'\n ----- number of selection found: {len(net_list)}') + for net in net_list: + print(f'>>> {net.uri.n3(graph.namespace_manager)}') + return net_list + + +def check_net_not_deprecated(atom_class_net_list, composite_class_net_list): + not_deprecated_net_list = [] + for class_net in (atom_class_net_list + composite_class_net_list): + if not class_net.is_deprecated(): + not_deprecated_net_list.append(class_net) + print(f'\n ----- number of not deprecated net: {len(not_deprecated_net_list)}') + for net in not_deprecated_net_list: + print(f'>>> {net.uri.n3(graph.namespace_manager)}') + + + +def test_generate_owl_triple_definition(graph, class_net): + print(f' ----- Generate OWL Triple Definition ({class_net.uri.n3(graph.namespace_manager)})') + triple_list = dev_rule.__generate_owl_triple_definition(graph, class_net) + print(f' -------- Net Class URI: {class_net.class_uri}') + print(f' -------- number of triples: {len(triple_list)}') + n = 0 + for triple in triple_list: + n += 1 + print_triple(triple, num=n) + return triple_list + + +#============================================================================== +# Unit Test +#============================================================================== + +def unittest_run_rule(graph, rule): + print('\n -- Rule Test') + + rule_label, new_triple_list = rule(graph) + print(f' ----- label: {rule_label}') + print(f' ----- new_triple_list ({len(new_triple_list)}):') + + add_triples_in_graph(graph, new_triple_list) + + + +#============================================================================== +# Test Script +#============================================================================== + +if __name__ == '__main__': + + print('\n *** Test Preparation ***') + graph = load_test_graph() + uriref = URIRef('net:compositeClass_orbit_hasManner_conjunction-OR') + type_uriref = URIRef('net:Composite_Class_Net') + triple = (uriref, RDF.type, type_uriref) + phenomena_net_uri = 'net:phenomena_conjunction-OR_o3' + print('\n \n') + + print('\n *** Step Test ***') + + print('\n -- Step 1a: search pattern') + pattern_set_1 = test_search_pattern_1(graph) + pattern_set_2 = test_search_pattern_2(graph) + + print('\n -- Step 1b: get semantic net list') + atom_class_net_list = test_get_atom_class_net_list(graph) + composite_class_net_list = test_get_composite_class_net_list(graph) + mother_class_net_list = test_get_mother_class_net_list(graph) + + print('\n -- Step 2: check class net not deprecated') + check_net_not_deprecated(atom_class_net_list, composite_class_net_list) + + print('\n -- Step 3: generate OWL triple definition for class net') + total_triple_list = [] + for class_net in (atom_class_net_list + composite_class_net_list): + if not class_net.is_deprecated(): + total_triple_list += test_generate_owl_triple_definition(graph, class_net) + print(f' ----- Total Number of triples: {len(total_triple_list)}') + + print('\n \n') + + print('\n *** Unit Test ***') + unittest_run_rule(graph, amr_rule.generate_owl_class) + print('\n \n') + + print('\n *** - ***') \ No newline at end of file