From 941dff15aaa1e488c7acad6e970e129ca28e6fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@tetras-libre.fr> Date: Fri, 15 Sep 2023 13:11:53 +0200 Subject: [PATCH] New Extraction Rule: degree_analyzer_1 (1) --- tenet/scheme/amr_master_rule/__init__.py | 1 + .../phenomena_analyzer/degree_analyzer_1.py | 241 +++ tenet/scheme/owl_amr_scheme_1.py | 3 +- .../degree-analyzer-devGraph-1.result.ttl | 1815 +++++++++++++++++ .../test_data/degree-analyzer-devGraph-1.ttl | 1717 ++++++++++++++++ .../test_rule_phenomena_analyzer_degree.py | 139 ++ tests/main_tests/test_main_owl_extraction.py | 2 +- 7 files changed, 3916 insertions(+), 2 deletions(-) create mode 100644 tenet/scheme/amr_master_rule/transduction/phenomena_analyzer/degree_analyzer_1.py create mode 100644 tests/dev_owl_rule_tests/test_data/degree-analyzer-devGraph-1.result.ttl create mode 100644 tests/dev_owl_rule_tests/test_data/degree-analyzer-devGraph-1.ttl create mode 100644 tests/dev_owl_rule_tests/test_rule_phenomena_analyzer_degree.py diff --git a/tenet/scheme/amr_master_rule/__init__.py b/tenet/scheme/amr_master_rule/__init__.py index 7f2cbaf8..d6bcced8 100644 --- a/tenet/scheme/amr_master_rule/__init__.py +++ b/tenet/scheme/amr_master_rule/__init__.py @@ -55,6 +55,7 @@ from scheme.amr_master_rule.transduction.phenomena_analyzer.or_analyzer_1 import from scheme.amr_master_rule.transduction.phenomena_analyzer.or_analyzer_2 import * from scheme.amr_master_rule.transduction.phenomena_analyzer.and_analyzer_1 import * from scheme.amr_master_rule.transduction.phenomena_analyzer.and_analyzer_2 import * +from scheme.amr_master_rule.transduction.phenomena_analyzer.degree_analyzer_1 import * from scheme.amr_master_rule.transduction.heuristic_deducer.relation_deducer_1 import * from scheme.amr_master_rule.transduction.heuristic_deducer.refine_restriction_1 import * diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_analyzer/degree_analyzer_1.py b/tenet/scheme/amr_master_rule/transduction/phenomena_analyzer/degree_analyzer_1.py new file mode 100644 index 00000000..68d7341d --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_analyzer/degree_analyzer_1.py @@ -0,0 +1,241 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to conjunctive phenomena degree-91 (rule 1) +#------------------------------------------------------------------------------ +# Extraction AMR rule to analyse Degree-91 phenomena (comparative and +# superlative) +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query, generate_select_distinct_query +from transduction.rdfterm_computer import produce_uriref, produce_literal + +ENTITY_CLASS_TYPE = 'base-out:Entity' +FEATURE_CLASS_TYPE = 'base-out:Feature' +DEGREE_CLASS_TYPE = 'base-out:Degree' +FEATURE_PROPERTY_NET_URI = 'net:predefinedProperty_hasFeature' +DEGREE_PROPERTY_NET_URI = 'net:predefinedProperty_hasDegree' + + + +#============================================================================== +# Pattern Search: DEGREE_PHENOMENA +#============================================================================== + +DEGREE_PHENOMENA_URI = 'amr:phenomena_degree' +ARG_RELATION = [None, 'amr:role_ARG1', 'amr:role_ARG2', 'amr:role_ARG3', + 'amr:role_ARG4', 'amr:role_ARG5', 'amr:role_ARG6'] + +def __search_pattern(graph): + select_data_list = ['?phenomena_net', + '?entity_class_net', + '?attribute_class_net', + '?degree_property_net' + ] + clause_list = ['?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?phenomena_net net:hasPhenomenaType {DEGREE_PHENOMENA_URI}.' + f'?phenomena_net {ARG_RELATION[1]} ?entity_class_net.', + '?entity_class_net a [rdfs:subClassOf* net:Class_Net].', + f'?phenomena_net {ARG_RELATION[2]} ?attribute_class_net.', + '?attribute_class_net a [rdfs:subClassOf* net:Class_Net].', + f'?phenomena_net {ARG_RELATION[3]} ?degree_property_net.', + '?degree_property_net a [rdfs:subClassOf* net:Property_Net].' + ] + query_code = generate_select_distinct_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Useful Additional Search +#============================================================================== + + + + + +#============================================================================== +# Useful Computation Method(s) +#============================================================================== + +def __extract_naming(net, default='none'): + naming = f'{default}' + naming_list = net.naming + if len(naming_list) > 0: + assert len(naming_list) == 1, f'Houston, we have a problem: too many naming' + naming = naming_list[0] + return naming + +def __define_feature_restriction_naming(class_net): + name = __extract_naming(class_net, default='something') + return f'{name}-feature' + +def __define_composite_naming(net_1, net_2): + name_1 = __extract_naming(net_1, default='something') + name_2 = __extract_naming(net_2, default='something') + return f'{name_2}-{name_1}' + + +def __filter_relation(relation_list, phenomena_net): + result_list = [] + for relation in relation_list: + check = True + (s, p, o) = relation + if s == o: check = False + if s == phenomena_net.uri: check = False + if check: result_list.append(relation) + return result_list + +def __propagate_relation(target_net, base_net, phenomena_net): + target_net.input_relation_list = base_net.input_relation_list + out_relation_list = __filter_relation(base_net.output_relation_list, phenomena_net) + target_net.output_relation_list = out_relation_list + + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +def __construct_feature_restriction_net(graph, individual_net): + + restriction_net = net.RestrictionNet(graph) + restriction_net.compose(individual_net) + + # -- Data Computation + restriction_net.restriction_property = produce_uriref(graph, FEATURE_PROPERTY_NET_URI) + restriction_net.restriction_net_value = individual_net.uri + + # -- Relation Propagation: None + + # -- Net Naming + restriction_net.naming = __define_feature_restriction_naming(individual_net) + + # -- Finalization + restriction_net.finalize() + triple_list = restriction_net.generate_triple_definition() + + return restriction_net, triple_list + + + +def __construct_composite_class_net(graph, class_net_1, individual_net, phenomena_net): + + # -- Net Composition + composite_class_net = net.CompositeClassNet(graph) + composite_class_net.compose(class_net_1, individual_net) + + # -- Data Computation + composite_class_net.mother_class_net = class_net_1.uri + composite_class_net.root_class_net = class_net_1.root_class_net + + # -- Restriction Computation + triple_list_1 = [] + restriction_net, triple_list_1 = __construct_feature_restriction_net(graph, individual_net) + composite_class_net.restriction = restriction_net.uri + + # -- Net Naming + composite_class_net.naming = __define_composite_naming(class_net_1, individual_net) + + # -- Relation Propagation + __propagate_relation(composite_class_net, class_net_1, phenomena_net) + + # -- Finalization + composite_class_net.finalize() + triple_list_2 = composite_class_net.generate_triple_definition() + result_triple_list = triple_list_1 + triple_list_2 + + return composite_class_net, result_triple_list + + + +def __construct_degree_individual_net(graph, degree_property_net): + + # -- Net Composition + individual_net = net.IndividualNet(graph) + individual_net.compose(degree_property_net) + + # -- Data Computation + individual_net.class_type = DEGREE_CLASS_TYPE + # individual_net.mother_class_net = class_net.uri + + # -- Net Naming + individual_net.naming = f'{__extract_naming(degree_property_net, default="something")}' + individual_net.individual_label = f'{__extract_naming(degree_property_net, default="something")}' + + # -- Finalization + individual_net.finalize() + result_triple_list = individual_net.generate_triple_definition() + + return individual_net, result_triple_list + + + +def __construct_feature_individual_net(graph, feature_class_net, degree_individual_net): + + # -- Net Composition + individual_net = net.IndividualNet(graph) + individual_net.compose(feature_class_net, degree_individual_net) + + # -- Data Computation + individual_net.class_type = FEATURE_CLASS_TYPE + # individual_net.mother_class_net = class_net.uri + + # -- Net Naming + individual_name = __define_composite_naming(feature_class_net, degree_individual_net) + individual_net.naming = individual_name + individual_net.individual_label = individual_name + + # -- Finalization + individual_net.finalize() + result_triple_list = individual_net.generate_triple_definition() + + return individual_net, result_triple_list + + + +#============================================================================== +# Main Method +#============================================================================== + +def analyze_phenomena_degree91_1(graph): + + # -- Rule Initialization + rule_label = 'analyze "degree-91" phenomena (1)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + phenomena_net = net.PhenomenaNet(graph, uri=pattern.phenomena_net) + entity_class_net = net.ClassNet(graph, uri=pattern.entity_class_net) + attribute_class_net = net.ClassNet(graph, uri=pattern.attribute_class_net) + degree_property_net = net.PropertyNet(graph, uri=pattern.degree_property_net) + + # -- New Net Construction(s) + + degree_individual_net, triple_list_1 = __construct_degree_individual_net(graph, degree_property_net) + + feature_individual_net, triple_list_2 = __construct_feature_individual_net( + graph, attribute_class_net, degree_individual_net) + + _, triple_list_3 = __construct_composite_class_net( + graph, entity_class_net, feature_individual_net, phenomena_net) + + # -- Resulting List Update + rule_triple_list += triple_list_1 + triple_list_2 + triple_list_3 + + # -- Deprecation: Origin Class Nets + rule_triple_list += entity_class_net.deprecate() + rule_triple_list += attribute_class_net.deprecate() + rule_triple_list += degree_property_net.deprecate() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/owl_amr_scheme_1.py b/tenet/scheme/owl_amr_scheme_1.py index 7a4397e9..1d2499bb 100644 --- a/tenet/scheme/owl_amr_scheme_1.py +++ b/tenet/scheme/owl_amr_scheme_1.py @@ -86,7 +86,8 @@ atomic_extraction_sequence = ['atomic extraction sequence', classification_sequence_1 = ['classification sequence (1)', rule.classify_modality_phenomena, - rule.reclassify_argument_property_to_class + rule.reclassify_argument_property_to_class, + rule.analyze_phenomena_degree91_1 ] phenomena_analyze_sequence_1 = ['phenomena analyze sequence (1)', diff --git a/tests/dev_owl_rule_tests/test_data/degree-analyzer-devGraph-1.result.ttl b/tests/dev_owl_rule_tests/test_data/degree-analyzer-devGraph-1.result.ttl new file mode 100644 index 00000000..2db5ba87 --- /dev/null +++ b/tests/dev_owl_rule_tests/test_data/degree-analyzer-devGraph-1.result.ttl @@ -0,0 +1,1815 @@ +@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:atomClass_orbit_o2, + 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:atomClass_orbit_o2 a net:Atom_Class_Net, + net:Class_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s ; + net:composeFrom net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasClassName "orbit" ; + net:hasClassType sys:Entity ; + net:hasNaming "orbit" ; + net:hasStructure "SSC-02-01" . + +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_most-large-planet_p a 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:hasMotherClassNet net:atomClass_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: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_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:atomProperty_orbit_o2 a net:Atom_Property_Net, + net:Deprecated_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_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:hasNaming "dwarf-planet" ; + net:hasRestriction net:restriction_dwarf-feature_d2 ; + net:hasRootClassNet net:atomClass_planet_p2 ; + 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: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:compositeClass_more-small-object_o3 a 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:hasMotherClassNet net:atomClass_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: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 . + +:leaf_sun_s a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s . + +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_object_o a net:Atom_Class_Net, + net:Class_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_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: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_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +: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:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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: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_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 . + +: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: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 . + +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_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" . + +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:hasNaming "small-body" ; + net:hasRestriction net:restriction_small-feature_s3 ; + net:hasRootClassNet net:atomClass_body_b ; + 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: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:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +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/degree-analyzer-devGraph-1.ttl b/tests/dev_owl_rule_tests/test_data/degree-analyzer-devGraph-1.ttl new file mode 100644 index 00000000..1afe6598 --- /dev/null +++ b/tests/dev_owl_rule_tests/test_data/degree-analyzer-devGraph-1.ttl @@ -0,0 +1,1717 @@ +@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:atomClass_orbit_o2, + 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 ; + :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:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +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:atomClass_orbit_o2 a net:Atom_Class_Net, + net:Class_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s ; + net:composeFrom net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasClassName "orbit" ; + net:hasClassType sys:Entity ; + net:hasNaming "orbit" ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_more_m2 a net:Atom_Property_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: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: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_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: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 ; + :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 ; + :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_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" . + +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#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:atomClass_large_l a net:Atom_Class_Net, + net:Class_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_planet_p a net:Atom_Class_Net, + net:Class_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_small_s2 a net:Atom_Class_Net, + net:Class_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:atomProperty_orbit_o2 a net:Atom_Property_Net, + net:Deprecated_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_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:hasNaming "dwarf-planet" ; + net:hasRestriction net:restriction_dwarf-feature_d2 ; + net:hasRootClassNet net:atomClass_planet_p2 ; + net:hasStructure "SSC-02-01" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +<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_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_planet_p a :AMR_Leaf ; + :edge_p_quant_8 :value_8 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p . + +:leaf_remain-01_r a :AMR_Leaf ; + :edge_r_a2 :leaf_and_a2 ; + :hasConcept :concept_remain-01 ; + :hasVariable :variable_r . + +:leaf_small_s2 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s2 . + +: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:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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: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: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 . + +:leaf_object_o3 a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o3 . + +:leaf_sun_s a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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_object_o a net:Atom_Class_Net, + net:Class_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: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" . + +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: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:predefinedProperty_hasFeature a net:Predefined_Property_Net ; + net:hasNaming "hasFeature" ; + net:hasPropertyName "hasFeature" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "predefinedProperty" . + +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_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_planet_p2 a :AMR_Leaf ; + :edge_p2_d2 :leaf_dwarf_d2 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p2 . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +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_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 . + +: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:Deprecated_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" . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +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: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:hasNaming "small-body" ; + net:hasRestriction net:restriction_small-feature_s3 ; + net:hasRootClassNet net:atomClass_body_b ; + 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 . + +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:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_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_phenomena_analyzer_degree.py b/tests/dev_owl_rule_tests/test_rule_phenomena_analyzer_degree.py new file mode 100644 index 00000000..52509c62 --- /dev/null +++ b/tests/dev_owl_rule_tests/test_rule_phenomena_analyzer_degree.py @@ -0,0 +1,139 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Extraction Rule Test +#------------------------------------------------------------------------------ +# Script to test rules under development +#============================================================================== + +import subprocess, os +from rdflib import Graph, Namespace +from rdflib.namespace import NamespaceManager, FOAF, RDF +from rdflib import URIRef, Literal, BNode + +FILE_PATH = f'{os.path.dirname(os.path.abspath(__file__))}' +INPUT_DIR_PATH = f'{FILE_PATH}/test_data/' +OUTPUT_DIR_PATH = f'{FILE_PATH}/test_data/' + +TEST_FILE_NAME_1 = 'degree-analyzer-devGraph-1' +TEST_FILE_NAME_2 = 'degree-analyzer-devGraph-2' + +from context import tenet +from tenet.scheme.amr_master_rule.transduction.phenomena_analyzer import degree_analyzer_1 as rule_1 +from tenet.scheme import amr_master_rule as amr_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 define_clause_list(composition_pattern_list): + clause_list = [] + for (net_1, relation, net_2) in composition_pattern_list: + clause_list.append(f'{net_1} {relation} {net_2}.') + return clause_list + + +def print_triple(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 + for triple in triple_list: + n += 1 + print_triple(graph, triple, num=n) + graph.add(triple) + + 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 / Step Test +#============================================================================== + +def test_search_pattern_1(graph): + print('\n -- Step 1: Search Pattern') + _, pattern_set = 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.phenomena_net.n3(graph.namespace_manager)}' + result_str += f' {row.entity_class_net.n3(graph.namespace_manager)}' + result_str += f' {row.attribute_class_net.n3(graph.namespace_manager)}' + result_str += f' {row.degree_property_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + + + +#============================================================================== +# Unit Test +#============================================================================== + +def test_rule_application(test_file_name, graph, rule): + print('\n -- Rule Test') + + rule_label, new_triple_list = rule(graph) + print(f' ----- label: {rule_label}') + print(f' ----- new_triple_list ({len(new_triple_list)}):') + + add_triples_in_graph(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 ///////////////////// Extraction Rule 1') + + print('\n *** Step Test ***') + pattern_set = test_search_pattern_1(graph_1) + print('\n \n') + + print('\n *** Unit Test ***') + test_rule_application(TEST_FILE_NAME_1, graph_1, rule_1.analyze_phenomena_degree91_1) + print('\n \n') + + print('\n *** - ***') \ No newline at end of file diff --git a/tests/main_tests/test_main_owl_extraction.py b/tests/main_tests/test_main_owl_extraction.py index 7ee428d0..a89785c4 100644 --- a/tests/main_tests/test_main_owl_extraction.py +++ b/tests/main_tests/test_main_owl_extraction.py @@ -56,7 +56,7 @@ test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/' # onto_prefix = f'SimpleTest' # base_output_name = f'SimpleTest' -uuid_num = '01' +uuid_num = '02' amrld_dir_path = f'{test_data_dir}dev/solar-system-{uuid_num}/' amrld_file_path = f'{amrld_dir_path}SSC-{uuid_num}-01.stog.amr.ttl' base_output_name = f'SolarSystemDev{uuid_num}' -- GitLab