diff --git a/tenet/scheme/amr_master_rule/__init__.py b/tenet/scheme/amr_master_rule/__init__.py index d6bcced8469b33ce4fb858add3bff10eb30b8c91..304e820daf8a74bb1c15a08c352a3d4e448c79ef 100644 --- a/tenet/scheme/amr_master_rule/__init__.py +++ b/tenet/scheme/amr_master_rule/__init__.py @@ -59,6 +59,7 @@ from scheme.amr_master_rule.transduction.phenomena_analyzer.degree_analyzer_1 im from scheme.amr_master_rule.transduction.heuristic_deducer.relation_deducer_1 import * from scheme.amr_master_rule.transduction.heuristic_deducer.refine_restriction_1 import * +from scheme.amr_master_rule.transduction.heuristic_deducer.refine_mother_relation_1 import * # -- Generation Rules 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 008b6d983a6776c8a26e61de6946ab4332fc4ab8..91529633782e4e06280b346bd0a03d28ade52d26 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 @@ -275,6 +275,7 @@ def __generate_owl_taxonomic_relation(graph, new_class_uri, net): if mother_class_net_uri_list is None: predicat_list.append(__compute_class_type_uri(net)) else : + # TODO: add method to filter some mother class for mother_class_net_uri in mother_class_net_uri_list: predicat_list.append(__get_mother_class_uri(graph, mother_class_net_uri)) diff --git a/tenet/scheme/amr_master_rule/transduction/heuristic_deducer/refine_mother_relation_1.py b/tenet/scheme/amr_master_rule/transduction/heuristic_deducer/refine_mother_relation_1.py new file mode 100644 index 0000000000000000000000000000000000000000..32c7adbf9875d5695f3f74b6f56810bc63cd6120 --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/heuristic_deducer/refine_mother_relation_1.py @@ -0,0 +1,98 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to refine mother relation between classes +#------------------------------------------------------------------------------ +# AMR rule to refine mother relations for parent classes related to the same +# node +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.rdfterm_computer import produce_uriref, produce_literal + +ENTITY_CLASS_TYPE = 'base-out:Entity' + + +#============================================================================== +# Pattern Search: domain +#============================================================================== + +def __search_pattern(graph): + query_code = '' + result_set = [] + for arg_relation in ['amr:role_domain']: + select_data_list = ['?target_class_net', '?mother_class_net'] + clause_list = ['?target_class_net a [rdfs:subClassOf* net:Class_Net].', + '?mother_class_net a [rdfs:subClassOf* net:Class_Net].', + 'FILTER ( ?target_class_net != ?mother_class_net ).', + '?target_class_net net:hasMotherClassNet ?mother_class_net.' + ] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set += graph.query(query_code) + return query_code, result_set + + +#============================================================================== +# Useful Additional Search +#============================================================================== + +def __search_parent_class_related_to_same_node(graph, class_net_uri): + select_data_list = ['?parent_class_net'] + clause_list = [ + '?parent_class_net a [rdfs:subClassOf* net:Class_Net].', + f'?parent_class_net net:hasMotherClassNet <{class_net_uri}>.', + '?parent_class_net net:coverBaseNode ?sameBaseNode.', + f'<{class_net_uri}> net:coverBaseNode ?sameBaseNode.' + ] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +def __classify_net_as_entity(graph, net_uri): + class_net = net.ClassNet(graph, uri=net_uri) + class_net.class_type = ENTITY_CLASS_TYPE + return class_net.generate_triple_definition() + +def __associate_mother_relation(graph, left_net_uri, right_net_uri): + left_class_net = net.ClassNet(graph, uri=left_net_uri) + right_class_net = net.ClassNet(graph, uri=right_net_uri) + left_class_net.mother_class_net = right_class_net.uri + return left_class_net.generate_triple_definition() + + + +#============================================================================== +# Main Rule Method: classify-net-from-domain +#============================================================================== + +def refine_mother_relation(graph): + + # -- Rule Initialization + rule_label = "Refine mother relations for parent classes related to the same node" + rule_triple_list = [] + + query_code, pattern_set = __search_pattern(graph) + + for pattern in pattern_set: + + _, parent_class_set = __search_parent_class_related_to_same_node(graph, pattern.mother_class_net) + + for row in parent_class_set: + + if pattern.target_class_net != row.parent_class_net: + # Associate mother relation between class nets + new_triples = __associate_mother_relation(graph, pattern.target_class_net, row.parent_class_net) + rule_triple_list.extend(new_triples) + + return rule_label, rule_triple_list + diff --git a/tenet/scheme/owl_amr_scheme_1.py b/tenet/scheme/owl_amr_scheme_1.py index 895eba9c3d0832ce7f7cf196b378a1bdda729e32..fca36bed650ac3c7137e95a5bda141072e1c8b6f 100644 --- a/tenet/scheme/owl_amr_scheme_1.py +++ b/tenet/scheme/owl_amr_scheme_1.py @@ -121,6 +121,7 @@ classification_sequence_2 = ['classification sequence (2)', heuristic_deduction_sequence = ['heuristic deduction sequence', rule.refine_composite_class, + rule.refine_mother_relation, rule.deduce_individual_and_relation_from_restriction_Recursively, ] diff --git a/tests/dev_owl_rule_tests/test_data/deducer-devGraph-5.result.ttl b/tests/dev_owl_rule_tests/test_data/deducer-devGraph-5.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..888b00e018ad1f8756e5bd43ad9e285d36bf3382 --- /dev/null +++ b/tests/dev_owl_rule_tests/test_data/deducer-devGraph-5.result.ttl @@ -0,0 +1,1837 @@ +@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/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns3: <http://amr.isi.edu/rdf/core-amr#> . +@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#> . + +ns3:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns3:hasID "test-1" ; + ns3:hasSentence "The sun is a star." ; + ns3:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns3:hasID "test-2" ; + ns3:hasSentence "Earth is a planet." ; + ns3:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns11:direct-02.ARG1 a ns11:FrameRole . + +ns11:have-degree-91.ARG1 a ns11:FrameRole . + +ns11:have-degree-91.ARG2 a ns11:FrameRole . + +ns11:have-degree-91.ARG3 a ns11:FrameRole . + +ns11:have-degree-91.ARG5 a ns11:FrameRole . + +ns11:orbit-01.ARG0 a ns11:FrameRole . + +ns11:orbit-01.ARG1 a ns11:FrameRole . + +ns11:remain-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns3:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:mod a ns3:Role . + +ns2:op1 a ns3:Role . + +ns2:op2 a ns3:Role . + +ns2:op3 a ns3:Role . + +ns3:hasID a owl:AnnotationProperty . + +ns3:hasSentence a owl:AnnotationProperty . + +ns3: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_a2_b a :AMR_Edge ; + :hasAmrRole :role_op3 ; + :hasRoleID "op3" . + +:edge_a2_o3 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a2_p2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_a_h a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_r a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_s3 a :AMR_Edge ; + :hasAmrRole :role_mod ; + :hasRoleID "mod" . + +:edge_d_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_m2 a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h2_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h_l a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h_m a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_o a :AMR_Edge ; + :hasAmrRole :role_ARG5 ; + :hasRoleID "ARG5" . + +:edge_h_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o2_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p2_d2 a :AMR_Edge ; + :hasAmrRole :role_mod ; + :hasRoleID "mod" . + +:edge_p9_ARG0_s4 a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_p9_ARG1_b a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p_quant_8 a :AMR_Edge ; + :hasAmrRole :role_quant ; + :hasRoleID "quant" . + +:edge_r_a2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_s4_name_SolarSystem a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +: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_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +: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_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +: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_domain a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +: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_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_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:root_SSC-02-01 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#root01> ; + :hasRootLeaf :leaf_and_a ; + :hasSentenceID "SSC-02-01" ; + :hasSentenceStatement "Of the objects that orbit the Sun directly, the largest are the eight planets, with the remainder being smaller objects, the dwarf planets and small Solar System bodies." . + +: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:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +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:atomProperty_direct_d a net:Atom_Property_Net ; + :role_ARG1 net:atomProperty_orbit_o2 ; + 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-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_orbit-01_o2 . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +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:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:phenomena_degree_h ; + :role_op2 net:atomProperty_remain_r ; + 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-02-01" . + +net:phenomena_degree_h2 a net:Phenomena_Net ; + :role_ARG1 net:atomClass_object_o3, + net:compositeClass_more-small-object_o3 ; + :role_ARG2 net:atomClass_small_s2 ; + :role_ARG3 net:atomProperty_more_m2 ; + net:coverBaseNode :leaf_have-degree-91_h2 ; + net:coverNode :leaf_have-degree-91_h2 ; + net:hasNaming "degree" ; + net:hasPhenomenaRef "have-degree-91" ; + net:hasPhenomenaType :phenomena_degree ; + net:hasStructure "SSC-02-01" . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:relation_SolarSystem-hasPart-body-SSC-02-01_s4 a net:Relation_Net ; + net:composeFrom net:atomProperty_hasPart_p9, + net:individual_SolarSystem_s4, + net:individual_body-SSC-02-01_b ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_small_s3, + :leaf_system_s4 ; + net:hasNaming "SolarSystem-hasPart-body-SSC-02-01" ; + net:hasObjectNet net:individual_body-SSC-02-01_b ; + net:hasPredicateNet net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-02-01" ; + net:hasSubjectNet net:individual_SolarSystem_s4 . + +net:relation_body-SSC-02-01-hasFeature-small_b a net:Relation_Net ; + net:composeFrom net:individual_body-SSC-02-01_b, + net:individual_small_s3, + net:predefinedProperty_hasFeature ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:hasNaming "body-SSC-02-01-hasFeature-small" ; + net:hasObjectNet net:individual_small_s3 ; + net:hasPredicateNet net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" ; + net:hasSubjectNet net:individual_body-SSC-02-01_b . + +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-02-01#d> a ns11:direct-02 ; + ns11:direct-02.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#o2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#h2> a ns11:have-degree-91 ; + ns11:have-degree-91.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#o3> ; + ns11:have-degree-91.ARG2 <http://amr.isi.edu/amr_data/SSC-02-01#s2> ; + ns11:have-degree-91.ARG3 <http://amr.isi.edu/amr_data/SSC-02-01#m2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#root01> a ns3:AMR ; + ns3:has-id "SSC-02-01" ; + ns3:has-sentence "Of the objects that orbit the Sun directly, the largest are the eight planets, with the remainder being smaller objects, the dwarf planets and small Solar System bodies." ; + ns3:root <http://amr.isi.edu/amr_data/SSC-02-01#a> . + +<http://amr.isi.edu/amr_data/SSC-02-01#s4> a ns2:system ; + rdfs:label "Solar System" ; + ns2:part <http://amr.isi.edu/amr_data/SSC-02-01#b> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#s> ns2:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns3:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:NamedEntity a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_body rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:body ; + :label "body" . + +:concept_direct-02 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:direct-02 ; + :label "direct-02" . + +:concept_dwarf rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:dwarf ; + :label "dwarf" . + +:concept_large rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:large ; + :label "large" . + +:concept_more rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:more ; + :label "more" . + +:concept_most rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:most ; + :label "most" . + +:concept_orbit-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:orbit-01 ; + :label "orbit-01" . + +:concept_part rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns2:part ; + :isReifiedConcept true ; + :label "hasPart" . + +:concept_remain-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:remain-01 ; + :label "remain-01" . + +:concept_sun rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:sun ; + :label "sun" . + +:concept_system rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:system ; + :label "system" . + +:role_ARG5 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_op3 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_quant a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#a> ; + :label "a" . + +:variable_a2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#a2> ; + :label "a2" . + +:variable_b a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#b> ; + :label "b" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#d> ; + :label "d" . + +:variable_d2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#d2> ; + :label "d2" . + +:variable_h a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#h> ; + :label "h" . + +:variable_h2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#h2> ; + :label "h2" . + +:variable_l a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#l> ; + :label "l" . + +:variable_m a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#m> ; + :label "m" . + +:variable_m2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#m2> ; + :label "m2" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#o> ; + :label "o" . + +:variable_o2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#o2> ; + :label "o2" . + +:variable_o3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#o3> ; + :label "o3" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#p> ; + :label "p" . + +:variable_p2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#p2> ; + :label "p2" . + +:variable_p9 a ns2:part, + :AMR_Variable ; + :isReifiedVariable true ; + :label "p9" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#r> ; + :label "r" . + +:variable_s a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s> ; + :label "s" . + +:variable_s2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s2> ; + :label "s2" . + +:variable_s3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s3> ; + :label "s3" . + +:variable_s4 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s4> ; + :label "s4" ; + :name "Solar System" . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Predefined_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:atomProperty_remain_r a net:Atom_Property_Net ; + :role_ARG1 net:atomClass_body_b, + net:atomClass_object_o3, + net:atomClass_planet_p2, + net:compositeClass_dwarf-planet_p2, + net:compositeClass_more-small-object_o3, + net:compositeClass_small-body_b, + net:phenomena_conjunction-AND_a2 ; + net:coverBaseNode :leaf_remain-01_r ; + net:coverNode :leaf_remain-01_r ; + net:hasNaming "remain" ; + net:hasPropertyName "remain" ; + net:hasPropertyName01 "remaining" ; + net:hasPropertyName10 "remain-by" ; + net:hasPropertyName12 "remain-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_and_a2 . + +net:compositeClass_object-orbit-sun_o a net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasMotherClassNet net:atomClass_object_o ; + net:hasNaming "object-orbit-sun" ; + net:hasRestriction net:restriction_orbit-sun_o2 ; + net:hasRootClassNet net:atomClass_object_o ; + net:hasStructure "SSC-02-01" . + +net:compositeClass_system-hasPart-small-body_s4 a net:Composite_Class_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:composeFrom net:atomClass_system_s4, + net:atomProperty_hasPart_p9, + net:compositeClass_small-body_b ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_small_s3, + :leaf_system_s4 ; + net:hasMotherClassNet net:atomClass_system_s4 ; + net:hasNaming "system-hasPart-small-body" ; + net:hasRestriction net:restriction_hasPart-small-body_p9 ; + net:hasRootClassNet net:atomClass_system_s4 ; + net:hasStructure "SSC-02-01" . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:individual_more_m2 a net:Individual_Net ; + net:composeFrom net:atomProperty_more_m2 ; + net:coverBaseNode :leaf_more_m2 ; + net:coverNode :leaf_more_m2 ; + net:hasClassType sys:Degree ; + net:hasIndividualLabel "more" ; + net:hasNaming "more" ; + net:hasStructure "SSC-02-01" . + +net:individual_most_m a net:Individual_Net ; + net:composeFrom net:atomProperty_most_m ; + net:coverBaseNode :leaf_most_m ; + net:coverNode :leaf_most_m ; + net:hasClassType sys:Degree ; + net:hasIndividualLabel "most" ; + net:hasNaming "most" ; + net:hasStructure "SSC-02-01" . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a2 a net:Phenomena_Net ; + :role_op1 net:atomClass_object_o3, + net:compositeClass_more-small-object_o3 ; + :role_op2 net:atomClass_planet_p2, + net:compositeClass_dwarf-planet_p2 ; + :role_op3 net:atomClass_body_b, + net:compositeClass_small-body_b ; + net:coverBaseNode :leaf_and_a2 ; + net:coverNode :leaf_and_a2 ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "SSC-02-01" . + +net:phenomena_degree_h a net:Phenomena_Net ; + :role_ARG1 net:atomClass_planet_p, + net:compositeClass_most-large-planet_p ; + :role_ARG2 net:atomClass_large_l ; + :role_ARG3 net:atomProperty_most_m ; + :role_ARG5 net:atomClass_object_o ; + net:coverBaseNode :leaf_have-degree-91_h ; + net:coverNode :leaf_have-degree-91_h ; + net:hasNaming "degree" ; + net:hasPhenomenaRef "have-degree-91" ; + net:hasPhenomenaType :phenomena_degree ; + net:hasStructure "SSC-02-01" . + +net:restriction_dwarf-feature_d2 a net:Restriction_Net ; + net:composeFrom net:individual_dwarf_d2 ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasNaming "dwarf-feature" ; + net:hasRestrictionNetValue net:individual_dwarf_d2 ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +net:restriction_hasPart-small-body_p9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_hasPart_p9, + net:compositeClass_small-body_b ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_small_s3 ; + net:hasNaming "hasPart-small-body" ; + net:hasRestrictionNetValue net:compositeClass_small-body_b ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-02-01" . + +net:restriction_more-small-feature_s2 a net:Restriction_Net ; + net:composeFrom net:individual_more-small_s2 ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_more_m2, + :leaf_small_s2 ; + net:hasNaming "more-small-feature" ; + net:hasRestrictionNetValue net:individual_more-small_s2 ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +net:restriction_most-large-feature_l a net:Restriction_Net ; + net:composeFrom net:individual_most-large_l ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l, + :leaf_most_m ; + net:hasNaming "most-large-feature" ; + net:hasRestrictionNetValue net:individual_most-large_l ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +net:restriction_orbit-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "orbit-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s ; + net:hasRestrictionOnProperty net:atomProperty_orbit_o2 ; + net:hasStructure "SSC-02-01" . + +net:restriction_small-feature_s3 a net:Restriction_Net ; + net:composeFrom net:individual_small_s3 ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasNaming "small-feature" ; + net:hasRestrictionNetValue net:individual_small_s3 ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +<http://amr.isi.edu/amr_data/SSC-02-01#a> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/SSC-02-01#h> ; + ns2:op2 <http://amr.isi.edu/amr_data/SSC-02-01#r> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#a2> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/SSC-02-01#o3> ; + ns2:op2 <http://amr.isi.edu/amr_data/SSC-02-01#p2> ; + ns2:op3 <http://amr.isi.edu/amr_data/SSC-02-01#b> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#d2> a ns2:dwarf ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#h> a ns11:have-degree-91 ; + ns11:have-degree-91.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#p> ; + ns11:have-degree-91.ARG2 <http://amr.isi.edu/amr_data/SSC-02-01#l> ; + ns11:have-degree-91.ARG3 <http://amr.isi.edu/amr_data/SSC-02-01#m> ; + ns11:have-degree-91.ARG5 <http://amr.isi.edu/amr_data/SSC-02-01#o> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#l> a ns2:large ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#m> a ns3:most ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#m2> a ns3:more ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#o2> a ns11:orbit-01 ; + ns11:orbit-01.ARG0 <http://amr.isi.edu/amr_data/SSC-02-01#o> ; + ns11:orbit-01.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#s> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#p> a ns4:planet ; + ns2:quant "8" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#p2> a ns4:planet ; + ns2:mod <http://amr.isi.edu/amr_data/SSC-02-01#d2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#r> a ns11:remain-01 ; + ns11:remain-01.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#a2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#s> a ns2:sun ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#s2> a ns2:small ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#s3> a ns2:small ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:direct-02 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:orbit-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:remain-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:body a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:dwarf a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:large a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:part a ns3:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:sun a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:system a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:more a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:most a ns3: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_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_have-degree-91 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:have-degree-91 ; + :hasPhenomenaLink :phenomena_degree ; + :label "have-degree-91" . + +:concept_object rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:object ; + :label "object" . + +:concept_planet rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns4:planet ; + :label "planet" . + +:concept_small rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:small ; + :label "small" . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_direct-02_d a :AMR_Leaf ; + :edge_d_o2 :leaf_orbit-01_o2 ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_have-degree-91_h2 a :AMR_Leaf ; + :edge_h2_m2 :leaf_more_m2 ; + :edge_h2_o3 :leaf_object_o3 ; + :edge_h2_s2 :leaf_small_s2 ; + :hasConcept :concept_have-degree-91 ; + :hasVariable :variable_h2 . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_mod a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +: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_8 a :AMR_Value ; + rdfs:label "8" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "SolarSystem" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Relation_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_more_m2 a net:Atom_Property_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_more_m2 ; + net:coverNode :leaf_more_m2 ; + net:hasNaming "more" ; + net:hasPropertyName "more" ; + net:hasPropertyName01 "moreing" ; + net:hasPropertyName10 "more-by" ; + net:hasPropertyName12 "more-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" . + +net:atomProperty_most_m a net:Atom_Property_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_most_m ; + net:coverNode :leaf_most_m ; + net:hasNaming "most" ; + net:hasPropertyName "most" ; + net:hasPropertyName01 "mosting" ; + net:hasPropertyName10 "most-by" ; + net:hasPropertyName12 "most-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" . + +net:compositeClass_most-large-planet_p a net:Class_Net, + net:Composite_Class_Net ; + :role_quant net:value_8_blankNode ; + net:composeFrom net:atomClass_planet_p, + net:individual_most-large_l ; + net:coverBaseNode :leaf_planet_p ; + net:coverNode :leaf_large_l, + :leaf_most_m, + :leaf_planet_p ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_object_o, + net:atomClass_planet_p, + net:compositeClass_most-large-planet_p, + net:compositeClass_object-orbit-sun_o ; + net:hasNaming "most-large-planet" ; + net:hasRestriction net:restriction_most-large-feature_l ; + net:hasRootClassNet net:atomClass_planet_p ; + net:hasStructure "SSC-02-01" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_8_blankNode a net:Value_Net ; + net:coverAmrValue :value_8 ; + net:hasNaming "8" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "8" . + +<http://amr.isi.edu/amr_data/SSC-02-01#b> a ns2:body ; + ns2:mod <http://amr.isi.edu/amr_data/SSC-02-01#s3> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#o> a ns2:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#o3> a ns2:object ; + rdfs:subClassOf :AMR_Linked_Data . + +ns4:planet a ns3:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:have-degree-91 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:object a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:small a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:and a ns3:Concept ; + 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 . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_h :leaf_have-degree-91_h ; + :edge_a_r :leaf_remain-01_r ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_have-degree-91_h a :AMR_Leaf ; + :edge_h_l :leaf_large_l ; + :edge_h_m :leaf_most_m ; + :edge_h_o :leaf_object_o ; + :edge_h_p :leaf_planet_p ; + :hasConcept :concept_have-degree-91 ; + :hasVariable :variable_h . + +:leaf_remain-01_r a :AMR_Leaf ; + :edge_r_a2 :leaf_and_a2 ; + :hasConcept :concept_remain-01 ; + :hasVariable :variable_r . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +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:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_large_l a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l ; + net:hasClassName "large" ; + net:hasClassType sys:Entity ; + net:hasNaming "large" ; + net:hasRootClassNet net:atomClass_large_l ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s2 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_small_s2 ; + net:hasClassName "small" ; + net:hasClassType sys:Entity ; + net:hasNaming "small" ; + net:hasRootClassNet net:atomClass_small_s2 ; + net:hasStructure "SSC-02-01" . + +net:compositeClass_dwarf-planet_p2 a net:Class_Net, + net:Composite_Class_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:composeFrom net:atomClass_planet_p2, + net:individual_dwarf_d2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_dwarf_d2, + :leaf_planet_p2 ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_planet_p2, + net:compositeClass_dwarf-planet_p2 ; + net:hasNaming "dwarf-planet" ; + net:hasRestriction net:restriction_dwarf-feature_d2 ; + net:hasRootClassNet net:atomClass_planet_p2 ; + net:hasStructure "SSC-02-01" . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:individual_SolarSystem_s4 a net:Individual_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasClassType sys:Entity ; + net:hasIndividualLabel "SolarSystem" ; + net:hasMotherClassNet net:atomClass_system_s4, + net:compositeClass_system-hasPart-small-body_s4 ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-02-01" . + +net:individual_dwarf_d2 a net:Individual_Net ; + net:composeFrom net:atomClass_dwarf_d2 ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "dwarf" ; + net:hasNaming "dwarf" ; + net:hasStructure "SSC-02-01" . + +net:individual_more-small_s2 a net:Individual_Net ; + net:composeFrom net:atomClass_small_s2, + net:individual_more_m2 ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_more_m2, + :leaf_small_s2 ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "more-small" ; + net:hasNaming "more-small" ; + net:hasStructure "SSC-02-01" . + +net:individual_most-large_l a net:Individual_Net ; + net:composeFrom net:atomClass_large_l, + net:individual_most_m ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l, + :leaf_most_m ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "most-large" ; + net:hasNaming "most-large" ; + net:hasStructure "SSC-02-01" . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:coverAmrValue :value_SolarSystem ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "SolarSystem" . + +ns3:Frame a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_and_a2 a :AMR_Leaf ; + :edge_a2_b :leaf_body_b ; + :edge_a2_o3 :leaf_object_o3 ; + :edge_a2_p2 :leaf_planet_p2 ; + :hasConcept :concept_and ; + :hasVariable :variable_a2 . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_dwarf_d2 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasClassName "dwarf" ; + net:hasNaming "dwarf" ; + net:hasRootClassNet net:atomClass_dwarf_d2 ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s3 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasClassName "small" ; + net:hasNaming "small" ; + net:hasRootClassNet net:atomClass_small_s3 ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s ; + 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-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s . + +net:compositeClass_more-small-object_o3 a net:Class_Net, + net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o3, + net:individual_more-small_s2 ; + net:coverBaseNode :leaf_object_o3 ; + net:coverNode :leaf_more_m2, + :leaf_object_o3, + :leaf_small_s2 ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_object_o3, + net:compositeClass_more-small-object_o3 ; + net:hasNaming "more-small-object" ; + net:hasRestriction net:restriction_more-small-feature_s2 ; + net:hasRootClassNet net:atomClass_object_o3 ; + net:hasStructure "SSC-02-01" . + +net:individual_body-SSC-02-01_b a net:Individual_Net ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:hasIndividualLabel "body (SSC-02-01)" ; + net:hasMotherClassNet net:compositeClass_small-body_b ; + net:hasNaming "body-SSC-02-01" ; + net:hasStructure "SSC-02-01" . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_planet_p a :AMR_Leaf ; + :edge_p_quant_8 :value_8 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p . + +:leaf_planet_p2 a :AMR_Leaf ; + :edge_p2_d2 :leaf_dwarf_d2 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p2 . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:atomClass_planet_p a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_quant net:value_8_blankNode ; + net:coverBaseNode :leaf_planet_p ; + net:coverNode :leaf_planet_p ; + net:hasClassName "planet" ; + net:hasClassType sys:Entity ; + net:hasNaming "planet" ; + net:hasRootClassNet net:atomClass_planet_p ; + net:hasStructure "SSC-02-01" . + +net:atomClass_sun_s a net:Atom_Class_Net, + net:Class_Net ; + net:coverBaseNode :leaf_sun_s ; + net:coverNode :leaf_sun_s ; + net:hasClassName "sun" ; + net:hasClassType sys:Entity ; + net:hasNaming "sun" ; + net:hasRootClassNet net:atomClass_sun_s ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_hasPart_p9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_system_s4, + net:individual_SolarSystem_s4 ; + :role_ARG1 net:atomClass_body_b, + net:compositeClass_small-body_b ; + 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-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_body_b, + :leaf_system_s4 . + +net:individual_small_s3 a net:Individual_Net ; + net:composeFrom net:atomClass_small_s3 ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "small" ; + net:hasNaming "small" ; + net:hasStructure "SSC-02-01" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Structure a owl:Class . + +:leaf_hasPart_p9 a :AMR_Leaf ; + :edge_p9_ARG0_s4 :leaf_system_s4 ; + :edge_p9_ARG1_b :leaf_body_b ; + :hasConcept :concept_part ; + :hasVariable :variable_p9 ; + :isReifiedLeaf true . + +:leaf_object_o3 a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o3 . + +:leaf_sun_s a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_planet_p2 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_planet_p2 ; + net:hasClassName "planet" ; + net:hasClassType sys:Entity ; + net:hasNaming "planet" ; + net:hasRootClassNet net:atomClass_planet_p2 ; + net:hasStructure "SSC-02-01" . + +net:atomClass_system_s4 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasClassName "system" ; + net:hasClassType sys:Entity ; + net:hasNaming "system" ; + net:hasRootClassNet net:atomClass_system_s4 ; + net:hasStructure "SSC-02-01" . + +net:predefinedProperty_hasFeature a net:Predefined_Property_Net ; + net:hasNaming "hasFeature" ; + net:hasPropertyName "hasFeature" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "predefinedProperty" . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_o :leaf_object_o ; + :edge_o2_s :leaf_sun_s ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +net:atomClass_body_b a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_mod net:atomClass_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b ; + net:hasClassName "body" ; + net:hasClassType sys:Entity ; + net:hasNaming "body" ; + net:hasRootClassNet net:atomClass_body_b ; + net:hasStructure "SSC-02-01" . + +net:atomClass_object_o a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:hasClassName "object" ; + net:hasClassType sys:Entity ; + net:hasNaming "object" ; + net:hasRootClassNet net:atomClass_object_o ; + net:hasStructure "SSC-02-01" . + +net:atomClass_object_o3 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o3 ; + net:coverNode :leaf_object_o3 ; + net:hasClassName "object" ; + net:hasClassType sys:Entity ; + net:hasNaming "object" ; + net:hasRootClassNet net:atomClass_object_o3 ; + net:hasStructure "SSC-02-01" . + +ns11:FrameRole a ns3:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:leaf_dwarf_d2 a :AMR_Leaf ; + :hasConcept :concept_dwarf ; + :hasVariable :variable_d2 . + +:leaf_large_l a :AMR_Leaf ; + :hasConcept :concept_large ; + :hasVariable :variable_l . + +:leaf_more_m2 a :AMR_Leaf ; + :hasConcept :concept_more ; + :hasVariable :variable_m2 . + +:leaf_most_m a :AMR_Leaf ; + :hasConcept :concept_most ; + :hasVariable :variable_m . + +:leaf_small_s2 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s2 . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:compositeClass_small-body_b a net:Class_Net, + net:Composite_Class_Net ; + :role_mod net:atomClass_small_s3 ; + net:composeFrom net:atomClass_body_b, + net:individual_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_body_b, + net:compositeClass_small-body_b ; + net:hasNaming "small-body" ; + net:hasRestriction net:restriction_small-feature_s3 ; + net:hasRootClassNet net:atomClass_body_b ; + net:hasStructure "SSC-02-01" . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_system_s4 a :AMR_Leaf ; + :edge_s4_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_s4 . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +:leaf_small_s3 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s3 . + +:leaf_body_b a :AMR_Leaf ; + :edge_b_s3 :leaf_small_s3 ; + :hasConcept :concept_body ; + :hasVariable :variable_b . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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/deducer-devGraph-5.ttl b/tests/dev_owl_rule_tests/test_data/deducer-devGraph-5.ttl new file mode 100644 index 0000000000000000000000000000000000000000..98211aa312f1b9ad870a430fd1dfef79bdcd22fd --- /dev/null +++ b/tests/dev_owl_rule_tests/test_data/deducer-devGraph-5.ttl @@ -0,0 +1,1835 @@ +@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/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns3: <http://amr.isi.edu/rdf/core-amr#> . +@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#> . + +ns3:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns3:hasID "test-1" ; + ns3:hasSentence "The sun is a star." ; + ns3:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns3:hasID "test-2" ; + ns3:hasSentence "Earth is a planet." ; + ns3:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns11:direct-02.ARG1 a ns11:FrameRole . + +ns11:have-degree-91.ARG1 a ns11:FrameRole . + +ns11:have-degree-91.ARG2 a ns11:FrameRole . + +ns11:have-degree-91.ARG3 a ns11:FrameRole . + +ns11:have-degree-91.ARG5 a ns11:FrameRole . + +ns11:orbit-01.ARG0 a ns11:FrameRole . + +ns11:orbit-01.ARG1 a ns11:FrameRole . + +ns11:remain-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns3:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:mod a ns3:Role . + +ns2:op1 a ns3:Role . + +ns2:op2 a ns3:Role . + +ns2:op3 a ns3:Role . + +ns3:hasID a owl:AnnotationProperty . + +ns3:hasSentence a owl:AnnotationProperty . + +ns3: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_a2_b a :AMR_Edge ; + :hasAmrRole :role_op3 ; + :hasRoleID "op3" . + +:edge_a2_o3 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a2_p2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_a_h a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_r a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_s3 a :AMR_Edge ; + :hasAmrRole :role_mod ; + :hasRoleID "mod" . + +:edge_d_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_m2 a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h2_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h_l a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h_m a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_o a :AMR_Edge ; + :hasAmrRole :role_ARG5 ; + :hasRoleID "ARG5" . + +:edge_h_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o2_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p2_d2 a :AMR_Edge ; + :hasAmrRole :role_mod ; + :hasRoleID "mod" . + +:edge_p9_ARG0_s4 a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_p9_ARG1_b a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p_quant_8 a :AMR_Edge ; + :hasAmrRole :role_quant ; + :hasRoleID "quant" . + +:edge_r_a2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_s4_name_SolarSystem a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +: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_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +: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_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +: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_domain a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +: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_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_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:root_SSC-02-01 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#root01> ; + :hasRootLeaf :leaf_and_a ; + :hasSentenceID "SSC-02-01" ; + :hasSentenceStatement "Of the objects that orbit the Sun directly, the largest are the eight planets, with the remainder being smaller objects, the dwarf planets and small Solar System bodies." . + +: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:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +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:atomProperty_direct_d a net:Atom_Property_Net ; + :role_ARG1 net:atomProperty_orbit_o2 ; + 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-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_orbit-01_o2 . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:compositeClass_object-orbit-sun_o a net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasMotherClassNet net:atomClass_object_o ; + net:hasNaming "object-orbit-sun" ; + net:hasRestriction net:restriction_orbit-sun_o2 ; + net:hasRootClassNet net:atomClass_object_o ; + net:hasStructure "SSC-02-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:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:phenomena_degree_h ; + :role_op2 net:atomProperty_remain_r ; + 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-02-01" . + +net:phenomena_degree_h2 a net:Phenomena_Net ; + :role_ARG1 net:atomClass_object_o3, + net:compositeClass_more-small-object_o3 ; + :role_ARG2 net:atomClass_small_s2 ; + :role_ARG3 net:atomProperty_more_m2 ; + net:coverBaseNode :leaf_have-degree-91_h2 ; + net:coverNode :leaf_have-degree-91_h2 ; + net:hasNaming "degree" ; + net:hasPhenomenaRef "have-degree-91" ; + net:hasPhenomenaType :phenomena_degree ; + net:hasStructure "SSC-02-01" . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:relation_SolarSystem-hasPart-body-SSC-02-01_s4 a net:Relation_Net ; + net:composeFrom net:atomProperty_hasPart_p9, + net:individual_SolarSystem_s4, + net:individual_body-SSC-02-01_b ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_small_s3, + :leaf_system_s4 ; + net:hasNaming "SolarSystem-hasPart-body-SSC-02-01" ; + net:hasObjectNet net:individual_body-SSC-02-01_b ; + net:hasPredicateNet net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-02-01" ; + net:hasSubjectNet net:individual_SolarSystem_s4 . + +net:relation_body-SSC-02-01-hasFeature-small_b a net:Relation_Net ; + net:composeFrom net:individual_body-SSC-02-01_b, + net:individual_small_s3, + net:predefinedProperty_hasFeature ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:hasNaming "body-SSC-02-01-hasFeature-small" ; + net:hasObjectNet net:individual_small_s3 ; + net:hasPredicateNet net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" ; + net:hasSubjectNet net:individual_body-SSC-02-01_b . + +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-02-01#d> a ns11:direct-02 ; + ns11:direct-02.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#o2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#h2> a ns11:have-degree-91 ; + ns11:have-degree-91.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#o3> ; + ns11:have-degree-91.ARG2 <http://amr.isi.edu/amr_data/SSC-02-01#s2> ; + ns11:have-degree-91.ARG3 <http://amr.isi.edu/amr_data/SSC-02-01#m2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#root01> a ns3:AMR ; + ns3:has-id "SSC-02-01" ; + ns3:has-sentence "Of the objects that orbit the Sun directly, the largest are the eight planets, with the remainder being smaller objects, the dwarf planets and small Solar System bodies." ; + ns3:root <http://amr.isi.edu/amr_data/SSC-02-01#a> . + +<http://amr.isi.edu/amr_data/SSC-02-01#s4> a ns2:system ; + rdfs:label "Solar System" ; + ns2:part <http://amr.isi.edu/amr_data/SSC-02-01#b> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#s> ns2:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns3:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:NamedEntity a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_body rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:body ; + :label "body" . + +:concept_direct-02 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:direct-02 ; + :label "direct-02" . + +:concept_dwarf rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:dwarf ; + :label "dwarf" . + +:concept_large rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:large ; + :label "large" . + +:concept_more rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:more ; + :label "more" . + +:concept_most rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns3:most ; + :label "most" . + +:concept_orbit-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:orbit-01 ; + :label "orbit-01" . + +:concept_part rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns2:part ; + :isReifiedConcept true ; + :label "hasPart" . + +:concept_remain-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:remain-01 ; + :label "remain-01" . + +:concept_sun rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:sun ; + :label "sun" . + +:concept_system rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:system ; + :label "system" . + +:role_ARG5 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_op3 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_quant a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#a> ; + :label "a" . + +:variable_a2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#a2> ; + :label "a2" . + +:variable_b a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#b> ; + :label "b" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#d> ; + :label "d" . + +:variable_d2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#d2> ; + :label "d2" . + +:variable_h a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#h> ; + :label "h" . + +:variable_h2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#h2> ; + :label "h2" . + +:variable_l a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#l> ; + :label "l" . + +:variable_m a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#m> ; + :label "m" . + +:variable_m2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#m2> ; + :label "m2" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#o> ; + :label "o" . + +:variable_o2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#o2> ; + :label "o2" . + +:variable_o3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#o3> ; + :label "o3" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#p> ; + :label "p" . + +:variable_p2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#p2> ; + :label "p2" . + +:variable_p9 a ns2:part, + :AMR_Variable ; + :isReifiedVariable true ; + :label "p9" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#r> ; + :label "r" . + +:variable_s a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s> ; + :label "s" . + +:variable_s2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s2> ; + :label "s2" . + +:variable_s3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s3> ; + :label "s3" . + +:variable_s4 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/SSC-02-01#s4> ; + :label "s4" ; + :name "Solar System" . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Predefined_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:atomProperty_remain_r a net:Atom_Property_Net ; + :role_ARG1 net:atomClass_body_b, + net:atomClass_object_o3, + net:atomClass_planet_p2, + net:compositeClass_dwarf-planet_p2, + net:compositeClass_more-small-object_o3, + net:compositeClass_small-body_b, + net:phenomena_conjunction-AND_a2 ; + net:coverBaseNode :leaf_remain-01_r ; + net:coverNode :leaf_remain-01_r ; + net:hasNaming "remain" ; + net:hasPropertyName "remain" ; + net:hasPropertyName01 "remaining" ; + net:hasPropertyName10 "remain-by" ; + net:hasPropertyName12 "remain-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_and_a2 . + +net:compositeClass_system-hasPart-small-body_s4 a net:Composite_Class_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:composeFrom net:atomClass_system_s4, + net:atomProperty_hasPart_p9, + net:compositeClass_small-body_b ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_small_s3, + :leaf_system_s4 ; + net:hasMotherClassNet net:atomClass_system_s4 ; + net:hasNaming "system-hasPart-small-body" ; + net:hasRestriction net:restriction_hasPart-small-body_p9 ; + net:hasRootClassNet net:atomClass_system_s4 ; + net:hasStructure "SSC-02-01" . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:individual_more_m2 a net:Individual_Net ; + net:composeFrom net:atomProperty_more_m2 ; + net:coverBaseNode :leaf_more_m2 ; + net:coverNode :leaf_more_m2 ; + net:hasClassType sys:Degree ; + net:hasIndividualLabel "more" ; + net:hasNaming "more" ; + net:hasStructure "SSC-02-01" . + +net:individual_most_m a net:Individual_Net ; + net:composeFrom net:atomProperty_most_m ; + net:coverBaseNode :leaf_most_m ; + net:coverNode :leaf_most_m ; + net:hasClassType sys:Degree ; + net:hasIndividualLabel "most" ; + net:hasNaming "most" ; + net:hasStructure "SSC-02-01" . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a2 a net:Phenomena_Net ; + :role_op1 net:atomClass_object_o3, + net:compositeClass_more-small-object_o3 ; + :role_op2 net:atomClass_planet_p2, + net:compositeClass_dwarf-planet_p2 ; + :role_op3 net:atomClass_body_b, + net:compositeClass_small-body_b ; + net:coverBaseNode :leaf_and_a2 ; + net:coverNode :leaf_and_a2 ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "SSC-02-01" . + +net:phenomena_degree_h a net:Phenomena_Net ; + :role_ARG1 net:atomClass_planet_p, + net:compositeClass_most-large-planet_p ; + :role_ARG2 net:atomClass_large_l ; + :role_ARG3 net:atomProperty_most_m ; + :role_ARG5 net:atomClass_object_o ; + net:coverBaseNode :leaf_have-degree-91_h ; + net:coverNode :leaf_have-degree-91_h ; + net:hasNaming "degree" ; + net:hasPhenomenaRef "have-degree-91" ; + net:hasPhenomenaType :phenomena_degree ; + net:hasStructure "SSC-02-01" . + +net:restriction_dwarf-feature_d2 a net:Restriction_Net ; + net:composeFrom net:individual_dwarf_d2 ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasNaming "dwarf-feature" ; + net:hasRestrictionNetValue net:individual_dwarf_d2 ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +net:restriction_hasPart-small-body_p9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_hasPart_p9, + net:compositeClass_small-body_b ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_small_s3 ; + net:hasNaming "hasPart-small-body" ; + net:hasRestrictionNetValue net:compositeClass_small-body_b ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-02-01" . + +net:restriction_more-small-feature_s2 a net:Restriction_Net ; + net:composeFrom net:individual_more-small_s2 ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_more_m2, + :leaf_small_s2 ; + net:hasNaming "more-small-feature" ; + net:hasRestrictionNetValue net:individual_more-small_s2 ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +net:restriction_most-large-feature_l a net:Restriction_Net ; + net:composeFrom net:individual_most-large_l ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l, + :leaf_most_m ; + net:hasNaming "most-large-feature" ; + net:hasRestrictionNetValue net:individual_most-large_l ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +net:restriction_orbit-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "orbit-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s ; + net:hasRestrictionOnProperty net:atomProperty_orbit_o2 ; + net:hasStructure "SSC-02-01" . + +net:restriction_small-feature_s3 a net:Restriction_Net ; + net:composeFrom net:individual_small_s3 ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasNaming "small-feature" ; + net:hasRestrictionNetValue net:individual_small_s3 ; + net:hasRestrictionOnProperty net:predefinedProperty_hasFeature ; + net:hasStructure "SSC-02-01" . + +<http://amr.isi.edu/amr_data/SSC-02-01#a> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/SSC-02-01#h> ; + ns2:op2 <http://amr.isi.edu/amr_data/SSC-02-01#r> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#a2> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/SSC-02-01#o3> ; + ns2:op2 <http://amr.isi.edu/amr_data/SSC-02-01#p2> ; + ns2:op3 <http://amr.isi.edu/amr_data/SSC-02-01#b> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#d2> a ns2:dwarf ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#h> a ns11:have-degree-91 ; + ns11:have-degree-91.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#p> ; + ns11:have-degree-91.ARG2 <http://amr.isi.edu/amr_data/SSC-02-01#l> ; + ns11:have-degree-91.ARG3 <http://amr.isi.edu/amr_data/SSC-02-01#m> ; + ns11:have-degree-91.ARG5 <http://amr.isi.edu/amr_data/SSC-02-01#o> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#l> a ns2:large ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#m> a ns3:most ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#m2> a ns3:more ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#o2> a ns11:orbit-01 ; + ns11:orbit-01.ARG0 <http://amr.isi.edu/amr_data/SSC-02-01#o> ; + ns11:orbit-01.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#s> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#p> a <http://amr.isi.edu/entity-types#planet> ; + ns2:quant "8" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#p2> a <http://amr.isi.edu/entity-types#planet> ; + ns2:mod <http://amr.isi.edu/amr_data/SSC-02-01#d2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#r> a ns11:remain-01 ; + ns11:remain-01.ARG1 <http://amr.isi.edu/amr_data/SSC-02-01#a2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#s> a ns2:sun ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#s2> a ns2:small ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#s3> a ns2:small ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:direct-02 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:orbit-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:remain-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:body a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:dwarf a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:large a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:part a ns3:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:sun a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:system a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:more a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:most a ns3: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_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_have-degree-91 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:have-degree-91 ; + :hasPhenomenaLink :phenomena_degree ; + :label "have-degree-91" . + +:concept_object rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:object ; + :label "object" . + +:concept_planet rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk <http://amr.isi.edu/entity-types#planet> ; + :label "planet" . + +:concept_small rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:small ; + :label "small" . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_direct-02_d a :AMR_Leaf ; + :edge_d_o2 :leaf_orbit-01_o2 ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_have-degree-91_h2 a :AMR_Leaf ; + :edge_h2_m2 :leaf_more_m2 ; + :edge_h2_o3 :leaf_object_o3 ; + :edge_h2_s2 :leaf_small_s2 ; + :hasConcept :concept_have-degree-91 ; + :hasVariable :variable_h2 . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_mod a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +: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_8 a :AMR_Value ; + rdfs:label "8" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "SolarSystem" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Relation_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_more_m2 a net:Atom_Property_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_more_m2 ; + net:coverNode :leaf_more_m2 ; + net:hasNaming "more" ; + net:hasPropertyName "more" ; + net:hasPropertyName01 "moreing" ; + net:hasPropertyName10 "more-by" ; + net:hasPropertyName12 "more-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" . + +net:atomProperty_most_m a net:Atom_Property_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_most_m ; + net:coverNode :leaf_most_m ; + net:hasNaming "most" ; + net:hasPropertyName "most" ; + net:hasPropertyName01 "mosting" ; + net:hasPropertyName10 "most-by" ; + net:hasPropertyName12 "most-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" . + +net:compositeClass_most-large-planet_p a net:Class_Net, + net:Composite_Class_Net ; + :role_quant net:value_8_blankNode ; + net:composeFrom net:atomClass_planet_p, + net:individual_most-large_l ; + net:coverBaseNode :leaf_planet_p ; + net:coverNode :leaf_large_l, + :leaf_most_m, + :leaf_planet_p ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_object_o, + net:atomClass_planet_p, + net:compositeClass_most-large-planet_p ; + net:hasNaming "most-large-planet" ; + net:hasRestriction net:restriction_most-large-feature_l ; + net:hasRootClassNet net:atomClass_planet_p ; + net:hasStructure "SSC-02-01" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_8_blankNode a net:Value_Net ; + net:coverAmrValue :value_8 ; + net:hasNaming "8" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "8" . + +<http://amr.isi.edu/amr_data/SSC-02-01#b> a ns2:body ; + ns2:mod <http://amr.isi.edu/amr_data/SSC-02-01#s3> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#o> a ns2:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/SSC-02-01#o3> a ns2:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#planet> a ns3:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:have-degree-91 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:object a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:small a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:and a ns3:Concept ; + 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 . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_h :leaf_have-degree-91_h ; + :edge_a_r :leaf_remain-01_r ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_have-degree-91_h a :AMR_Leaf ; + :edge_h_l :leaf_large_l ; + :edge_h_m :leaf_most_m ; + :edge_h_o :leaf_object_o ; + :edge_h_p :leaf_planet_p ; + :hasConcept :concept_have-degree-91 ; + :hasVariable :variable_h . + +:leaf_remain-01_r a :AMR_Leaf ; + :edge_r_a2 :leaf_and_a2 ; + :hasConcept :concept_remain-01 ; + :hasVariable :variable_r . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +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:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_large_l a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l ; + net:hasClassName "large" ; + net:hasClassType sys:Entity ; + net:hasNaming "large" ; + net:hasRootClassNet net:atomClass_large_l ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s2 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_small_s2 ; + net:hasClassName "small" ; + net:hasClassType sys:Entity ; + net:hasNaming "small" ; + net:hasRootClassNet net:atomClass_small_s2 ; + net:hasStructure "SSC-02-01" . + +net:compositeClass_dwarf-planet_p2 a net:Class_Net, + net:Composite_Class_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:composeFrom net:atomClass_planet_p2, + net:individual_dwarf_d2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_dwarf_d2, + :leaf_planet_p2 ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_planet_p2, + net:compositeClass_dwarf-planet_p2 ; + net:hasNaming "dwarf-planet" ; + net:hasRestriction net:restriction_dwarf-feature_d2 ; + net:hasRootClassNet net:atomClass_planet_p2 ; + net:hasStructure "SSC-02-01" . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:individual_SolarSystem_s4 a net:Individual_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasClassType sys:Entity ; + net:hasIndividualLabel "SolarSystem" ; + net:hasMotherClassNet net:atomClass_system_s4, + net:compositeClass_system-hasPart-small-body_s4 ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-02-01" . + +net:individual_dwarf_d2 a net:Individual_Net ; + net:composeFrom net:atomClass_dwarf_d2 ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "dwarf" ; + net:hasNaming "dwarf" ; + net:hasStructure "SSC-02-01" . + +net:individual_more-small_s2 a net:Individual_Net ; + net:composeFrom net:atomClass_small_s2, + net:individual_more_m2 ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_more_m2, + :leaf_small_s2 ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "more-small" ; + net:hasNaming "more-small" ; + net:hasStructure "SSC-02-01" . + +net:individual_most-large_l a net:Individual_Net ; + net:composeFrom net:atomClass_large_l, + net:individual_most_m ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l, + :leaf_most_m ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "most-large" ; + net:hasNaming "most-large" ; + net:hasStructure "SSC-02-01" . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:coverAmrValue :value_SolarSystem ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "SolarSystem" . + +ns3:Frame a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_and_a2 a :AMR_Leaf ; + :edge_a2_b :leaf_body_b ; + :edge_a2_o3 :leaf_object_o3 ; + :edge_a2_p2 :leaf_planet_p2 ; + :hasConcept :concept_and ; + :hasVariable :variable_a2 . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_dwarf_d2 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasClassName "dwarf" ; + net:hasNaming "dwarf" ; + net:hasRootClassNet net:atomClass_dwarf_d2 ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s3 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasClassName "small" ; + net:hasNaming "small" ; + net:hasRootClassNet net:atomClass_small_s3 ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s ; + 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-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s . + +net:compositeClass_more-small-object_o3 a net:Class_Net, + net:Composite_Class_Net ; + net:composeFrom net:atomClass_object_o3, + net:individual_more-small_s2 ; + net:coverBaseNode :leaf_object_o3 ; + net:coverNode :leaf_more_m2, + :leaf_object_o3, + :leaf_small_s2 ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_object_o3, + net:compositeClass_more-small-object_o3 ; + net:hasNaming "more-small-object" ; + net:hasRestriction net:restriction_more-small-feature_s2 ; + net:hasRootClassNet net:atomClass_object_o3 ; + net:hasStructure "SSC-02-01" . + +net:individual_body-SSC-02-01_b a net:Individual_Net ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:hasIndividualLabel "body (SSC-02-01)" ; + net:hasMotherClassNet net:compositeClass_small-body_b ; + net:hasNaming "body-SSC-02-01" ; + net:hasStructure "SSC-02-01" . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_planet_p a :AMR_Leaf ; + :edge_p_quant_8 :value_8 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p . + +:leaf_planet_p2 a :AMR_Leaf ; + :edge_p2_d2 :leaf_dwarf_d2 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p2 . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:atomClass_planet_p a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_quant net:value_8_blankNode ; + net:coverBaseNode :leaf_planet_p ; + net:coverNode :leaf_planet_p ; + net:hasClassName "planet" ; + net:hasClassType sys:Entity ; + net:hasNaming "planet" ; + net:hasRootClassNet net:atomClass_planet_p ; + net:hasStructure "SSC-02-01" . + +net:atomClass_sun_s a net:Atom_Class_Net, + net:Class_Net ; + net:coverBaseNode :leaf_sun_s ; + net:coverNode :leaf_sun_s ; + net:hasClassName "sun" ; + net:hasClassType sys:Entity ; + net:hasNaming "sun" ; + net:hasRootClassNet net:atomClass_sun_s ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_hasPart_p9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_system_s4, + net:individual_SolarSystem_s4 ; + :role_ARG1 net:atomClass_body_b, + net:compositeClass_small-body_b ; + 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-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_body_b, + :leaf_system_s4 . + +net:individual_small_s3 a net:Individual_Net ; + net:composeFrom net:atomClass_small_s3 ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasClassType sys:Feature ; + net:hasIndividualLabel "small" ; + net:hasNaming "small" ; + net:hasStructure "SSC-02-01" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Structure a owl:Class . + +:leaf_hasPart_p9 a :AMR_Leaf ; + :edge_p9_ARG0_s4 :leaf_system_s4 ; + :edge_p9_ARG1_b :leaf_body_b ; + :hasConcept :concept_part ; + :hasVariable :variable_p9 ; + :isReifiedLeaf true . + +:leaf_object_o3 a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o3 . + +:leaf_sun_s a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_planet_p2 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_planet_p2 ; + net:hasClassName "planet" ; + net:hasClassType sys:Entity ; + net:hasNaming "planet" ; + net:hasRootClassNet net:atomClass_planet_p2 ; + net:hasStructure "SSC-02-01" . + +net:atomClass_system_s4 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasClassName "system" ; + net:hasClassType sys:Entity ; + net:hasNaming "system" ; + net:hasRootClassNet net:atomClass_system_s4 ; + net:hasStructure "SSC-02-01" . + +net:predefinedProperty_hasFeature a net:Predefined_Property_Net ; + net:hasNaming "hasFeature" ; + net:hasPropertyName "hasFeature" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "predefinedProperty" . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_o :leaf_object_o ; + :edge_o2_s :leaf_sun_s ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +net:atomClass_body_b a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + :role_mod net:atomClass_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b ; + net:hasClassName "body" ; + net:hasClassType sys:Entity ; + net:hasNaming "body" ; + net:hasRootClassNet net:atomClass_body_b ; + net:hasStructure "SSC-02-01" . + +net:atomClass_object_o a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:hasClassName "object" ; + net:hasClassType sys:Entity ; + net:hasNaming "object" ; + net:hasRootClassNet net:atomClass_object_o ; + net:hasStructure "SSC-02-01" . + +net:atomClass_object_o3 a net:Atom_Class_Net, + net:Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o3 ; + net:coverNode :leaf_object_o3 ; + net:hasClassName "object" ; + net:hasClassType sys:Entity ; + net:hasNaming "object" ; + net:hasRootClassNet net:atomClass_object_o3 ; + net:hasStructure "SSC-02-01" . + +ns11:FrameRole a ns3:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:leaf_dwarf_d2 a :AMR_Leaf ; + :hasConcept :concept_dwarf ; + :hasVariable :variable_d2 . + +:leaf_large_l a :AMR_Leaf ; + :hasConcept :concept_large ; + :hasVariable :variable_l . + +:leaf_more_m2 a :AMR_Leaf ; + :hasConcept :concept_more ; + :hasVariable :variable_m2 . + +:leaf_most_m a :AMR_Leaf ; + :hasConcept :concept_most ; + :hasVariable :variable_m . + +:leaf_small_s2 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s2 . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:compositeClass_small-body_b a net:Class_Net, + net:Composite_Class_Net ; + :role_mod net:atomClass_small_s3 ; + net:composeFrom net:atomClass_body_b, + net:individual_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_body_b, + net:compositeClass_small-body_b ; + net:hasNaming "small-body" ; + net:hasRestriction net:restriction_small-feature_s3 ; + net:hasRootClassNet net:atomClass_body_b ; + net:hasStructure "SSC-02-01" . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_system_s4 a :AMR_Leaf ; + :edge_s4_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_s4 . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +:leaf_small_s3 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s3 . + +:leaf_body_b a :AMR_Leaf ; + :edge_b_s3 :leaf_small_s3 ; + :hasConcept :concept_body ; + :hasVariable :variable_b . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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_deducer_mother_relation.py b/tests/dev_owl_rule_tests/test_rule_deducer_mother_relation.py new file mode 100644 index 0000000000000000000000000000000000000000..5a6c979868295d72bd6fbddf9b0b5ea9ee6c9ead --- /dev/null +++ b/tests/dev_owl_rule_tests/test_rule_deducer_mother_relation.py @@ -0,0 +1,144 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# RELATION DEDUCER Test +#------------------------------------------------------------------------------ +# Script to test the relation deducer 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_1 = 'deducer-devGraph-5' + +from context import tenet +from tenet.scheme.amr_master_rule.transduction.heuristic_deducer import refine_mother_relation_1 as test_rule_1 +from tenet.scheme import amr_master_rule + +from tenet.transduction.rdfterm_computer import __update_uri_with_prefix +from tenet.transduction import rdfterm_computer, prefix_handle +from tenet.transduction import net + + +#============================================================================== +# Useful Methods +#============================================================================== + +def load_test_graph(test_file_name): + print(f'\n -- Test Graph Loading') + graph = Graph() + prefix_handle.update_graph_namespacemanager(graph) + graph_path = f'{INPUT_DIR_PATH}{test_file_name}.ttl' + graph.parse(graph_path) + print(f" ----- Graph Loaded ({len(graph)})") + return graph + + +def print_triple(graph, triple, num=-1): + num_str = f'[{num}]' if num > -1 else '[-]' + (s, p, o) = triple + s = __update_uri_with_prefix(graph, s) + p = __update_uri_with_prefix(graph, p) + o = __update_uri_with_prefix(graph, o) + print(f' {num_str} {s} {p} {o}') + + +def add_triples_in_graph(test_file_name, 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 + graph_length = len(graph) + for triple in triple_list: + graph.add(triple) + if graph_length < len(graph): + n += 1 + graph_length = len(graph) + print_triple(graph, triple, num=n) + + print(f" ----- Graph length after update: {len(graph)}") + + 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' + 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_deducer(graph): + _, pattern_set = test_rule_1.__search_pattern(graph) + print(f'\n ----- number of selection found: {len(pattern_set)}') + for row in pattern_set: + result_str = f'>>> ' + result_str += f'{row.target_class_net.n3(graph.namespace_manager)}' + result_str += f' {row.mother_class_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + +def test_search_parent_class_related_to_same_node(graph, class_net_uri): + print(f'\n ----- search parent for following class: {class_net_uri}') + _, pattern_set = test_rule_1.__search_parent_class_related_to_same_node(graph, class_net_uri) + print(f'\n ----- number of selection found: {len(pattern_set)}') + for row in pattern_set: + result_str = f'>>> ' + result_str += f'{row.parent_class_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + + + +#============================================================================== +# Unit Test +#============================================================================== + +def test_rule_application_deducer(test_file_name, graph, rule): + print('\n -- Rule Test for Relation Deduction') + + rule_label, new_triple_list = rule(graph) + print(f' ----- label: {rule_label}') + + add_triples_in_graph(test_file_name, graph, new_triple_list) + +#============================================================================== +# Test Script +#============================================================================== + +if __name__ == '__main__': + + print('\n *** Test Preparation ***') + graph_1 = load_test_graph(TEST_FILE_NAME_1) + print('\n \n') + + print('\n ///////////////////// Relation Deduction Rule') + + print('\n *** Step Test ***') + print('\n -- Step 1: Search Pattern for Deducer') + pattern_set = test_search_pattern_deducer(graph_1) + print('\n \n') + + + print('\n -- Step 2: Search Parent Class Related to Same Node') + class_net_uri = 'https://tenet.tetras-libre.fr/semantic-net#atomClass_object_o' + pattern_set = test_search_parent_class_related_to_same_node(graph_1, class_net_uri) + print('\n \n') + + + print('\n *** Unit Test ***') + test_rule_application_deducer(TEST_FILE_NAME_1, graph_1, test_rule_1.refine_mother_relation) + print('\n \n') + + print('\n *** - ***')