diff --git a/tenet/scheme/amr_rule/__init__.py b/tenet/scheme/amr_rule/__init__.py index cd4e18721d5612a862d811fae6eec06f39ef04a6..15cf9879996760c5c98b664236fa564c71092379 100644 --- a/tenet/scheme/amr_rule/__init__.py +++ b/tenet/scheme/amr_rule/__init__.py @@ -12,6 +12,7 @@ from scheme.amr_rule.transduction.composite_class_extractor_1 import * from scheme.amr_rule.transduction.composite_class_extractor_2 import * from scheme.amr_rule.transduction.phenomena_polarity_analyzer_1 import * +from scheme.amr_rule.transduction.phenomena_mod_analyzer_1 import * from scheme.amr_rule.transduction.phenomena_or_analyzer_1 import * from scheme.amr_rule.transduction.phenomena_or_analyzer_2 import * diff --git a/tenet/scheme/amr_rule/nov_transduction/phenomena_application_degree.py b/tenet/scheme/amr_rule/nov_transduction/phenomena_application_degree.py deleted file mode 100644 index 077380b04be02532f48b505d33e65e686da4f8c0..0000000000000000000000000000000000000000 --- a/tenet/scheme/amr_rule/nov_transduction/phenomena_application_degree.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/python3.10 -# -*-coding:Utf-8 -* - -#============================================================================== -# TENET: AMR CTR at 'Net Expansion' level -#------------------------------------------------------------------------------ -# Module grouping compositional transduction rule_sets (CTR) for the analysis of -# AMR structures, at 'Net Expansion' level -#============================================================================== - -#============================================================================== -# Query Builder Imports -#============================================================================== - -#import query_builder.construct as construct -from query_builder.builders import * -from query_builder.element.net import Net - - -#============================================================================== -# CTR Set (CTR as Sparql querries) -#============================================================================== - -rule_set = {} - - -# --------------------------------------------- -# Net Expansion: Degree Phenomena Net -# --------------------------------------------- - -# TODO - - - # -- {composite_class_net.propagate_relations()} - - # -- {logical_set_net.deprecate()} - - # *** Complete clauses for net construction *** - # -- {composite_class_net.complete_clauses_for_construction(class_net_0.base_node)} diff --git a/tenet/scheme/amr_rule/nov_transduction/phenomena_application_mod.py b/tenet/scheme/amr_rule/nov_transduction/phenomena_application_mod.py index 7369e11ed4528e58951032028474d09c706b8692..e22d673535632e5fd24a126ea9690e113432ff51 100644 --- a/tenet/scheme/amr_rule/nov_transduction/phenomena_application_mod.py +++ b/tenet/scheme/amr_rule/nov_transduction/phenomena_application_mod.py @@ -131,44 +131,3 @@ rule_set['mod-phenomena-application-4'] = { 'binding': f""" """ } - - -# --------------------------------------------- -# Net Expansion: Degree Phenomena Net -# --------------------------------------------- - -# TODO - - - # -- {composite_class_net.propagate_relations()} - - # -- {logical_set_net.deprecate()} - - # *** Complete clauses for net construction *** - # -- {composite_class_net.complete_clauses_for_construction(class_net_0.base_node)} - -#============================================================================== -# Development Test -#============================================================================== - -if __name__ == '__main__': - - print('\n' + ' *** Development Test ***') - - print('\n' + ' -- Test Query') - rule = rule_set['mod-phenomena-application-3'] - test_query_1 = f"""[...] - CONSTRUCT {{ - {rule['construction']} - - }} - WHERE {{ - {rule['clause']} - - {rule['binding']} - - }} - """ - print(test_query_1) - - print('\n' + ' *** - ***') diff --git a/tenet/scheme/amr_rule/transduction/composite_class_extractor_1.py b/tenet/scheme/amr_rule/transduction/composite_class_extractor_1.py index ffdb22d4ccedca6f51d6ab33f8523a3a4d02b921..31e9497138bb801a2126116f15c52360da516824 100644 --- a/tenet/scheme/amr_rule/transduction/composite_class_extractor_1.py +++ b/tenet/scheme/amr_rule/transduction/composite_class_extractor_1.py @@ -95,7 +95,7 @@ def __construct_restriction_net(graph, property_net_1, property_net_2): -def __construct_composite_class_net_from_3_nets( +def __construct_composite_class_net( graph, base_class_net, core_property_net, target_class_net): # -- Net Composition @@ -151,7 +151,7 @@ def extract_composite_class_1(graph): # print(f' *** DEVTEST *** {selection_2.class_net}') # -- New Net Construction (from 3 nets) - new_class, triple_list = __construct_composite_class_net_from_3_nets( + new_class, triple_list = __construct_composite_class_net( graph, class_net_0, property_net, class_net_1) # -- Resulting List Update diff --git a/tenet/scheme/amr_rule/transduction/phenomena_mod_analyzer_1.py b/tenet/scheme/amr_rule/transduction/phenomena_mod_analyzer_1.py new file mode 100644 index 0000000000000000000000000000000000000000..b51c5c45222849c398ce434bad626c98da20274d --- /dev/null +++ b/tenet/scheme/amr_rule/transduction/phenomena_mod_analyzer_1.py @@ -0,0 +1,159 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to analyze phenomena mod (rule 1) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse modifier phenomena (mod) +# Rule: mod(class, class) => compositeClass +#============================================================================== + +import rdflib +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.naming_computer import define_axiom_naming +from transduction.naming_computer import define_composite_naming_2 + + +#============================================================================== +# Pattern Search: mod(class, class) +#============================================================================== + +MOD_RELATION = 'amr:role_mod' + +def __search_pattern(graph): + select_data_list = ['?class_net_1', '?class_net_2'] + clause_list = [f'?class_net_1 a [rdfs:subClassOf* net:Class_Net].', + f'?class_net_2 a [rdfs:subClassOf* net:Class_Net].', + f'?class_net_1 {MOD_RELATION} ?class_net_2.'] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# 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_naming(class_net_1, class_net_2): + name_1 = __extract_naming(class_net_1, default='something') + name_2 = __extract_naming(class_net_2, default='something') + return f'{name_2}-{name_1}' + + +def __filter_relation(relation_list): + result_list = [] + for relation in relation_list: + check = True + (s, p, o) = relation + if s == o: check = False + if p == MOD_RELATION: check = False + if check: result_list.append(relation) + return result_list + +def __propagate_relation(target_net, base_net): + target_net.input_relation_list = base_net.input_relation_list + out_relation_list = __filter_relation(base_net.output_relation_list) + target_net.output_relation_list = out_relation_list + + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +def __construct_restriction_net(graph, property_net_1, property_net_2): + + restriction_net = net.RestrictionNet(graph) + restriction_net.compose(property_net_1, property_net_2) + + # -- Data Computation + restriction_net.restriction_property = property_net_1.uri + restriction_net.restriction_net_value = property_net_2.uri + + # -- Relation Propagation: None + + # -- Net Naming + restriction_net.naming = define_restriction_naming(property_net_1, property_net_2) + + # -- 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, class_net_2): + + # -- Net Composition + composite_class_net = net.CompositeClassNet(graph) + composite_class_net.compose(class_net_1, class_net_2) + + # -- Data Computation + composite_class_net.mother_class_net = class_net_1.uri + + # -- Restriction Computation + triple_list_1 = [] + # restriction_net, triple_list_1 = __construct_restriction_net(graph, class_net_1, class_net_2) + # composite_class_net.restriction = restriction_net.uri + + # -- Net Naming + composite_class_net.naming = __define_naming(class_net_1, class_net_2) + + # -- Relation Propagation + __propagate_relation(composite_class_net, class_net_1) + + # -- 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 + + + +#============================================================================== +# Main Method: analyze_phenomena_or_1 +#============================================================================== + +def analyze_phenomena_mod_1(graph): + + # -- Rule Initialization + rule_label = 'analyze modifier phenomena (mod)' + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Selection Analyzing (1) + rule_triple_list = [] + for pattern in pattern_set: + + # -- Net Selection + class_net_1 = net.ClassNet(graph, uri=pattern.class_net_1) + class_net_2 = net.ClassNet(graph, uri=pattern.class_net_2) + + # -- New Net Construction (from 2 nets) + new_class, triple_list = __construct_composite_class_net( + graph, class_net_1, class_net_2) + + # -- Resulting List Update + # class_net_list.append(new_class) + rule_triple_list += triple_list + + # -- Deprecation: Origin Class Net + rule_triple_list += class_net_1.deprecate() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_scheme_1.py b/tenet/scheme/amr_scheme_1.py index 8f782737e7d1d9c1c7be8b74a34fdbfc128ed6aa..8e044ee460ca39f54801cf3bf04862c11e1b05de 100644 --- a/tenet/scheme/amr_scheme_1.py +++ b/tenet/scheme/amr_scheme_1.py @@ -121,8 +121,8 @@ old_atomic_extraction_sequence = { # 'rule_key_list': ['nov-polarity-phenomena-application'] # } -phenomena_application_mod_sequence = { - 'label': 'phenomena-application-mod-sequence', +old_phenomena_application_mod_sequence = { + 'label': '(old) phenomena-application-mod-sequence', 'comment': 'Application of phenomena', 'rule_key_list': ['mod-phenomena-application-1', 'mod-phenomena-application-2', @@ -142,23 +142,6 @@ phenomena_application_and_sequence = { ] } -# InProgressDev_phenomena_application_sequence = { -# 'label': 'phenomena-application-sequence', -# 'comment': 'Application of phenomena', -# 'rule_key_list': ['polarity-phenomena-application', -# 'and-conjunction-phenomena-application-1-1', -# 'and-conjunction-phenomena-application-1-2', -# 'and-conjunction-phenomena-application-2', -# 'and-conjunction-phenomena-application-3-1', -# 'and-conjunction-phenomena-application-3-2', -# 'and-conjunction-phenomena-application-3-3', -# 'and-conjunction-phenomena-application-3-4', -# 'and-conjunction-phenomena-application-4', -# 'and-conjunction-phenomena-application-5', -# 'and-conjunction-phenomena-application-6' -# ] -# } - old_composite_class_extraction_sequence_1 = { 'label': '(old) composite-class-extraction-sequence-1', @@ -304,7 +287,8 @@ scheme = { atomic_extraction_sequence, phenomena_polarity_analyze_sequence, phenomena_or_analyze_sequence, - composite_class_extraction_sequence], + composite_class_extraction_sequence, + old_phenomena_application_mod_sequence], # 'transduction': [transduction_refinement_sequence, # old_atomic_extraction_sequence], @@ -314,7 +298,7 @@ scheme = { # old_atomic_extraction_sequence, # # phenomena_application_polarity_sequence, # phenomena_polarity_analyze_sequence, - # phenomena_application_mod_sequence, + # old_phenomena_application_mod_sequence, # phenomena_application_and_sequence, # #rule.jan_analyze_phenomena_or_1, # #rule.jan_analyze_phenomena_or_2, diff --git a/tenet/tenet.log b/tenet/tenet.log index 9d0d765898439e531ac2385c8217e2b279fa4b93..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -1,172 +0,0 @@ -- INFO - [TENET] Extraction Processing -- INFO - - === Process Initialization === -- INFO - -- Process Setting -- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/solar-system-03/SSC-03-01.stog.amr.ttl (amr) -- INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/SolarSystemDev03_factoid.ttl -- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/ -- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/03/ -- INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet -- DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml -- DEBUG - - *** Config (Full Parameters) *** - -- Base Parameters - ----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml - ----- uuid: https://tenet.tetras-libre.fr/demo/03/ - ----- technical base name: tenet.tetras-libre.fr_demo_03 - ----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/solar-system-03/SSC-03-01.stog.amr.ttl - ----- target reference: base - ----- process level: sentence - ----- source type: amr - -- Compositional Transduction Scheme (CTS) - ----- CTS reference: amr_scheme_1 - -- Directories - ----- base directory: ./ - ----- structure directory: ./structure/ - ----- CTS directory: ./scheme/ - ----- target frame directory: ./../input/targetFrameStructure/ - ----- input document directory: - ----- base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/SolarSystemDev03_factoid.ttl - ----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/SolarSystemDev03_factoid.ttltenet.tetras-libre.fr_demo_03-20230405/ - ----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/ - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/ - -- Config File Definition - ----- schema file: ./structure/amr-rdf-schema.ttl - ----- semantic net file: ./structure/semantic-net.ttl - ----- config param file: ./structure/config-parameters.ttl - ----- base ontology file: ./structure/base-ontology.ttl - ----- CTS file: ./scheme/amr_scheme_1.py - -- Useful References for Ontology - ----- base URI: https://tenet.tetras-libre.fr/working - ----- ontology suffix: -ontology.ttl - ----- ontology seed suffix: -ontology-seed.ttl - -- Source File Definition - ----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/solar-system-03/SSC-03-01.stog.amr.ttl**/*.ttl - -- Target File Definition - ----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl - ----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl - -- Output - ----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/ - ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/tenet.tetras-libre.fr_demo_03.ttl - *** - *** -- INFO - - === Extraction Processing === -- INFO - -- Work Structure Preparation -- DEBUG - --- Graph Initialization -- DEBUG - ----- Configuration Loading -- DEBUG - -------- RDF Schema (302) -- DEBUG - -------- Semantic Net Definition (513) -- DEBUG - -------- Config Parameter Definition (547) -- DEBUG - ----- Frame Ontology Loading -- DEBUG - -------- Base Ontology produced as output (577) -- DEBUG - --- Source Data Import -- DEBUG - ----- Sentence Loading -- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/solar-system-03/SSC-03-01.stog.amr.ttl (664) -- DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/tenet.tetras-libre.fr_demo_03-0/tenet.tetras-libre.fr_demo_03.ttl -- INFO - ----- Sentence (id): SSC-03-01 -- INFO - ----- Sentence (text): Of the objects that orbit the Sun indirectly—the natural satellites—two are larger than the smallest planet, Mercury, and one more almost equals it in size. -- INFO - -- Loading Extraction Scheme (amr_scheme_1) -- DEBUG - ----- Step number: 3 -- INFO - -- Loading Extraction Rules (amr_rule/*) -- DEBUG - ----- Total rule number: 87 -- INFO - -- Applying extraction step: preprocessing -- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (664, 0:00:00.107008) -- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (674, 0:00:00.136197) -- INFO - ----- reclassify-concept-2: 8/8 new triples (682, 0:00:00.070769) -- INFO - ----- reclassify-concept-3: 24/24 new triples (706, 0:00:00.071091) -- INFO - ----- reclassify-concept-4: 28/28 new triples (734, 0:00:00.089754) -- INFO - ----- reclassify-concept-5: 4/4 new triples (738, 0:00:00.055201) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (738, 0:00:00.055924) -- INFO - ----- reclassify-existing-variable: 85/85 new triples (823, 0:00:00.042166) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (823, 0:00:00.058370) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 63/63 new triples (886, 0:00:00.090948) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (886, 0:00:00.042447) -- INFO - ----- add-amr-edge-for-core-relation: 63/63 new triples (949, 0:00:00.188802) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (949, 0:00:00.088148) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (954, 0:00:00.100642) -- INFO - ----- add-value-for-quant-relation: 5/5 new triples (959, 0:00:00.100277) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (964, 0:00:00.095598) -- INFO - ----- update-amr-edge-role-1: 24/24 new triples (988, 0:00:00.144545) -- INFO - ----- add-amr-root: 5/5 new triples (993, 0:00:00.031629) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_03_preprocessing -- DEBUG - ----- step: preprocessing -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/03/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/tenet.tetras-libre.fr_demo_03-0/tenet.tetras-libre.fr_demo_03_preprocessing.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/03//preprocessing -- INFO - ----- 329 triples extracted during preprocessing step -- INFO - -- Applying extraction step: transduction -- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 54/54 new triples (1047, 0:00:00.287948) -- INFO - ----- extract atom individuals: 7/7 new triples (1054, 0:00:00.059652) -- INFO - ----- extract atomic properties: 112/112 new triples (1166, 0:00:00.460629) -- INFO - ----- extract atom values: 12/12 new triples (1178, 0:00:00.066341) -- INFO - ----- extract atom phenomena: 21/21 new triples (1199, 0:00:00.122670) -- INFO - ----- propagate atom relations: 32/96 new triples (1231, 0:00:00.734644) -- INFO - --- *** February Transduction *** Sequence: phenomena polarity analyze sequence -- DEBUG - ----- analyze "polarity" phenomena: 0/0 new triple (1231, 0:00:00.009165) -- INFO - --- *** February Transduction *** Sequence: phenomena or analyze sequence -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (1231, 0:00:00.008954) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (1231, 0:00:00.010715) -- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- INFO - ----- extract composite classes (2): 44/44 new triples (1275, 0:00:00.213418) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_03_transduction -- DEBUG - ----- step: transduction -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/03/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/tenet.tetras-libre.fr_demo_03-0/tenet.tetras-libre.fr_demo_03_transduction.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/03//transduction -- INFO - ----- 282 triples extracted during transduction step -- INFO - -- Applying extraction step: generation -- INFO - --- *** November Transduction *** Sequence: main-generation-sequence -- INFO - ----- compute-uri-for-owl-declaration-1: 7/7 new triples (1282, 0:00:00.027764) -- DEBUG - ----- compute-uri-for-owl-declaration-2: 0/0 new triple (1282, 0:00:00.022131) -- INFO - ----- compute-uri-for-owl-declaration-3: 1/1 new triple (1283, 0:00:00.033529) -- DEBUG - ----- compute-uri-for-owl-declaration-4: 0/0 new triple (1283, 0:00:00.025587) -- INFO - ----- compute-uri-for-owl-declaration-5: 9/9 new triples (1292, 0:00:00.026631) -- INFO - ----- compute-uri-for-owl-declaration-6: 9/9 new triples (1301, 0:00:00.027413) -- DEBUG - ----- compute-uri-for-owl-declaration-7: 0/0 new triple (1301, 0:00:00.020196) -- INFO - ----- generate-atom-class: 21/21 new triples (1322, 0:00:00.009501) -- DEBUG - ----- classify-atom-class-1: 0/0 new triple (1322, 0:00:00.006697) -- INFO - ----- classify-atom-class-2: 7/7 new triples (1329, 0:00:00.012751) -- INFO - ----- generate-individual: 3/3 new triples (1332, 0:00:00.008921) -- DEBUG - ----- classify-individual-1: 0/0 new triple (1332, 0:00:00.009098) -- INFO - ----- classify-individual-2: 1/1 new triple (1333, 0:00:00.010522) -- INFO - ----- generate-atom-property-1: 32/32 new triples (1365, 0:00:00.011336) -- INFO - ----- generate-atom-property-12: 32/32 new triples (1397, 0:00:00.015719) -- DEBUG - ----- generate-inverse-relation: 0/0 new triple (1397, 0:00:00.005951) -- DEBUG - ----- generate-composite-class: 0/0 new triple (1397, 0:00:00.009842) -- DEBUG - ----- add-restriction-to-class-1: 0/0 new triple (1397, 0:00:00.018000) -- DEBUG - ----- add-restriction-to-class-2: 0/0 new triple (1397, 0:00:00.017471) -- DEBUG - ----- add-restriction-to-class-3: 0/0 new triple (1397, 0:00:00.013769) -- DEBUG - ----- add-restriction-to-class-4: 0/0 new triple (1397, 0:00:00.020648) -- DEBUG - ----- add-restriction-to-class-5: 0/0 new triple (1397, 0:00:00.018896) -- DEBUG - ----- add-restriction-to-class-6: 0/0 new triple (1397, 0:00:00.012682) -- INFO - --- *** February Transduction *** Sequence: property_generation_sequence -- INFO - ----- generate OWL property: 4/40 new triples (1401, 0:00:00.322023) -- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_03_generation -- DEBUG - ----- step: generation -- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/03/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/tenet.tetras-libre.fr_demo_03-0/tenet.tetras-libre.fr_demo_03_generation.ttl -- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/03//generation -- INFO - ----- 126 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/technical-data/tenet.tetras-libre.fr_demo_03-0/tenet.tetras-libre.fr_demo_03_factoid.ttl) -- DEBUG - ----- Number of factoids: 162 -- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/03//factoid -- INFO - - === Final Ontology Generation === -- INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 162 -- INFO - -- Serializing graph to factoid string -- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/03//factoid -- INFO - -- Serializing graph to factoid file -- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/output/SolarSystemDev03-20230405/SolarSystemDev03_factoid.ttl -- INFO - - === Done === -- INFO - - *** Execution Time *** ------ Function: create_ontology_from_amrld_file (tenet.main) ------ Total Time: 0:00:04.801419 ------ Process Time: 0:00:04.709030 - *** - *** diff --git a/tests/dev_tests/test_data/mod-analyzer-devGraph-1--result--.ttl b/tests/dev_tests/test_data/mod-analyzer-devGraph-1--result--.ttl new file mode 100644 index 0000000000000000000000000000000000000000..882f3e8f87832653f790fcf844b5dd5cb2e95daa --- /dev/null +++ b/tests/dev_tests/test_data/mod-analyzer-devGraph-1--result--.ttl @@ -0,0 +1,1665 @@ +@base <http://https://tenet.tetras-libre.fr/demo/02//transduction> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/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_op1_o3 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a2_op2_p2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_a2_op3_b a :AMR_Edge ; + :hasAmrRole :role_op3 ; + :hasRoleID "op3" . + +:edge_a_op1_h a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_r a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_mod_s3 a :AMR_Edge ; + :hasAmrRole :role_mod ; + :hasRoleID "mod" . + +:edge_d_ARG1_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_ARG2_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h2_ARG3_m2 a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h_ARG2_l a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h_ARG3_m a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_ARG5_o a :AMR_Edge ; + :hasAmrRole :role_ARG5 ; + :hasRoleID "ARG5" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p2_mod_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_ARG1_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" . + +: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:Instance a owl:Class ; + rdfs:label "Semantic Net Instance" ; + rdfs:subClassOf net:Net_Structure . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Object a owl:Class ; + rdfs:label "Object using in semantic net instance" ; + rdfs:subClassOf net:Net_Structure . + +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:atom a owl:Class ; + rdfs:label "atom" ; + rdfs:subClassOf net:Type . + +net:atomOf a owl:AnnotationProperty ; + rdfs:label "atom of" ; + rdfs:subPropertyOf net:typeProperty . + +net:atomProperty_direct_d a net:Atom_Property_Net ; + :role_ARG1 net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_direct-02_d ; + net:coverNode :leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_orbit-01_o2 . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:class a owl:Class ; + rdfs:label "class" ; + rdfs:subClassOf net:Type . + +net:composite a owl:Class ; + rdfs:label "composite" ; + rdfs:subClassOf net:Type . + +net:compositeProperty_object-orbit-sun_o a net:Composite_Property_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "object-orbit-sun" ; + net:hasRestriction net:restriction_orbit-sun_o2 ; + net:hasStructure "SSC-02-01" . + +net:compositeProperty_system-hasPart-body_s4 a net:Composite_Property_Net ; + net:composeFrom net:atomClass_body_b, + net:atomClass_system_s4, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_system_s4 ; + net:hasNaming "system-hasPart-body" ; + net:hasRestriction net:restriction_hasPart-body_p9 ; + net:hasStructure "SSC-02-01" . + +net:conjunctive_list a owl:Class ; + rdfs:label "conjunctive-list" ; + rdfs:subClassOf net:list . + +net:disjunctive_list a owl:Class ; + rdfs:label "disjunctive-list" ; + rdfs:subClassOf net:list . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:entity_class_list a owl:Class ; + rdfs:label "entityClassList" ; + rdfs:subClassOf net:class_list . + +net:event a owl:Class ; + rdfs:label "event" ; + rdfs:subClassOf net:Type . + +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:individual_dwarf_d2 a net:Individual_Net ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasBaseClassName "Feature" ; + net:hasIndividualLabel "dwarf" ; + net:hasStructure "SSC-02-01" ; + net:trackMainNetComposante net:atomClass_dwarf_d2 ; + net:trackNetComposante net:atomClass_dwarf_d2 ; + net:trackProgress net:initialized . + +net:individual_small_s3 a net:Individual_Net ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasBaseClassName "Feature" ; + net:hasIndividualLabel "small" ; + net:hasStructure "SSC-02-01" ; + net:trackMainNetComposante net:atomClass_small_s3 ; + net:trackNetComposante net:atomClass_small_s3 ; + net:trackProgress net:initialized . + +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:relation a owl:Class ; + rdfs:label "relation" ; + rdfs:subClassOf net:Type . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:state_property a owl:Class ; + rdfs:label "stateProperty" ; + rdfs:subClassOf net:Type . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:unary_list a owl:Class ; + rdfs:label "unary-list" ; + rdfs:subClassOf net:list . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "Solar System" . + +net:value_p_blankNode a net:Value_Net ; + net:hasNaming "p" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "p" . + +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 ; + 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 ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:value_8 a :AMR_Value ; + rdfs:label "p" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +: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:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_large_l a net:Atom_Class_Net ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l ; + net:coverNodeCount 1 ; + net:hasClassName "large" ; + net:hasNaming "large" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_planet_p a net:Atom_Class_Net ; + net:coverBaseNode :leaf_planet_p ; + net:coverNode :leaf_planet_p ; + net:coverNodeCount 1 ; + net:hasClassName "planet" ; + net:hasNaming "planet" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_small_s2 ; + net:coverNodeCount 1 ; + net:hasClassName "small" ; + net:hasNaming "small" ; + 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: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:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:compositeClass_dwarf-planet_p2 a net:Composite_Class_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_dwarf_d2, + :leaf_planet_p2 ; + net:coverNodeCount 2 ; + net:hasClassName "dwarf-planet" ; + net:hasMotherClassNet net:atomClass_planet_p2 ; + net:hasStructure "SSC-02-01" ; + net:trackMainNetComposante net:atomClass_planet_p2 ; + net:trackNetComposante net:atomClass_dwarf_d2, + net:atomClass_planet_p2 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:individual_SolarSystem_s4 a net:Individual_Net ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasIndividualLabel "Solar System" ; + net:hasMotherClassNet net:atomClass_system_s4 ; + net:hasNaming "SolarSystem" ; + 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 ; + :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_hasPart-body_p9 a net:Restriction_Net ; + :role_ARG1 net:compositeClass_small-body_b ; + net:composeFrom net:atomClass_body_b, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9 ; + net:hasNaming "hasPart-body" ; + net:hasRestrictionNetValue net:atomClass_body_b ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-02-01" . + +net:restriction_orbit-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "orbit-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s ; + net:hasRestrictionOnProperty net:atomProperty_orbit_o2 ; + net:hasStructure "SSC-02-01" . + +<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_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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_ARG1_o2 :leaf_orbit-01_o2 ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_have-degree-91_h2 a :AMR_Leaf ; + :edge_h2_ARG1_o3 :leaf_object_o3 ; + :edge_h2_ARG2_s2 :leaf_small_s2 ; + :edge_h2_ARG3_m2 :leaf_more_m2 ; + :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" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_object_o3 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_object_o3 ; + net:coverNode :leaf_object_o3 ; + net:coverNodeCount 1 ; + net:hasClassName "object" ; + net:hasNaming "object" ; + 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_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_op1_h :leaf_have-degree-91_h ; + :edge_a_op2_r :leaf_remain-01_r ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_have-degree-91_h a :AMR_Leaf ; + :edge_h_ARG1_p :leaf_planet_p ; + :edge_h_ARG2_l :leaf_large_l ; + :edge_h_ARG3_m :leaf_most_m ; + :edge_h_ARG5_o :leaf_object_o ; + :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_ARG1_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" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_object_o a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:coverNodeCount 1 ; + net:hasClassName "object" ; + net:hasNaming "object" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_system_s4 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:coverNodeCount 1 ; + net:hasClassName "system" ; + net:hasNaming "system" ; + 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:compositeClass_small-body_b a net:Composite_Class_Net ; + :role_mod net:atomClass_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:coverNodeCount 2 ; + net:hasClassName "small-body" ; + net:hasMotherClassNet net:atomClass_body_b ; + net:hasStructure "SSC-02-01" ; + net:trackMainNetComposante net:atomClass_body_b ; + net:trackNetComposante net:atomClass_body_b, + net:atomClass_small_s3 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:list a owl:Class ; + rdfs:label "list" ; + rdfs:subClassOf net:Type . + +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_op1_o3 :leaf_object_o3 ; + :edge_a2_op2_p2 :leaf_planet_p2 ; + :edge_a2_op3_b :leaf_body_b ; + :hasConcept :concept_and ; + :hasVariable :variable_a2 . + +:leaf_object_o3 a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o3 . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_planet_p2 a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_planet_p2 ; + net:coverNodeCount 1 ; + net:hasClassName "planet" ; + net:hasNaming "planet" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_sun_s a net:Atom_Class_Net ; + net:coverBaseNode :leaf_sun_s ; + net:coverNode :leaf_sun_s ; + net:coverNodeCount 1 ; + net:hasClassName "sun" ; + net:hasNaming "sun" ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s . + +net: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_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_planet_p2 a :AMR_Leaf ; + :edge_p2_mod_d2 :leaf_dwarf_d2 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p2 . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:atomClass_dwarf_d2 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:coverNodeCount 1 ; + net:hasClassName "dwarf" ; + net:hasNaming "dwarf" ; + 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:coverNodeCount 1 ; + net:hasClassName "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_dwarf_d2 a :AMR_Leaf ; + :hasConcept :concept_dwarf ; + :hasVariable :variable_d2 . + +:leaf_small_s3 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s3 . + +:leaf_sun_s a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net: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)." . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_ARG0_o :leaf_object_o ; + :edge_o2_ARG1_s :leaf_sun_s ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +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_system_s4 a :AMR_Leaf ; + :edge_s4_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_s4 . + +net:Type a owl:Class ; + rdfs:label "Semantic Net Type" ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_body_b a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_mod net:atomClass_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b ; + net:coverNodeCount 1 ; + net:hasClassName "body" ; + net:hasNaming "body" ; + net:hasStructure "SSC-02-01" . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_body_b a :AMR_Leaf ; + :edge_b_mod_s3 :leaf_small_s3 ; + :hasConcept :concept_body ; + :hasVariable :variable_b . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_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_tests/test_data/mod-analyzer-devGraph-1.result.ttl b/tests/dev_tests/test_data/mod-analyzer-devGraph-1.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..1d46b25c9ea80cb558d0b5823d1232b9ec6d0974 --- /dev/null +++ b/tests/dev_tests/test_data/mod-analyzer-devGraph-1.result.ttl @@ -0,0 +1,1624 @@ +@base <https://amr.tetras-libre.fr/rdf/mod-analyzer-devGraph-1/result> . +@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_op1_o3 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a2_op2_p2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_a2_op3_b a :AMR_Edge ; + :hasAmrRole :role_op3 ; + :hasRoleID "op3" . + +:edge_a_op1_h a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_r a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_mod_s3 a :AMR_Edge ; + :hasAmrRole :role_mod ; + :hasRoleID "mod" . + +:edge_d_ARG1_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_ARG2_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h2_ARG3_m2 a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h_ARG2_l a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h_ARG3_m a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_ARG5_o a :AMR_Edge ; + :hasAmrRole :role_ARG5 ; + :hasRoleID "ARG5" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p2_mod_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_ARG1_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" . + +: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:Instance a owl:Class ; + rdfs:label "Semantic Net Instance" ; + rdfs:subClassOf net:Net_Structure . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Object a owl:Class ; + rdfs:label "Object using in semantic net instance" ; + rdfs:subClassOf net:Net_Structure . + +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:atom a owl:Class ; + rdfs:label "atom" ; + rdfs:subClassOf net:Type . + +net:atomOf a owl:AnnotationProperty ; + rdfs:label "atom of" ; + rdfs:subPropertyOf net:typeProperty . + +net:atomProperty_direct_d a net:Atom_Property_Net ; + :role_ARG1 net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_direct-02_d ; + net:coverNode :leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_orbit-01_o2 . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:class a owl:Class ; + rdfs:label "class" ; + rdfs:subClassOf net:Type . + +net:composite a owl:Class ; + rdfs:label "composite" ; + rdfs:subClassOf net:Type . + +net:compositeProperty_object-orbit-sun_o a net:Composite_Property_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "object-orbit-sun" ; + net:hasRestriction net:restriction_orbit-sun_o2 ; + net:hasStructure "SSC-02-01" . + +net:compositeProperty_system-hasPart-body_s4 a net:Composite_Property_Net ; + net:composeFrom net:atomClass_body_b, + net:atomClass_system_s4, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_system_s4 ; + net:hasNaming "system-hasPart-body" ; + net:hasRestriction net:restriction_hasPart-body_p9 ; + net:hasStructure "SSC-02-01" . + +net:conjunctive_list a owl:Class ; + rdfs:label "conjunctive-list" ; + rdfs:subClassOf net:list . + +net:disjunctive_list a owl:Class ; + rdfs:label "disjunctive-list" ; + rdfs:subClassOf net:list . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:entity_class_list a owl:Class ; + rdfs:label "entityClassList" ; + rdfs:subClassOf net:class_list . + +net:event a owl:Class ; + rdfs:label "event" ; + rdfs:subClassOf net:Type . + +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:relation a owl:Class ; + rdfs:label "relation" ; + rdfs:subClassOf net:Type . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:state_property a owl:Class ; + rdfs:label "stateProperty" ; + rdfs:subClassOf net:Type . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:unary_list a owl:Class ; + rdfs:label "unary-list" ; + rdfs:subClassOf net:list . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "Solar System" . + +net:value_p_blankNode a net:Value_Net ; + net:hasNaming "p" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "p" . + +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 ; + 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 ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:value_8 a :AMR_Value ; + rdfs:label "p" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +: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:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_large_l a net:Atom_Class_Net ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l ; + net:hasClassName "large" ; + net:hasNaming "large" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_planet_p a net:Atom_Class_Net ; + net:coverBaseNode :leaf_planet_p ; + net:coverNode :leaf_planet_p ; + net:hasClassName "planet" ; + net:hasNaming "planet" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_small_s2 ; + net:hasClassName "small" ; + net:hasNaming "small" ; + 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: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:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:compositeClass_dwarf-planet_p2 a net:Composite_Class_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:composeFrom net:atomClass_dwarf_d2, + net:atomClass_planet_p2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_dwarf_d2, + :leaf_planet_p2 ; + net:hasMotherClassNet net:atomClass_planet_p2 ; + net:hasNaming "dwarf-planet" ; + net:hasStructure "SSC-02-01" . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:individual_SolarSystem_s4 a net:Individual_Net ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasIndividualLabel "Solar System" ; + net:hasMotherClassNet net:atomClass_system_s4 ; + net:hasNaming "SolarSystem" ; + 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 ; + :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_hasPart-body_p9 a net:Restriction_Net ; + net:composeFrom net:atomClass_body_b, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9 ; + net:hasNaming "hasPart-body" ; + net:hasRestrictionNetValue net:atomClass_body_b ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-02-01" . + +net:restriction_orbit-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "orbit-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s ; + net:hasRestrictionOnProperty net:atomProperty_orbit_o2 ; + net:hasStructure "SSC-02-01" . + +<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_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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_ARG1_o2 :leaf_orbit-01_o2 ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_have-degree-91_h2 a :AMR_Leaf ; + :edge_h2_ARG1_o3 :leaf_object_o3 ; + :edge_h2_ARG2_s2 :leaf_small_s2 ; + :edge_h2_ARG3_m2 :leaf_more_m2 ; + :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" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_object_o3 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_object_o3 ; + net:coverNode :leaf_object_o3 ; + net:hasClassName "object" ; + net:hasNaming "object" ; + net:hasStructure "SSC-02-01" . + +net:compositeClass_small-body_b a net:Composite_Class_Net ; + :role_mod net:atomClass_small_s3 ; + net:composeFrom net:atomClass_body_b, + net:atomClass_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b, + :leaf_small_s3 ; + net:hasMotherClassNet net:atomClass_body_b ; + net:hasNaming "small-body" ; + 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 . + +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_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_op1_h :leaf_have-degree-91_h ; + :edge_a_op2_r :leaf_remain-01_r ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_have-degree-91_h a :AMR_Leaf ; + :edge_h_ARG1_p :leaf_planet_p ; + :edge_h_ARG2_l :leaf_large_l ; + :edge_h_ARG3_m :leaf_most_m ; + :edge_h_ARG5_o :leaf_object_o ; + :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_ARG1_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" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:atomClass_dwarf_d2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasClassName "dwarf" ; + net:hasNaming "dwarf" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_object_o a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:hasClassName "object" ; + net:hasNaming "object" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_planet_p2 a net:Atom_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:hasNaming "planet" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s3 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasClassName "small" ; + net:hasNaming "small" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_system_s4 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasClassName "system" ; + net:hasNaming "system" ; + 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:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:list a owl:Class ; + rdfs:label "list" ; + rdfs:subClassOf net:Type . + +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_op1_o3 :leaf_object_o3 ; + :edge_a2_op2_p2 :leaf_planet_p2 ; + :edge_a2_op3_b :leaf_body_b ; + :hasConcept :concept_and ; + :hasVariable :variable_a2 . + +:leaf_dwarf_d2 a :AMR_Leaf ; + :hasConcept :concept_dwarf ; + :hasVariable :variable_d2 . + +:leaf_object_o3 a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o3 . + +:leaf_small_s3 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s3 . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_sun_s a net:Atom_Class_Net ; + net:coverBaseNode :leaf_sun_s ; + net:coverNode :leaf_sun_s ; + net:hasClassName "sun" ; + net:hasNaming "sun" ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s . + +net: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_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_planet_p2 a :AMR_Leaf ; + :edge_p2_mod_d2 :leaf_dwarf_d2 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p2 . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +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_sun_s a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net: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)." . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_ARG0_o :leaf_object_o ; + :edge_o2_ARG1_s :leaf_sun_s ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +net:atomClass_body_b a net:Atom_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:hasNaming "body" ; + 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_system_s4 a :AMR_Leaf ; + :edge_s4_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_s4 . + +net:Type a owl:Class ; + rdfs:label "Semantic Net Type" ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_body_b a :AMR_Leaf ; + :edge_b_mod_s3 :leaf_small_s3 ; + :hasConcept :concept_body ; + :hasVariable :variable_b . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_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_tests/test_data/mod-analyzer-devGraph-1.ttl b/tests/dev_tests/test_data/mod-analyzer-devGraph-1.ttl new file mode 100644 index 0000000000000000000000000000000000000000..0943351b235248093dd364b7600264052b1c4e50 --- /dev/null +++ b/tests/dev_tests/test_data/mod-analyzer-devGraph-1.ttl @@ -0,0 +1,1596 @@ +@base <http://https://tenet.tetras-libre.fr/demo/02//transduction> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/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_op1_o3 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a2_op2_p2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_a2_op3_b a :AMR_Edge ; + :hasAmrRole :role_op3 ; + :hasRoleID "op3" . + +:edge_a_op1_h a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_r a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_mod_s3 a :AMR_Edge ; + :hasAmrRole :role_mod ; + :hasRoleID "mod" . + +:edge_d_ARG1_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h2_ARG2_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h2_ARG3_m2 a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_h_ARG2_l a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_h_ARG3_m a :AMR_Edge ; + :hasAmrRole :role_ARG3 ; + :hasRoleID "ARG3" . + +:edge_h_ARG5_o a :AMR_Edge ; + :hasAmrRole :role_ARG5 ; + :hasRoleID "ARG5" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p2_mod_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_ARG1_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" . + +: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_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Instance a owl:Class ; + rdfs:label "Semantic Net Instance" ; + rdfs:subClassOf net:Net_Structure . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Object a owl:Class ; + rdfs:label "Object using in semantic net instance" ; + rdfs:subClassOf net:Net_Structure . + +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:atom a owl:Class ; + rdfs:label "atom" ; + rdfs:subClassOf net:Type . + +net:atomOf a owl:AnnotationProperty ; + rdfs:label "atom of" ; + rdfs:subPropertyOf net:typeProperty . + +net:atomProperty_direct_d a net:Atom_Property_Net ; + :role_ARG1 net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_direct-02_d ; + net:coverNode :leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_orbit-01_o2 . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:class a owl:Class ; + rdfs:label "class" ; + rdfs:subClassOf net:Type . + +net:composite a owl:Class ; + rdfs:label "composite" ; + rdfs:subClassOf net:Type . + +net:compositeProperty_object-orbit-sun_o a net:Composite_Property_Net ; + net:composeFrom net:atomClass_object_o, + net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o, + :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "object-orbit-sun" ; + net:hasRestriction net:restriction_orbit-sun_o2 ; + net:hasStructure "SSC-02-01" . + +net:compositeProperty_system-hasPart-body_s4 a net:Composite_Property_Net ; + net:composeFrom net:atomClass_body_b, + net:atomClass_system_s4, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9, + :leaf_system_s4 ; + net:hasNaming "system-hasPart-body" ; + net:hasRestriction net:restriction_hasPart-body_p9 ; + net:hasStructure "SSC-02-01" . + +net:conjunctive_list a owl:Class ; + rdfs:label "conjunctive-list" ; + rdfs:subClassOf net:list . + +net:disjunctive_list a owl:Class ; + rdfs:label "disjunctive-list" ; + rdfs:subClassOf net:list . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:entity_class_list a owl:Class ; + rdfs:label "entityClassList" ; + rdfs:subClassOf net:class_list . + +net:event a owl:Class ; + rdfs:label "event" ; + rdfs:subClassOf net:Type . + +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:relation a owl:Class ; + rdfs:label "relation" ; + rdfs:subClassOf net:Type . + +net:relationOf a owl:AnnotationProperty ; + rdfs:label "relation of" ; + rdfs:subPropertyOf net:typeProperty . + +net:state_property a owl:Class ; + rdfs:label "stateProperty" ; + rdfs:subClassOf net:Type . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:unary_list a owl:Class ; + rdfs:label "unary-list" ; + rdfs:subClassOf net:list . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:hasNaming "SolarSystem" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "Solar System" . + +net:value_p_blankNode a net:Value_Net ; + net:hasNaming "p" ; + net:hasStructure "SSC-02-01" ; + net:hasValueLabel "p" . + +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 ; + 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 ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:value_8 a :AMR_Value ; + rdfs:label "p" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +: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:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_dwarf_d2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_dwarf_d2 ; + net:coverNode :leaf_dwarf_d2 ; + net:hasClassName "dwarf" ; + net:hasNaming "dwarf" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_large_l a net:Atom_Class_Net ; + net:coverBaseNode :leaf_large_l ; + net:coverNode :leaf_large_l ; + net:hasClassName "large" ; + net:hasNaming "large" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_planet_p a net:Atom_Class_Net ; + net:coverBaseNode :leaf_planet_p ; + net:coverNode :leaf_planet_p ; + net:hasClassName "planet" ; + net:hasNaming "planet" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_planet_p2 a net:Atom_Class_Net ; + :role_mod net:atomClass_dwarf_d2 ; + net:coverBaseNode :leaf_planet_p2 ; + net:coverNode :leaf_planet_p2 ; + net:hasClassName "planet" ; + net:hasNaming "planet" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_small_s2 ; + net:coverNode :leaf_small_s2 ; + net:hasClassName "small" ; + net:hasNaming "small" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_small_s3 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_small_s3 ; + net:coverNode :leaf_small_s3 ; + net:hasClassName "small" ; + net:hasNaming "small" ; + 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: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:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:individual_SolarSystem_s4 a net:Individual_Net ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasIndividualLabel "Solar System" ; + net:hasMotherClassNet net:atomClass_system_s4 ; + net:hasNaming "SolarSystem" ; + 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 ; + :role_op2 net:atomClass_planet_p2 ; + :role_op3 net:atomClass_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_hasPart-body_p9 a net:Restriction_Net ; + net:composeFrom net:atomClass_body_b, + net:atomProperty_hasPart_p9 ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_body_b, + :leaf_hasPart_p9 ; + net:hasNaming "hasPart-body" ; + net:hasRestrictionNetValue net:atomClass_body_b ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 ; + net:hasStructure "SSC-02-01" . + +net:restriction_orbit-sun_o2 a net:Restriction_Net ; + net:composeFrom net:atomClass_sun_s, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2, + :leaf_sun_s ; + net:hasNaming "orbit-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s ; + net:hasRestrictionOnProperty net:atomProperty_orbit_o2 ; + net:hasStructure "SSC-02-01" . + +<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_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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_ARG1_o2 :leaf_orbit-01_o2 ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_have-degree-91_h2 a :AMR_Leaf ; + :edge_h2_ARG1_o3 :leaf_object_o3 ; + :edge_h2_ARG2_s2 :leaf_small_s2 ; + :edge_h2_ARG3_m2 :leaf_more_m2 ; + :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" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_object_o3 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_object_o3 ; + net:coverNode :leaf_object_o3 ; + net:hasClassName "object" ; + net:hasNaming "object" ; + 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_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_op1_h :leaf_have-degree-91_h ; + :edge_a_op2_r :leaf_remain-01_r ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_dwarf_d2 a :AMR_Leaf ; + :hasConcept :concept_dwarf ; + :hasVariable :variable_d2 . + +:leaf_have-degree-91_h a :AMR_Leaf ; + :edge_h_ARG1_p :leaf_planet_p ; + :edge_h_ARG2_l :leaf_large_l ; + :edge_h_ARG3_m :leaf_most_m ; + :edge_h_ARG5_o :leaf_object_o ; + :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_planet_p2 a :AMR_Leaf ; + :edge_p2_mod_d2 :leaf_dwarf_d2 ; + :hasConcept :concept_planet ; + :hasVariable :variable_p2 . + +:leaf_remain-01_r a :AMR_Leaf ; + :edge_r_ARG1_a2 :leaf_and_a2 ; + :hasConcept :concept_remain-01 ; + :hasVariable :variable_r . + +:leaf_small_s2 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s2 . + +:leaf_small_s3 a :AMR_Leaf ; + :hasConcept :concept_small ; + :hasVariable :variable_s3 . + +: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" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:atomClass_object_o a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:hasClassName "object" ; + net:hasNaming "object" ; + net:hasStructure "SSC-02-01" . + +net:atomClass_system_s4 a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_system_s4 ; + net:coverNode :leaf_system_s4 ; + net:hasClassName "system" ; + net:hasNaming "system" ; + 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: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:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:list a owl:Class ; + rdfs:label "list" ; + rdfs:subClassOf net:Type . + +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_op1_o3 :leaf_object_o3 ; + :edge_a2_op2_p2 :leaf_planet_p2 ; + :edge_a2_op3_b :leaf_body_b ; + :hasConcept :concept_and ; + :hasVariable :variable_a2 . + +:leaf_object_o3 a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o3 . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_sun_s a net:Atom_Class_Net ; + net:coverBaseNode :leaf_sun_s ; + net:coverNode :leaf_sun_s ; + net:hasClassName "sun" ; + net:hasNaming "sun" ; + net:hasStructure "SSC-02-01" . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "SSC-02-01" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s . + +net: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_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 . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:atomClass_body_b a net:Atom_Class_Net ; + :role_mod net:atomClass_small_s3 ; + net:coverBaseNode :leaf_body_b ; + net:coverNode :leaf_body_b ; + net:hasClassName "body" ; + net:hasNaming "body" ; + 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_sun_s a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net: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)." . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_body_b a :AMR_Leaf ; + :edge_b_mod_s3 :leaf_small_s3 ; + :hasConcept :concept_body ; + :hasVariable :variable_b . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_ARG0_o :leaf_object_o ; + :edge_o2_ARG1_s :leaf_sun_s ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +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_system_s4 a :AMR_Leaf ; + :edge_s4_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_s4 . + +net:Type a owl:Class ; + rdfs:label "Semantic Net Type" ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_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_tests/test_rule_phenomena_mod_analyzer.py b/tests/dev_tests/test_rule_phenomena_mod_analyzer.py new file mode 100644 index 0000000000000000000000000000000000000000..cfc9433de36d04e32f825c54950ad41ba0d6f221 --- /dev/null +++ b/tests/dev_tests/test_rule_phenomena_mod_analyzer.py @@ -0,0 +1,141 @@ +#!/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 = 'mod-analyzer-devGraph-1' +TEST_FILE_NAME_2 = 'mod-analyzer-devGraph-2' + +from context import tenet +from tenet.transduction.rdfterm_computer import __update_uri_with_prefix +from tenet.transduction import rdfterm_computer, prefix_handle +from tenet.transduction import net +from tenet.scheme.amr_rule.transduction import phenomena_mod_analyzer_1 as rule_1 +from tenet.scheme import amr_rule + + + +#============================================================================== +# 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.class_net_1.n3(graph.namespace_manager)}' + result_str += f' {row.class_net_2.n3(graph.namespace_manager)}' + print(result_str) + + print('\n -- Step 2: Disjoint Cover Verification') + result_set = [] + + 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_mod_1) + print('\n \n') + + print('\n *** - ***') \ No newline at end of file diff --git a/tests/test_tenet_main.py b/tests/test_tenet_main.py index fe5aa531918b1c88ce0a3cf26c024b7a5cd6560b..6ad02d4574dfd20b6430ca702fe12ebd619500ee 100644 --- a/tests/test_tenet_main.py +++ b/tests/test_tenet_main.py @@ -55,7 +55,7 @@ test_data_dir = f'{INPUT_DIR_PATH}amrDocuments/' # amrld_dir_path = f'{test_data_dir}dev/test/' # onto_prefix = f'SimpleTest' -uuid_num = '03' +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}'