diff --git a/tenet/scheme/amr_master_rule/__init__.py b/tenet/scheme/amr_master_rule/__init__.py index b4e65e0d4301ae43f5809da0eab879e438aa8c4e..0e95ad8e836639236f928ee168224f1ef69287da 100644 --- a/tenet/scheme/amr_master_rule/__init__.py +++ b/tenet/scheme/amr_master_rule/__init__.py @@ -17,6 +17,6 @@ from scheme.amr_master_rule.transduction.phenomena_mod_analyzer_1 import * from scheme.amr_master_rule.transduction.phenomena_or_analyzer_1 import * from scheme.amr_master_rule.transduction.phenomena_or_analyzer_2 import * -from scheme.amr_master_rule.generation.owl_property_generator import * +from scheme.amr_master_rule.owl_generation.owl_property_generator import * from scheme.amr_master_rule import * diff --git a/tenet/scheme/amr_master_rule/generation/__init__.py b/tenet/scheme/amr_master_rule/owl_generation/__init__.py similarity index 100% rename from tenet/scheme/amr_master_rule/generation/__init__.py rename to tenet/scheme/amr_master_rule/owl_generation/__init__.py diff --git a/tenet/scheme/amr_master_rule/generation/owl_property_generator.py b/tenet/scheme/amr_master_rule/owl_generation/owl_property_generator.py similarity index 100% rename from tenet/scheme/amr_master_rule/generation/owl_property_generator.py rename to tenet/scheme/amr_master_rule/owl_generation/owl_property_generator.py diff --git a/tenet/scheme/amr_master_rule/transduction/atom_class_extractor.py b/tenet/scheme/amr_master_rule/transduction/atom_class_extractor.py index f40fc45f7d95ed6f4c2d89ef7abd446ce6539ca7..2c9356f14f4b803315ab6ef183b670318b7be0c9 100644 --- a/tenet/scheme/amr_master_rule/transduction/atom_class_extractor.py +++ b/tenet/scheme/amr_master_rule/transduction/atom_class_extractor.py @@ -140,12 +140,8 @@ def extract_atom_class(graph): rule_triple_list = [] for pattern in pattern_set: - # -- New Net Construction (from 3 nets) - new_class, triple_list = __construct_atom_class_net( - graph, pattern.leaf, pattern.conceptName) - - # -- Resulting List Update - # class_net_list.append(new_class) + # -- New Net Construction + new_class, triple_list = __construct_atom_class_net(graph, pattern.leaf, pattern.conceptName) rule_triple_list += triple_list return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_1.py b/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_1.py index 31e9497138bb801a2126116f15c52360da516824..b2fb5229a6e2a0829fcab960dca38b284b1843a0 100644 --- a/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_1.py +++ b/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_1.py @@ -24,6 +24,7 @@ def __search_pattern(graph): select_data_list = ['?property_net', '?class_net_0', '?class_net_1'] clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', f'FILTER NOT EXISTS {{ ?property_net a net:Deprecated_Net. }}', + f'FILTER NOT EXISTS {{ ?property_net a net:Action_Property_Net. }}', f'?class_net_0 a [rdfs:subClassOf* net:Class_Net].', f'FILTER NOT EXISTS {{ ?class_net_0 a net:Deprecated_Net. }}', f'?class_net_1 a [rdfs:subClassOf* net:Class_Net].', @@ -99,7 +100,7 @@ def __construct_composite_class_net( graph, base_class_net, core_property_net, target_class_net): # -- Net Composition - composite_class_net = net.CompositePropertyNet(graph) + composite_class_net = net.CompositeClassNet(graph) composite_class_net.compose(base_class_net, core_property_net, target_class_net) # -- Data Computation diff --git a/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_2.py b/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_2.py index 997f7e058abc2df52e56808bd36f3ca99c34cfce..216db854abd7498c012ee5e320f9609db5b32252 100644 --- a/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_2.py +++ b/tenet/scheme/amr_master_rule/transduction/composite_class_extractor_2.py @@ -24,6 +24,7 @@ def __search_pattern(graph): select_data_list = ['?property_net', '?class_net_1', '?class_net_2'] clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', f'FILTER NOT EXISTS {{ ?property_net a net:Deprecated_Net. }}', + f'FILTER NOT EXISTS {{ ?property_net a net:Action_Property_Net. }}', f'?class_net_1 a [rdfs:subClassOf* net:Class_Net].', f'FILTER NOT EXISTS {{ ?class_net_1 a net:Deprecated_Net. }}', f'?class_net_2 a [rdfs:subClassOf* net:Class_Net].', @@ -95,11 +96,11 @@ 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 - composite_class_net = net.CompositePropertyNet(graph) + composite_class_net = net.CompositeClassNet(graph) composite_class_net.compose(base_class_net, core_property_net, target_class_net) # -- Data Computation @@ -151,7 +152,7 @@ def extract_composite_class_2(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_1, property_net, class_net_2) # -- Resulting List Update diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_and_analyzer_1.py b/tenet/scheme/amr_master_rule/transduction/phenomena_and_analyzer_1.py new file mode 100644 index 0000000000000000000000000000000000000000..c2dc0da604d872fa0001309e9d47fdefc875f5ea --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_and_analyzer_1.py @@ -0,0 +1,138 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to conjunctive phenomena and (rule 1) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse conjunctive phenomena (and) +# Rule: property(_, and_phenomena) => relation(property, argument) +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.rdfterm_computer import produce_uriref, produce_literal + + +#============================================================================== +# Pattern Search: property(_, and_phenomena) +#============================================================================== + +CONJUNCTION_PHENOMENA_URI = 'amr:phenomena_conjunction_and' + +def __search_pattern(graph): + select_data_list = ['?property_net', '?net_relation', '?phenomena_net'] + clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', + f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?phenomena_net net:hasPhenomenaType {CONJUNCTION_PHENOMENA_URI}.', + f'?net_relation a [rdfs:subClassOf* net:Relation].', + f'?property_net ?net_relation ?phenomena_net.'] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Useful Additional Search +#============================================================================== + +def __search_op_class_pattern(graph, phenomena_net_uri, num): + assert 1 <= num <= 9, f'invalid number ({num})' + select_data_list = ['?class_net'] + clause_list = [f'?class_net a [rdfs:subClassOf* net:Class_Net].', + (phenomena_net_uri, f'amr:role_op{num}', '?class_net')] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + +def __search_phenomena_operator_class(graph, phenomena_net_uri): + query_code = '' + op_set = [] + for num in range(1, 9+1): + query_code, result_set = __search_op_class_pattern(graph, phenomena_net_uri, num) + op_set += result_set + return query_code, op_set + + +def __search_op_property_pattern(graph, phenomena_net_uri, num): + assert 1 <= num <= 9, f'invalid number ({num})' + select_data_list = ['?property_net'] + clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', + (phenomena_net_uri, f'amr:role_op{num}', '?property_net')] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + +def __search_phenomena_operator_property(graph, phenomena_net_uri): + query_code = '' + op_set = [] + for num in range(1, 9+1): + query_code, result_set = __search_op_property_pattern(graph, phenomena_net_uri, num) + op_set += result_set + return query_code, op_set + + + +#============================================================================== +# Useful Computation Method(s) +#============================================================================== + +def __propagate_relation(left_net, amr_relation_uri, right_net_uri): + new_relation = (left_net.uri, amr_relation_uri, right_net_uri) + up_relation_list = left_net.output_relation_list + [new_relation] + left_net.output_relation_list = up_relation_list + + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +# None + + +#============================================================================== +# Main Method +#============================================================================== + +def analyze_phenomena_and_1(graph): + + # -- Rule Initialization + rule_label = 'analyze "and" phenomena (1)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + property_net = net.PropertyNet(graph, uri=pattern.property_net) + phenomena_net = net.PhenomenaNet(graph, uri=pattern.phenomena_net) + + # -- Search for phenomena operators + + # -- Relation Propagation for Operator Class Net + _, operator_class_set = __search_phenomena_operator_class(graph, phenomena_net.uri) + for operator in operator_class_set: + amr_relation_uri = produce_uriref(graph, pattern.net_relation) + right_net_uri = produce_uriref(graph, operator.class_net) + __propagate_relation(property_net, amr_relation_uri, right_net_uri) + rule_triple_list += property_net.generate_net_relation_triples() + + # -- Relation Propagation for Operator Class Net + _, operator_property_set = __search_phenomena_operator_property(graph, phenomena_net.uri) + for operator in operator_property_set: + amr_relation_uri = produce_uriref(graph, pattern.net_relation) + right_net_uri = produce_uriref(graph, operator.property_net) + __propagate_relation(property_net, amr_relation_uri, right_net_uri) + rule_triple_list += property_net.generate_net_relation_triples() + + + # -- New Net Construction (as union of properties) + # _, triple_list = __construct_class_union_net(graph, class_net_1, class_net_list) + # rule_triple_list += triple_list + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_and_analyzer_2.py b/tenet/scheme/amr_master_rule/transduction/phenomena_and_analyzer_2.py new file mode 100644 index 0000000000000000000000000000000000000000..5c4fcb40eee9f3781438d8fc966c096cad40ea83 --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_and_analyzer_2.py @@ -0,0 +1,138 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to conjunctive phenomena and (rule 2) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse conjunctive phenomena (and) +# Rule: phenomena(_, and_phenomena) => relation(phenomena, argument) +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.rdfterm_computer import produce_uriref, produce_literal + + +#============================================================================== +# Pattern Search: modality(_, and_phenomena) +#============================================================================== + +CONJUNCTION_PHENOMENA_URI = 'amr:phenomena_conjunction_and' + +def __search_pattern(graph): + select_data_list = ['?left_phenomena_net', '?net_relation', '?right_phenomena_net'] + clause_list = [f'?left_phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?right_phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?right_phenomena_net net:hasPhenomenaType {CONJUNCTION_PHENOMENA_URI}.', + f'?net_relation a [rdfs:subClassOf* net:Relation].', + f'?left_phenomena_net ?net_relation ?right_phenomena_net.'] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Useful Additional Search +#============================================================================== + +def __search_op_class_pattern(graph, phenomena_net_uri, num): + assert 1 <= num <= 9, f'invalid number ({num})' + select_data_list = ['?class_net'] + clause_list = [f'?class_net a [rdfs:subClassOf* net:Class_Net].', + (phenomena_net_uri, f'amr:role_op{num}', '?class_net')] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + +def __search_phenomena_operator_class(graph, phenomena_net_uri): + query_code = '' + op_set = [] + for num in range(1, 9+1): + query_code, result_set = __search_op_class_pattern(graph, phenomena_net_uri, num) + op_set += result_set + return query_code, op_set + + +def __search_op_property_pattern(graph, phenomena_net_uri, num): + assert 1 <= num <= 9, f'invalid number ({num})' + select_data_list = ['?property_net'] + clause_list = [f'?property_net a [rdfs:subClassOf* net:Property_Net].', + (phenomena_net_uri, f'amr:role_op{num}', '?property_net')] + query_code = generate_select_query(graph, select_data_list, clause_list) + result_set = graph.query(query_code) + return query_code, result_set + +def __search_phenomena_operator_property(graph, phenomena_net_uri): + query_code = '' + op_set = [] + for num in range(1, 9+1): + query_code, result_set = __search_op_property_pattern(graph, phenomena_net_uri, num) + op_set += result_set + return query_code, op_set + + + +#============================================================================== +# Useful Computation Method(s) +#============================================================================== + +def __propagate_relation(left_net, amr_relation_uri, right_net_uri): + new_relation = (left_net.uri, amr_relation_uri, right_net_uri) + up_relation_list = left_net.output_relation_list + [new_relation] + left_net.output_relation_list = up_relation_list + + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +# None + + +#============================================================================== +# Main Method +#============================================================================== + +def analyze_phenomena_and_2(graph): + + # -- Rule Initialization + rule_label = 'analyze "and" phenomena (2)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + property_net = net.PhenomenaNet(graph, uri=pattern.left_phenomena_net) + phenomena_net = net.PhenomenaNet(graph, uri=pattern.right_phenomena_net) + + # -- Search for phenomena operators + + # -- Relation Propagation for Operator Class Net + _, operator_class_set = __search_phenomena_operator_class(graph, phenomena_net.uri) + for operator in operator_class_set: + amr_relation_uri = produce_uriref(graph, pattern.net_relation) + right_net_uri = produce_uriref(graph, operator.class_net) + __propagate_relation(property_net, amr_relation_uri, right_net_uri) + rule_triple_list += property_net.generate_net_relation_triples() + + # -- Relation Propagation for Operator Class Net + _, operator_property_set = __search_phenomena_operator_property(graph, phenomena_net.uri) + for operator in operator_property_set: + amr_relation_uri = produce_uriref(graph, pattern.net_relation) + right_net_uri = produce_uriref(graph, operator.property_net) + __propagate_relation(property_net, amr_relation_uri, right_net_uri) + rule_triple_list += property_net.generate_net_relation_triples() + + + # -- New Net Construction (as union of properties) + # _, triple_list = __construct_class_union_net(graph, class_net_1, class_net_list) + # rule_triple_list += triple_list + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_modality_classifier.py b/tenet/scheme/amr_master_rule/transduction/phenomena_modality_classifier.py new file mode 100644 index 0000000000000000000000000000000000000000..e0fcc6e65d2299ee7be715d9dbb8d440867276bc --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_modality_classifier.py @@ -0,0 +1,79 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to modality phenomena classification +#------------------------------------------------------------------------------ +# AMR rule to classify modality phenomena +# Rule: modality_phenomena classification +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.rdfterm_computer import produce_uriref, produce_literal + + +#============================================================================== +# Pattern Search: modality_phenomena +#============================================================================== + +PHENOMENA_TYPE_RELATION = 'net:hasPhenomenaType' + +MODALITY_TYPE_LIST = ['amr:phenomena_modality_possible', + 'amr:phenomena_modality_obligation', + 'amr:phenomena_modality_prohibition'] + +def __get_query_code(graph, modality_type_uri): + select_data_list = ['?phenomena_net'] + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'?phenomena_net {PHENOMENA_TYPE_RELATION} {modality_type_uri}.'] + return generate_select_query(graph, select_data_list, clause_list) + + +def __search_pattern(graph): + query_code = '' + result_set = [] + for modality_type_uri in MODALITY_TYPE_LIST: + query_code = __get_query_code(graph, modality_type_uri) + result_set += graph.query(query_code) + return query_code, result_set + + + +#============================================================================== +# Useful Computation Method(s) +#============================================================================== + +# None + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +# None + + +#============================================================================== +# Main Method +#============================================================================== + +def classify_modality_phenomena(graph): + + # -- Rule Initialization + rule_label = 'classify modality phenomena' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + modality_phenomena_net = net.ModalityPhenomenaNet(graph, uri=pattern.phenomena_net) + modality_phenomena_net.finalize() + rule_triple_list += modality_phenomena_net.generate_triple_definition() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_1.py b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_1.py index 23533191fa04cfeb6b9cfd5410b443f2b583b1a6..364ad348888513e6f09514dca64d923175b370e3 100644 --- a/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_1.py +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_1.py @@ -32,9 +32,9 @@ def __search_pattern(graph): query_code = generate_select_query(graph, select_data_list, clause_list) result_set = graph.query(query_code) return query_code, result_set - + #============================================================================== # Relation Propagation #============================================================================== diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_2.py b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_2.py index ef7bd20ad40fb5292ed4a7639019be7946b3b72a..57358c28384afd9cb7ae498db8464dd8d28d095b 100644 --- a/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_2.py +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_2.py @@ -32,6 +32,7 @@ def __search_pattern(graph): f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', f'?phenomena_net {PHENOMENA_TYPE_RELATION} {POSSIBLE_PHENOMENA_URI}.', f'?phenomena_net {POLARITY_RELATION} ?value_net.', + f'FILTER NOT EXISTS {{ ?value_net a net:Deprecated_Net. }}', ('?value_net', 'net:hasValueLabel', rdflib.term.Literal('negative'))] query_code = generate_select_query(graph, select_data_list, clause_list) result_set = graph.query(query_code) @@ -111,7 +112,8 @@ def analyze_phenomena_polarity_2(graph): _, triple_list_1 = __construct_phenomena_net(graph, origin_phenomena_net, value_net) rule_triple_list += triple_list_1 - # -- Deprecation: Origin Class Net + # -- Deprecation: Origin Class Net and Value Net rule_triple_list += origin_phenomena_net.deprecate() + rule_triple_list += value_net.deprecate() return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_3.py b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_3.py new file mode 100644 index 0000000000000000000000000000000000000000..4ec13bcb58f95a7303e297696de6b38aecda5370 --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_3.py @@ -0,0 +1,119 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to negative polarity phenomena (rule 3) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse negative polarity phenomena +# Rule: polarity(phenomena, 'negative') => phenomena +#============================================================================== + +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: polarity(phenomena, 'negative') +#============================================================================== + +POLARITY_RELATION = 'amr:role_polarity' +PHENOMENA_TYPE_RELATION = 'net:hasPhenomenaType' +POSSIBLE_PHENOMENA_URI = 'amr:phenomena_modality_prohibition' + +def __search_pattern(graph): + select_data_list = ['?phenomena_net', '?value_net'] + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', + f'?phenomena_net {PHENOMENA_TYPE_RELATION} {POSSIBLE_PHENOMENA_URI}.', + f'?phenomena_net {POLARITY_RELATION} ?value_net.', + f'FILTER NOT EXISTS {{ ?value_net a net:Deprecated_Net. }}', + ('?value_net', 'net:hasValueLabel', rdflib.term.Literal('negative'))] + 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 __filter_relation(relation_list): + result_list = [] + for relation in relation_list: + check = True + (s, p, o) = relation + if s == o: check = False + if p == POLARITY_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_phenomena_net(graph, origin_phenomena_net, value_net): + + # -- Net Composition + new_phenomena_net = net.PhenomenaNet(graph) + new_phenomena_net.compose(origin_phenomena_net, value_net) + + # -- Data Computation + new_phenomena_net.phenomena_type = 'amr:phenomena_modality_possible' + new_phenomena_net.phenomena_ref = f'not-{origin_phenomena_net.phenomena_ref}' + + # -- Net Naming + new_phenomena_net.naming = 'possible-modality' + + # -- Relation Propagation + __propagate_relation(new_phenomena_net, origin_phenomena_net) + + # -- Finalization + new_phenomena_net.finalize() + triple_definition = new_phenomena_net.generate_triple_definition() + + return new_phenomena_net, triple_definition + + + +#============================================================================== +# Main Method +#============================================================================== + +def analyze_phenomena_polarity_3(graph): + + # -- Rule Initialization + rule_label = 'analyze "polarity" phenomena (3)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + origin_phenomena_net = net.PhenomenaNet(graph, uri=pattern.phenomena_net) + value_net = net.ValueNet(graph, uri=pattern.value_net) + + # -- New Negative Property Net + _, triple_list_1 = __construct_phenomena_net(graph, origin_phenomena_net, value_net) + rule_triple_list += triple_list_1 + + # -- Deprecation: Origin Class Net and Value Net + rule_triple_list += origin_phenomena_net.deprecate() + rule_triple_list += value_net.deprecate() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_4.py b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_4.py new file mode 100644 index 0000000000000000000000000000000000000000..74408944a81b96acb6e7136fceb2d997ab3c2fa5 --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_4.py @@ -0,0 +1,125 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to negative polarity phenomena (rule 3) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse negative polarity phenomena +# Rule: polarity(phenomena, 'negative') => phenomena +#============================================================================== + +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: polarity(phenomena, 'negative') +#============================================================================== + +POLARITY_RELATION = 'amr:role_polarity' +PHENOMENA_TYPE_RELATION = 'net:hasPhenomenaType' +POSSIBLE_PHENOMENA_URI = 'amr:phenomena_modality_prohibition' + +def __search_pattern(graph): + query_code = '' + result_set = [] + for arg_relation in ['amr:role_ARG1', 'amr:role_ARG2']: + select_data_list = ['?phenomena_net', '?value_net'] + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', + f'?phenomena_net {PHENOMENA_TYPE_RELATION} {POSSIBLE_PHENOMENA_URI}.', + f'?property_net a [rdfs:subClassOf* net:Atom_Property_Net].', + f'?phenomena_net {arg_relation} ?property_net.', + f'?property_net {POLARITY_RELATION} ?value_net.', + f'FILTER NOT EXISTS {{ ?value_net a net:Deprecated_Net. }}', + ('?value_net', 'net:hasValueLabel', rdflib.term.Literal('negative')) + ] + 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 __filter_relation(relation_list): + result_list = [] + for relation in relation_list: + check = True + (s, p, o) = relation + if s == o: check = False + if p == POLARITY_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_phenomena_net(graph, origin_phenomena_net, value_net): + + # -- Net Composition + new_phenomena_net = net.PhenomenaNet(graph) + new_phenomena_net.compose(origin_phenomena_net, value_net) + + # -- Data Computation + new_phenomena_net.phenomena_type = 'amr:phenomena_modality_obligation' + new_phenomena_net.phenomena_ref = f'not-{origin_phenomena_net.phenomena_ref}' + + # -- Net Naming + new_phenomena_net.naming = 'obligation-modality' + + # -- Relation Propagation + __propagate_relation(new_phenomena_net, origin_phenomena_net) + + # -- Finalization + new_phenomena_net.finalize() + triple_definition = new_phenomena_net.generate_triple_definition() + + return new_phenomena_net, triple_definition + + + +#============================================================================== +# Main Method +#============================================================================== + +def analyze_phenomena_polarity_4(graph): + + # -- Rule Initialization + rule_label = 'analyze "polarity" phenomena (4)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + origin_phenomena_net = net.PhenomenaNet(graph, uri=pattern.phenomena_net) + value_net = net.ValueNet(graph, uri=pattern.value_net) + + # -- New Negative Property Net + _, triple_list_1 = __construct_phenomena_net(graph, origin_phenomena_net, value_net) + rule_triple_list += triple_list_1 + + # -- Deprecation: Origin Class Net and Value Net + rule_triple_list += origin_phenomena_net.deprecate() + rule_triple_list += value_net.deprecate() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_5.py b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_5.py new file mode 100644 index 0000000000000000000000000000000000000000..2a1a04f674358ef62e2aada049211e5e4b220385 --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/phenomena_polarity_analyzer_5.py @@ -0,0 +1,125 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to negative polarity phenomena (rule 3) +#------------------------------------------------------------------------------ +# Net Expansion AMR rule to analyse negative polarity phenomena +# Rule: polarity(phenomena, 'negative') => phenomena +#============================================================================== + +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: polarity(phenomena, 'negative') +#============================================================================== + +POLARITY_RELATION = 'amr:role_polarity' +PHENOMENA_TYPE_RELATION = 'net:hasPhenomenaType' +POSSIBLE_PHENOMENA_URI = 'amr:phenomena_modality_obligation' + +def __search_pattern(graph): + query_code = '' + result_set = [] + for arg_relation in ['amr:role_ARG1', 'amr:role_ARG2']: + select_data_list = ['?phenomena_net', '?value_net'] + clause_list = [f'?phenomena_net a [rdfs:subClassOf* net:Phenomena_Net].', + f'FILTER NOT EXISTS {{ ?phenomena_net a net:Deprecated_Net. }}', + f'?phenomena_net {PHENOMENA_TYPE_RELATION} {POSSIBLE_PHENOMENA_URI}.', + f'?property_net a [rdfs:subClassOf* net:Atom_Property_Net].', + f'?phenomena_net {arg_relation} ?property_net.', + f'?property_net {POLARITY_RELATION} ?value_net.', + f'FILTER NOT EXISTS {{ ?value_net a net:Deprecated_Net. }}', + ('?value_net', 'net:hasValueLabel', rdflib.term.Literal('negative')) + ] + 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 __filter_relation(relation_list): + result_list = [] + for relation in relation_list: + check = True + (s, p, o) = relation + if s == o: check = False + if p == POLARITY_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_phenomena_net(graph, origin_phenomena_net, value_net): + + # -- Net Composition + new_phenomena_net = net.PhenomenaNet(graph) + new_phenomena_net.compose(origin_phenomena_net, value_net) + + # -- Data Computation + new_phenomena_net.phenomena_type = 'amr:phenomena_modality_prohibition' + new_phenomena_net.phenomena_ref = f'not-{origin_phenomena_net.phenomena_ref}' + + # -- Net Naming + new_phenomena_net.naming = 'prohibition-modality' + + # -- Relation Propagation + __propagate_relation(new_phenomena_net, origin_phenomena_net) + + # -- Finalization + new_phenomena_net.finalize() + triple_definition = new_phenomena_net.generate_triple_definition() + + return new_phenomena_net, triple_definition + + + +#============================================================================== +# Main Method +#============================================================================== + +def analyze_phenomena_polarity_5(graph): + + # -- Rule Initialization + rule_label = 'analyze "polarity" phenomena (5)' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + origin_phenomena_net = net.PhenomenaNet(graph, uri=pattern.phenomena_net) + value_net = net.ValueNet(graph, uri=pattern.value_net) + + # -- New Negative Property Net + _, triple_list_1 = __construct_phenomena_net(graph, origin_phenomena_net, value_net) + rule_triple_list += triple_list_1 + + # -- Deprecation: Origin Class Net and Value Net + rule_triple_list += origin_phenomena_net.deprecate() + rule_triple_list += value_net.deprecate() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/scheme/amr_master_rule/transduction/property_class_classifier.py b/tenet/scheme/amr_master_rule/transduction/property_class_classifier.py new file mode 100644 index 0000000000000000000000000000000000000000..72dea0f2068d68786662403f8c3ce856317f90c9 --- /dev/null +++ b/tenet/scheme/amr_master_rule/transduction/property_class_classifier.py @@ -0,0 +1,92 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: Rule to modality phenomena classification +#------------------------------------------------------------------------------ +# AMR rule to classify modality phenomena +# Rule: modality_phenomena classification +#============================================================================== + +from rdflib import Graph + +import transduction +from transduction import net +from transduction.query_builder import generate_select_query +from transduction.rdfterm_computer import produce_uriref, produce_literal + + +#============================================================================== +# Pattern Search: modality_phenomena +#============================================================================== + +def __search_pattern(graph): + query_code = '' + result_set = [] + for arg_relation in ['amr:role_ARG0', 'amr:role_ARG1', 'amr:role_ARG2']: + select_data_list = ['?property_net'] + clause_list = [f'?left_property_net a [rdfs:subClassOf* net:Property_Net].', + f'?property_net a [rdfs:subClassOf* net:Atom_Property_Net].', + f'?left_property_net {arg_relation} ?property_net.'] + 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 __propagate_relation(target_net, base_net): + target_net.input_relation_list = base_net.input_relation_list + target_net.output_relation_list = base_net.output_relation_list + + +#============================================================================== +# Construct Method(s) +#============================================================================== + +def __construct_atom_class_net(graph, property_net): + + # -- Net Composition + atom_class_net = net.AtomClassNet(graph) + atom_class_net.compose(property_net) + + # -- Data Computation + atom_class_net.class_name = property_net.naming + + # -- Net Naming + atom_class_net.naming = property_net.naming + + # -- Relation Propagation + __propagate_relation(atom_class_net, property_net) + + # -- Finalization + atom_class_net.finalize() + triple_definition = atom_class_net.generate_triple_definition() + + return atom_class_net, triple_definition + + +#============================================================================== +# Main Method +#============================================================================== + +def reclassify_argument_property_to_class(graph): + + # -- Rule Initialization + rule_label = 'reclassify argument property to class' + rule_triple_list = [] + + # -- Search for patterns + _, pattern_set = __search_pattern(graph) + + # -- Pattern Analysis + for pattern in pattern_set: + atom_property_net = net.AtomPropertyNet(graph, uri=pattern.property_net) + _, triple_list = __construct_atom_class_net(graph, atom_property_net) + rule_triple_list += triple_list + rule_triple_list += atom_property_net.deprecate() + + return rule_label, rule_triple_list \ No newline at end of file diff --git a/tenet/tenet.log b/tenet/tenet.log index 81b443fe8afcc663b5fe7fd61e060be9c8f75108..06c7f0ea0517ae293a906a946afd0b2454440dbc 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -71,25 +71,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- INFO - ----- fix-amr-bug-about-system-solar-planet: 5/5 new triples (603, 0:00:00.122197) +- INFO - ----- fix-amr-bug-about-system-solar-planet: 5/5 new triples (603, 0:00:00.107442) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (613, 0:00:00.177709) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (613, 0:00:00.078444) -- INFO - ----- reclassify-concept-3: 12/12 new triples (625, 0:00:00.051842) -- INFO - ----- reclassify-concept-4: 16/16 new triples (641, 0:00:00.085409) -- INFO - ----- reclassify-concept-5: 2/4 new triples (643, 0:00:00.050676) -- INFO - ----- reify-roles-as-concept: 10/10 new triples (653, 0:00:00.060118) -- INFO - ----- reclassify-existing-variable: 45/45 new triples (698, 0:00:00.042062) -- INFO - ----- add-new-variable-for-reified-concept: 8/8 new triples (706, 0:00:00.063336) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 33/33 new triples (739, 0:00:00.055747) -- INFO - ----- add-amr-leaf-for-reified-concept: 8/8 new triples (747, 0:00:00.040803) -- INFO - ----- add-amr-edge-for-core-relation: 27/27 new triples (774, 0:00:00.130936) -- INFO - ----- add-amr-edge-for-reified-concept: 12/12 new triples (786, 0:00:00.161203) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (791, 0:00:00.080725) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (791, 0:00:00.078813) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (796, 0:00:00.086701) -- INFO - ----- update-amr-edge-role-1: 15/15 new triples (811, 0:00:00.094175) -- INFO - ----- add-amr-root: 5/5 new triples (816, 0:00:00.037810) +- INFO - ----- reclassify-concept-1: 10/10 new triples (613, 0:00:00.151110) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (613, 0:00:00.062944) +- INFO - ----- reclassify-concept-3: 12/12 new triples (625, 0:00:00.043175) +- INFO - ----- reclassify-concept-4: 16/16 new triples (641, 0:00:00.069443) +- INFO - ----- reclassify-concept-5: 2/4 new triples (643, 0:00:00.051118) +- INFO - ----- reify-roles-as-concept: 10/10 new triples (653, 0:00:00.054098) +- INFO - ----- reclassify-existing-variable: 45/45 new triples (698, 0:00:00.031215) +- INFO - ----- add-new-variable-for-reified-concept: 8/8 new triples (706, 0:00:00.056760) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 33/33 new triples (739, 0:00:00.049200) +- INFO - ----- add-amr-leaf-for-reified-concept: 8/8 new triples (747, 0:00:00.034791) +- INFO - ----- add-amr-edge-for-core-relation: 27/27 new triples (774, 0:00:00.123966) +- INFO - ----- add-amr-edge-for-reified-concept: 12/12 new triples (786, 0:00:00.152911) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (791, 0:00:00.094811) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (791, 0:00:00.091672) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (796, 0:00:00.088032) +- INFO - ----- update-amr-edge-role-1: 15/15 new triples (811, 0:00:00.097919) +- INFO - ----- add-amr-root: 5/5 new triples (816, 0:00:00.026552) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_01_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/01/ @@ -98,68 +98,68 @@ - INFO - ----- 218 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 30/30 new triples (846, 0:00:00.165510) -- INFO - ----- extract atom individuals: 8/8 new triples (854, 0:00:00.048577) -- INFO - ----- extract atomic properties: 75/75 new triples (929, 0:00:00.231273) -- INFO - ----- extract atom values: 10/10 new triples (939, 0:00:00.059427) -- INFO - ----- extract atom phenomena: 14/14 new triples (953, 0:00:00.073757) -- INFO - ----- propagate atom relations: 24/68 new triples (977, 0:00:01.155622) +- INFO - ----- extract atom classes: 30/30 new triples (846, 0:00:00.162678) +- INFO - ----- extract atom individuals: 8/8 new triples (854, 0:00:00.050737) +- INFO - ----- extract atomic properties: 75/75 new triples (929, 0:00:00.216072) +- INFO - ----- extract atom values: 10/10 new triples (939, 0:00:00.052074) +- INFO - ----- extract atom phenomena: 14/14 new triples (953, 0:00:00.061439) +- INFO - ----- propagate atom relations: 24/68 new triples (977, 0:00:01.135960) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 32/36 new triples (1009, 0:00:00.281555) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (1009, 0:00:00.017296) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (1009, 0:00:00.008295) +- INFO - ----- analyze "polarity" phenomena (1): 32/36 new triples (1009, 0:00:00.102840) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (1009, 0:00:00.017023) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (1009, 0:00:00.011371) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (1009, 0:00:00.011861) -- INFO - ----- analyze "or" phenomena (2): 56/82 new triples (1065, 0:00:00.229622) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (1009, 0:00:00.012886) +- INFO - ----- analyze "or" phenomena (2): 56/82 new triples (1065, 0:00:00.276051) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- INFO - ----- extract composite classes (1): 75/76 new triples (1140, 0:00:00.265299) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (1140, 0:00:00.019950) +- INFO - ----- extract composite classes (1): 78/79 new triples (1143, 0:00:00.317769) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (1143, 0:00:00.028135) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_01_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/01/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/01//transduction -- INFO - ----- 324 triples extracted during transduction step +- INFO - ----- 327 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** November Transduction *** Sequence: main-generation-sequence -- INFO - ----- compute-uri-for-owl-declaration-1: 2/2 new triples (1142, 0:00:00.021815) -- DEBUG - ----- compute-uri-for-owl-declaration-2: 0/0 new triple (1142, 0:00:00.021632) -- INFO - ----- compute-uri-for-owl-declaration-3: 1/1 new triple (1143, 0:00:00.040741) -- DEBUG - ----- compute-uri-for-owl-declaration-4: 0/0 new triple (1143, 0:00:00.019998) -- INFO - ----- compute-uri-for-owl-declaration-5: 4/4 new triples (1147, 0:00:00.021346) -- INFO - ----- compute-uri-for-owl-declaration-6: 4/4 new triples (1151, 0:00:00.025619) -- INFO - ----- compute-uri-for-owl-declaration-7: 1/1 new triple (1152, 0:00:00.023085) -- INFO - ----- generate-atom-class: 6/6 new triples (1158, 0:00:00.019462) -- DEBUG - ----- classify-atom-class-1: 0/0 new triple (1158, 0:00:00.008653) -- INFO - ----- classify-atom-class-2: 2/2 new triples (1160, 0:00:00.010817) -- INFO - ----- generate-individual: 3/3 new triples (1163, 0:00:00.010694) -- DEBUG - ----- classify-individual-1: 0/0 new triple (1163, 0:00:00.007920) -- DEBUG - ----- classify-individual-2: 0/0 new triple (1163, 0:00:00.008371) -- INFO - ----- generate-atom-property-1: 20/20 new triples (1183, 0:00:00.015108) -- INFO - ----- generate-atom-property-12: 16/16 new triples (1199, 0:00:00.011485) -- DEBUG - ----- generate-inverse-relation: 0/0 new triple (1199, 0:00:00.007591) -- DEBUG - ----- generate-composite-class: 0/0 new triple (1199, 0:00:00.008735) -- DEBUG - ----- add-restriction-to-class-1: 0/0 new triple (1199, 0:00:00.020413) -- DEBUG - ----- add-restriction-to-class-2: 0/0 new triple (1199, 0:00:00.015592) -- DEBUG - ----- add-restriction-to-class-3: 0/0 new triple (1199, 0:00:00.014099) -- DEBUG - ----- add-restriction-to-class-4: 0/0 new triple (1199, 0:00:00.014423) -- DEBUG - ----- add-restriction-to-class-5: 0/0 new triple (1199, 0:00:00.018992) -- DEBUG - ----- add-restriction-to-class-6: 0/0 new triple (1199, 0:00:00.013756) +- INFO - ----- compute-uri-for-owl-declaration-1: 2/2 new triples (1145, 0:00:00.025479) +- INFO - ----- compute-uri-for-owl-declaration-2: 2/2 new triples (1147, 0:00:00.024029) +- INFO - ----- compute-uri-for-owl-declaration-3: 1/1 new triple (1148, 0:00:00.030747) +- DEBUG - ----- compute-uri-for-owl-declaration-4: 0/0 new triple (1148, 0:00:00.020293) +- INFO - ----- compute-uri-for-owl-declaration-5: 4/4 new triples (1152, 0:00:00.026166) +- INFO - ----- compute-uri-for-owl-declaration-6: 4/4 new triples (1156, 0:00:00.027428) +- INFO - ----- compute-uri-for-owl-declaration-7: 1/1 new triple (1157, 0:00:00.018957) +- INFO - ----- generate-atom-class: 12/12 new triples (1169, 0:00:00.008675) +- DEBUG - ----- classify-atom-class-1: 0/0 new triple (1169, 0:00:00.006454) +- INFO - ----- classify-atom-class-2: 4/4 new triples (1173, 0:00:00.012147) +- INFO - ----- generate-individual: 3/3 new triples (1176, 0:00:00.009825) +- DEBUG - ----- classify-individual-1: 0/0 new triple (1176, 0:00:00.008026) +- DEBUG - ----- classify-individual-2: 0/0 new triple (1176, 0:00:00.012284) +- INFO - ----- generate-atom-property-1: 20/20 new triples (1196, 0:00:00.010817) +- INFO - ----- generate-atom-property-12: 16/16 new triples (1212, 0:00:00.011441) +- DEBUG - ----- generate-inverse-relation: 0/0 new triple (1212, 0:00:00.007958) +- DEBUG - ----- generate-composite-class: 0/0 new triple (1212, 0:00:00.010288) +- DEBUG - ----- add-restriction-to-class-1: 0/0 new triple (1212, 0:00:00.020049) +- DEBUG - ----- add-restriction-to-class-2: 0/0 new triple (1212, 0:00:00.013673) +- DEBUG - ----- add-restriction-to-class-3: 0/0 new triple (1212, 0:00:00.025784) +- DEBUG - ----- add-restriction-to-class-4: 0/0 new triple (1212, 0:00:00.016558) +- DEBUG - ----- add-restriction-to-class-5: 0/0 new triple (1212, 0:00:00.019843) +- DEBUG - ----- add-restriction-to-class-6: 0/0 new triple (1212, 0:00:00.016422) - INFO - --- *** February Transduction *** Sequence: property_generation_sequence -- INFO - ----- generate OWL property: 15/35 new triples (1214, 0:00:00.387527) +- INFO - ----- generate OWL property: 9/29 new triples (1221, 0:00:00.289832) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_01_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/01/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_generation.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/01//generation -- INFO - ----- 74 triples extracted during generation step +- INFO - ----- 78 triples extracted during generation step - DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_factoid.ttl) -- DEBUG - ----- Number of factoids: 94 +- DEBUG - ----- Number of factoids: 98 - DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/01//factoid - INFO - === Final Ontology Generation === - INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 94 +- INFO - ----- Total factoid number: 98 - INFO - -- Serializing graph to factoid string - INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/01//factoid - INFO - -- Serializing graph to factoid file @@ -169,6 +169,6 @@ - INFO - *** Execution Time *** ----- Function: create_ontology_from_amrld_file (tenet.main) ------ Total Time: 0:00:05.344971 ------ Process Time: 0:00:05.168497 +----- Total Time: 0:00:04.975232 +----- Process Time: 0:00:04.929036 *** - *** diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/SolarSystemDev01_factoid.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/SolarSystemDev01_factoid.ttl index ed898e19dbd1652e56f63ea8283338139b8bb181..2e52241a2daa81fb9bc330991315e539e07713bc 100644 --- a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/SolarSystemDev01_factoid.ttl +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/SolarSystemDev01_factoid.ttl @@ -4,19 +4,10 @@ @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#gravitation-bind-system> rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "SSC-01-01" . - <https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "SSC-01-01" . -<https://tenet.tetras-libre.fr/extract-result#object-orbit-hasManner-direct-sun> rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "SSC-01-01" . - -<https://tenet.tetras-libre.fr/extract-result#object-orbit-hasManner-not-direct-sun> rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "SSC-01-01" . - <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> a owl:ObjectProperty ; rdfs:subPropertyOf <https://tenet.tetras-libre.fr/extract-result#orbit> ; ns1:fromStructure "SSC-01-01" . @@ -25,6 +16,10 @@ rdfs:subPropertyOf <https://tenet.tetras-libre.fr/extract-result#orbit> ; ns1:fromStructure "SSC-01-01" . +ns2:atomClass_gravitation_g ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation> . + +ns2:atomClass_object_o ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#object> . + ns2:atomClass_sun_s2 ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#sun> . ns2:atomClass_system_s ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> . @@ -65,6 +60,11 @@ ns2:individual_SolarSystem_p ns2:hasIndividualURI <https://tenet.tetras-libre.fr rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "SSC-01-01" . +<https://tenet.tetras-libre.fr/extract-result#gravitation> a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf ns1:Undetermined_Thing ; + ns1:fromStructure "SSC-01-01" . + <https://tenet.tetras-libre.fr/extract-result#hasManner> a owl:ObjectProperty ; rdfs:label "hasManner" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; @@ -85,6 +85,11 @@ ns2:individual_SolarSystem_p ns2:hasIndividualURI <https://tenet.tetras-libre.fr rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "SSC-01-01" . +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns1:Undetermined_Thing ; + ns1:fromStructure "SSC-01-01" . + <https://tenet.tetras-libre.fr/extract-result#solar-system> a owl:individual ; rdfs:label "Solar System" ; ns1:fromStructure "SSC-01-01" . diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.log b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.log index a540c51e13471e1b1ed4f3521558b6bb52fe4482..efea4b81551b3949b972ce6fea302e772e0d60a8 100644 --- a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.log +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.log @@ -71,25 +71,25 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- INFO - ----- fix-amr-bug-about-system-solar-planet: 5/5 new triples (603, 0:00:00.122197) +- INFO - ----- fix-amr-bug-about-system-solar-planet: 5/5 new triples (603, 0:00:00.107442) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (613, 0:00:00.177709) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (613, 0:00:00.078444) -- INFO - ----- reclassify-concept-3: 12/12 new triples (625, 0:00:00.051842) -- INFO - ----- reclassify-concept-4: 16/16 new triples (641, 0:00:00.085409) -- INFO - ----- reclassify-concept-5: 2/4 new triples (643, 0:00:00.050676) -- INFO - ----- reify-roles-as-concept: 10/10 new triples (653, 0:00:00.060118) -- INFO - ----- reclassify-existing-variable: 45/45 new triples (698, 0:00:00.042062) -- INFO - ----- add-new-variable-for-reified-concept: 8/8 new triples (706, 0:00:00.063336) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 33/33 new triples (739, 0:00:00.055747) -- INFO - ----- add-amr-leaf-for-reified-concept: 8/8 new triples (747, 0:00:00.040803) -- INFO - ----- add-amr-edge-for-core-relation: 27/27 new triples (774, 0:00:00.130936) -- INFO - ----- add-amr-edge-for-reified-concept: 12/12 new triples (786, 0:00:00.161203) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (791, 0:00:00.080725) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (791, 0:00:00.078813) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (796, 0:00:00.086701) -- INFO - ----- update-amr-edge-role-1: 15/15 new triples (811, 0:00:00.094175) -- INFO - ----- add-amr-root: 5/5 new triples (816, 0:00:00.037810) +- INFO - ----- reclassify-concept-1: 10/10 new triples (613, 0:00:00.151110) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (613, 0:00:00.062944) +- INFO - ----- reclassify-concept-3: 12/12 new triples (625, 0:00:00.043175) +- INFO - ----- reclassify-concept-4: 16/16 new triples (641, 0:00:00.069443) +- INFO - ----- reclassify-concept-5: 2/4 new triples (643, 0:00:00.051118) +- INFO - ----- reify-roles-as-concept: 10/10 new triples (653, 0:00:00.054098) +- INFO - ----- reclassify-existing-variable: 45/45 new triples (698, 0:00:00.031215) +- INFO - ----- add-new-variable-for-reified-concept: 8/8 new triples (706, 0:00:00.056760) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 33/33 new triples (739, 0:00:00.049200) +- INFO - ----- add-amr-leaf-for-reified-concept: 8/8 new triples (747, 0:00:00.034791) +- INFO - ----- add-amr-edge-for-core-relation: 27/27 new triples (774, 0:00:00.123966) +- INFO - ----- add-amr-edge-for-reified-concept: 12/12 new triples (786, 0:00:00.152911) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (791, 0:00:00.094811) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (791, 0:00:00.091672) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (796, 0:00:00.088032) +- INFO - ----- update-amr-edge-role-1: 15/15 new triples (811, 0:00:00.097919) +- INFO - ----- add-amr-root: 5/5 new triples (816, 0:00:00.026552) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_01_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/01/ @@ -98,68 +98,68 @@ - INFO - ----- 218 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 30/30 new triples (846, 0:00:00.165510) -- INFO - ----- extract atom individuals: 8/8 new triples (854, 0:00:00.048577) -- INFO - ----- extract atomic properties: 75/75 new triples (929, 0:00:00.231273) -- INFO - ----- extract atom values: 10/10 new triples (939, 0:00:00.059427) -- INFO - ----- extract atom phenomena: 14/14 new triples (953, 0:00:00.073757) -- INFO - ----- propagate atom relations: 24/68 new triples (977, 0:00:01.155622) +- INFO - ----- extract atom classes: 30/30 new triples (846, 0:00:00.162678) +- INFO - ----- extract atom individuals: 8/8 new triples (854, 0:00:00.050737) +- INFO - ----- extract atomic properties: 75/75 new triples (929, 0:00:00.216072) +- INFO - ----- extract atom values: 10/10 new triples (939, 0:00:00.052074) +- INFO - ----- extract atom phenomena: 14/14 new triples (953, 0:00:00.061439) +- INFO - ----- propagate atom relations: 24/68 new triples (977, 0:00:01.135960) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- INFO - ----- analyze "polarity" phenomena (1): 32/36 new triples (1009, 0:00:00.281555) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (1009, 0:00:00.017296) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (1009, 0:00:00.008295) +- INFO - ----- analyze "polarity" phenomena (1): 32/36 new triples (1009, 0:00:00.102840) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (1009, 0:00:00.017023) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (1009, 0:00:00.011371) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (1009, 0:00:00.011861) -- INFO - ----- analyze "or" phenomena (2): 56/82 new triples (1065, 0:00:00.229622) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (1009, 0:00:00.012886) +- INFO - ----- analyze "or" phenomena (2): 56/82 new triples (1065, 0:00:00.276051) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- INFO - ----- extract composite classes (1): 75/76 new triples (1140, 0:00:00.265299) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (1140, 0:00:00.019950) +- INFO - ----- extract composite classes (1): 78/79 new triples (1143, 0:00:00.317769) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (1143, 0:00:00.028135) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_01_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/01/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/01//transduction -- INFO - ----- 324 triples extracted during transduction step +- INFO - ----- 327 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** November Transduction *** Sequence: main-generation-sequence -- INFO - ----- compute-uri-for-owl-declaration-1: 2/2 new triples (1142, 0:00:00.021815) -- DEBUG - ----- compute-uri-for-owl-declaration-2: 0/0 new triple (1142, 0:00:00.021632) -- INFO - ----- compute-uri-for-owl-declaration-3: 1/1 new triple (1143, 0:00:00.040741) -- DEBUG - ----- compute-uri-for-owl-declaration-4: 0/0 new triple (1143, 0:00:00.019998) -- INFO - ----- compute-uri-for-owl-declaration-5: 4/4 new triples (1147, 0:00:00.021346) -- INFO - ----- compute-uri-for-owl-declaration-6: 4/4 new triples (1151, 0:00:00.025619) -- INFO - ----- compute-uri-for-owl-declaration-7: 1/1 new triple (1152, 0:00:00.023085) -- INFO - ----- generate-atom-class: 6/6 new triples (1158, 0:00:00.019462) -- DEBUG - ----- classify-atom-class-1: 0/0 new triple (1158, 0:00:00.008653) -- INFO - ----- classify-atom-class-2: 2/2 new triples (1160, 0:00:00.010817) -- INFO - ----- generate-individual: 3/3 new triples (1163, 0:00:00.010694) -- DEBUG - ----- classify-individual-1: 0/0 new triple (1163, 0:00:00.007920) -- DEBUG - ----- classify-individual-2: 0/0 new triple (1163, 0:00:00.008371) -- INFO - ----- generate-atom-property-1: 20/20 new triples (1183, 0:00:00.015108) -- INFO - ----- generate-atom-property-12: 16/16 new triples (1199, 0:00:00.011485) -- DEBUG - ----- generate-inverse-relation: 0/0 new triple (1199, 0:00:00.007591) -- DEBUG - ----- generate-composite-class: 0/0 new triple (1199, 0:00:00.008735) -- DEBUG - ----- add-restriction-to-class-1: 0/0 new triple (1199, 0:00:00.020413) -- DEBUG - ----- add-restriction-to-class-2: 0/0 new triple (1199, 0:00:00.015592) -- DEBUG - ----- add-restriction-to-class-3: 0/0 new triple (1199, 0:00:00.014099) -- DEBUG - ----- add-restriction-to-class-4: 0/0 new triple (1199, 0:00:00.014423) -- DEBUG - ----- add-restriction-to-class-5: 0/0 new triple (1199, 0:00:00.018992) -- DEBUG - ----- add-restriction-to-class-6: 0/0 new triple (1199, 0:00:00.013756) +- INFO - ----- compute-uri-for-owl-declaration-1: 2/2 new triples (1145, 0:00:00.025479) +- INFO - ----- compute-uri-for-owl-declaration-2: 2/2 new triples (1147, 0:00:00.024029) +- INFO - ----- compute-uri-for-owl-declaration-3: 1/1 new triple (1148, 0:00:00.030747) +- DEBUG - ----- compute-uri-for-owl-declaration-4: 0/0 new triple (1148, 0:00:00.020293) +- INFO - ----- compute-uri-for-owl-declaration-5: 4/4 new triples (1152, 0:00:00.026166) +- INFO - ----- compute-uri-for-owl-declaration-6: 4/4 new triples (1156, 0:00:00.027428) +- INFO - ----- compute-uri-for-owl-declaration-7: 1/1 new triple (1157, 0:00:00.018957) +- INFO - ----- generate-atom-class: 12/12 new triples (1169, 0:00:00.008675) +- DEBUG - ----- classify-atom-class-1: 0/0 new triple (1169, 0:00:00.006454) +- INFO - ----- classify-atom-class-2: 4/4 new triples (1173, 0:00:00.012147) +- INFO - ----- generate-individual: 3/3 new triples (1176, 0:00:00.009825) +- DEBUG - ----- classify-individual-1: 0/0 new triple (1176, 0:00:00.008026) +- DEBUG - ----- classify-individual-2: 0/0 new triple (1176, 0:00:00.012284) +- INFO - ----- generate-atom-property-1: 20/20 new triples (1196, 0:00:00.010817) +- INFO - ----- generate-atom-property-12: 16/16 new triples (1212, 0:00:00.011441) +- DEBUG - ----- generate-inverse-relation: 0/0 new triple (1212, 0:00:00.007958) +- DEBUG - ----- generate-composite-class: 0/0 new triple (1212, 0:00:00.010288) +- DEBUG - ----- add-restriction-to-class-1: 0/0 new triple (1212, 0:00:00.020049) +- DEBUG - ----- add-restriction-to-class-2: 0/0 new triple (1212, 0:00:00.013673) +- DEBUG - ----- add-restriction-to-class-3: 0/0 new triple (1212, 0:00:00.025784) +- DEBUG - ----- add-restriction-to-class-4: 0/0 new triple (1212, 0:00:00.016558) +- DEBUG - ----- add-restriction-to-class-5: 0/0 new triple (1212, 0:00:00.019843) +- DEBUG - ----- add-restriction-to-class-6: 0/0 new triple (1212, 0:00:00.016422) - INFO - --- *** February Transduction *** Sequence: property_generation_sequence -- INFO - ----- generate OWL property: 15/35 new triples (1214, 0:00:00.387527) +- INFO - ----- generate OWL property: 9/29 new triples (1221, 0:00:00.289832) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_01_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/01/ - DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_generation.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/01//generation -- INFO - ----- 74 triples extracted during generation step +- INFO - ----- 78 triples extracted during generation step - DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_factoid.ttl) -- DEBUG - ----- Number of factoids: 94 +- DEBUG - ----- Number of factoids: 98 - DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/01//factoid - INFO - === Final Ontology Generation === - INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 94 +- INFO - ----- Total factoid number: 98 - INFO - -- Serializing graph to factoid string - INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/01//factoid - INFO - -- Serializing graph to factoid file diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_factoid.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_factoid.ttl index ed898e19dbd1652e56f63ea8283338139b8bb181..2e52241a2daa81fb9bc330991315e539e07713bc 100644 --- a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_factoid.ttl +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_factoid.ttl @@ -4,19 +4,10 @@ @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -<https://tenet.tetras-libre.fr/extract-result#gravitation-bind-system> rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "SSC-01-01" . - <https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "SSC-01-01" . -<https://tenet.tetras-libre.fr/extract-result#object-orbit-hasManner-direct-sun> rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "SSC-01-01" . - -<https://tenet.tetras-libre.fr/extract-result#object-orbit-hasManner-not-direct-sun> rdfs:subPropertyOf ns1:Out_ObjectProperty ; - ns1:fromStructure "SSC-01-01" . - <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> a owl:ObjectProperty ; rdfs:subPropertyOf <https://tenet.tetras-libre.fr/extract-result#orbit> ; ns1:fromStructure "SSC-01-01" . @@ -25,6 +16,10 @@ rdfs:subPropertyOf <https://tenet.tetras-libre.fr/extract-result#orbit> ; ns1:fromStructure "SSC-01-01" . +ns2:atomClass_gravitation_g ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation> . + +ns2:atomClass_object_o ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#object> . + ns2:atomClass_sun_s2 ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#sun> . ns2:atomClass_system_s ns2:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> . @@ -65,6 +60,11 @@ ns2:individual_SolarSystem_p ns2:hasIndividualURI <https://tenet.tetras-libre.fr rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "SSC-01-01" . +<https://tenet.tetras-libre.fr/extract-result#gravitation> a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf ns1:Undetermined_Thing ; + ns1:fromStructure "SSC-01-01" . + <https://tenet.tetras-libre.fr/extract-result#hasManner> a owl:ObjectProperty ; rdfs:label "hasManner" ; rdfs:subPropertyOf ns1:Out_ObjectProperty ; @@ -85,6 +85,11 @@ ns2:individual_SolarSystem_p ns2:hasIndividualURI <https://tenet.tetras-libre.fr rdfs:subPropertyOf ns1:Out_ObjectProperty ; ns1:fromStructure "SSC-01-01" . +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns1:Undetermined_Thing ; + ns1:fromStructure "SSC-01-01" . + <https://tenet.tetras-libre.fr/extract-result#solar-system> a owl:individual ; rdfs:label "Solar System" ; ns1:fromStructure "SSC-01-01" . diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_generation.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_generation.ttl index a7e74d72de168e04aad9d252c3c8891ed37b72cc..9eeda657798249a5fbb5100a68bef982287860a0 100644 --- a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_generation.ttl +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_generation.ttl @@ -421,19 +421,10 @@ cprm:targetOntologyURI a rdf:Property ; rdfs:range xsd:string ; rdfs:subPropertyOf cprm:configParamProperty . -<https://tenet.tetras-libre.fr/extract-result#gravitation-bind-system> rdfs:subPropertyOf sys:Out_ObjectProperty ; - sys:fromStructure "SSC-01-01" . - <https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ; rdfs:subPropertyOf sys:Out_ObjectProperty ; sys:fromStructure "SSC-01-01" . -<https://tenet.tetras-libre.fr/extract-result#object-orbit-hasManner-direct-sun> rdfs:subPropertyOf sys:Out_ObjectProperty ; - sys:fromStructure "SSC-01-01" . - -<https://tenet.tetras-libre.fr/extract-result#object-orbit-hasManner-not-direct-sun> rdfs:subPropertyOf sys:Out_ObjectProperty ; - sys:fromStructure "SSC-01-01" . - <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> a owl:ObjectProperty ; rdfs:subPropertyOf <https://tenet.tetras-libre.fr/extract-result#orbit> ; sys:fromStructure "SSC-01-01" . @@ -444,9 +435,6 @@ cprm:targetOntologyURI a rdf:Property ; <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . -net:Composite_Class_Net a owl:Class ; - rdfs:subClassOf net:Class_Net . - net:Logical_Set_Net a owl:Class ; rdfs:subClassOf net:Net . @@ -510,7 +498,7 @@ net:axiom_disjointProperty_not-direct_direct_d2 a net:Axiom_Net ; net:compositeProperty_not-direct_d2 ; net:hasStructure "SSC-01-01" . -net:compositeProperty_gravitation-bind-system_g a net:Composite_Property_Net ; +net:compositeClass_gravitation-bind-system_g a net:Composite_Class_Net ; net:composeFrom net:atomClass_gravitation_g, net:atomClass_system_s, net:atomProperty_bind_b ; @@ -518,11 +506,12 @@ net:compositeProperty_gravitation-bind-system_g a net:Composite_Property_Net ; net:coverNode :leaf_bind-01_b, :leaf_gravitation_g, :leaf_system_s ; + net:hasMotherClassNet net:atomClass_gravitation_g ; net:hasNaming "gravitation-bind-system" ; net:hasRestriction net:restriction_bind-system_b ; net:hasStructure "SSC-01-01" . -net:compositeProperty_object-orbit-hasManner-direct-sun_o a net:Composite_Property_Net ; +net:compositeClass_object-orbit-hasManner-direct-sun_o a net:Composite_Class_Net ; net:composeFrom net:atomClass_object_o, net:atomClass_sun_s2, net:compositeProperty_orbit-hasManner-direct_o2 ; @@ -533,11 +522,12 @@ net:compositeProperty_object-orbit-hasManner-direct-sun_o a net:Composite_Proper :leaf_object_o, :leaf_orbit-01_o2, :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; net:hasNaming "object-orbit-hasManner-direct-sun" ; net:hasRestriction net:restriction_orbit-hasManner-direct-sun_o2 ; net:hasStructure "SSC-01-01" . -net:compositeProperty_object-orbit-hasManner-not-direct-sun_o a net:Composite_Property_Net ; +net:compositeClass_object-orbit-hasManner-not-direct-sun_o a net:Composite_Class_Net ; net:composeFrom net:atomClass_object_o, net:atomClass_sun_s2, net:compositeProperty_orbit-hasManner-not-direct_o2 ; @@ -547,6 +537,7 @@ net:compositeProperty_object-orbit-hasManner-not-direct-sun_o a net:Composite_Pr :leaf_object_o, :leaf_orbit-01_o2, :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; net:hasNaming "object-orbit-hasManner-not-direct-sun" ; net:hasRestriction net:restriction_orbit-hasManner-not-direct-sun_o2 ; net:hasStructure "SSC-01-01" . @@ -857,6 +848,11 @@ sys:Out_AnnotationProperty a owl:AnnotationProperty . rdfs:subPropertyOf sys:Out_ObjectProperty ; sys:fromStructure "SSC-01-01" . +<https://tenet.tetras-libre.fr/extract-result#gravitation> a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf sys:Undetermined_Thing ; + sys:fromStructure "SSC-01-01" . + <https://tenet.tetras-libre.fr/extract-result#hasManner> a owl:ObjectProperty ; rdfs:label "hasManner" ; rdfs:subPropertyOf sys:Out_ObjectProperty ; @@ -877,6 +873,11 @@ sys:Out_AnnotationProperty a owl:AnnotationProperty . rdfs:subPropertyOf sys:Out_ObjectProperty ; sys:fromStructure "SSC-01-01" . +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf sys:Undetermined_Thing ; + sys:fromStructure "SSC-01-01" . + <https://tenet.tetras-libre.fr/extract-result#solar-system> a owl:individual ; rdfs:label "Solar System" ; sys:fromStructure "SSC-01-01" . @@ -1119,9 +1120,6 @@ ns2:or a ns2:Concept ; :value_SolarSystem a :AMR_Value ; rdfs:label "Solar System" . -sys:Undetermined_Thing a owl:Class ; - rdfs:subClassOf sys:Out_Structure . - net:Class_Net a owl:Class ; rdfs:subClassOf net:Net . @@ -1134,14 +1132,6 @@ net:Property_Net a owl:Class ; net:Value_Net a owl:Class ; rdfs:subClassOf net:Net . -net:atomClass_gravitation_g a net:Atom_Class_Net, - net:Deprecated_Net ; - net:coverBaseNode :leaf_gravitation_g ; - net:coverNode :leaf_gravitation_g ; - net:hasClassName "gravitation" ; - net:hasNaming "gravitation" ; - net:hasStructure "SSC-01-01" . - net:atomClass_system_p a net:Atom_Class_Net, net:Deprecated_Net ; :role_name net:value_SolarSystem_blankNode ; @@ -1222,10 +1212,25 @@ ns2:Frame a ns2:Concept, net:Axiom_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:Net_Structure a owl:Class ; rdfs:label "Semantic Net Structure" ; rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . +net:atomClass_gravitation_g a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_gravitation_g ; + net:hasClassName "gravitation" ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation> ; + net:hasNaming "gravitation" ; + net:hasStructure "SSC-01-01" . + net:atomProperty_bind_b a net:Atom_Property_Net ; :role_ARG0 net:atomClass_gravitation_g ; :role_ARG1 net:atomClass_system_s ; @@ -1316,6 +1321,9 @@ ns3:FrameRole a ns2:Role, rdfs:subClassOf :AMR_Core_Role ; :label "ARG1" . +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + net:atomProperty_direct_d a net:Atom_Property_Net ; net:coverBaseNode :leaf_direct-02_d ; net:coverNode :leaf_direct-02_d ; @@ -1411,17 +1419,6 @@ cprm:configParamProperty a rdf:Property ; net:Atom_Property_Net a owl:Class ; rdfs:subClassOf net:Property_Net . -net:Composite_Property_Net a owl:Class ; - rdfs:subClassOf net:Property_Net . - -net:atomClass_object_o a net:Atom_Class_Net, - net:Deprecated_Net ; - net:coverBaseNode :leaf_object_o ; - net:coverNode :leaf_object_o ; - net:hasClassName "object" ; - net:hasNaming "object" ; - net:hasStructure "SSC-01-01" . - net:atomProperty_hasManner_m9 a net:Atom_Property_Net ; :role_ARG0 net:atomProperty_orbit_o2 ; :role_ARG1 net:phenomena_conjunction-OR_o3 ; @@ -1452,6 +1449,15 @@ rdf:Property a owl:Class . net:Relation a owl:Class ; rdfs:subClassOf net:Net_Structure . +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:hasClassURI <https://tenet.tetras-libre.fr/extract-result#object> ; + net:hasNaming "object" ; + net:hasStructure "SSC-01-01" . + net:compositeProperty_not-direct_d2 a net:Composite_Property_Net ; :role_polarity net:value_negative_blankNode ; net:composeFrom net:atomProperty_direct_d2 ; @@ -1519,6 +1525,8 @@ net:atomClass_sun_s2 a net:Atom_Class_Net ; :hasVariable :variable_m9 ; :isReifiedLeaf true . +sys:Out_ObjectProperty a owl:ObjectProperty . + :AMR_Variable a owl:Class ; rdfs:subClassOf :AMR_Element . @@ -1531,8 +1539,6 @@ net:atomClass_sun_s2 a net:Atom_Class_Net ; :AMR_Leaf a owl:Class ; rdfs:subClassOf :AMR_Structure . -sys:Out_ObjectProperty a owl:ObjectProperty . - net:objectValue a owl:AnnotationProperty ; rdfs:label "valuations"@fr ; rdfs:subPropertyOf net:objectProperty . diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_transduction.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_transduction.ttl index 509180a64de54050645da6aec40fc0b245d33bd2..9b12320b5b7b96387655cf832c10cd87514a078c 100644 --- a/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_transduction.ttl +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-20230517/technical-data/tenet.tetras-libre.fr_demo_01-0/tenet.tetras-libre.fr_demo_01_transduction.ttl @@ -426,9 +426,6 @@ cprm:targetOntologyURI a rdf:Property ; <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . -net:Composite_Class_Net a owl:Class ; - rdfs:subClassOf net:Class_Net . - net:Logical_Set_Net a owl:Class ; rdfs:subClassOf net:Net . @@ -490,7 +487,7 @@ net:axiom_disjointProperty_not-direct_direct_d2 a net:Axiom_Net ; net:compositeProperty_not-direct_d2 ; net:hasStructure "SSC-01-01" . -net:compositeProperty_gravitation-bind-system_g a net:Composite_Property_Net ; +net:compositeClass_gravitation-bind-system_g a net:Composite_Class_Net ; net:composeFrom net:atomClass_gravitation_g, net:atomClass_system_s, net:atomProperty_bind_b ; @@ -498,11 +495,12 @@ net:compositeProperty_gravitation-bind-system_g a net:Composite_Property_Net ; net:coverNode :leaf_bind-01_b, :leaf_gravitation_g, :leaf_system_s ; + net:hasMotherClassNet net:atomClass_gravitation_g ; net:hasNaming "gravitation-bind-system" ; net:hasRestriction net:restriction_bind-system_b ; net:hasStructure "SSC-01-01" . -net:compositeProperty_object-orbit-hasManner-direct-sun_o a net:Composite_Property_Net ; +net:compositeClass_object-orbit-hasManner-direct-sun_o a net:Composite_Class_Net ; net:composeFrom net:atomClass_object_o, net:atomClass_sun_s2, net:compositeProperty_orbit-hasManner-direct_o2 ; @@ -513,11 +511,12 @@ net:compositeProperty_object-orbit-hasManner-direct-sun_o a net:Composite_Proper :leaf_object_o, :leaf_orbit-01_o2, :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; net:hasNaming "object-orbit-hasManner-direct-sun" ; net:hasRestriction net:restriction_orbit-hasManner-direct-sun_o2 ; net:hasStructure "SSC-01-01" . -net:compositeProperty_object-orbit-hasManner-not-direct-sun_o a net:Composite_Property_Net ; +net:compositeClass_object-orbit-hasManner-not-direct-sun_o a net:Composite_Class_Net ; net:composeFrom net:atomClass_object_o, net:atomClass_sun_s2, net:compositeProperty_orbit-hasManner-not-direct_o2 ; @@ -527,6 +526,7 @@ net:compositeProperty_object-orbit-hasManner-not-direct-sun_o a net:Composite_Pr :leaf_object_o, :leaf_orbit-01_o2, :leaf_sun_s2 ; + net:hasMotherClassNet net:atomClass_object_o ; net:hasNaming "object-orbit-hasManner-not-direct-sun" ; net:hasRestriction net:restriction_orbit-hasManner-not-direct-sun_o2 ; net:hasStructure "SSC-01-01" . @@ -1058,14 +1058,6 @@ net:Property_Net a owl:Class ; net:Value_Net a owl:Class ; rdfs:subClassOf net:Net . -net:atomClass_gravitation_g a net:Atom_Class_Net, - net:Deprecated_Net ; - net:coverBaseNode :leaf_gravitation_g ; - net:coverNode :leaf_gravitation_g ; - net:hasClassName "gravitation" ; - net:hasNaming "gravitation" ; - net:hasStructure "SSC-01-01" . - net:atomClass_system_p a net:Atom_Class_Net, net:Deprecated_Net ; :role_name net:value_SolarSystem_blankNode ; @@ -1141,10 +1133,24 @@ ns2:Frame a ns2:Concept, net:Axiom_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:Net_Structure a owl:Class ; rdfs:label "Semantic Net Structure" ; rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . +net:atomClass_gravitation_g a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_gravitation_g ; + net:hasClassName "gravitation" ; + net:hasNaming "gravitation" ; + net:hasStructure "SSC-01-01" . + net:atomProperty_bind_b a net:Atom_Property_Net ; :role_ARG0 net:atomClass_gravitation_g ; :role_ARG1 net:atomClass_system_s ; @@ -1324,17 +1330,6 @@ cprm:configParamProperty a rdf:Property ; net:Atom_Property_Net a owl:Class ; rdfs:subClassOf net:Property_Net . -net:Composite_Property_Net a owl:Class ; - rdfs:subClassOf net:Property_Net . - -net:atomClass_object_o a net:Atom_Class_Net, - net:Deprecated_Net ; - net:coverBaseNode :leaf_object_o ; - net:coverNode :leaf_object_o ; - net:hasClassName "object" ; - net:hasNaming "object" ; - net:hasStructure "SSC-01-01" . - net:atomProperty_hasManner_m9 a net:Atom_Property_Net ; :role_ARG0 net:atomProperty_orbit_o2 ; :role_ARG1 net:phenomena_conjunction-OR_o3 ; @@ -1363,6 +1358,14 @@ rdf:Property a owl:Class . net:Relation a owl:Class ; rdfs:subClassOf net:Net_Structure . +net:atomClass_object_o a net:Atom_Class_Net, + net:Deprecated_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:hasClassName "object" ; + net:hasNaming "object" ; + net:hasStructure "SSC-01-01" . + net:compositeProperty_not-direct_d2 a net:Composite_Property_Net ; :role_polarity net:value_negative_blankNode ; net:composeFrom net:atomProperty_direct_d2 ; diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.dot b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.dot new file mode 100644 index 0000000000000000000000000000000000000000..e12eab02e19e3f95d9efd3dd799ce8d7614df466 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.dot @@ -0,0 +1,33 @@ +digraph amr_graph { + rankdir=LR size="12,8" + s [label="s/system" shape=circle] + p [label="p/planet" shape=circle] + n [label="n/name" shape=circle] + b [label="b/bind-01" shape=circle] + g [label="g/gravitation" shape=circle] + a [label="a/and" shape=circle] + s2 [label="s2/sun" shape=circle] + o [label="o/object" shape=circle] + o2 [label="o2/orbit-01" shape=circle] + o3 [label="o3/or" shape=circle] + d [label="d/direct-02" shape=circle] + d2 [label="d2/direct-02" shape=circle] + s -> p [label=":domain"] + p -> n [label=":name"] + s -> b [label=":ARG1-of"] + b -> g [label=":ARG0"] + s -> a [label=":part"] + a -> s2 [label=":op1"] + a -> o [label=":op2"] + o -> o2 [label=":ARG0-of"] + o2 -> s2 [label=":ARG1"] + o2 -> o3 [label=":manner"] + o3 -> d [label=":op1"] + o3 -> d2 [label=":op2"] + node_0 [label="\"Solar\"" shape=rectangle] + n -> node_0 [label=":op1"] + node_1 [label="\"System\"" shape=rectangle] + n -> node_1 [label=":op2"] + node_2 [label="-" shape=rectangle] + d2 -> node_2 [label=":polarity"] +} diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.nt b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.nt new file mode 100644 index 0000000000000000000000000000000000000000..e495b40eb943fa59acd73fd51a9ffd0672e26897 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.nt @@ -0,0 +1,58 @@ +<http://amr.isi.edu/rdf/amr-terms#sun> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/amr_data/document-01#d2> <http://amr.isi.edu/rdf/amr-terms#polarity> "-" . +<http://amr.isi.edu/amr_data/document-01#p> <http://www.w3.org/2000/01/rdf-schema#label> "Solar System" . +<http://amr.isi.edu/frames/ld/v1.2.2/orbit-01.ARG0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/FrameRole> . +<http://amr.isi.edu/rdf/core-amr#Role> <http://www.w3.org/2000/01/rdf-schema#label> "AMR-Role" . +<http://amr.isi.edu/rdf/amr-terms#part> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Role> . +<http://amr.isi.edu/amr_data/document-01#a> <http://amr.isi.edu/rdf/amr-terms#op1> <http://amr.isi.edu/amr_data/document-01#s2> . +<http://amr.isi.edu/amr_data/document-01#o2> <http://amr.isi.edu/frames/ld/v1.2.2/orbit-01.ARG0> <http://amr.isi.edu/amr_data/document-01#o> . +<http://amr.isi.edu/amr_data/document-01#p> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/entity-types#planet> . +<http://amr.isi.edu/amr_data/document-01#s> <http://amr.isi.edu/rdf/amr-terms#domain> <http://amr.isi.edu/amr_data/document-01#p> . +<http://amr.isi.edu/amr_data/document-01#root01> <http://amr.isi.edu/rdf/core-amr#root> <http://amr.isi.edu/amr_data/document-01#s> . +<http://amr.isi.edu/rdf/core-amr#Frame> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/amr_data/document-01#o3> <http://amr.isi.edu/rdf/amr-terms#op1> <http://amr.isi.edu/amr_data/document-01#d> . +<http://amr.isi.edu/amr_data/document-01#o2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/orbit-01> . +<http://amr.isi.edu/rdf/amr-terms#gravitation> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/amr_data/document-01#root01> <http://amr.isi.edu/rdf/core-amr#has-id> "document-01" . +<http://amr.isi.edu/amr_data/document-01#root01> <http://amr.isi.edu/rdf/core-amr#has-sentence> "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." . +<http://amr.isi.edu/amr_data/document-01#s> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/amr-terms#system> . +<http://amr.isi.edu/amr_data/document-01#b> <http://amr.isi.edu/frames/ld/v1.2.2/bind-01.ARG0> <http://amr.isi.edu/amr_data/document-01#g> . +<http://amr.isi.edu/frames/ld/v1.2.2/direct-02> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Frame> . +<http://amr.isi.edu/amr_data/document-01#b> <http://amr.isi.edu/frames/ld/v1.2.2/bind-01.ARG1> <http://amr.isi.edu/amr_data/document-01#s> . +<http://amr.isi.edu/amr_data/document-01#b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/bind-01> . +<http://amr.isi.edu/frames/ld/v1.2.2/FrameRole> <http://www.w3.org/2000/01/rdf-schema#label> "AMR-PropBank-Role" . +<http://amr.isi.edu/amr_data/document-01#root01> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#AMR> . +<http://amr.isi.edu/amr_data/document-01#o3> <http://amr.isi.edu/rdf/amr-terms#op2> <http://amr.isi.edu/amr_data/document-01#d2> . +<http://amr.isi.edu/rdf/core-amr#Role> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> . +<http://amr.isi.edu/amr_data/document-01#d2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/direct-02> . +<http://amr.isi.edu/amr_data/document-01#o2> <http://amr.isi.edu/frames/ld/v1.2.2/orbit-01.ARG1> <http://amr.isi.edu/amr_data/document-01#s2> . +<http://amr.isi.edu/frames/ld/v1.2.2/bind-01> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Frame> . +<http://amr.isi.edu/rdf/core-amr#Frame> <http://www.w3.org/2000/01/rdf-schema#label> "AMR-PropBank-Frame" . +<http://amr.isi.edu/amr_data/document-01#d> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/direct-02> . +<http://amr.isi.edu/rdf/core-amr#NamedEntity> <http://www.w3.org/2000/01/rdf-schema#label> "AMR-EntityType" . +<http://amr.isi.edu/rdf/core-amr#and> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/frames/ld/v1.2.2/FrameRole> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Role> . +<http://amr.isi.edu/rdf/amr-terms#system> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/rdf/amr-terms#op1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Role> . +<http://amr.isi.edu/amr_data/document-01#s2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/amr-terms#sun> . +<http://amr.isi.edu/amr_data/document-01#o2> <http://amr.isi.edu/rdf/amr-terms#manner> <http://amr.isi.edu/amr_data/document-01#o3> . +<http://amr.isi.edu/rdf/core-amr#or> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/rdf/core-amr#Concept> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> . +<http://amr.isi.edu/rdf/amr-terms#op2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Role> . +<http://amr.isi.edu/frames/ld/v1.2.2/orbit-01.ARG1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/FrameRole> . +<http://amr.isi.edu/rdf/amr-terms#object> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/amr_data/document-01#o> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/amr-terms#object> . +<http://amr.isi.edu/rdf/amr-terms#domain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Role> . +<http://amr.isi.edu/frames/ld/v1.2.2/bind-01.ARG0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/FrameRole> . +<http://amr.isi.edu/entity-types#planet> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#NamedEntity> . +<http://amr.isi.edu/amr_data/document-01#a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#and> . +<http://amr.isi.edu/rdf/amr-terms#manner> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Role> . +<http://amr.isi.edu/rdf/core-amr#NamedEntity> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Concept> . +<http://amr.isi.edu/amr_data/document-01#g> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/amr-terms#gravitation> . +<http://amr.isi.edu/frames/ld/v1.2.2/orbit-01> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#Frame> . +<http://amr.isi.edu/amr_data/document-01#o3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/rdf/core-amr#or> . +<http://amr.isi.edu/amr_data/document-01#s> <http://amr.isi.edu/rdf/amr-terms#part> <http://amr.isi.edu/amr_data/document-01#a> . +<http://amr.isi.edu/frames/ld/v1.2.2/bind-01.ARG1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://amr.isi.edu/frames/ld/v1.2.2/FrameRole> . +<http://amr.isi.edu/rdf/core-amr#NamedEntity> <http://www.w3.org/2000/01/rdf-schema#label> "AMR-Term" . +<http://amr.isi.edu/amr_data/document-01#a> <http://amr.isi.edu/rdf/amr-terms#op2> <http://amr.isi.edu/amr_data/document-01#o> . +<http://amr.isi.edu/rdf/core-amr#Concept> <http://www.w3.org/2000/01/rdf-schema#label> "AMR-Concept" . diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.penman b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.penman new file mode 100644 index 0000000000000000000000000000000000000000..af271537f97b151b211b459de1ddaf86f19e235e --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.penman @@ -0,0 +1,18 @@ +# ::id document-01 +# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.. +(s / system + :domain (p / planet + :name (n / name + :op1 "Solar" + :op2 "System")) + :ARG1-of (b / bind-01 + :ARG0 (g / gravitation)) + :part (a / and + :op1 (s2 / sun) + :op2 (o / object + :ARG0-of (o2 / orbit-01 + :ARG1 s2 + :manner (o3 / or + :op1 (d / direct-02) + :op2 (d2 / direct-02 + :polarity -)))))) \ No newline at end of file diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.png b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.png new file mode 100644 index 0000000000000000000000000000000000000000..4db3a86145d050d023f92908dc6e204f2c3c0744 Binary files /dev/null and b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.png differ diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.svg b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.svg new file mode 100644 index 0000000000000000000000000000000000000000..7ab649669b9c2d82ce76501ef87545c94d8381bf --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.svg @@ -0,0 +1,208 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<!-- Generated by graphviz version 2.40.1 (20161225.0304) + --> +<!-- Title: amr_graph Pages: 1 --> +<svg width="864pt" height="348pt" + viewBox="0.00 0.00 864.00 348.14" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<g id="graph0" class="graph" transform="scale(.6649 .6649) rotate(0) translate(4 519.594)"> +<title>amr_graph</title> +<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-519.594 1295.4383,-519.594 1295.4383,4 -4,4"/> +<!-- s --> +<g id="node1" class="node"> +<title>s</title> +<ellipse fill="none" stroke="#000000" cx="51.9954" cy="-339.594" rx="51.9908" ry="51.9908"/> +<text text-anchor="middle" x="51.9954" y="-335.894" font-family="Times,serif" font-size="14.00" fill="#000000">s/system</text> +</g> +<!-- p --> +<g id="node2" class="node"> +<title>p</title> +<ellipse fill="none" stroke="#000000" cx="258.5859" cy="-466.594" rx="48.9926" ry="48.9926"/> +<text text-anchor="middle" x="258.5859" y="-462.894" font-family="Times,serif" font-size="14.00" fill="#000000">p/planet</text> +</g> +<!-- s->p --> +<g id="edge1" class="edge"> +<title>s->p</title> +<path fill="none" stroke="#000000" d="M96.3142,-366.8387C129.0736,-386.9773 173.7346,-414.4322 207.9106,-435.4417"/> +<polygon fill="#000000" stroke="#000000" points="206.4535,-438.6544 216.8055,-440.9098 210.1194,-432.6911 206.4535,-438.6544"/> +<text text-anchor="middle" x="153.9908" y="-425.394" font-family="Times,serif" font-size="14.00" fill="#000000">:domain</text> +</g> +<!-- b --> +<g id="node4" class="node"> +<title>b</title> +<ellipse fill="none" stroke="#000000" cx="258.5859" cy="-339.594" rx="54.6905" ry="54.6905"/> +<text text-anchor="middle" x="258.5859" y="-335.894" font-family="Times,serif" font-size="14.00" fill="#000000">b/bind-01</text> +</g> +<!-- s->b --> +<g id="edge3" class="edge"> +<title>s->b</title> +<path fill="none" stroke="#000000" d="M104.1269,-339.594C131.393,-339.594 165.022,-339.594 193.9325,-339.594"/> +<polygon fill="#000000" stroke="#000000" points="193.9435,-343.0941 203.9435,-339.594 193.9434,-336.0941 193.9435,-343.0941"/> +<text text-anchor="middle" x="153.9908" y="-343.394" font-family="Times,serif" font-size="14.00" fill="#000000">:ARG1-of</text> +</g> +<!-- a --> +<g id="node6" class="node"> +<title>a</title> +<ellipse fill="none" stroke="#000000" cx="258.5859" cy="-230.594" rx="36.2938" ry="36.2938"/> +<text text-anchor="middle" x="258.5859" y="-226.894" font-family="Times,serif" font-size="14.00" fill="#000000">a/and</text> +</g> +<!-- s->a --> +<g id="edge5" class="edge"> +<title>s->a</title> +<path fill="none" stroke="#000000" d="M98.1012,-315.2679C133.798,-296.4338 182.8008,-270.5793 217.2375,-252.41"/> +<polygon fill="#000000" stroke="#000000" points="218.8895,-255.4957 226.1007,-247.7337 215.6229,-249.3046 218.8895,-255.4957"/> +<text text-anchor="middle" x="153.9908" y="-304.394" font-family="Times,serif" font-size="14.00" fill="#000000">:part</text> +</g> +<!-- n --> +<g id="node3" class="node"> +<title>n</title> +<ellipse fill="none" stroke="#000000" cx="466.0248" cy="-470.594" rx="44.6926" ry="44.6926"/> +<text text-anchor="middle" x="466.0248" y="-466.894" font-family="Times,serif" font-size="14.00" fill="#000000">n/name</text> +</g> +<!-- p->n --> +<g id="edge2" class="edge"> +<title>p->n</title> +<path fill="none" stroke="#000000" d="M307.4834,-467.5369C338.5034,-468.135 378.7044,-468.9102 410.8626,-469.5303"/> +<polygon fill="#000000" stroke="#000000" points="410.9335,-473.0322 420.9992,-469.7258 411.0685,-466.0335 410.9335,-473.0322"/> +<text text-anchor="middle" x="354.1811" y="-472.394" font-family="Times,serif" font-size="14.00" fill="#000000">:name</text> +</g> +<!-- node_0 --> +<g id="node13" class="node"> +<title>node_0</title> +<polygon fill="none" stroke="#000000" points="732.613,-515.594 664.613,-515.594 664.613,-479.594 732.613,-479.594 732.613,-515.594"/> +<text text-anchor="middle" x="698.613" y="-493.894" font-family="Times,serif" font-size="14.00" fill="#000000">"Solar"</text> +</g> +<!-- n->node_0 --> +<g id="edge13" class="edge"> +<title>n->node_0</title> +<path fill="none" stroke="#000000" d="M510.5949,-475.7679C551.9393,-480.5674 613.1261,-487.6703 654.3665,-492.4576"/> +<polygon fill="#000000" stroke="#000000" points="654.0604,-495.9455 664.3973,-493.6221 654.8677,-488.9922 654.0604,-495.9455"/> +<text text-anchor="middle" x="586.8685" y="-491.394" font-family="Times,serif" font-size="14.00" fill="#000000">:op1</text> +</g> +<!-- node_1 --> +<g id="node14" class="node"> +<title>node_1</title> +<polygon fill="none" stroke="#000000" points="740.113,-461.594 657.113,-461.594 657.113,-425.594 740.113,-425.594 740.113,-461.594"/> +<text text-anchor="middle" x="698.613" y="-439.894" font-family="Times,serif" font-size="14.00" fill="#000000">"System"</text> +</g> +<!-- n->node_1 --> +<g id="edge14" class="edge"> +<title>n->node_1</title> +<path fill="none" stroke="#000000" d="M510.5949,-465.4201C549.5072,-460.9029 605.9963,-454.3454 646.8898,-449.5983"/> +<polygon fill="#000000" stroke="#000000" points="647.4006,-453.0626 656.9303,-448.4327 646.5933,-446.1093 647.4006,-453.0626"/> +<text text-anchor="middle" x="586.8685" y="-462.394" font-family="Times,serif" font-size="14.00" fill="#000000">:op2</text> +</g> +<!-- g --> +<g id="node5" class="node"> +<title>g</title> +<ellipse fill="none" stroke="#000000" cx="466.0248" cy="-336.594" rx="70.6878" ry="70.6878"/> +<text text-anchor="middle" x="466.0248" y="-332.894" font-family="Times,serif" font-size="14.00" fill="#000000">g/gravitation</text> +</g> +<!-- b->g --> +<g id="edge4" class="edge"> +<title>b->g</title> +<path fill="none" stroke="#000000" d="M313.3594,-338.8019C335.2058,-338.4859 360.8113,-338.1156 384.7429,-337.7695"/> +<polygon fill="#000000" stroke="#000000" points="384.9327,-341.2672 394.881,-337.6229 384.8314,-334.268 384.9327,-341.2672"/> +<text text-anchor="middle" x="354.1811" y="-341.394" font-family="Times,serif" font-size="14.00" fill="#000000">:ARG0</text> +</g> +<!-- s2 --> +<g id="node7" class="node"> +<title>s2</title> +<ellipse fill="none" stroke="#000000" cx="897.3039" cy="-234.594" rx="40.8928" ry="40.8928"/> +<text text-anchor="middle" x="897.3039" y="-230.894" font-family="Times,serif" font-size="14.00" fill="#000000">s2/sun</text> +</g> +<!-- a->s2 --> +<g id="edge6" class="edge"> +<title>a->s2</title> +<path fill="none" stroke="#000000" d="M295.2203,-230.8234C403.3794,-231.5008 721.5314,-233.4932 846.2842,-234.2745"/> +<polygon fill="#000000" stroke="#000000" points="846.3163,-237.7747 856.338,-234.3375 846.3602,-230.7748 846.3163,-237.7747"/> +<text text-anchor="middle" x="586.8685" y="-236.394" font-family="Times,serif" font-size="14.00" fill="#000000">:op1</text> +</g> +<!-- o --> +<g id="node8" class="node"> +<title>o</title> +<ellipse fill="none" stroke="#000000" cx="466.0248" cy="-155.594" rx="48.1917" ry="48.1917"/> +<text text-anchor="middle" x="466.0248" y="-151.894" font-family="Times,serif" font-size="14.00" fill="#000000">o/object</text> +</g> +<!-- a->o --> +<g id="edge7" class="edge"> +<title>a->o</title> +<path fill="none" stroke="#000000" d="M292.8402,-218.2093C324.8478,-206.6369 373.1896,-189.1588 410.6723,-175.6068"/> +<polygon fill="#000000" stroke="#000000" points="412.2272,-178.7665 420.4413,-172.0748 409.847,-172.1835 412.2272,-178.7665"/> +<text text-anchor="middle" x="354.1811" y="-207.394" font-family="Times,serif" font-size="14.00" fill="#000000">:op2</text> +</g> +<!-- o2 --> +<g id="node9" class="node"> +<title>o2</title> +<ellipse fill="none" stroke="#000000" cx="698.613" cy="-144.594" rx="61.99" ry="61.99"/> +<text text-anchor="middle" x="698.613" y="-140.894" font-family="Times,serif" font-size="14.00" fill="#000000">o2/orbit-01</text> +</g> +<!-- o->o2 --> +<g id="edge8" class="edge"> +<title>o->o2</title> +<path fill="none" stroke="#000000" d="M514.2172,-153.3148C546.6911,-151.779 590.1036,-149.7258 626.648,-147.9975"/> +<polygon fill="#000000" stroke="#000000" points="626.935,-151.4879 636.7585,-147.5193 626.6043,-144.4958 626.935,-151.4879"/> +<text text-anchor="middle" x="586.8685" y="-155.394" font-family="Times,serif" font-size="14.00" fill="#000000">:ARG0-of</text> +</g> +<!-- o2->s2 --> +<g id="edge9" class="edge"> +<title>o2->s2</title> +<path fill="none" stroke="#000000" d="M755.6495,-168.7924C781.0839,-179.7625 811.3426,-193.0604 838.3576,-205.594 842.6576,-207.589 847.1151,-209.7006 851.5656,-211.8384"/> +<polygon fill="#000000" stroke="#000000" points="850.113,-215.0237 860.6385,-216.2342 853.1652,-208.7241 850.113,-215.0237"/> +<text text-anchor="middle" x="808.3576" y="-209.394" font-family="Times,serif" font-size="14.00" fill="#000000">:ARG1</text> +</g> +<!-- o3 --> +<g id="node10" class="node"> +<title>o3</title> +<ellipse fill="none" stroke="#000000" cx="897.3039" cy="-141.594" rx="34.394" ry="34.394"/> +<text text-anchor="middle" x="897.3039" y="-137.894" font-family="Times,serif" font-size="14.00" fill="#000000">o3/or</text> +</g> +<!-- o2->o3 --> +<g id="edge10" class="edge"> +<title>o2->o3</title> +<path fill="none" stroke="#000000" d="M760.3909,-143.6612C790.2909,-143.2098 825.5153,-142.6779 852.7476,-142.2668"/> +<polygon fill="#000000" stroke="#000000" points="852.8196,-145.7662 862.7656,-142.1155 852.7138,-138.767 852.8196,-145.7662"/> +<text text-anchor="middle" x="808.3576" y="-147.394" font-family="Times,serif" font-size="14.00" fill="#000000">:manner</text> +</g> +<!-- d --> +<g id="node11" class="node"> +<title>d</title> +<ellipse fill="none" stroke="#000000" cx="1072.8443" cy="-214.594" rx="61.99" ry="61.99"/> +<text text-anchor="middle" x="1072.8443" y="-210.894" font-family="Times,serif" font-size="14.00" fill="#000000">d/direct-02</text> +</g> +<!-- o3->d --> +<g id="edge11" class="edge"> +<title>o3->d</title> +<path fill="none" stroke="#000000" d="M929.5007,-154.9833C950.9219,-163.8915 979.8454,-175.9196 1006.1015,-186.8384"/> +<polygon fill="#000000" stroke="#000000" points="1005.0579,-190.195 1015.6353,-190.8031 1007.7458,-183.7316 1005.0579,-190.195"/> +<text text-anchor="middle" x="971.7503" y="-182.394" font-family="Times,serif" font-size="14.00" fill="#000000">:op1</text> +</g> +<!-- d2 --> +<g id="node12" class="node"> +<title>d2</title> +<ellipse fill="none" stroke="#000000" cx="1072.8443" cy="-67.594" rx="67.6881" ry="67.6881"/> +<text text-anchor="middle" x="1072.8443" y="-63.894" font-family="Times,serif" font-size="14.00" fill="#000000">d2/direct-02</text> +</g> +<!-- o3->d2 --> +<g id="edge12" class="edge"> +<title>o3->d2</title> +<path fill="none" stroke="#000000" d="M929.093,-128.1932C949.1553,-119.7358 975.9149,-108.4551 1000.904,-97.9208"/> +<polygon fill="#000000" stroke="#000000" points="1002.5219,-101.0371 1010.377,-93.9274 999.8027,-94.5869 1002.5219,-101.0371"/> +<text text-anchor="middle" x="971.7503" y="-119.394" font-family="Times,serif" font-size="14.00" fill="#000000">:op2</text> +</g> +<!-- node_2 --> +<g id="node15" class="node"> +<title>node_2</title> +<polygon fill="none" stroke="#000000" points="1291.4383,-85.594 1237.4383,-85.594 1237.4383,-49.594 1291.4383,-49.594 1291.4383,-85.594"/> +<text text-anchor="middle" x="1264.4383" y="-63.894" font-family="Times,serif" font-size="14.00" fill="#000000">-</text> +</g> +<!-- d2->node_2 --> +<g id="edge15" class="edge"> +<title>d2->node_2</title> +<path fill="none" stroke="#000000" d="M1140.6628,-67.594C1169.7319,-67.594 1202.5686,-67.594 1227.1125,-67.594"/> +<polygon fill="#000000" stroke="#000000" points="1227.4248,-71.0941 1237.4248,-67.594 1227.4247,-64.0941 1227.4248,-71.0941"/> +<text text-anchor="middle" x="1188.9383" y="-71.394" font-family="Times,serif" font-size="14.00" fill="#000000">:polarity</text> +</g> +</g> +</svg> diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.ttl new file mode 100644 index 0000000000000000000000000000000000000000..c7e3f5be695299fcdc463dc9d32906be6414335b --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document-01/document-01.stog.amr.ttl @@ -0,0 +1,99 @@ +@prefix ns1: <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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns3:Concept a rdfs:Class ; + rdfs:label "AMR-Concept" . + +ns3:Role a rdfs:Class ; + rdfs:label "AMR-Role" . + +<http://amr.isi.edu/amr_data/document-01#b> a ns1:bind-01 ; + ns1:bind-01.ARG0 <http://amr.isi.edu/amr_data/document-01#g> ; + ns1:bind-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s> . + +<http://amr.isi.edu/amr_data/document-01#o2> a ns1:orbit-01 ; + ns1:orbit-01.ARG0 <http://amr.isi.edu/amr_data/document-01#o> ; + ns1:orbit-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:manner <http://amr.isi.edu/amr_data/document-01#o3> . + +<http://amr.isi.edu/amr_data/document-01#root01> a ns3:AMR ; + ns3:has-id "document-01" ; + ns3:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." ; + ns3:root <http://amr.isi.edu/amr_data/document-01#s> . + +ns1:bind-01.ARG0 a ns1:FrameRole . + +ns1:bind-01.ARG1 a ns1:FrameRole . + +ns1:orbit-01.ARG0 a ns1:FrameRole . + +ns1:orbit-01.ARG1 a ns1:FrameRole . + +ns2:domain a ns3:Role . + +ns2:manner a ns3:Role . + +ns2:op1 a ns3:Role . + +ns2:op2 a ns3:Role . + +ns2:part a ns3:Role . + +<http://amr.isi.edu/amr_data/document-01#a> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#o> . + +<http://amr.isi.edu/amr_data/document-01#d> a ns1:direct-02 . + +<http://amr.isi.edu/amr_data/document-01#d2> a ns1:direct-02 ; + ns2:polarity "-" . + +<http://amr.isi.edu/amr_data/document-01#g> a ns2:gravitation . + +<http://amr.isi.edu/amr_data/document-01#o3> a ns3:or ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#d> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#d2> . + +<http://amr.isi.edu/amr_data/document-01#p> a <http://amr.isi.edu/entity-types#planet> ; + rdfs:label "Solar System" . + +<http://amr.isi.edu/entity-types#planet> a ns3:NamedEntity . + +ns1:bind-01 a ns3:Frame . + +ns1:orbit-01 a ns3:Frame . + +ns2:gravitation a ns3:Concept . + +ns2:object a ns3:Concept . + +ns2:sun a ns3:Concept . + +ns2:system a ns3:Concept . + +ns3:NamedEntity a ns3:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +ns3:and a ns3:Concept . + +ns3:or a ns3:Concept . + +<http://amr.isi.edu/amr_data/document-01#o> a ns2:object . + +<http://amr.isi.edu/amr_data/document-01#s> a ns2:system ; + ns2:domain <http://amr.isi.edu/amr_data/document-01#p> ; + ns2:part <http://amr.isi.edu/amr_data/document-01#a> . + +<http://amr.isi.edu/amr_data/document-01#s2> a ns2:sun . + +ns1:direct-02 a ns3:Frame . + +ns3:Frame a ns3:Concept ; + rdfs:label "AMR-PropBank-Frame" . + +ns1:FrameRole a ns3:Role ; + rdfs:label "AMR-PropBank-Role" . + diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document.sentence.txt b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document.sentence.txt new file mode 100644 index 0000000000000000000000000000000000000000..a6d17ba98c752a56375930a6061adecd529093ca --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/document.sentence.txt @@ -0,0 +1 @@ +The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.. \ No newline at end of file diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/full-ontology.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/full-ontology.ttl new file mode 100644 index 0000000000000000000000000000000000000000..ab06ee26060430453230b30353d806a618e36250 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/full-ontology.ttl @@ -0,0 +1,162 @@ +@prefix ns1: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns2: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns1:atomClass_gravitation_g ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation> . + +ns1:atomClass_object_o ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#object> . + +ns1:atomClass_sun_s2 ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#sun> . + +ns1:atomClass_system_p ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> . + +ns1:atomClass_system_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> . + +ns1:atomProperty_bind_b ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#bind-of> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#bind> . + +ns1:atomProperty_direct_d ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#direct-of> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#direct> . + +ns1:atomProperty_hasManner_m9 ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#hasManner> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#hasManner> . + +ns1:atomProperty_hasPart_p9 ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#hasPart> . + +ns1:atomProperty_orbit_o2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit> . + +ns1:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation-binding-system-hasPart-sun-and-object> . + +ns1:compositeClass_system-hasPart-sun-and-object-hasPart-object_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object> . + +ns1:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> . + +ns1:compositeClass_system-hasPart-sun-and-object_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> . + +ns1:compositeProperty_not-direct_d2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#not-direct> . + +ns1:compositeProperty_orbit-hasManner-direct_o2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> . + +ns1:compositeProperty_orbit-hasManner-not-direct_o2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-not-direct> . + +ns1:individual_system_SolarSystem ns1:hasIndividualURI <https://tenet.tetras-libre.fr/extract-result#solar-system> . + +<https://tenet.tetras-libre.fr/extract-result#bind> a owl:ObjectProperty ; + rdfs:label "bind" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#direct> a owl:ObjectProperty ; + rdfs:label "direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#direct-of> a owl:ObjectProperty ; + rdfs:label "direct-of" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#gravitation-binding-system-hasPart-sun-and-object> a owl:Class ; + rdfs:label "gravitation-binding-system-hasPart-sun-and-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#bind-of> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ], + <https://tenet.tetras-libre.fr/extract-result#gravitation> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ; + rdfs:label "not-direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> a owl:ObjectProperty ; + rdfs:label "orbit-hasManner-direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty, + <https://tenet.tetras-libre.fr/extract-result#orbit> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-not-direct> a owl:ObjectProperty ; + rdfs:label "orbit-hasManner-not-direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty, + <https://tenet.tetras-libre.fr/extract-result#orbit> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#solar-system> a owl:individual, + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> ; + rdfs:label "Solar System" ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#bind-of> a owl:ObjectProperty ; + rdfs:label "bind-of" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#gravitation> a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#hasManner> a owl:ObjectProperty ; + rdfs:label "hasManner" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object-hasPart-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object-hasPart-sun" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#sun> ], + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ; + rdfs:label "sun" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#sun> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + <https://tenet.tetras-libre.fr/extract-result#system> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system> a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies.ttl new file mode 100644 index 0000000000000000000000000000000000000000..913fb477c4189cd079f9aeb96855089160c785b7 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies.ttl @@ -0,0 +1,870 @@ +@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/document-01#b> a ns11:bind-01 ; + ns11:bind-01.ARG0 <http://amr.isi.edu/amr_data/document-01#g> ; + ns11:bind-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s> . + +<http://amr.isi.edu/amr_data/document-01#o2> a ns11:orbit-01 ; + ns11:orbit-01.ARG0 <http://amr.isi.edu/amr_data/document-01#o> ; + ns11:orbit-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:manner <http://amr.isi.edu/amr_data/document-01#o3> . + +<http://amr.isi.edu/amr_data/document-01#root01> a ns3:AMR ; + ns3:has-id "document-01" ; + ns3:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." ; + ns3:root <http://amr.isi.edu/amr_data/document-01#s> . + +<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:bind-01.ARG0 a ns11:FrameRole . + +ns11:bind-01.ARG1 a ns11:FrameRole . + +ns11:orbit-01.ARG0 a ns11:FrameRole . + +ns11:orbit-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns3:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:manner a ns3:Role . + +ns2:op1 a ns3:Role . + +ns2:op2 a ns3:Role . + +ns2:part 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_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Prep_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +: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_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +: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_ARG0 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG1 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:role_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_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_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_name a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_op1 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +: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:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net: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:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Axiom_Net a owl:Class ; + rdfs:subClassOf net:Axiom_Net . + +net:Property_Direction a owl:Class ; + rdfs:subClassOf net:Feature . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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: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: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: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:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/document-01#a> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#o> . + +<http://amr.isi.edu/amr_data/document-01#d> a ns11:direct-02 . + +<http://amr.isi.edu/amr_data/document-01#d2> a ns11:direct-02 ; + ns2:polarity "-" . + +<http://amr.isi.edu/amr_data/document-01#g> a ns2:gravitation . + +<http://amr.isi.edu/amr_data/document-01#o3> a ns3:or ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#d> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#d2> . + +<http://amr.isi.edu/amr_data/document-01#p> a <http://amr.isi.edu/entity-types#planet> ; + rdfs:label "Solar System" . + +<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" . + +<http://amr.isi.edu/entity-types#planet> a ns3:NamedEntity . + +ns11:bind-01 a ns3:Frame . + +ns11:orbit-01 a ns3:Frame . + +ns2:gravitation a ns3:Concept . + +ns2:object a ns3:Concept . + +ns2:sun a ns3:Concept . + +ns2:system a ns3:Concept . + +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 . + +ns3:and a ns3:Concept . + +ns3:or a ns3:Concept . + +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:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +<http://amr.isi.edu/amr_data/document-01#o> a ns2:object . + +<http://amr.isi.edu/amr_data/document-01#s> a ns2:system ; + ns2:domain <http://amr.isi.edu/amr_data/document-01#p> ; + ns2:part <http://amr.isi.edu/amr_data/document-01#a> . + +<http://amr.isi.edu/amr_data/document-01#s2> a ns2:sun . + +ns11:direct-02 a ns3:Frame . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +ns3:Frame a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +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 . + +ns11:FrameRole a ns3:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +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 . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_Linked_Data a owl:Class . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +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 . + +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 . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_factoid.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_factoid.ttl new file mode 100644 index 0000000000000000000000000000000000000000..ab06ee26060430453230b30353d806a618e36250 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_factoid.ttl @@ -0,0 +1,162 @@ +@prefix ns1: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns2: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns1:atomClass_gravitation_g ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation> . + +ns1:atomClass_object_o ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#object> . + +ns1:atomClass_sun_s2 ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#sun> . + +ns1:atomClass_system_p ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> . + +ns1:atomClass_system_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> . + +ns1:atomProperty_bind_b ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#bind-of> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#bind> . + +ns1:atomProperty_direct_d ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#direct-of> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#direct> . + +ns1:atomProperty_hasManner_m9 ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#hasManner> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#hasManner> . + +ns1:atomProperty_hasPart_p9 ns1:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#hasPart> . + +ns1:atomProperty_orbit_o2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit> . + +ns1:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation-binding-system-hasPart-sun-and-object> . + +ns1:compositeClass_system-hasPart-sun-and-object-hasPart-object_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object> . + +ns1:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> . + +ns1:compositeClass_system-hasPart-sun-and-object_s ns1:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> . + +ns1:compositeProperty_not-direct_d2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#not-direct> . + +ns1:compositeProperty_orbit-hasManner-direct_o2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> . + +ns1:compositeProperty_orbit-hasManner-not-direct_o2 ns1:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-not-direct> . + +ns1:individual_system_SolarSystem ns1:hasIndividualURI <https://tenet.tetras-libre.fr/extract-result#solar-system> . + +<https://tenet.tetras-libre.fr/extract-result#bind> a owl:ObjectProperty ; + rdfs:label "bind" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#direct> a owl:ObjectProperty ; + rdfs:label "direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#direct-of> a owl:ObjectProperty ; + rdfs:label "direct-of" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#gravitation-binding-system-hasPart-sun-and-object> a owl:Class ; + rdfs:label "gravitation-binding-system-hasPart-sun-and-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#bind-of> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ], + <https://tenet.tetras-libre.fr/extract-result#gravitation> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ; + rdfs:label "not-direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> a owl:ObjectProperty ; + rdfs:label "orbit-hasManner-direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty, + <https://tenet.tetras-libre.fr/extract-result#orbit> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-not-direct> a owl:ObjectProperty ; + rdfs:label "orbit-hasManner-not-direct" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty, + <https://tenet.tetras-libre.fr/extract-result#orbit> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#solar-system> a owl:individual, + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> ; + rdfs:label "Solar System" ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#bind-of> a owl:ObjectProperty ; + rdfs:label "bind-of" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#gravitation> a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#hasManner> a owl:ObjectProperty ; + rdfs:label "hasManner" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object-hasPart-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object-hasPart-sun" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#sun> ], + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ; + rdfs:label "sun" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#sun> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + <https://tenet.tetras-libre.fr/extract-result#system> ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf ns2:Out_ObjectProperty ; + ns2:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system> a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf ns2:Entity ; + ns2:fromStructure "document-01" . + diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_generation.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_generation.ttl new file mode 100644 index 0000000000000000000000000000000000000000..e7c644867bc5b5ed039ff066c96b4c71560619a6 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_generation.ttl @@ -0,0 +1,1745 @@ +@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:bind-01.ARG0 a ns11:FrameRole . + +ns11:bind-01.ARG1 a ns11:FrameRole . + +ns11:orbit-01.ARG0 a ns11:FrameRole . + +ns11:orbit-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns3:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:op1 a ns3:Role . + +ns2:op2 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_a_op1_s2 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_o a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_ARG0_g a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_b_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_d2_polarity_negative a :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +:edge_m9_ARG0_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_m9_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o3_op1_d a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_o3_op2_d2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_p9_ARG0_s a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_p9_ARG1_a a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p_name_SolarSystem a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_s_domain_p a :AMR_Edge ; + :hasAmrRole :role_domain ; + :hasRoleID "domain" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_have-degree-91 a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + +:role_manner a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_document-01 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#root01> ; + :hasRootLeaf :leaf_system_s ; + :hasSentenceID "document-01" ; + :hasSentenceStatement "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Instance a owl:Class ; + rdfs:label "Semantic Net Instance" ; + rdfs:subClassOf net:Net_Structure . + +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:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:axiom_disjointProperty_direct_not-direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_direct_not-direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "document-01" . + +net:axiom_disjointProperty_not-direct_direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-direct_direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "document-01" . + +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_orbit-hasManner-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> ; + net:hasRestriction net:restriction_hasManner-direct_m9 ; + net:hasStructure "document-01" . + +net:compositeProperty_orbit-hasManner-not-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-not-direct> ; + net:hasRestriction net:restriction_hasManner-not-direct_m9 ; + net:hasStructure "document-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: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:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/document-01#b> a ns11:bind-01 ; + ns11:bind-01.ARG0 <http://amr.isi.edu/amr_data/document-01#g> ; + ns11:bind-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#o2> a ns11:orbit-01 ; + ns11:orbit-01.ARG0 <http://amr.isi.edu/amr_data/document-01#o> ; + ns11:orbit-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:manner <http://amr.isi.edu/amr_data/document-01#o3> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#root01> a ns3:AMR ; + ns3:has-id "document-01" ; + ns3:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." ; + ns3:root <http://amr.isi.edu/amr_data/document-01#s> . + +<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" . + +<http://amr.isi.edu/entity-types#planet> a ns3:NamedEntity ; + rdfs:comment "bug" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_bind-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:bind-01 ; + :label "bind-01" . + +:concept_gravitation rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:gravitation ; + :label "gravitation" . + +:concept_manner rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns2:manner ; + :isReifiedConcept true ; + :label "hasManner" . + +:concept_object rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:object ; + :label "object" . + +:concept_or rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:or ; + :hasPhenomenaLink :phenomena_conjunction_or ; + :label "or" . + +: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_sun rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:sun ; + :label "sun" . + +:role_domain a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_polarity a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#a> ; + :label "a" . + +:variable_b a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#b> ; + :label "b" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#d> ; + :label "d" . + +:variable_d2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#d2> ; + :label "d2" . + +:variable_g a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#g> ; + :label "g" . + +:variable_m9 a ns2:manner, + :AMR_Variable ; + :isReifiedVariable true ; + :label "m9" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o> ; + :label "o" . + +:variable_o2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o2> ; + :label "o2" . + +:variable_o3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o3> ; + :label "o3" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#p> ; + :label "p" ; + :name "Solar System" . + +:variable_p9 a ns2:part, + :AMR_Variable ; + :isReifiedVariable true ; + :label "p9" . + +:variable_s a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#s> ; + :label "s" . + +:variable_s2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#s2> ; + :label "s2" . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +<https://tenet.tetras-libre.fr/extract-result#bind> a owl:ObjectProperty ; + rdfs:label "bind" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#direct> a owl:ObjectProperty ; + rdfs:label "direct" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#direct-of> a owl:ObjectProperty ; + rdfs:label "direct-of" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#gravitation-binding-system-hasPart-sun-and-object> a owl:Class ; + rdfs:label "gravitation-binding-system-hasPart-sun-and-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#bind-of> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ], + <https://tenet.tetras-libre.fr/extract-result#gravitation> ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#not-direct> a owl:ObjectProperty ; + rdfs:label "not-direct" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-direct> a owl:ObjectProperty ; + rdfs:label "orbit-hasManner-direct" ; + rdfs:subPropertyOf sys:Out_ObjectProperty, + <https://tenet.tetras-libre.fr/extract-result#orbit> ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit-hasManner-not-direct> a owl:ObjectProperty ; + rdfs:label "orbit-hasManner-not-direct" ; + rdfs:subPropertyOf sys:Out_ObjectProperty, + <https://tenet.tetras-libre.fr/extract-result#orbit> ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#solar-system> a owl:individual, + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> ; + rdfs:label "Solar System" ; + sys:fromStructure "document-01" . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_bind_b a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_gravitation_g, + net:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g ; + :role_ARG1 net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:coverBaseNode :leaf_bind-01_b ; + net:coverNode :leaf_bind-01_b ; + net:hasNaming "bind" ; + net:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#bind-of> ; + net:hasPropertyName "bind" ; + net:hasPropertyName01 "binding" ; + net:hasPropertyName10 "bind-by" ; + net:hasPropertyName12 "bind-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#bind> ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_gravitation_g, + :leaf_system_s ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g a net:Composite_Class_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_and_a, + :leaf_bind-01_b, + :leaf_gravitation_g, + :leaf_hasPart_p9, + :leaf_system_s ; + net:coverNodeCount 5 ; + net:hasClassName "gravitation-binding-system-hasPart-sun-and-object" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation-binding-system-hasPart-sun-and-object> ; + net:hasMotherClassNet net:atomClass_gravitation_g ; + net:hasRestriction01 net:restriction_binding_system-hasPart-sun-and-object ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:atomClass_sun_s2 ; + :role_op2 net:atomClass_object_o ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:phenomena_conjunction-OR_o3 a net:Phenomena_Net ; + :role_op1 net:atomProperty_direct_d ; + :role_op2 net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_or_o3 ; + net:coverNode :leaf_or_o3 ; + net:hasNaming "conjunction-OR" ; + net:hasPhenomenaRef "or" ; + net:hasPhenomenaType :phenomena_conjunction_or ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:restriction_binding_system-hasPart-sun-and-object a net:Restriction_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_and_a, + :leaf_bind-01_b, + :leaf_gravitation_g, + :leaf_hasPart_p9, + :leaf_system_s ; + net:coverTargetNode :leaf_and_a, + :leaf_bind-01_b, + :leaf_hasPart_p9, + :leaf_system_s ; + net:hasNaming "gravitation-binding-system-hasPart-sun-and-object" ; + net:hasRestrictionNetValue net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestrictionOnProperty net:atomProperty_bind_b . + +net:restriction_hasManner-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-direct" ; + net:hasRestrictionNetValue net:atomProperty_direct_d, + net:atomProperty_direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "document-01" . + +net:restriction_hasManner-not-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_hasManner_m9, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-not-direct" ; + net:hasRestrictionNetValue net:compositeProperty_not-direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "document-01" . + +<http://amr.isi.edu/amr_data/document-01#a> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#o> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#d> a ns11:direct-02 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#d2> a ns11:direct-02 ; + ns2:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#g> a ns2:gravitation ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#o3> a ns3:or ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#d> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#d2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#p> a <http://amr.isi.edu/entity-types#planet>, + <http://amr.isi.edu/entity-types#system> ; + rdfs:label "Solar System" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#system> a ns3:NamedEntity ; + rdfs:label "system" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:bind-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:orbit-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:gravitation a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:manner a ns3:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:object 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:NamedEntity a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:and a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:or 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_direct-02 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:direct-02 ; + :label "direct-02" . + +:concept_system rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk <http://amr.isi.edu/entity-types#system>, + ns2:system ; + :label "system" . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:role_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:value_negative a :AMR_Value ; + rdfs:label "negative" . + +<https://tenet.tetras-libre.fr/extract-result#bind-of> a owl:ObjectProperty ; + rdfs:label "bind-of" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#gravitation> a owl:Class ; + rdfs:label "gravitation" ; + rdfs:subClassOf sys:Entity ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#hasManner> a owl:ObjectProperty ; + rdfs:label "hasManner" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object-hasPart-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object-hasPart-sun" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#sun> ], + <https://tenet.tetras-libre.fr/extract-result#system>, + <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ; + sys:fromStructure "document-01" . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_gravitation_g a net:Atom_Class_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_gravitation_g ; + net:coverNodeCount 1 ; + net:hasClassName "gravitation" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#gravitation> ; + net:hasNaming "gravitation" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:logicalSet_and_a a net:Logical_Set_Net ; + :role_op1 net:atomClass_sun_s2 ; + :role_op2 net:atomClass_object_o ; + net:bindPropertyNet net:atomProperty_hasPart_p9 ; + net:bindRestriction net:restriction_hasPart_object, + net:restriction_hasPart_sun ; + net:containsNet net:atomClass_object_o, + net:atomClass_sun_s2 ; + net:containsNet1 net:atomClass_sun_s2 ; + net:containsNet2 net:atomClass_object_o ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasLogicalConstraint "AND" ; + net:hasNaming "hasPart-sun-and-object" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:hasNaming "Solar System" ; + net:hasStructure "document-01" ; + net:hasValueLabel "Solar System" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:value_negative_blankNode a net:Value_Net ; + net:hasNaming "negative" ; + net:hasStructure "document-01" ; + net:hasValueLabel "negative" ; + net:trackProgress net:initialized, + net:relation_propagated . + +<http://amr.isi.edu/amr_data/document-01#o> a ns2:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#s> a ns2:system ; + ns2:domain <http://amr.isi.edu/amr_data/document-01#p> ; + ns2:part <http://amr.isi.edu/amr_data/document-01#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#s2> a ns2:sun ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:direct-02 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:Frame a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_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 . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +<https://tenet.tetras-libre.fr/extract-result#object> a owl:Class ; + rdfs:label "object" ; + rdfs:subClassOf sys:Entity ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#orbit> a owl:ObjectProperty ; + rdfs:label "orbit" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#sun> a owl:Class ; + rdfs:label "sun" ; + rdfs:subClassOf sys:Entity ; + sys:fromStructure "document-01" . + +net:Axiom_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:compositeClass_system-hasPart-sun-and-object-hasPart-object_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_object_o, + :leaf_system_s ; + net:coverNodeCount 4 ; + net:hasClassName "system-hasPart-sun-and-object-hasPart-object" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-object> ; + net:hasMotherClassNet net:atomClass_system_p, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestriction01 net:restriction_hasPart_object ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_sun_s2, + :leaf_system_s ; + net:coverNodeCount 4 ; + net:hasClassName "system-hasPart-sun-and-object-hasPart-sun" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object-hasPart-sun> ; + net:hasMotherClassNet net:atomClass_system_p, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestriction01 net:restriction_hasPart_sun ; + net:hasStructure "document-01" ; + 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 . + +net:restriction_hasPart_object a net:Restriction_Net ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_object_o, + :leaf_system_s ; + net:coverTargetNode :leaf_hasPart_p9, + :leaf_object_o ; + net:hasNaming "system-hasPart-sun-and-object-hasPart-object" ; + net:hasRestrictionNetValue net:atomClass_object_o ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 . + +net:restriction_hasPart_sun a net:Restriction_Net ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_sun_s2, + :leaf_system_s ; + net:coverTargetNode :leaf_hasPart_p9, + :leaf_sun_s2 ; + net:hasNaming "system-hasPart-sun-and-object-hasPart-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 . + +ns11:FrameRole a ns3:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:leaf_or_o3 a :AMR_Leaf ; + :edge_o3_op1_d :leaf_direct-02_d ; + :edge_o3_op2_d2 :leaf_direct-02_d2 ; + :hasConcept :concept_or ; + :hasVariable :variable_o3 . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:atomProperty_hasPart_p9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + :role_ARG1 net:atomClass_object_o, + net:atomClass_sun_s2, + net:logicalSet_and_a, + net:phenomena_conjunction-AND_a ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9 ; + net:hasNaming "hasPart" ; + net:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + net:hasPropertyName "hasPart" ; + net:hasPropertyName01 "hasPart" ; + net:hasPropertyName10 "hasPart" ; + net:hasPropertyName12 "hasPart" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_and_a, + :leaf_system_s ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:individual_system_SolarSystem a net:Individual_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:hasIndividualLabel "Solar System" ; + net:hasIndividualURI <https://tenet.tetras-libre.fr/extract-result#solar-system> ; + net:hasMotherClassName net:atomClass_system_p ; + net:hasMotherClassNet net:atomClass_system_p, + net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasNaming "system" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_bind-01_b a :AMR_Leaf ; + :edge_b_ARG0_g :leaf_gravitation_g ; + :edge_b_ARG1_s :leaf_system_s ; + :hasConcept :concept_bind-01 ; + :hasVariable :variable_b . + +:leaf_direct-02_d a :AMR_Leaf ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_system_p a :AMR_Leaf ; + :edge_p_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_p . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +<https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> a owl:Class ; + rdfs:label "system-hasPart-sun-and-object" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#sun> ], + [ a owl:Restriction ; + owl:onProperty <https://tenet.tetras-libre.fr/extract-result#hasPart> ; + owl:someValuesFrom <https://tenet.tetras-libre.fr/extract-result#object> ], + <https://tenet.tetras-libre.fr/extract-result#system> ; + sys:fromStructure "document-01" . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_direct_d a net:Atom_Property_Net ; + net:coverBaseNode :leaf_direct-02_d ; + net:coverNode :leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#direct-of> ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#direct> ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#orbit> ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s2 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +<https://tenet.tetras-libre.fr/extract-result#hasPart> a owl:ObjectProperty ; + rdfs:label "hasPart" ; + rdfs:subPropertyOf sys:Out_ObjectProperty ; + sys:fromStructure "document-01" . + +<https://tenet.tetras-libre.fr/extract-result#system> a owl:Class ; + rdfs:label "system" ; + rdfs:subClassOf sys:Entity ; + sys:fromStructure "document-01" . + +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)." . + +net:atomClass_system_s a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_system_s ; + net:coverNodeCount 1 ; + net:hasClassName "system" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> ; + net:hasMotherClassNet net:atomClass_system_p ; + net:hasNaming "system" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_hasManner_m9 a net:Atom_Property_Net ; + :role_ARG0 net:atomProperty_orbit_o2 ; + :role_ARG1 net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2, + net:phenomena_conjunction-OR_o3 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_hasManner_m9 ; + net:hasNaming "hasManner" ; + net:hasProperty12URI <https://tenet.tetras-libre.fr/extract-result#hasManner> ; + net:hasPropertyName "hasManner" ; + net:hasPropertyName01 "hasManner" ; + net:hasPropertyName10 "hasManner" ; + net:hasPropertyName12 "hasManner" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#hasManner> ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_or_o3, + :leaf_orbit-01_o2 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeClass_system-hasPart-sun-and-object_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_system_s ; + net:coverNodeCount 3 ; + net:hasClassName "system-hasPart-sun-and-object" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system-hasPart-sun-and-object> ; + net:hasMotherClassNet net:atomClass_system_p, + net:atomClass_system_s ; + net:hasNaming "system-hasPart-sun-and-object" ; + net:hasRestriction01 net:restriction_hasPart_object, + net:restriction_hasPart_sun ; + net:hasStructure "document-01" ; + net:trackMainNetComposante net:atomClass_system_s ; + net:trackNetComposante net:atomClass_system_s, + net:atomProperty_hasPart_p9, + net:logicalSet_and_a ; + net:trackProgress net:initialized, + net:relation_propagated . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +:leaf_gravitation_g a :AMR_Leaf ; + :hasConcept :concept_gravitation ; + :hasVariable :variable_g . + +:leaf_hasManner_m9 a :AMR_Leaf ; + :edge_m9_ARG0_o2 :leaf_orbit-01_o2 ; + :edge_m9_ARG1_o3 :leaf_or_o3 ; + :hasConcept :concept_manner ; + :hasVariable :variable_m9 ; + :isReifiedLeaf true . + +: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_s2 :leaf_sun_s2 ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +:leaf_sun_s2 a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s2 . + +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:atomClass_object_o a net:Atom_Class_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:coverNodeCount 1 ; + net:hasClassName "object" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#object> ; + net:hasNaming "object" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomClass_sun_s2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_sun_s2 ; + net:coverNode :leaf_sun_s2 ; + net:coverNodeCount 1 ; + net:hasClassName "sun" ; + net:hasClassType sys:Entity ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#sun> ; + net:hasNaming "sun" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeProperty_not-direct_d2 a net:Composite_Property_Net ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasPropertyURI <https://tenet.tetras-libre.fr/extract-result#not-direct> ; + net:hasStructure "document-01" . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:atomClass_system_p a net:Atom_Class_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:coverNodeCount 1 ; + net:hasClassName "system" ; + net:hasClassURI <https://tenet.tetras-libre.fr/extract-result#system> ; + net:hasNaming "system" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_direct_d2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :value_negative ; + net:trackProgress net:initialized, + net:relation_propagated . + +:leaf_hasPart_p9 a :AMR_Leaf ; + :edge_p9_ARG0_s :leaf_system_s ; + :edge_p9_ARG1_a :leaf_and_a ; + :hasConcept :concept_part ; + :hasVariable :variable_p9 ; + :isReifiedLeaf true . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_direct-02_d2 a :AMR_Leaf ; + :edge_d2_polarity_negative :value_negative ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d2 . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_s2 :leaf_sun_s2 ; + :edge_a_op2_o :leaf_object_o ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_system_s a :AMR_Leaf ; + :edge_s_domain_p :leaf_system_p ; + :hasConcept :concept_system ; + :hasVariable :variable_s . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_preprocessing.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_preprocessing.ttl new file mode 100644 index 0000000000000000000000000000000000000000..65757618b6a4b41efa400eceb1d34ef0ee259803 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_preprocessing.ttl @@ -0,0 +1,1144 @@ +@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:bind-01.ARG0 a ns11:FrameRole . + +ns11:bind-01.ARG1 a ns11:FrameRole . + +ns11:orbit-01.ARG0 a ns11:FrameRole . + +ns11:orbit-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns3:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:op1 a ns3:Role . + +ns2:op2 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_a_op1_s2 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_o a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_ARG0_g a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_b_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_d2_polarity_negative a :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +:edge_m9_ARG0_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_m9_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o3_op1_d a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_o3_op2_d2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_p9_ARG0_s a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_p9_ARG1_a a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p_name_SolarSystem a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_s_domain_p a :AMR_Edge ; + :hasAmrRole :role_domain ; + :hasRoleID "domain" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_bind-01_b a :AMR_Leaf ; + :edge_b_ARG0_g :leaf_gravitation_g ; + :edge_b_ARG1_s :leaf_system_s ; + :hasConcept :concept_bind-01 ; + :hasVariable :variable_b . + +:leaf_hasManner_m9 a :AMR_Leaf ; + :edge_m9_ARG0_o2 :leaf_orbit-01_o2 ; + :edge_m9_ARG1_o3 :leaf_or_o3 ; + :hasConcept :concept_manner ; + :hasVariable :variable_m9 ; + :isReifiedLeaf true . + +:leaf_hasPart_p9 a :AMR_Leaf ; + :edge_p9_ARG0_s :leaf_system_s ; + :edge_p9_ARG1_a :leaf_and_a ; + :hasConcept :concept_part ; + :hasVariable :variable_p9 ; + :isReifiedLeaf true . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_have-degree-91 a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + +:role_manner a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_document-01 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#root01> ; + :hasRootLeaf :leaf_system_s ; + :hasSentenceID "document-01" ; + :hasSentenceStatement "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net: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:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Axiom_Net a owl:Class ; + rdfs:subClassOf net:Axiom_Net . + +net:Property_Direction a owl:Class ; + rdfs:subClassOf net:Feature . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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: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: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: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:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/document-01#b> a ns11:bind-01 ; + ns11:bind-01.ARG0 <http://amr.isi.edu/amr_data/document-01#g> ; + ns11:bind-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#o2> a ns11:orbit-01 ; + ns11:orbit-01.ARG0 <http://amr.isi.edu/amr_data/document-01#o> ; + ns11:orbit-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:manner <http://amr.isi.edu/amr_data/document-01#o3> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#root01> a ns3:AMR ; + ns3:has-id "document-01" ; + ns3:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." ; + ns3:root <http://amr.isi.edu/amr_data/document-01#s> . + +<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" . + +<http://amr.isi.edu/entity-types#planet> a ns3:NamedEntity ; + rdfs:comment "bug" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_bind-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:bind-01 ; + :label "bind-01" . + +:concept_gravitation rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:gravitation ; + :label "gravitation" . + +:concept_manner rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns2:manner ; + :isReifiedConcept true ; + :label "hasManner" . + +:concept_object rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:object ; + :label "object" . + +:concept_or rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:or ; + :hasPhenomenaLink :phenomena_conjunction_or ; + :label "or" . + +: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_sun rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:sun ; + :label "sun" . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_s2 :leaf_sun_s2 ; + :edge_a_op2_o :leaf_object_o ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:leaf_direct-02_d a :AMR_Leaf ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_direct-02_d2 a :AMR_Leaf ; + :edge_d2_polarity_negative :value_negative ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d2 . + +:leaf_gravitation_g a :AMR_Leaf ; + :hasConcept :concept_gravitation ; + :hasVariable :variable_g . + +:leaf_or_o3 a :AMR_Leaf ; + :edge_o3_op1_d :leaf_direct-02_d ; + :edge_o3_op2_d2 :leaf_direct-02_d2 ; + :hasConcept :concept_or ; + :hasVariable :variable_o3 . + +:leaf_orbit-01_o2 a :AMR_Leaf ; + :edge_o2_ARG0_o :leaf_object_o ; + :edge_o2_ARG1_s2 :leaf_sun_s2 ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +:leaf_system_p a :AMR_Leaf ; + :edge_p_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_p . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:role_domain a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_name a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +:value_negative a :AMR_Value ; + rdfs:label "negative" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#a> ; + :label "a" . + +:variable_b a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#b> ; + :label "b" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#d> ; + :label "d" . + +:variable_d2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#d2> ; + :label "d2" . + +:variable_g a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#g> ; + :label "g" . + +:variable_m9 a ns2:manner, + :AMR_Variable ; + :isReifiedVariable true ; + :label "m9" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o> ; + :label "o" . + +:variable_o2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o2> ; + :label "o2" . + +:variable_o3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o3> ; + :label "o3" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#p> ; + :label "p" ; + :name "Solar System" . + +:variable_p9 a ns2:part, + :AMR_Variable ; + :isReifiedVariable true ; + :label "p9" . + +:variable_s a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#s> ; + :label "s" . + +:variable_s2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#s2> ; + :label "s2" . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Axiom_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +<http://amr.isi.edu/amr_data/document-01#a> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#o> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#d> a ns11:direct-02 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#d2> a ns11:direct-02 ; + ns2:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#g> a ns2:gravitation ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#o3> a ns3:or ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#d> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#d2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#p> a <http://amr.isi.edu/entity-types#planet>, + <http://amr.isi.edu/entity-types#system> ; + rdfs:label "Solar System" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#system> a ns3:NamedEntity ; + rdfs:label "system" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:bind-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:orbit-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:gravitation a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:manner a ns3:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:object 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:NamedEntity a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:and a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:or 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_direct-02 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:direct-02 ; + :label "direct-02" . + +:concept_system rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk <http://amr.isi.edu/entity-types#system>, + ns2:system ; + :label "system" . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_object_o a :AMR_Leaf ; + :hasConcept :concept_object ; + :hasVariable :variable_o . + +:leaf_sun_s2 a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s2 . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:role_op1 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +<http://amr.isi.edu/amr_data/document-01#o> a ns2:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#s> a ns2:system ; + ns2:domain <http://amr.isi.edu/amr_data/document-01#p> ; + ns2:part <http://amr.isi.edu/amr_data/document-01#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#s2> a ns2:sun ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:direct-02 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:Frame a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_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_system_s a :AMR_Leaf ; + :edge_s_domain_p :leaf_system_p ; + :hasConcept :concept_system ; + :hasVariable :variable_s . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +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 . + +ns11:FrameRole a ns3:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:role_ARG0 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG1 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +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_Structure a owl:Class . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +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 . + +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 . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +: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/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_transduction.ttl b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_transduction.ttl new file mode 100644 index 0000000000000000000000000000000000000000..bd04784c688d43aadd50980d22bad75491fd20c9 --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/ontologies-1/ontologies_transduction.ttl @@ -0,0 +1,1606 @@ +@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:bind-01.ARG0 a ns11:FrameRole . + +ns11:bind-01.ARG1 a ns11:FrameRole . + +ns11:orbit-01.ARG0 a ns11:FrameRole . + +ns11:orbit-01.ARG1 a ns11:FrameRole . + +ns2:domain a ns3:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:op1 a ns3:Role . + +ns2:op2 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_a_op1_s2 a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_o a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_b_ARG0_g a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_b_ARG1_s a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_d2_polarity_negative a :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +:edge_m9_ARG0_o2 a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_m9_ARG1_o3 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o2_ARG0_o a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_o2_ARG1_s2 a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o3_op1_d a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_o3_op2_d2 a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_p9_ARG0_s a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_p9_ARG1_a a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_p_name_SolarSystem a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_s_domain_p a :AMR_Edge ; + :hasAmrRole :role_domain ; + :hasRoleID "domain" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_degree a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_ARG2 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_ARG3 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + +:role_ARG4 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + +:role_ARG5 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + +:role_ARG6 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + +:role_ARG7 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + +:role_ARG8 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + +:role_ARG9 a owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + +:role_have-degree-91 a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + +:role_manner a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_mod a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf, + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_document-01 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#root01> ; + :hasRootLeaf :leaf_system_s ; + :hasSentenceID "document-01" ; + :hasSentenceStatement "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Instance a owl:Class ; + rdfs:label "Semantic Net Instance" ; + rdfs:subClassOf net:Net_Structure . + +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:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:axiom_disjointProperty_direct_not-direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_direct_not-direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "document-01" . + +net:axiom_disjointProperty_not-direct_direct_d2 a net:Axiom_Net ; + net:composeFrom net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-direct_direct" ; + net:hasNetArgument net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:hasStructure "document-01" . + +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_orbit-hasManner-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasRestriction net:restriction_hasManner-direct_m9 ; + net:hasStructure "document-01" . + +net:compositeProperty_orbit-hasManner-not-direct_o2 a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:composeFrom net:atomProperty_hasManner_m9, + net:atomProperty_orbit_o2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9, + :leaf_orbit-01_o2 ; + net:hasMotherPropertyNet net:atomProperty_orbit_o2 ; + net:hasNaming "orbit-hasManner-not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasRestriction net:restriction_hasManner-not-direct_m9 ; + net:hasStructure "document-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: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:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/document-01#b> a ns11:bind-01 ; + ns11:bind-01.ARG0 <http://amr.isi.edu/amr_data/document-01#g> ; + ns11:bind-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#o2> a ns11:orbit-01 ; + ns11:orbit-01.ARG0 <http://amr.isi.edu/amr_data/document-01#o> ; + ns11:orbit-01.ARG1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:manner <http://amr.isi.edu/amr_data/document-01#o3> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#root01> a ns3:AMR ; + ns3:has-id "document-01" ; + ns3:has-sentence "The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.." ; + ns3:root <http://amr.isi.edu/amr_data/document-01#s> . + +<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" . + +<http://amr.isi.edu/entity-types#planet> a ns3:NamedEntity ; + rdfs:comment "bug" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_bind-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:bind-01 ; + :label "bind-01" . + +:concept_gravitation rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:gravitation ; + :label "gravitation" . + +:concept_manner rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns2:manner ; + :isReifiedConcept true ; + :label "hasManner" . + +:concept_object rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:object ; + :label "object" . + +:concept_or rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns3:or ; + :hasPhenomenaLink :phenomena_conjunction_or ; + :label "or" . + +: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_sun rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns2:sun ; + :label "sun" . + +:role_domain a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_polarity a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:value_SolarSystem a :AMR_Value ; + rdfs:label "Solar System" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#a> ; + :label "a" . + +:variable_b a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#b> ; + :label "b" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#d> ; + :label "d" . + +:variable_d2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#d2> ; + :label "d2" . + +:variable_g a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#g> ; + :label "g" . + +:variable_m9 a ns2:manner, + :AMR_Variable ; + :isReifiedVariable true ; + :label "m9" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o> ; + :label "o" . + +:variable_o2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o2> ; + :label "o2" . + +:variable_o3 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#o3> ; + :label "o3" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#p> ; + :label "p" ; + :name "Solar System" . + +:variable_p9 a ns2:part, + :AMR_Variable ; + :isReifiedVariable true ; + :label "p9" . + +:variable_s a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#s> ; + :label "s" . + +:variable_s2 a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/document-01#s2> ; + :label "s2" . + +sys:Degree a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Feature a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Out_AnnotationProperty a owl:AnnotationProperty . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Logical_Set_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_bind_b a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_gravitation_g, + net:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g ; + :role_ARG1 net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:coverBaseNode :leaf_bind-01_b ; + net:coverNode :leaf_bind-01_b ; + net:hasNaming "bind" ; + net:hasPropertyName "bind" ; + net:hasPropertyName01 "binding" ; + net:hasPropertyName10 "bind-by" ; + net:hasPropertyName12 "bind-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_gravitation_g, + :leaf_system_s ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:class_list a owl:Class ; + rdfs:label "classList" ; + rdfs:subClassOf net:Type . + +net:compositeClass_gravitation-binding-system-hasPart-sun-and-object_g a net:Composite_Class_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_and_a, + :leaf_bind-01_b, + :leaf_gravitation_g, + :leaf_hasPart_p9, + :leaf_system_s ; + net:coverNodeCount 5 ; + net:hasClassName "gravitation-binding-system-hasPart-sun-and-object" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_gravitation_g ; + net:hasRestriction01 net:restriction_binding_system-hasPart-sun-and-object ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:has_value a owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + +net:objectType a owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + +net:phenomena_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:atomClass_sun_s2 ; + :role_op2 net:atomClass_object_o ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:phenomena_conjunction-OR_o3 a net:Phenomena_Net ; + :role_op1 net:atomProperty_direct_d ; + :role_op2 net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_or_o3 ; + net:coverNode :leaf_or_o3 ; + net:hasNaming "conjunction-OR" ; + net:hasPhenomenaRef "or" ; + net:hasPhenomenaType :phenomena_conjunction_or ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:restriction_binding_system-hasPart-sun-and-object a net:Restriction_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_and_a, + :leaf_bind-01_b, + :leaf_gravitation_g, + :leaf_hasPart_p9, + :leaf_system_s ; + net:coverTargetNode :leaf_and_a, + :leaf_bind-01_b, + :leaf_hasPart_p9, + :leaf_system_s ; + net:hasNaming "gravitation-binding-system-hasPart-sun-and-object" ; + net:hasRestrictionNetValue net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestrictionOnProperty net:atomProperty_bind_b . + +net:restriction_hasManner-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:atomProperty_hasManner_m9 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d, + :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-direct" ; + net:hasRestrictionNetValue net:atomProperty_direct_d, + net:atomProperty_direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "document-01" . + +net:restriction_hasManner-not-direct_m9 a net:Restriction_Net ; + net:composeFrom net:atomProperty_hasManner_m9, + net:compositeProperty_not-direct_d2 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_direct-02_d2, + :leaf_hasManner_m9 ; + net:hasNaming "hasManner-not-direct" ; + net:hasRestrictionNetValue net:compositeProperty_not-direct_d2 ; + net:hasRestrictionOnProperty net:atomProperty_hasManner_m9 ; + net:hasStructure "document-01" . + +<http://amr.isi.edu/amr_data/document-01#a> a ns3:and ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#s2> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#o> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#d> a ns11:direct-02 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#d2> a ns11:direct-02 ; + ns2:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#g> a ns2:gravitation ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#o3> a ns3:or ; + ns2:op1 <http://amr.isi.edu/amr_data/document-01#d> ; + ns2:op2 <http://amr.isi.edu/amr_data/document-01#d2> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#p> a <http://amr.isi.edu/entity-types#planet>, + <http://amr.isi.edu/entity-types#system> ; + rdfs:label "Solar System" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#system> a ns3:NamedEntity ; + rdfs:label "system" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:bind-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:orbit-01 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:gravitation a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:manner a ns3:Role ; + rdfs:subClassOf :AMR_Linked_Data . + +ns2:object 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:NamedEntity a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:and a ns3:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:or 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_direct-02 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:direct-02 ; + :label "direct-02" . + +:concept_system rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk <http://amr.isi.edu/entity-types#system>, + ns2:system ; + :label "system" . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:role_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:value_negative a :AMR_Value ; + rdfs:label "negative" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Property_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_gravitation_g a net:Atom_Class_Net ; + net:coverBaseNode :leaf_gravitation_g ; + net:coverNode :leaf_gravitation_g ; + net:coverNodeCount 1 ; + net:hasClassName "gravitation" ; + net:hasClassType sys:Entity ; + net:hasNaming "gravitation" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:logicalSet_and_a a net:Logical_Set_Net ; + :role_op1 net:atomClass_sun_s2 ; + :role_op2 net:atomClass_object_o ; + net:bindPropertyNet net:atomProperty_hasPart_p9 ; + net:bindRestriction net:restriction_hasPart_object, + net:restriction_hasPart_sun ; + net:containsNet net:atomClass_object_o, + net:atomClass_sun_s2 ; + net:containsNet1 net:atomClass_sun_s2 ; + net:containsNet2 net:atomClass_object_o ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasLogicalConstraint "AND" ; + net:hasNaming "hasPart-sun-and-object" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_SolarSystem_blankNode a net:Value_Net ; + net:hasNaming "Solar System" ; + net:hasStructure "document-01" ; + net:hasValueLabel "Solar System" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:value_negative_blankNode a net:Value_Net ; + net:hasNaming "negative" ; + net:hasStructure "document-01" ; + net:hasValueLabel "negative" ; + net:trackProgress net:initialized, + net:relation_propagated . + +<http://amr.isi.edu/amr_data/document-01#o> a ns2:object ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#s> a ns2:system ; + ns2:domain <http://amr.isi.edu/amr_data/document-01#p> ; + ns2:part <http://amr.isi.edu/amr_data/document-01#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/document-01#s2> a ns2:sun ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:direct-02 a ns3:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:Frame a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_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 . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:Axiom_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:compositeClass_system-hasPart-sun-and-object-hasPart-object_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_object_o, + :leaf_system_s ; + net:coverNodeCount 4 ; + net:hasClassName "system-hasPart-sun-and-object-hasPart-object" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_p, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestriction01 net:restriction_hasPart_object ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_sun_s2, + :leaf_system_s ; + net:coverNodeCount 4 ; + net:hasClassName "system-hasPart-sun-and-object-hasPart-sun" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_p, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasRestriction01 net:restriction_hasPart_sun ; + net:hasStructure "document-01" ; + 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 . + +net:restriction_hasPart_object a net:Restriction_Net ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_object_o, + :leaf_system_s ; + net:coverTargetNode :leaf_hasPart_p9, + :leaf_object_o ; + net:hasNaming "system-hasPart-sun-and-object-hasPart-object" ; + net:hasRestrictionNetValue net:atomClass_object_o ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 . + +net:restriction_hasPart_sun a net:Restriction_Net ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_sun_s2, + :leaf_system_s ; + net:coverTargetNode :leaf_hasPart_p9, + :leaf_sun_s2 ; + net:hasNaming "system-hasPart-sun-and-object-hasPart-sun" ; + net:hasRestrictionNetValue net:atomClass_sun_s2 ; + net:hasRestrictionOnProperty net:atomProperty_hasPart_p9 . + +ns11:FrameRole a ns3:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:leaf_or_o3 a :AMR_Leaf ; + :edge_o3_op1_d :leaf_direct-02_d ; + :edge_o3_op2_d2 :leaf_direct-02_d2 ; + :hasConcept :concept_or ; + :hasVariable :variable_o3 . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:atomProperty_hasPart_p9 a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + :role_ARG1 net:atomClass_object_o, + net:atomClass_sun_s2, + net:logicalSet_and_a, + net:phenomena_conjunction-AND_a ; + net:coverBaseNode :leaf_hasPart_p9 ; + net:coverNode :leaf_hasPart_p9 ; + net:hasNaming "hasPart" ; + net:hasPropertyName "hasPart" ; + net:hasPropertyName01 "hasPart" ; + net:hasPropertyName10 "hasPart" ; + net:hasPropertyName12 "hasPart" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_and_a, + :leaf_system_s ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:individual_system_SolarSystem a net:Individual_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:hasIndividualLabel "Solar System" ; + net:hasMotherClassName net:atomClass_system_p ; + net:hasMotherClassNet net:atomClass_system_p, + net:atomClass_system_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-object_s, + net:compositeClass_system-hasPart-sun-and-object-hasPart-sun_s, + net:compositeClass_system-hasPart-sun-and-object_s ; + net:hasNaming "system" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:typeProperty a owl:AnnotationProperty ; + rdfs:label "type property" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_bind-01_b a :AMR_Leaf ; + :edge_b_ARG0_g :leaf_gravitation_g ; + :edge_b_ARG1_s :leaf_system_s ; + :hasConcept :concept_bind-01 ; + :hasVariable :variable_b . + +:leaf_direct-02_d a :AMR_Leaf ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d . + +:leaf_system_p a :AMR_Leaf ; + :edge_p_name_SolarSystem :value_SolarSystem ; + :hasConcept :concept_system ; + :hasVariable :variable_p . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Restriction_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomProperty_direct_d a net:Atom_Property_Net ; + net:coverBaseNode :leaf_direct-02_d ; + net:coverNode :leaf_direct-02_d ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_orbit_o2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_object_o ; + :role_ARG1 net:atomClass_sun_s2 ; + net:coverBaseNode :leaf_orbit-01_o2 ; + net:coverNode :leaf_orbit-01_o2 ; + net:hasNaming "orbit" ; + net:hasPropertyName "orbit" ; + net:hasPropertyName01 "orbiting" ; + net:hasPropertyName10 "orbit-by" ; + net:hasPropertyName12 "orbit-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_object_o, + :leaf_sun_s2 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +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)." . + +net:atomClass_system_s a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_system_s ; + net:coverNodeCount 1 ; + net:hasClassName "system" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_p ; + net:hasNaming "system" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_hasManner_m9 a net:Atom_Property_Net ; + :role_ARG0 net:atomProperty_orbit_o2 ; + :role_ARG1 net:atomProperty_direct_d, + net:atomProperty_direct_d2, + net:compositeProperty_not-direct_d2, + net:phenomena_conjunction-OR_o3 ; + net:coverBaseNode :leaf_hasManner_m9 ; + net:coverNode :leaf_hasManner_m9 ; + net:hasNaming "hasManner" ; + net:hasPropertyName "hasManner" ; + net:hasPropertyName01 "hasManner" ; + net:hasPropertyName10 "hasManner" ; + net:hasPropertyName12 "hasManner" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :leaf_or_o3, + :leaf_orbit-01_o2 ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeClass_system-hasPart-sun-and-object_s a net:Composite_Class_Net ; + :role_domain net:atomClass_system_p, + net:individual_system_SolarSystem ; + net:coverBaseNode :leaf_system_s ; + net:coverNode :leaf_and_a, + :leaf_hasPart_p9, + :leaf_system_s ; + net:coverNodeCount 3 ; + net:hasClassName "system-hasPart-sun-and-object" ; + net:hasClassType sys:Entity ; + net:hasMotherClassNet net:atomClass_system_p, + net:atomClass_system_s ; + net:hasNaming "system-hasPart-sun-and-object" ; + net:hasRestriction01 net:restriction_hasPart_object, + net:restriction_hasPart_sun ; + net:hasStructure "document-01" ; + net:trackMainNetComposante net:atomClass_system_s ; + net:trackNetComposante net:atomClass_system_s, + net:atomProperty_hasPart_p9, + net:logicalSet_and_a ; + net:trackProgress net:initialized, + net:relation_propagated . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +:leaf_gravitation_g a :AMR_Leaf ; + :hasConcept :concept_gravitation ; + :hasVariable :variable_g . + +:leaf_hasManner_m9 a :AMR_Leaf ; + :edge_m9_ARG0_o2 :leaf_orbit-01_o2 ; + :edge_m9_ARG1_o3 :leaf_or_o3 ; + :hasConcept :concept_manner ; + :hasVariable :variable_m9 ; + :isReifiedLeaf true . + +: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_s2 :leaf_sun_s2 ; + :hasConcept :concept_orbit-01 ; + :hasVariable :variable_o2 . + +:leaf_sun_s2 a :AMR_Leaf ; + :hasConcept :concept_sun ; + :hasVariable :variable_s2 . + +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 . + +sys:Entity a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_object_o a net:Atom_Class_Net ; + net:coverBaseNode :leaf_object_o ; + net:coverNode :leaf_object_o ; + net:coverNodeCount 1 ; + net:hasClassName "object" ; + net:hasClassType sys:Entity ; + net:hasNaming "object" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomClass_sun_s2 a net:Atom_Class_Net ; + net:coverBaseNode :leaf_sun_s2 ; + net:coverNode :leaf_sun_s2 ; + net:coverNodeCount 1 ; + net:hasClassName "sun" ; + net:hasClassType sys:Entity ; + net:hasNaming "sun" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:compositeProperty_not-direct_d2 a net:Composite_Property_Net ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_direct_d2 ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "not-direct" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +net:atomClass_system_p a net:Atom_Class_Net ; + :role_name net:value_SolarSystem_blankNode ; + net:coverBaseNode :leaf_system_p ; + net:coverNode :leaf_system_p ; + net:coverNodeCount 1 ; + net:hasClassName "system" ; + net:hasNaming "system" ; + net:hasStructure "document-01" ; + net:trackProgress net:initialized, + net:relation_propagated . + +net:atomProperty_direct_d2 a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_direct-02_d2 ; + net:coverNode :leaf_direct-02_d2 ; + net:hasNaming "direct" ; + net:hasPropertyName "direct" ; + net:hasPropertyName01 "directing" ; + net:hasPropertyName10 "direct-by" ; + net:hasPropertyName12 "direct-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "document-01" ; + net:isCoreRoleLinked true ; + net:targetArgumentNode :value_negative ; + net:trackProgress net:initialized, + net:relation_propagated . + +:leaf_hasPart_p9 a :AMR_Leaf ; + :edge_p9_ARG0_s :leaf_system_s ; + :edge_p9_ARG1_a :leaf_and_a ; + :hasConcept :concept_part ; + :hasVariable :variable_p9 ; + :isReifiedLeaf true . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_direct-02_d2 a :AMR_Leaf ; + :edge_d2_polarity_negative :value_negative ; + :hasConcept :concept_direct-02 ; + :hasVariable :variable_d2 . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_s2 :leaf_sun_s2 ; + :edge_a_op2_o :leaf_object_o ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_system_s a :AMR_Leaf ; + :edge_s_domain_p :leaf_system_p ; + :hasConcept :concept_system ; + :hasVariable :variable_s . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/tenet.log b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/tenet.log new file mode 100644 index 0000000000000000000000000000000000000000..7dfce0e470245fb7943a968b9126c378586f273d --- /dev/null +++ b/tests/main_tests/test_owl_output/SolarSystemDev01-DemoRef/onto-by-sentence/tenet.log @@ -0,0 +1,854 @@ +- INFO - Dash is running on https://mars.tetras-lab.io:443/voila/app_proxy/8050/ + +- DEBUG - Starting new HTTP connection (1): 0.0.0.0:8050 +- DEBUG - Starting new HTTP connection (1): 0.0.0.0:8050 +- DEBUG - http://0.0.0.0:8050 "GET /_alive_2240ad53-4374-4170-b00f-796d03746d23 HTTP/1.1" 200 5 +- DEBUG - handle_msg[2b1b3287-6617-4389-be3d-a29711ee5232]({'header': {'date': datetime.datetime(2023, 5, 17, 17, 9, 10, 332000, tzinfo=tzlocal()), 'msg_id': '26949799-e22d-4a5a-876c-b5ad40c1d899', 'msg_type': 'comm_msg', 'session': '31fc6958-a734-470d-b8ee-add485c633b0', 'username': '', 'version': '5.2'}, 'msg_id': '26949799-e22d-4a5a-876c-b5ad40c1d899', 'msg_type': 'comm_msg', 'parent_header': {}, 'metadata': {}, 'content': {'comm_id': '2b1b3287-6617-4389-be3d-a29711ee5232', 'data': {'method': 'request_states'}}, 'buffers': []}) +- DEBUG - handle_close[2b1b3287-6617-4389-be3d-a29711ee5232]({'header': {'date': datetime.datetime(2023, 5, 17, 17, 9, 10, 665000, tzinfo=tzlocal()), 'msg_id': '174ed5d4-fa76-4b23-aa8b-cd0a0edeacad', 'msg_type': 'comm_close', 'session': '31fc6958-a734-470d-b8ee-add485c633b0', 'username': '', 'version': '5.2'}, 'msg_id': '174ed5d4-fa76-4b23-aa8b-cd0a0edeacad', 'msg_type': 'comm_close', 'parent_header': {}, 'metadata': {}, 'content': {'comm_id': '2b1b3287-6617-4389-be3d-a29711ee5232', 'data': {}}, 'buffers': []}) +- INFO - [AMR Batch] NL Document Parsing +- INFO - + === Reading input string === +- INFO - -- line number: 1 +- INFO - + === Preparation === +- INFO - -- base reference: document +- INFO - -- input filepath: None +- INFO - -- output dirpath: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/ +- INFO - -- Reading input line set to recover a list of work data +- DEBUG - *** sentence 1 *** +<work_data.WorkData object at 0x7f55f00de5e0> +- INFO - ----- number of sentences: 1 +- DEBUG - -- Making output directory tree (/opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/) +- DEBUG - -- Generating sentence file +- INFO - + === Text Convert to AMR Graphs === +- INFO - -- library: amrlib +- INFO - -- model: model_parse_xfm_bart_large-v0_1_0 +- DEBUG - (/opt/lib/TetrasMARS/corpus/cm-tool/amrModel/model_parse_xfm_bart_large-v0_1_0) +- INFO - -- Loading AMR model +- DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +- DEBUG - https://huggingface.co:443 "HEAD /facebook/bart-large/resolve/main/tokenizer_config.json HTTP/1.1" 200 0 +- INFO - -- Converting sentences to AMR graphs +- DEBUG - Configured: Tree( + ('s', [ + ('/', 'system'), + (':domain', ('p', [ + ('/', 'planet'), + (':name', ('n', [ + ('/', 'name'), + (':op1', '"Solar"'), + (':op2', '"System"')]))])), + (':ARG1-of', ('b', [ + ('/', 'bind-01'), + (':ARG0', ('g', [ + ('/', 'gravitation')]))])), + (':part', ('a', [ + ('/', 'and'), + (':op1', ('s2', [ + ('/', 'sun')])), + (':op2', ('o', [ + ('/', 'object'), + (':ARG0-of', ('o2', [ + ('/', 'orbit-01'), + (':ARG1', 's2'), + (':manner', ('o3', [ + ('/', 'or'), + (':op1', ('d', [ + ('/', 'direct-02')])), + (':op2', ('d2', [ + ('/', 'direct-02'), + (':polarity', '-')]))]))]))]))]))])) +- DEBUG - Line 1: '(s / system' +- DEBUG - Token(type='LPAREN', text='(', lineno=1, offset=0, line='(s / system') +- DEBUG - Token(type='SYMBOL', text='s', lineno=1, offset=1, line='(s / system') +- DEBUG - Token(type='SLASH', text='/', lineno=1, offset=3, line='(s / system') +- DEBUG - Token(type='SYMBOL', text='system', lineno=1, offset=5, line='(s / system') +- DEBUG - Line 2: ' :domain (p / planet' +- DEBUG - Token(type='ROLE', text=':domain', lineno=2, offset=6, line=' :domain (p / planet') +- DEBUG - Token(type='LPAREN', text='(', lineno=2, offset=14, line=' :domain (p / planet') +- DEBUG - Token(type='SYMBOL', text='p', lineno=2, offset=15, line=' :domain (p / planet') +- DEBUG - Token(type='SLASH', text='/', lineno=2, offset=17, line=' :domain (p / planet') +- DEBUG - Token(type='SYMBOL', text='planet', lineno=2, offset=19, line=' :domain (p / planet') +- DEBUG - Line 3: ' :name (n / name' +- DEBUG - Token(type='ROLE', text=':name', lineno=3, offset=12, line=' :name (n / name') +- DEBUG - Token(type='LPAREN', text='(', lineno=3, offset=18, line=' :name (n / name') +- DEBUG - Token(type='SYMBOL', text='n', lineno=3, offset=19, line=' :name (n / name') +- DEBUG - Token(type='SLASH', text='/', lineno=3, offset=21, line=' :name (n / name') +- DEBUG - Token(type='SYMBOL', text='name', lineno=3, offset=23, line=' :name (n / name') +- DEBUG - Line 4: ' :op1 "Solar"' +- DEBUG - Token(type='ROLE', text=':op1', lineno=4, offset=18, line=' :op1 "Solar"') +- DEBUG - Token(type='STRING', text='"Solar"', lineno=4, offset=23, line=' :op1 "Solar"') +- DEBUG - Line 5: ' :op2 "System"))' +- DEBUG - Token(type='ROLE', text=':op2', lineno=5, offset=18, line=' :op2 "System"))') +- DEBUG - Token(type='STRING', text='"System"', lineno=5, offset=23, line=' :op2 "System"))') +- DEBUG - Token(type='RPAREN', text=')', lineno=5, offset=31, line=' :op2 "System"))') +- DEBUG - Token(type='RPAREN', text=')', lineno=5, offset=32, line=' :op2 "System"))') +- DEBUG - Line 6: ' :ARG1-of (b / bind-01' +- DEBUG - Token(type='ROLE', text=':ARG1-of', lineno=6, offset=6, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='LPAREN', text='(', lineno=6, offset=15, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SYMBOL', text='b', lineno=6, offset=16, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SLASH', text='/', lineno=6, offset=18, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SYMBOL', text='bind-01', lineno=6, offset=20, line=' :ARG1-of (b / bind-01') +- DEBUG - Line 7: ' :ARG0 (g / gravitation))' +- DEBUG - Token(type='ROLE', text=':ARG0', lineno=7, offset=12, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='LPAREN', text='(', lineno=7, offset=18, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SYMBOL', text='g', lineno=7, offset=19, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SLASH', text='/', lineno=7, offset=21, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SYMBOL', text='gravitation', lineno=7, offset=23, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='RPAREN', text=')', lineno=7, offset=34, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='RPAREN', text=')', lineno=7, offset=35, line=' :ARG0 (g / gravitation))') +- DEBUG - Line 8: ' :part (a / and' +- DEBUG - Token(type='ROLE', text=':part', lineno=8, offset=6, line=' :part (a / and') +- DEBUG - Token(type='LPAREN', text='(', lineno=8, offset=12, line=' :part (a / and') +- DEBUG - Token(type='SYMBOL', text='a', lineno=8, offset=13, line=' :part (a / and') +- DEBUG - Token(type='SLASH', text='/', lineno=8, offset=15, line=' :part (a / and') +- DEBUG - Token(type='SYMBOL', text='and', lineno=8, offset=17, line=' :part (a / and') +- DEBUG - Line 9: ' :op1 (s2 / sun)' +- DEBUG - Token(type='ROLE', text=':op1', lineno=9, offset=12, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='LPAREN', text='(', lineno=9, offset=17, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SYMBOL', text='s2', lineno=9, offset=18, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SLASH', text='/', lineno=9, offset=21, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SYMBOL', text='sun', lineno=9, offset=23, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='RPAREN', text=')', lineno=9, offset=26, line=' :op1 (s2 / sun)') +- DEBUG - Line 10: ' :op2 (o / object' +- DEBUG - Token(type='ROLE', text=':op2', lineno=10, offset=12, line=' :op2 (o / object') +- DEBUG - Token(type='LPAREN', text='(', lineno=10, offset=17, line=' :op2 (o / object') +- DEBUG - Token(type='SYMBOL', text='o', lineno=10, offset=18, line=' :op2 (o / object') +- DEBUG - Token(type='SLASH', text='/', lineno=10, offset=20, line=' :op2 (o / object') +- DEBUG - Token(type='SYMBOL', text='object', lineno=10, offset=22, line=' :op2 (o / object') +- DEBUG - Line 11: ' :ARG0-of (o2 / orbit-01' +- DEBUG - Token(type='ROLE', text=':ARG0-of', lineno=11, offset=18, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='LPAREN', text='(', lineno=11, offset=27, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SYMBOL', text='o2', lineno=11, offset=28, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SLASH', text='/', lineno=11, offset=31, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SYMBOL', text='orbit-01', lineno=11, offset=33, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Line 12: ' :ARG1 s2' +- DEBUG - Token(type='ROLE', text=':ARG1', lineno=12, offset=24, line=' :ARG1 s2') +- DEBUG - Token(type='SYMBOL', text='s2', lineno=12, offset=30, line=' :ARG1 s2') +- DEBUG - Line 13: ' :manner (o3 / or' +- DEBUG - Token(type='ROLE', text=':manner', lineno=13, offset=24, line=' :manner (o3 / or') +- DEBUG - Token(type='LPAREN', text='(', lineno=13, offset=32, line=' :manner (o3 / or') +- DEBUG - Token(type='SYMBOL', text='o3', lineno=13, offset=33, line=' :manner (o3 / or') +- DEBUG - Token(type='SLASH', text='/', lineno=13, offset=36, line=' :manner (o3 / or') +- DEBUG - Token(type='SYMBOL', text='or', lineno=13, offset=38, line=' :manner (o3 / or') +- DEBUG - Line 14: ' :op1 (d / direct-02)' +- DEBUG - Token(type='ROLE', text=':op1', lineno=14, offset=30, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='LPAREN', text='(', lineno=14, offset=35, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SYMBOL', text='d', lineno=14, offset=36, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SLASH', text='/', lineno=14, offset=38, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SYMBOL', text='direct-02', lineno=14, offset=40, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='RPAREN', text=')', lineno=14, offset=49, line=' :op1 (d / direct-02)') +- DEBUG - Line 15: ' :op2 (d2 / direct-02' +- DEBUG - Token(type='ROLE', text=':op2', lineno=15, offset=30, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='LPAREN', text='(', lineno=15, offset=35, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SYMBOL', text='d2', lineno=15, offset=36, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SLASH', text='/', lineno=15, offset=39, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SYMBOL', text='direct-02', lineno=15, offset=41, line=' :op2 (d2 / direct-02') +- DEBUG - Line 16: ' :polarity -))))))' +- DEBUG - Token(type='ROLE', text=':polarity', lineno=16, offset=36, line=' :polarity -))))))') +- DEBUG - Token(type='SYMBOL', text='-', lineno=16, offset=46, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=16, offset=47, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=16, offset=48, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=16, offset=49, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=16, offset=50, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=16, offset=51, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=16, offset=52, line=' :polarity -))))))') +- DEBUG - Parsed: Tree( + ('s', [ + ('/', 'system'), + (':domain', ('p', [ + ('/', 'planet'), + (':name', ('n', [ + ('/', 'name'), + (':op1', '"Solar"'), + (':op2', '"System"')]))])), + (':ARG1-of', ('b', [ + ('/', 'bind-01'), + (':ARG0', ('g', [ + ('/', 'gravitation')]))])), + (':part', ('a', [ + ('/', 'and'), + (':op1', ('s2', [ + ('/', 'sun')])), + (':op2', ('o', [ + ('/', 'object'), + (':ARG0-of', ('o2', [ + ('/', 'orbit-01'), + (':ARG1', 's2'), + (':manner', ('o3', [ + ('/', 'or'), + (':op1', ('d', [ + ('/', 'direct-02')])), + (':op2', ('d2', [ + ('/', 'direct-02'), + (':polarity', '-')]))]))]))]))]))])) +- INFO - Interpreted: Graph( + [('s', ':instance', 'system'), + ('s', ':domain', 'p'), + ('p', ':instance', 'planet'), + ('p', ':name', 'n'), + ('n', ':instance', 'name'), + ('n', ':op1', '"Solar"'), + ('n', ':op2', '"System"'), + ('s', ':ARG1-of', 'b'), + ('b', ':instance', 'bind-01'), + ('b', ':ARG0', 'g'), + ('g', ':instance', 'gravitation'), + ('s', ':part', 'a'), + ('a', ':instance', 'and'), + ('a', ':op1', 's2'), + ('s2', ':instance', 'sun'), + ('a', ':op2', 'o'), + ('o', ':instance', 'object'), + ('o', ':ARG0-of', 'o2'), + ('o2', ':instance', 'orbit-01'), + ('o2', ':ARG1', 's2'), + ('o2', ':manner', 'o3'), + ('o3', ':instance', 'or'), + ('o3', ':op1', 'd'), + ('d', ':instance', 'direct-02'), + ('o3', ':op2', 'd2'), + ('d2', ':instance', 'direct-02'), + ('d2', ':polarity', '-')], + epidata={('s', ':instance', 'system'): [], + ('s', ':domain', 'p'): [Push(p)], + ('p', ':instance', 'planet'): [], + ('p', ':name', 'n'): [Push(n)], + ('n', ':instance', 'name'): [], + ('n', ':op1', '"Solar"'): [], + ('n', ':op2', '"System"'): [POP, POP], + ('s', ':ARG1-of', 'b'): [Push(b)], + ('b', ':instance', 'bind-01'): [], + ('b', ':ARG0', 'g'): [Push(g)], + ('g', ':instance', 'gravitation'): [POP, POP], + ('s', ':part', 'a'): [Push(a)], + ('a', ':instance', 'and'): [], + ('a', ':op1', 's2'): [Push(s2)], + ('s2', ':instance', 'sun'): [POP], + ('a', ':op2', 'o'): [Push(o)], + ('o', ':instance', 'object'): [], + ('o', ':ARG0-of', 'o2'): [Push(o2)], + ('o2', ':instance', 'orbit-01'): [], + ('o2', ':ARG1', 's2'): [], + ('o2', ':manner', 'o3'): [Push(o3)], + ('o3', ':instance', 'or'): [], + ('o3', ':op1', 'd'): [Push(d)], + ('d', ':instance', 'direct-02'): [POP], + ('o3', ':op2', 'd2'): [Push(d2)], + ('d2', ':instance', 'direct-02'): [], + ('d2', ':polarity', '-'): [POP, POP, POP, POP, POP]}) +- INFO - ----- Sentence 1 successfully processed +- DEBUG - ['# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly..\n(s / system\n :domain (p / planet\n :name (n / name\n :op1 "Solar"\n :op2 "System"))\n :ARG1-of (b / bind-01\n :ARG0 (g / gravitation))\n :part (a / and\n :op1 (s2 / sun)\n :op2 (o / object\n :ARG0-of (o2 / orbit-01\n :ARG1 s2\n :manner (o3 / or\n :op1 (d / direct-02)\n :op2 (d2 / direct-02\n :polarity -))))))'] +- INFO - ----- Total processed graph number: 1 +- INFO - -- Generating AMR graph files +- DEBUG - ----- AMR Graph file (penman): document-01.stog.amr.penman +- DEBUG - ----- AMR Graph file (dot): document-01.stog.amr.dot +- DEBUG - Line 1: '# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly..' +- DEBUG - Token(type='COMMENT', text='# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly..', lineno=1, offset=0, line='# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly..') +- DEBUG - Line 2: '(s / system' +- DEBUG - Token(type='LPAREN', text='(', lineno=2, offset=0, line='(s / system') +- DEBUG - Token(type='SYMBOL', text='s', lineno=2, offset=1, line='(s / system') +- DEBUG - Token(type='SLASH', text='/', lineno=2, offset=3, line='(s / system') +- DEBUG - Token(type='SYMBOL', text='system', lineno=2, offset=5, line='(s / system') +- DEBUG - Line 3: ' :domain (p / planet' +- DEBUG - Token(type='ROLE', text=':domain', lineno=3, offset=6, line=' :domain (p / planet') +- DEBUG - Token(type='LPAREN', text='(', lineno=3, offset=14, line=' :domain (p / planet') +- DEBUG - Token(type='SYMBOL', text='p', lineno=3, offset=15, line=' :domain (p / planet') +- DEBUG - Token(type='SLASH', text='/', lineno=3, offset=17, line=' :domain (p / planet') +- DEBUG - Token(type='SYMBOL', text='planet', lineno=3, offset=19, line=' :domain (p / planet') +- DEBUG - Line 4: ' :name (n / name' +- DEBUG - Token(type='ROLE', text=':name', lineno=4, offset=12, line=' :name (n / name') +- DEBUG - Token(type='LPAREN', text='(', lineno=4, offset=18, line=' :name (n / name') +- DEBUG - Token(type='SYMBOL', text='n', lineno=4, offset=19, line=' :name (n / name') +- DEBUG - Token(type='SLASH', text='/', lineno=4, offset=21, line=' :name (n / name') +- DEBUG - Token(type='SYMBOL', text='name', lineno=4, offset=23, line=' :name (n / name') +- DEBUG - Line 5: ' :op1 "Solar"' +- DEBUG - Token(type='ROLE', text=':op1', lineno=5, offset=18, line=' :op1 "Solar"') +- DEBUG - Token(type='STRING', text='"Solar"', lineno=5, offset=23, line=' :op1 "Solar"') +- DEBUG - Line 6: ' :op2 "System"))' +- DEBUG - Token(type='ROLE', text=':op2', lineno=6, offset=18, line=' :op2 "System"))') +- DEBUG - Token(type='STRING', text='"System"', lineno=6, offset=23, line=' :op2 "System"))') +- DEBUG - Token(type='RPAREN', text=')', lineno=6, offset=31, line=' :op2 "System"))') +- DEBUG - Token(type='RPAREN', text=')', lineno=6, offset=32, line=' :op2 "System"))') +- DEBUG - Line 7: ' :ARG1-of (b / bind-01' +- DEBUG - Token(type='ROLE', text=':ARG1-of', lineno=7, offset=6, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='LPAREN', text='(', lineno=7, offset=15, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SYMBOL', text='b', lineno=7, offset=16, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SLASH', text='/', lineno=7, offset=18, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SYMBOL', text='bind-01', lineno=7, offset=20, line=' :ARG1-of (b / bind-01') +- DEBUG - Line 8: ' :ARG0 (g / gravitation))' +- DEBUG - Token(type='ROLE', text=':ARG0', lineno=8, offset=12, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='LPAREN', text='(', lineno=8, offset=18, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SYMBOL', text='g', lineno=8, offset=19, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SLASH', text='/', lineno=8, offset=21, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SYMBOL', text='gravitation', lineno=8, offset=23, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='RPAREN', text=')', lineno=8, offset=34, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='RPAREN', text=')', lineno=8, offset=35, line=' :ARG0 (g / gravitation))') +- DEBUG - Line 9: ' :part (a / and' +- DEBUG - Token(type='ROLE', text=':part', lineno=9, offset=6, line=' :part (a / and') +- DEBUG - Token(type='LPAREN', text='(', lineno=9, offset=12, line=' :part (a / and') +- DEBUG - Token(type='SYMBOL', text='a', lineno=9, offset=13, line=' :part (a / and') +- DEBUG - Token(type='SLASH', text='/', lineno=9, offset=15, line=' :part (a / and') +- DEBUG - Token(type='SYMBOL', text='and', lineno=9, offset=17, line=' :part (a / and') +- DEBUG - Line 10: ' :op1 (s2 / sun)' +- DEBUG - Token(type='ROLE', text=':op1', lineno=10, offset=12, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='LPAREN', text='(', lineno=10, offset=17, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SYMBOL', text='s2', lineno=10, offset=18, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SLASH', text='/', lineno=10, offset=21, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SYMBOL', text='sun', lineno=10, offset=23, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='RPAREN', text=')', lineno=10, offset=26, line=' :op1 (s2 / sun)') +- DEBUG - Line 11: ' :op2 (o / object' +- DEBUG - Token(type='ROLE', text=':op2', lineno=11, offset=12, line=' :op2 (o / object') +- DEBUG - Token(type='LPAREN', text='(', lineno=11, offset=17, line=' :op2 (o / object') +- DEBUG - Token(type='SYMBOL', text='o', lineno=11, offset=18, line=' :op2 (o / object') +- DEBUG - Token(type='SLASH', text='/', lineno=11, offset=20, line=' :op2 (o / object') +- DEBUG - Token(type='SYMBOL', text='object', lineno=11, offset=22, line=' :op2 (o / object') +- DEBUG - Line 12: ' :ARG0-of (o2 / orbit-01' +- DEBUG - Token(type='ROLE', text=':ARG0-of', lineno=12, offset=18, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='LPAREN', text='(', lineno=12, offset=27, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SYMBOL', text='o2', lineno=12, offset=28, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SLASH', text='/', lineno=12, offset=31, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SYMBOL', text='orbit-01', lineno=12, offset=33, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Line 13: ' :ARG1 s2' +- DEBUG - Token(type='ROLE', text=':ARG1', lineno=13, offset=24, line=' :ARG1 s2') +- DEBUG - Token(type='SYMBOL', text='s2', lineno=13, offset=30, line=' :ARG1 s2') +- DEBUG - Line 14: ' :manner (o3 / or' +- DEBUG - Token(type='ROLE', text=':manner', lineno=14, offset=24, line=' :manner (o3 / or') +- DEBUG - Token(type='LPAREN', text='(', lineno=14, offset=32, line=' :manner (o3 / or') +- DEBUG - Token(type='SYMBOL', text='o3', lineno=14, offset=33, line=' :manner (o3 / or') +- DEBUG - Token(type='SLASH', text='/', lineno=14, offset=36, line=' :manner (o3 / or') +- DEBUG - Token(type='SYMBOL', text='or', lineno=14, offset=38, line=' :manner (o3 / or') +- DEBUG - Line 15: ' :op1 (d / direct-02)' +- DEBUG - Token(type='ROLE', text=':op1', lineno=15, offset=30, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='LPAREN', text='(', lineno=15, offset=35, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SYMBOL', text='d', lineno=15, offset=36, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SLASH', text='/', lineno=15, offset=38, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SYMBOL', text='direct-02', lineno=15, offset=40, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='RPAREN', text=')', lineno=15, offset=49, line=' :op1 (d / direct-02)') +- DEBUG - Line 16: ' :op2 (d2 / direct-02' +- DEBUG - Token(type='ROLE', text=':op2', lineno=16, offset=30, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='LPAREN', text='(', lineno=16, offset=35, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SYMBOL', text='d2', lineno=16, offset=36, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SLASH', text='/', lineno=16, offset=39, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SYMBOL', text='direct-02', lineno=16, offset=41, line=' :op2 (d2 / direct-02') +- DEBUG - Line 17: ' :polarity -))))))' +- DEBUG - Token(type='ROLE', text=':polarity', lineno=17, offset=36, line=' :polarity -))))))') +- DEBUG - Token(type='SYMBOL', text='-', lineno=17, offset=46, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=47, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=48, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=49, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=50, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=51, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=52, line=' :polarity -))))))') +- DEBUG - Parsed: Tree( + ('s', [ + ('/', 'system'), + (':domain', ('p', [ + ('/', 'planet'), + (':name', ('n', [ + ('/', 'name'), + (':op1', '"Solar"'), + (':op2', '"System"')]))])), + (':ARG1-of', ('b', [ + ('/', 'bind-01'), + (':ARG0', ('g', [ + ('/', 'gravitation')]))])), + (':part', ('a', [ + ('/', 'and'), + (':op1', ('s2', [ + ('/', 'sun')])), + (':op2', ('o', [ + ('/', 'object'), + (':ARG0-of', ('o2', [ + ('/', 'orbit-01'), + (':ARG1', 's2'), + (':manner', ('o3', [ + ('/', 'or'), + (':op1', ('d', [ + ('/', 'direct-02')])), + (':op2', ('d2', [ + ('/', 'direct-02'), + (':polarity', '-')]))]))]))]))]))])) +- INFO - Interpreted: Graph( + [('s', ':instance', 'system'), + ('s', ':domain', 'p'), + ('p', ':instance', 'planet'), + ('p', ':name', 'n'), + ('n', ':instance', 'name'), + ('n', ':op1', '"Solar"'), + ('n', ':op2', '"System"'), + ('s', ':ARG1-of', 'b'), + ('b', ':instance', 'bind-01'), + ('b', ':ARG0', 'g'), + ('g', ':instance', 'gravitation'), + ('s', ':part', 'a'), + ('a', ':instance', 'and'), + ('a', ':op1', 's2'), + ('s2', ':instance', 'sun'), + ('a', ':op2', 'o'), + ('o', ':instance', 'object'), + ('o', ':ARG0-of', 'o2'), + ('o2', ':instance', 'orbit-01'), + ('o2', ':ARG1', 's2'), + ('o2', ':manner', 'o3'), + ('o3', ':instance', 'or'), + ('o3', ':op1', 'd'), + ('d', ':instance', 'direct-02'), + ('o3', ':op2', 'd2'), + ('d2', ':instance', 'direct-02'), + ('d2', ':polarity', '-')], + epidata={('s', ':instance', 'system'): [], + ('s', ':domain', 'p'): [Push(p)], + ('p', ':instance', 'planet'): [], + ('p', ':name', 'n'): [Push(n)], + ('n', ':instance', 'name'): [], + ('n', ':op1', '"Solar"'): [], + ('n', ':op2', '"System"'): [POP, POP], + ('s', ':ARG1-of', 'b'): [Push(b)], + ('b', ':instance', 'bind-01'): [], + ('b', ':ARG0', 'g'): [Push(g)], + ('g', ':instance', 'gravitation'): [POP, POP], + ('s', ':part', 'a'): [Push(a)], + ('a', ':instance', 'and'): [], + ('a', ':op1', 's2'): [Push(s2)], + ('s2', ':instance', 'sun'): [POP], + ('a', ':op2', 'o'): [Push(o)], + ('o', ':instance', 'object'): [], + ('o', ':ARG0-of', 'o2'): [Push(o2)], + ('o2', ':instance', 'orbit-01'): [], + ('o2', ':ARG1', 's2'): [], + ('o2', ':manner', 'o3'): [Push(o3)], + ('o3', ':instance', 'or'): [], + ('o3', ':op1', 'd'): [Push(d)], + ('d', ':instance', 'direct-02'): [POP], + ('o3', ':op2', 'd2'): [Push(d2)], + ('d2', ':instance', 'direct-02'): [], + ('d2', ':polarity', '-'): [POP, POP, POP, POP, POP]}) +- DEBUG - os.makedirs('/opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01') +- DEBUG - write lines to '/opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01/document-01.stog.amr.dot' +- DEBUG - run [PosixPath('dot'), '-Kdot', '-Tpng', '-O', 'document-01.stog.amr.dot'] +- DEBUG - ----- AMR Graph file (png): {os.path.basename(good_png_fn)} +- DEBUG - Line 1: '# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly..' +- DEBUG - Token(type='COMMENT', text='# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly..', lineno=1, offset=0, line='# ::snt The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly..') +- DEBUG - Line 2: '(s / system' +- DEBUG - Token(type='LPAREN', text='(', lineno=2, offset=0, line='(s / system') +- DEBUG - Token(type='SYMBOL', text='s', lineno=2, offset=1, line='(s / system') +- DEBUG - Token(type='SLASH', text='/', lineno=2, offset=3, line='(s / system') +- DEBUG - Token(type='SYMBOL', text='system', lineno=2, offset=5, line='(s / system') +- DEBUG - Line 3: ' :domain (p / planet' +- DEBUG - Token(type='ROLE', text=':domain', lineno=3, offset=6, line=' :domain (p / planet') +- DEBUG - Token(type='LPAREN', text='(', lineno=3, offset=14, line=' :domain (p / planet') +- DEBUG - Token(type='SYMBOL', text='p', lineno=3, offset=15, line=' :domain (p / planet') +- DEBUG - Token(type='SLASH', text='/', lineno=3, offset=17, line=' :domain (p / planet') +- DEBUG - Token(type='SYMBOL', text='planet', lineno=3, offset=19, line=' :domain (p / planet') +- DEBUG - Line 4: ' :name (n / name' +- DEBUG - Token(type='ROLE', text=':name', lineno=4, offset=12, line=' :name (n / name') +- DEBUG - Token(type='LPAREN', text='(', lineno=4, offset=18, line=' :name (n / name') +- DEBUG - Token(type='SYMBOL', text='n', lineno=4, offset=19, line=' :name (n / name') +- DEBUG - Token(type='SLASH', text='/', lineno=4, offset=21, line=' :name (n / name') +- DEBUG - Token(type='SYMBOL', text='name', lineno=4, offset=23, line=' :name (n / name') +- DEBUG - Line 5: ' :op1 "Solar"' +- DEBUG - Token(type='ROLE', text=':op1', lineno=5, offset=18, line=' :op1 "Solar"') +- DEBUG - Token(type='STRING', text='"Solar"', lineno=5, offset=23, line=' :op1 "Solar"') +- DEBUG - Line 6: ' :op2 "System"))' +- DEBUG - Token(type='ROLE', text=':op2', lineno=6, offset=18, line=' :op2 "System"))') +- DEBUG - Token(type='STRING', text='"System"', lineno=6, offset=23, line=' :op2 "System"))') +- DEBUG - Token(type='RPAREN', text=')', lineno=6, offset=31, line=' :op2 "System"))') +- DEBUG - Token(type='RPAREN', text=')', lineno=6, offset=32, line=' :op2 "System"))') +- DEBUG - Line 7: ' :ARG1-of (b / bind-01' +- DEBUG - Token(type='ROLE', text=':ARG1-of', lineno=7, offset=6, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='LPAREN', text='(', lineno=7, offset=15, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SYMBOL', text='b', lineno=7, offset=16, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SLASH', text='/', lineno=7, offset=18, line=' :ARG1-of (b / bind-01') +- DEBUG - Token(type='SYMBOL', text='bind-01', lineno=7, offset=20, line=' :ARG1-of (b / bind-01') +- DEBUG - Line 8: ' :ARG0 (g / gravitation))' +- DEBUG - Token(type='ROLE', text=':ARG0', lineno=8, offset=12, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='LPAREN', text='(', lineno=8, offset=18, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SYMBOL', text='g', lineno=8, offset=19, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SLASH', text='/', lineno=8, offset=21, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='SYMBOL', text='gravitation', lineno=8, offset=23, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='RPAREN', text=')', lineno=8, offset=34, line=' :ARG0 (g / gravitation))') +- DEBUG - Token(type='RPAREN', text=')', lineno=8, offset=35, line=' :ARG0 (g / gravitation))') +- DEBUG - Line 9: ' :part (a / and' +- DEBUG - Token(type='ROLE', text=':part', lineno=9, offset=6, line=' :part (a / and') +- DEBUG - Token(type='LPAREN', text='(', lineno=9, offset=12, line=' :part (a / and') +- DEBUG - Token(type='SYMBOL', text='a', lineno=9, offset=13, line=' :part (a / and') +- DEBUG - Token(type='SLASH', text='/', lineno=9, offset=15, line=' :part (a / and') +- DEBUG - Token(type='SYMBOL', text='and', lineno=9, offset=17, line=' :part (a / and') +- DEBUG - Line 10: ' :op1 (s2 / sun)' +- DEBUG - Token(type='ROLE', text=':op1', lineno=10, offset=12, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='LPAREN', text='(', lineno=10, offset=17, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SYMBOL', text='s2', lineno=10, offset=18, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SLASH', text='/', lineno=10, offset=21, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='SYMBOL', text='sun', lineno=10, offset=23, line=' :op1 (s2 / sun)') +- DEBUG - Token(type='RPAREN', text=')', lineno=10, offset=26, line=' :op1 (s2 / sun)') +- DEBUG - Line 11: ' :op2 (o / object' +- DEBUG - Token(type='ROLE', text=':op2', lineno=11, offset=12, line=' :op2 (o / object') +- DEBUG - Token(type='LPAREN', text='(', lineno=11, offset=17, line=' :op2 (o / object') +- DEBUG - Token(type='SYMBOL', text='o', lineno=11, offset=18, line=' :op2 (o / object') +- DEBUG - Token(type='SLASH', text='/', lineno=11, offset=20, line=' :op2 (o / object') +- DEBUG - Token(type='SYMBOL', text='object', lineno=11, offset=22, line=' :op2 (o / object') +- DEBUG - Line 12: ' :ARG0-of (o2 / orbit-01' +- DEBUG - Token(type='ROLE', text=':ARG0-of', lineno=12, offset=18, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='LPAREN', text='(', lineno=12, offset=27, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SYMBOL', text='o2', lineno=12, offset=28, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SLASH', text='/', lineno=12, offset=31, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Token(type='SYMBOL', text='orbit-01', lineno=12, offset=33, line=' :ARG0-of (o2 / orbit-01') +- DEBUG - Line 13: ' :ARG1 s2' +- DEBUG - Token(type='ROLE', text=':ARG1', lineno=13, offset=24, line=' :ARG1 s2') +- DEBUG - Token(type='SYMBOL', text='s2', lineno=13, offset=30, line=' :ARG1 s2') +- DEBUG - Line 14: ' :manner (o3 / or' +- DEBUG - Token(type='ROLE', text=':manner', lineno=14, offset=24, line=' :manner (o3 / or') +- DEBUG - Token(type='LPAREN', text='(', lineno=14, offset=32, line=' :manner (o3 / or') +- DEBUG - Token(type='SYMBOL', text='o3', lineno=14, offset=33, line=' :manner (o3 / or') +- DEBUG - Token(type='SLASH', text='/', lineno=14, offset=36, line=' :manner (o3 / or') +- DEBUG - Token(type='SYMBOL', text='or', lineno=14, offset=38, line=' :manner (o3 / or') +- DEBUG - Line 15: ' :op1 (d / direct-02)' +- DEBUG - Token(type='ROLE', text=':op1', lineno=15, offset=30, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='LPAREN', text='(', lineno=15, offset=35, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SYMBOL', text='d', lineno=15, offset=36, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SLASH', text='/', lineno=15, offset=38, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='SYMBOL', text='direct-02', lineno=15, offset=40, line=' :op1 (d / direct-02)') +- DEBUG - Token(type='RPAREN', text=')', lineno=15, offset=49, line=' :op1 (d / direct-02)') +- DEBUG - Line 16: ' :op2 (d2 / direct-02' +- DEBUG - Token(type='ROLE', text=':op2', lineno=16, offset=30, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='LPAREN', text='(', lineno=16, offset=35, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SYMBOL', text='d2', lineno=16, offset=36, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SLASH', text='/', lineno=16, offset=39, line=' :op2 (d2 / direct-02') +- DEBUG - Token(type='SYMBOL', text='direct-02', lineno=16, offset=41, line=' :op2 (d2 / direct-02') +- DEBUG - Line 17: ' :polarity -))))))' +- DEBUG - Token(type='ROLE', text=':polarity', lineno=17, offset=36, line=' :polarity -))))))') +- DEBUG - Token(type='SYMBOL', text='-', lineno=17, offset=46, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=47, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=48, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=49, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=50, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=51, line=' :polarity -))))))') +- DEBUG - Token(type='RPAREN', text=')', lineno=17, offset=52, line=' :polarity -))))))') +- DEBUG - Parsed: Tree( + ('s', [ + ('/', 'system'), + (':domain', ('p', [ + ('/', 'planet'), + (':name', ('n', [ + ('/', 'name'), + (':op1', '"Solar"'), + (':op2', '"System"')]))])), + (':ARG1-of', ('b', [ + ('/', 'bind-01'), + (':ARG0', ('g', [ + ('/', 'gravitation')]))])), + (':part', ('a', [ + ('/', 'and'), + (':op1', ('s2', [ + ('/', 'sun')])), + (':op2', ('o', [ + ('/', 'object'), + (':ARG0-of', ('o2', [ + ('/', 'orbit-01'), + (':ARG1', 's2'), + (':manner', ('o3', [ + ('/', 'or'), + (':op1', ('d', [ + ('/', 'direct-02')])), + (':op2', ('d2', [ + ('/', 'direct-02'), + (':polarity', '-')]))]))]))]))]))])) +- INFO - Interpreted: Graph( + [('s', ':instance', 'system'), + ('s', ':domain', 'p'), + ('p', ':instance', 'planet'), + ('p', ':name', 'n'), + ('n', ':instance', 'name'), + ('n', ':op1', '"Solar"'), + ('n', ':op2', '"System"'), + ('s', ':ARG1-of', 'b'), + ('b', ':instance', 'bind-01'), + ('b', ':ARG0', 'g'), + ('g', ':instance', 'gravitation'), + ('s', ':part', 'a'), + ('a', ':instance', 'and'), + ('a', ':op1', 's2'), + ('s2', ':instance', 'sun'), + ('a', ':op2', 'o'), + ('o', ':instance', 'object'), + ('o', ':ARG0-of', 'o2'), + ('o2', ':instance', 'orbit-01'), + ('o2', ':ARG1', 's2'), + ('o2', ':manner', 'o3'), + ('o3', ':instance', 'or'), + ('o3', ':op1', 'd'), + ('d', ':instance', 'direct-02'), + ('o3', ':op2', 'd2'), + ('d2', ':instance', 'direct-02'), + ('d2', ':polarity', '-')], + epidata={('s', ':instance', 'system'): [], + ('s', ':domain', 'p'): [Push(p)], + ('p', ':instance', 'planet'): [], + ('p', ':name', 'n'): [Push(n)], + ('n', ':instance', 'name'): [], + ('n', ':op1', '"Solar"'): [], + ('n', ':op2', '"System"'): [POP, POP], + ('s', ':ARG1-of', 'b'): [Push(b)], + ('b', ':instance', 'bind-01'): [], + ('b', ':ARG0', 'g'): [Push(g)], + ('g', ':instance', 'gravitation'): [POP, POP], + ('s', ':part', 'a'): [Push(a)], + ('a', ':instance', 'and'): [], + ('a', ':op1', 's2'): [Push(s2)], + ('s2', ':instance', 'sun'): [POP], + ('a', ':op2', 'o'): [Push(o)], + ('o', ':instance', 'object'): [], + ('o', ':ARG0-of', 'o2'): [Push(o2)], + ('o2', ':instance', 'orbit-01'): [], + ('o2', ':ARG1', 's2'): [], + ('o2', ':manner', 'o3'): [Push(o3)], + ('o3', ':instance', 'or'): [], + ('o3', ':op1', 'd'): [Push(d)], + ('d', ':instance', 'direct-02'): [POP], + ('o3', ':op2', 'd2'): [Push(d2)], + ('d2', ':instance', 'direct-02'): [], + ('d2', ':polarity', '-'): [POP, POP, POP, POP, POP]}) +- DEBUG - os.makedirs('/opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01') +- DEBUG - write lines to '/opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01/document-01.stog.amr.dot' +- DEBUG - run [PosixPath('dot'), '-Kdot', '-Tsvg', '-O', 'document-01.stog.amr.dot'] +- DEBUG - ----- AMR Graph file (svg): {os.path.basename(good_svg_fn)} +- INFO - + === AMR Graphs Serialization to AMR-RDF Representation === +- INFO - -- library: amrld +- DEBUG - (/opt/lib/TetrasMARS/amrbatch/amrbatch/amrld/) +- INFO - -- Serialize AMR graphs to RDF using amr-ld library +- DEBUG - ----- AMR filepath (penman): /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01/document-01.stog.amr.penman +- DEBUG - ----- AMR-RDF filepath (triple): /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01/document-01.stog.amr.nt +- DEBUG - ----- AMR-RDF filepath (turtle): /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01/document-01.stog.amr.ttl +- INFO - ----- AMR-RDF triple successfully processed (document-01.stog.amr.nt) +- INFO - ----- AMR-RDF triple successfully processed (document-01.stog.amr.ttl) +- INFO - [TENET] Extraction Processing +- INFO - + === Process Initialization === +- INFO - -- Process Setting +- INFO - ----- Corpus source: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/ (amr) +- INFO - ----- Base output dir: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/full-ontology.ttl +- INFO - ----- technical dir path: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ +- INFO - ----- Ontology target (id): http://ontologies +- INFO - ----- Current path: /opt/lib/TetrasMARS/tenet/tenet +- DEBUG - ----- Config file: /opt/lib/TetrasMARS/tenet/tenet/config.xml +- DEBUG - + *** Config (Full Parameters) *** + -- Base Parameters + ----- config file: /opt/lib/TetrasMARS/tenet/tenet/config.xml + ----- uuid: http://ontologies + ----- technical base name: ontologies + ----- source corpus: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/ + ----- 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: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/full-ontology.ttl + ----- output directory: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/full-ontology.ttlontologies-20230517/ + ----- sentence output directory: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ + ----- technical dir path: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ + -- 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: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/**/*.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: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ontologies.ttl + *** - *** +- DEBUG - -- Counting number of graph files (sentences) +- INFO - ----- Number of Graphs: 1 +- INFO - + === Extraction Processing === +- INFO - *** sentence 1 *** +- 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 - -------- /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/document-01/document-01.stog.amr.ttl (625) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ontologies-1/ontologies.ttl +- INFO - ----- Sentence (id): document-01 +- INFO - ----- Sentence (text): The Solar System is the gravitationally bound system of the Sun and the objects that orbit it, either directly or indirectly.. +- INFO - -- Loading Extraction Scheme (amr_scheme_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_rule/*) +- DEBUG - ----- Total rule number: 92 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- INFO - ----- fix-amr-bug-about-system-solar-planet: 5/5 new triples (630, 0:00:00.030949) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 10/10 new triples (640, 0:00:00.139278) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (640, 0:00:00.076281) +- INFO - ----- reclassify-concept-3: 12/12 new triples (652, 0:00:00.057980) +- INFO - ----- reclassify-concept-4: 16/16 new triples (668, 0:00:00.074274) +- INFO - ----- reclassify-concept-5: 2/4 new triples (670, 0:00:00.055291) +- INFO - ----- reify-roles-as-concept: 10/10 new triples (680, 0:00:00.059072) +- INFO - ----- reclassify-existing-variable: 45/45 new triples (725, 0:00:00.040850) +- INFO - ----- add-new-variable-for-reified-concept: 8/8 new triples (733, 0:00:00.170671) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 33/33 new triples (766, 0:00:00.060181) +- INFO - ----- add-amr-leaf-for-reified-concept: 8/8 new triples (774, 0:00:00.038259) +- INFO - ----- add-amr-edge-for-core-relation: 27/27 new triples (801, 0:00:00.146394) +- INFO - ----- add-amr-edge-for-reified-concept: 12/12 new triples (813, 0:00:00.180726) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (818, 0:00:00.087478) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (818, 0:00:00.086740) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (823, 0:00:00.095051) +- INFO - ----- update-amr-edge-role-1: 15/15 new triples (838, 0:00:00.106172) +- INFO - ----- add-amr-root: 5/5 new triples (843, 0:00:00.030336) +- DEBUG - --- Serializing graph to ontologies_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: http://ontologies +- DEBUG - ----- work_file: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ontologies-1/ontologies_preprocessing.ttl +- DEBUG - ----- base: http://http://ontologies/preprocessing +- INFO - ----- 218 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** November Transduction *** Sequence: atomic-extraction-sequence +- INFO - ----- create-atom-class-net: 35/35 new triples (878, 0:00:00.083241) +- DEBUG - ----- (refinement) refine-cover-node-1: 5 new triples (883) +- DEBUG - ----- (refinement) refine-cover-node-2: 5 new triples (888) +- INFO - ----- create-individual-net-1: 10/10 new triples (898, 0:00:00.083980) +- DEBUG - ----- (refinement) refine-cover-node-1: 1 new triples (899) +- INFO - ----- create-atom-property-net-1: 88/88 new triples (987, 0:00:00.193223) +- DEBUG - ----- (refinement) refine-cover-node-1: 6 new triples (993) +- INFO - ----- create-value-net: 17/17 new triples (1010, 0:00:00.075225) +- INFO - ----- create-phenomena-net-1: 24/25 new triples (1034, 0:00:00.097566) +- DEBUG - ----- (refinement) refine-cover-node-1: 2 new triples (1036) +- INFO - --- *** November Transduction *** Sequence: atomic-extraction-sequence +- INFO - ----- create-atom-class-net: 1/49 new triple (1037, 0:00:00.112557) +- DEBUG - ----- create-individual-net-1: 0/10 new triple (1037, 0:00:00.086908) +- INFO - ----- create-atom-property-net-1: 1/95 new triple (1038, 0:00:00.216727) +- DEBUG - ----- create-value-net: 0/17 new triple (1038, 0:00:00.077139) +- DEBUG - ----- create-phenomena-net-1: 0/25 new triple (1038, 0:00:00.097024) +- INFO - --- *** February Transduction *** Sequence: phenomena_polarity_analyze_sequence +- INFO - ----- "polarity" phenomena analysis 1 [ polarity(property, "negative") ]: 32/34 new triples (1070, 0:00:00.112151) +- INFO - --- *** November Transduction *** Sequence: phenomena-application-mod-sequence +- DEBUG - ----- mod-phenomena-application-1: 0/0 new triple (1070, 0:00:00.117741) +- DEBUG - ----- mod-phenomena-application-2: 0/0 new triple (1070, 0:00:00.060677) +- DEBUG - ----- mod-phenomena-application-3: 0/0 new triple (1070, 0:00:00.092842) +- INFO - --- *** November Transduction *** Sequence: phenomena-application-and-sequence +- INFO - ----- and-conjunction-phenomena-application-1: 14/17 new triples (1084, 0:00:00.277017) +- DEBUG - ----- (refinement) refine-cover-node-1: 1 new triples (1085) +- INFO - ----- and-conjunction-phenomena-application-2: 1/1 new triple (1086, 0:00:00.163708) +- INFO - ----- and-conjunction-phenomena-application-3: 14/14 new triples (1100, 0:00:00.199280) +- INFO - ----- and-conjunction-phenomena-application-4: 14/14 new triples (1114, 0:00:00.267605) +- DEBUG - ----- (refinement) refine-cover-node-2: 1 new triples (1115) +- INFO - ----- and-conjunction-phenomena-application-5: 6/9 new triples (1121, 0:00:00.104130) +- INFO - ----- and-conjunction-phenomena-application-6: 2/2 new triples (1123, 0:00:00.326211) +- INFO - --- *** February Transduction *** Sequence: phenomena_or_analyze_sequence +- DEBUG - ----- "or" phenomena analysis 1 [ property(class, or_phenomena) ]: 0/0 new triple (1123, 0:00:00.014660) +- INFO - ----- "or" phenomena analysis 2 [ property(property, or_phenomena) ]: 56/76 new triples (1179, 0:00:00.313506) +- INFO - --- *** November Transduction *** Sequence: phenomena-checking-sequence +- INFO - ----- expand-and-conjunction-phenomena-net: 5/5 new triples (1184, 0:00:00.018904) +- DEBUG - ----- expand-degree-phenomena-net-1: 0/0 new triple (1184, 0:00:00.012075) +- DEBUG - ----- expand-degree-phenomena-net-2: 0/0 new triple (1184, 0:00:00.012254) +- DEBUG - ----- expand-degree-phenomena-net-3: 0/0 new triple (1184, 0:00:00.012223) +- DEBUG - ----- expand-degree-phenomena-net-4: 0/0 new triple (1184, 0:00:00.012204) +- DEBUG - ----- expand-degree-phenomena-net-5: 0/0 new triple (1184, 0:00:00.012947) +- DEBUG - ----- expand-degree-phenomena-net-6: 0/0 new triple (1184, 0:00:00.012327) +- INFO - --- *** November Transduction *** Sequence: composite-property-extraction-sequence +- DEBUG - ----- create-composite-class-net-from-property-1: 0/0 new triple (1184, 0:00:00.140503) +- DEBUG - ----- create-composite-class-net-from-property-2: 0/0 new triple (1184, 0:00:00.354728) +- INFO - --- *** November Transduction *** Sequence: composite-class-extraction-sequence-1 +- INFO - ----- create-composite-class-net-from-property-1: 48/54 new triples (1232, 0:00:00.929433) +- DEBUG - ----- (refinement) refine-cover-node-1: 7 new triples (1239) +- DEBUG - ----- (refinement) refine-cover-node-2: 3 new triples (1242) +- DEBUG - ----- create-composite-class-net-from-property-2: 0/0 new triple (1242, 0:00:00.331549) +- INFO - ----- create-composite-class-net-from-property-3: 15/18 new triples (1257, 0:00:00.367052) +- INFO - --- *** November Transduction *** Sequence: composite-class-extraction-sequence-2 +- DEBUG - ----- create-composite-class-net-from-phenomena-1: 0/0 new triple (1257, 0:00:00.056975) +- DEBUG - ----- create-composite-class-net-from-phenomena-2: 0/0 new triple (1257, 0:00:00.057150) +- DEBUG - ----- create-composite-class-net-from-phenomena-3: 0/0 new triple (1257, 0:00:00.057010) +- DEBUG - ----- create-composite-class-net-from-phenomena-4: 0/0 new triple (1257, 0:00:00.075563) +- INFO - --- *** November Transduction *** Sequence: restriction-adding-sequence +- DEBUG - ----- add-restriction-to-class-net-from-property-1: 0/0 new triple (1257, 0:00:00.060991) +- INFO - --- *** November Transduction *** Sequence: classification-sequence +- INFO - ----- classify-net-from-core-1: 7/7 new triples (1264, 0:00:00.009162) +- INFO - ----- classify-net-from-core-2: 1/6 new triple (1265, 0:00:00.009175) +- DEBUG - ----- classify-net-from-core-3: 0/0 new triple (1265, 0:00:00.052322) +- DEBUG - ----- classify-net-from-part: 0/0 new triple (1265, 0:00:00.011496) +- INFO - ----- classify-net-from-domain: 4/4 new triples (1269, 0:00:00.012594) +- DEBUG - ----- classify-net-from-degree-phenomena-1: 0/0 new triple (1269, 0:00:00.017444) +- DEBUG - ----- classify-net-from-degree-phenomena-2: 0/0 new triple (1269, 0:00:00.050905) +- DEBUG - ----- classify-net-from-degree-phenomena-3: 0/0 new triple (1269, 0:00:00.010256) +- INFO - ----- propagate-individual-1: 1/1 new triple (1270, 0:00:00.009966) +- INFO - ----- propagate-individual-2: 4/4 new triples (1274, 0:00:00.010382) +- DEBUG - ----- reclassify-deprecated-net: 0/0 new triple (1274, 0:00:00.008434) +- DEBUG - --- Serializing graph to ontologies_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: http://ontologies +- DEBUG - ----- work_file: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ontologies-1/ontologies_transduction.ttl +- DEBUG - ----- base: http://http://ontologies/transduction +- INFO - ----- 431 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** November Transduction *** Sequence: main-generation-sequence +- INFO - ----- compute-uri-for-owl-declaration-1: 8/8 new triples (1282, 0:00:00.029555) +- INFO - ----- compute-uri-for-owl-declaration-2: 1/4 new triple (1283, 0:00:00.024476) +- INFO - ----- compute-uri-for-owl-declaration-3: 1/1 new triple (1284, 0:00:00.034991) +- DEBUG - ----- compute-uri-for-owl-declaration-4: 0/0 new triple (1284, 0:00:00.022890) +- INFO - ----- compute-uri-for-owl-declaration-5: 4/4 new triples (1288, 0:00:00.027774) +- INFO - ----- compute-uri-for-owl-declaration-6: 4/4 new triples (1292, 0:00:00.027834) +- INFO - ----- compute-uri-for-owl-declaration-7: 1/1 new triple (1293, 0:00:00.022912) +- INFO - ----- compute-uri-for-owl-declaration-101: 3/7 new triples (1296, 0:00:00.029367) +- DEBUG - ----- compute-uri-for-owl-declaration-102: 0/1 new triple (1296, 0:00:00.022050) +- INFO - ----- generate-atom-class: 12/12 new triples (1308, 0:00:00.010076) +- INFO - ----- classify-atom-class-1: 4/4 new triples (1312, 0:00:00.008194) +- DEBUG - ----- classify-atom-class-2: 0/0 new triple (1312, 0:00:00.015421) +- INFO - ----- generate-individual: 3/3 new triples (1315, 0:00:00.010551) +- DEBUG - ----- classify-individual-1: 0/0 new triple (1315, 0:00:00.007729) +- INFO - ----- classify-individual-2: 4/4 new triples (1319, 0:00:00.011406) +- INFO - ----- generate-atom-property-1: 20/20 new triples (1339, 0:00:00.011432) +- INFO - ----- generate-atom-property-12: 8/16 new triples (1347, 0:00:00.011614) +- DEBUG - ----- generate-inverse-relation: 0/0 new triple (1347, 0:00:00.007902) +- INFO - ----- generate-composite-class: 18/18 new triples (1365, 0:00:00.012878) +- DEBUG - ----- add-restriction-to-class-1: 0/0 new triple (1365, 0:00:00.019922) +- DEBUG - ----- add-restriction-to-class-2: 0/0 new triple (1365, 0:00:00.015845) +- INFO - ----- add-restriction-to-class-3: 20/24 new triples (1385, 0:00:00.023267) +- DEBUG - ----- add-restriction-to-class-4: 0/0 new triple (1385, 0:00:00.015490) +- DEBUG - ----- add-restriction-to-class-5: 0/0 new triple (1385, 0:00:00.018378) +- DEBUG - ----- add-restriction-to-class-6: 0/0 new triple (1385, 0:00:00.015439) +- DEBUG - ----- generate-composite-property-1: 0/0 new triple (1385, 0:00:00.009538) +- INFO - ----- generate-composite-property-2: 12/12 new triples (1397, 0:00:00.010759) +- INFO - ----- generate-composite-property-3: 2/2 new triples (1399, 0:00:00.008776) +- DEBUG - --- Serializing graph to ontologies_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: http://ontologies +- DEBUG - ----- work_file: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ontologies-1/ontologies_generation.ttl +- DEBUG - ----- base: http://http://ontologies/generation +- INFO - ----- 125 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/onto-by-sentence/ontologies-1/ontologies_factoid.ttl) +- DEBUG - ----- Number of factoids: 145 +- DEBUG - ----- Graph base: http://http://ontologies/factoid +- INFO - + === Final Ontology Generation === +- INFO - -- Making complete factoid graph by merging the result factoids +- INFO - ----- Total factoid number: 145 +- INFO - -- Serializing graph to factoid string +- INFO - ----- Graph base: http://http://ontologies/factoid +- INFO - -- Serializing graph to factoid file +- INFO - ----- Ontology Turtle File: /opt/data/tmp/demo-tetras-mars/2dfb5331-e3b2-4fa1-b31a-820f48b2541a/full-ontology.ttl +- INFO - + === Done ===