diff --git a/tenet/scheme/amr_clara_rule/__init__.py b/tenet/scheme/amr_clara_rule/__init__.py index fa79ee9a40cd48786ea19990ddbc9c9e48c788c5..a4dd4a8c65cbcfb9b6e6ee02875ee7cb8d1b5322 100644 --- a/tenet/scheme/amr_clara_rule/__init__.py +++ b/tenet/scheme/amr_clara_rule/__init__.py @@ -14,6 +14,8 @@ from scheme.amr_clara_rule.transduction.composite_class_extractor_2 import * from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_1 import * from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_2 import * from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_3 import * +from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_4 import * +from scheme.amr_clara_rule.transduction.phenomena_polarity_analyzer_5 import * from scheme.amr_clara_rule.transduction.phenomena_mod_analyzer_1 import * from scheme.amr_clara_rule.transduction.phenomena_or_analyzer_1 import * from scheme.amr_clara_rule.transduction.phenomena_or_analyzer_2 import * diff --git a/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_2.py b/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_2.py index ef7bd20ad40fb5292ed4a7639019be7946b3b72a..57358c28384afd9cb7ae498db8464dd8d28d095b 100644 --- a/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_2.py +++ b/tenet/scheme/amr_clara_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_clara_rule/transduction/phenomena_polarity_analyzer_3.py b/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_3.py index 1604039e5c74f46ee5b100735044695e94505da6..4ec13bcb58f95a7303e297696de6b38aecda5370 100644 --- a/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_3.py +++ b/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_3.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_3(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_clara_rule/transduction/phenomena_polarity_analyzer_4.py b/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_4.py new file mode 100644 index 0000000000000000000000000000000000000000..74408944a81b96acb6e7136fceb2d997ab3c2fa5 --- /dev/null +++ b/tenet/scheme/amr_clara_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_clara_rule/transduction/phenomena_polarity_analyzer_5.py b/tenet/scheme/amr_clara_rule/transduction/phenomena_polarity_analyzer_5.py new file mode 100644 index 0000000000000000000000000000000000000000..2a1a04f674358ef62e2aada049211e5e4b220385 --- /dev/null +++ b/tenet/scheme/amr_clara_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_scheme_clara_1.py b/tenet/scheme/amr_scheme_clara_1.py index 454913b95083fbca60a0e8be2ddc35b5db19a81d..88bc556d00d62c556f05b7a821d7b4c7e74737b1 100644 --- a/tenet/scheme/amr_scheme_clara_1.py +++ b/tenet/scheme/amr_scheme_clara_1.py @@ -185,6 +185,8 @@ phenomena_analyze_sequence_1 = ['phenomena analyze sequence (1)', rule.analyze_phenomena_polarity_1, rule.analyze_phenomena_polarity_2, rule.analyze_phenomena_polarity_3, + rule.analyze_phenomena_polarity_4, + rule.analyze_phenomena_polarity_5, rule.analyze_phenomena_mod_1 ] diff --git a/tenet/tenet.log b/tenet/tenet.log index a1396730afe97306a9dd92d06179499b4254c6f1..ad737fd0ca4ef556293295dcca2fec4562a9bd04 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -2,7 +2,7 @@ - INFO - === Process Initialization === - INFO - -- Process Setting -- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl (amr) +- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/ (amr) - INFO - ----- Base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/aos06_factoid.ttl - INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/ - INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/06/ @@ -14,7 +14,7 @@ ----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml ----- uuid: https://tenet.tetras-libre.fr/demo/clara/06/ ----- technical base name: tenet.tetras-libre.fr_demo_clara_06 - ----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl + ----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/ ----- target reference: base ----- process level: sentence ----- source type: amr @@ -41,7 +41,7 @@ ----- ontology suffix: -ontology.ttl ----- ontology seed suffix: -ontology-seed.ttl -- Source File Definition - ----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl**/*.ttl + ----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/**/*.ttl -- Target File Definition ----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl ----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl @@ -49,8 +49,367 @@ ----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/ ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06.ttl *** - *** +- DEBUG - -- Counting number of graph files (sentences) +- INFO - ----- Number of Graphs: 9 - INFO - === Extraction Processing === +- INFO - *** sentence 1 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl (560) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-05 +- INFO - ----- Sentence (text): Movie9899 can be displayed only after 2019. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (560, 0:00:00.036923) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (565, 0:00:00.115527) +- INFO - ----- reclassify-concept-2: 8/8 new triples (573, 0:00:00.058537) +- INFO - ----- reclassify-concept-3: 4/4 new triples (577, 0:00:00.046254) +- INFO - ----- reclassify-concept-4: 8/8 new triples (585, 0:00:00.058727) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (585, 0:00:00.046772) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (585, 0:00:00.045987) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (610, 0:00:00.030600) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (610, 0:00:00.040958) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (628, 0:00:00.033568) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (628, 0:00:00.037406) +- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (643, 0:00:00.106846) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (643, 0:00:00.083781) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (648, 0:00:00.074208) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (648, 0:00:00.070137) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (648, 0:00:00.094279) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (653, 0:00:00.051120) +- INFO - ----- add-amr-root: 5/5 new triples (658, 0:00:00.024393) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 98 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 12/12 new triples (670, 0:00:00.072020) +- INFO - ----- extract atom individuals: 8/8 new triples (678, 0:00:00.046655) +- INFO - ----- extract atomic properties: 36/36 new triples (714, 0:00:00.197352) +- INFO - ----- extract atom values: 5/5 new triples (719, 0:00:00.028267) +- INFO - ----- extract atom phenomena: 7/7 new triples (726, 0:00:00.037152) +- INFO - ----- propagate atom relations: 11/30 new triples (737, 0:00:00.521450) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (737, 0:00:00.007876) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (737, 0:00:00.013552) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (737, 0:00:00.016216) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (737, 0:00:00.031187) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (737, 0:00:00.039191) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (737, 0:00:00.009354) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (737, 0:00:00.017509) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (737, 0:00:00.010148) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (737, 0:00:00.023526) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (737, 0:00:00.026598) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (748, 0:00:00.119875) +- INFO - ----- extract ODRL rules: 11/11 new triples (759, 0:00:00.109284) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 101 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (760, 0:00:00.068705) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-1/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 2 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl (552) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-2/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-03 +- INFO - ----- Sentence (text): John is not allowed to play the movie. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.033897) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.125054) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.061433) +- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.062283) +- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.066571) +- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.048644) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.054264) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.036581) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.054443) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.033332) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.029671) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.095269) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.077713) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.079002) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.080232) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.159620) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.045684) +- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.024441) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-2/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 75 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 12/12 new triples (639, 0:00:00.067243) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.047393) +- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.045024) +- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.070049) +- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.052715) +- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.442880) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.014354) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.074091) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.016848) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.030785) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.029614) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.007994) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.017309) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.012614) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.021504) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.018956) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.119438) +- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.125679) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-2/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 101 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (729, 0:00:00.080821) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-2/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-2/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 3 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl (553) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-07 +- INFO - ----- Sentence (text): John is prohibited not to reproduce the Work. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.024157) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.118098) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.062341) +- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.054130) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.068256) +- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.044570) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.051368) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.032951) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.058414) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.038841) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.038287) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (611, 0:00:00.102759) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.092550) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (616, 0:00:00.146769) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (616, 0:00:00.075911) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (616, 0:00:00.075294) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (621, 0:00:00.037033) +- INFO - ----- add-amr-root: 5/5 new triples (626, 0:00:00.025040) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 73 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 6/6 new triples (632, 0:00:00.036188) +- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.051644) +- INFO - ----- extract atomic properties: 24/24 new triples (664, 0:00:00.077383) +- INFO - ----- extract atom values: 5/5 new triples (669, 0:00:00.028447) +- INFO - ----- extract atom phenomena: 7/7 new triples (676, 0:00:00.042951) +- INFO - ----- propagate atom relations: 12/38 new triples (688, 0:00:00.473471) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.012390) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (688, 0:00:00.013330) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (688, 0:00:00.015670) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (688, 0:00:00.039878) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (688, 0:00:00.038318) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (688, 0:00:00.007519) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (688, 0:00:00.012118) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (688, 0:00:00.014931) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (688, 0:00:00.021452) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (688, 0:00:00.021410) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (699, 0:00:00.137797) +- INFO - ----- extract ODRL rules: 11/11 new triples (710, 0:00:00.127402) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 84 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (711, 0:00:00.085131) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-3/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 4 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl (554) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-09 +- INFO - ----- Sentence (text): John is obligated not to reproduce the Work. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (554, 0:00:00.036439) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.104860) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.045767) +- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.053142) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (567, 0:00:00.065776) +- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.036900) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.041088) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.030651) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.048025) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.122799) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.040829) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (612, 0:00:00.090198) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (612, 0:00:00.070716) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (617, 0:00:00.069440) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (617, 0:00:00.060541) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (622, 0:00:00.082610) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (628, 0:00:00.040891) +- INFO - ----- add-amr-root: 5/5 new triples (633, 0:00:00.028868) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 79 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 6/6 new triples (639, 0:00:00.039103) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.051808) +- INFO - ----- extract atomic properties: 25/25 new triples (672, 0:00:00.092903) +- INFO - ----- extract atom values: 10/10 new triples (682, 0:00:00.055521) +- INFO - ----- extract atom phenomena: 7/7 new triples (689, 0:00:00.040099) +- INFO - ----- propagate atom relations: 14/40 new triples (703, 0:00:00.397458) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (738, 0:00:00.109890) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (738, 0:00:00.016606) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (738, 0:00:00.015841) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (738, 0:00:00.033634) +- INFO - ----- analyze "polarity" phenomena (5): 15/19 new triples (753, 0:00:00.084708) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (753, 0:00:00.010438) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (753, 0:00:00.011378) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (753, 0:00:00.011560) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (753, 0:00:00.024387) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (753, 0:00:00.019458) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 12/14 new triples (765, 0:00:00.130892) +- INFO - ----- extract ODRL rules: 11/11 new triples (776, 0:00:00.131060) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 143 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (777, 0:00:00.080756) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-4/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 5 *** - INFO - -- Work Structure Preparation - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading @@ -63,8 +422,8 @@ - DEBUG - ----- Sentence Loading - DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl (552) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-0/tenet.tetras-libre.fr_demo_clara_06.ttl -- INFO - ----- Sentence (id): document-03 +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-06 - INFO - ----- Sentence (text): John is not allowed to play the movie. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) - DEBUG - ----- Step number: 3 @@ -72,75 +431,433 @@ - DEBUG - ----- Total rule number: 87 - INFO - -- Applying extraction step: preprocessing - INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence -- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.027393) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (552, 0:00:00.036668) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.118606) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.077520) -- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.069388) -- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.058728) -- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.057849) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.047485) -- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.038427) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.052393) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.051898) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.049873) -- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.131533) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.099449) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.167868) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.078077) -- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.075222) -- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.048134) -- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.026306) +- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.118547) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.063135) +- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.061094) +- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.076517) +- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.134791) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.053703) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.029246) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.054151) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.041515) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.037999) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.101620) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.096763) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.082625) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.093437) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.073358) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.041059) +- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.034890) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-0/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing - INFO - ----- 75 triples extracted during preprocessing step - INFO - -- Applying extraction step: transduction - INFO - --- *** February Transduction *** Sequence: atomic extraction sequence -- INFO - ----- extract atom classes: 12/12 new triples (639, 0:00:00.064931) -- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.040810) -- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.041424) -- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.060569) -- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.044437) -- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.388213) +- INFO - ----- extract atom classes: 12/12 new triples (639, 0:00:00.068852) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.046162) +- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.045696) +- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.060752) +- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.044294) +- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.404866) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.009112) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.064310) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.014507) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.029800) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.028425) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.008411) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.013847) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.015070) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.019553) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.017349) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.121874) +- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.121943) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 101 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (729, 0:00:00.089328) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-5/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 6 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl (556) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-04 +- INFO - ----- Sentence (text): Movie9899 can be displayed only in Germany. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (556, 0:00:00.027362) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.215070) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.065321) +- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.049954) +- INFO - ----- reclassify-concept-4: 8/8 new triples (573, 0:00:00.083164) +- INFO - ----- reclassify-concept-5: 4/4 new triples (577, 0:00:00.054823) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (577, 0:00:00.045772) +- INFO - ----- reclassify-existing-variable: 22/22 new triples (599, 0:00:00.033684) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (599, 0:00:00.060475) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (614, 0:00:00.039139) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (614, 0:00:00.033717) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (626, 0:00:00.098263) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (626, 0:00:00.089773) +- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (636, 0:00:00.082097) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (636, 0:00:00.085202) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (636, 0:00:00.088331) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (642, 0:00:00.048087) +- INFO - ----- add-amr-root: 5/5 new triples (647, 0:00:00.025679) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 91 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 18/18 new triples (665, 0:00:00.107672) +- INFO - ----- extract atom individuals: 16/16 new triples (681, 0:00:00.086632) +- INFO - ----- extract atomic properties: 13/13 new triples (694, 0:00:00.049437) +- INFO - ----- extract atom values: 10/10 new triples (704, 0:00:00.051376) +- INFO - ----- extract atom phenomena: 7/7 new triples (711, 0:00:00.036834) +- INFO - ----- propagate atom relations: 15/52 new triples (726, 0:00:00.542057) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (726, 0:00:00.012683) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (726, 0:00:00.015977) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (726, 0:00:00.016489) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (726, 0:00:00.029169) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (726, 0:00:00.029569) +- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (747, 0:00:00.099888) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (747, 0:00:00.015511) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (747, 0:00:00.011003) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (747, 0:00:00.024495) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (747, 0:00:00.020557) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (758, 0:00:00.124792) +- INFO - ----- extract ODRL rules: 11/11 new triples (769, 0:00:00.121126) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 122 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (770, 0:00:00.181507) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-6/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 7 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl (547) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-01 +- INFO - ----- Sentence (text): Movie9898 can be used. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (547, 0:00:00.041268) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (552, 0:00:00.239869) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (552, 0:00:00.076134) +- INFO - ----- reclassify-concept-3: 4/4 new triples (556, 0:00:00.040492) +- INFO - ----- reclassify-concept-4: 4/4 new triples (560, 0:00:00.063367) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (560, 0:00:00.038054) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (560, 0:00:00.043772) +- INFO - ----- reclassify-existing-variable: 13/13 new triples (573, 0:00:00.025644) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (573, 0:00:00.046208) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (582, 0:00:00.033376) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (582, 0:00:00.026599) +- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (588, 0:00:00.080992) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (588, 0:00:00.073086) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (593, 0:00:00.074926) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (593, 0:00:00.062092) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (593, 0:00:00.069564) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (596, 0:00:00.025390) +- INFO - ----- add-amr-root: 5/5 new triples (601, 0:00:00.021986) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 54 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 6/6 new triples (607, 0:00:00.034270) +- INFO - ----- extract atom individuals: 8/8 new triples (615, 0:00:00.065058) +- INFO - ----- extract atomic properties: 12/12 new triples (627, 0:00:00.051281) +- INFO - ----- extract atom values: 5/5 new triples (632, 0:00:00.047310) +- INFO - ----- extract atom phenomena: 7/7 new triples (639, 0:00:00.038085) +- INFO - ----- propagate atom relations: 7/22 new triples (646, 0:00:00.377316) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (646, 0:00:00.009378) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (646, 0:00:00.013550) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (646, 0:00:00.014833) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (646, 0:00:00.045156) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (646, 0:00:00.033539) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (646, 0:00:00.007712) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (646, 0:00:00.012436) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (646, 0:00:00.011418) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (646, 0:00:00.023639) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (646, 0:00:00.020145) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (657, 0:00:00.113399) +- INFO - ----- extract ODRL rules: 11/11 new triples (668, 0:00:00.109372) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 67 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (669, 0:00:00.070824) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-7/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 8 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl (553) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-08 +- INFO - ----- Sentence (text): John is not allowed not to reproduce the Work. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (553, 0:00:00.025388) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.121476) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.067428) +- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.054030) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.060180) +- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.057378) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.050403) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.041783) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.052092) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.045680) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.036421) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.089970) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.086585) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (613, 0:00:00.066845) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.074438) +- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (621, 0:00:00.082295) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (627, 0:00:00.057875) +- INFO - ----- add-amr-root: 5/5 new triples (632, 0:00:00.029471) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 79 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 6/6 new triples (638, 0:00:00.041984) +- INFO - ----- extract atom individuals: 8/8 new triples (646, 0:00:00.040378) +- INFO - ----- extract atomic properties: 25/25 new triples (671, 0:00:00.074969) +- INFO - ----- extract atom values: 10/10 new triples (681, 0:00:00.051836) +- INFO - ----- extract atom phenomena: 7/7 new triples (688, 0:00:00.039009) +- INFO - ----- propagate atom relations: 12/30 new triples (700, 0:00:00.455260) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (735, 0:00:00.100453) +- INFO - ----- analyze "polarity" phenomena (2): 14/17 new triples (749, 0:00:00.063677) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (749, 0:00:00.020476) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (749, 0:00:00.033043) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (749, 0:00:00.033802) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (749, 0:00:00.011741) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (749, 0:00:00.014457) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (749, 0:00:00.016878) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (749, 0:00:00.022107) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (749, 0:00:00.018460) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 12/14 new triples (761, 0:00:00.116854) +- INFO - ----- extract ODRL rules: 11/11 new triples (772, 0:00:00.120739) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction +- INFO - ----- 140 triples extracted during transduction step +- INFO - -- Applying extraction step: generation +- INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence +- INFO - ----- generate ODRL rule: 1/1 new triple (773, 0:00:00.081893) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-8/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid +- INFO - *** sentence 9 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (320) +- DEBUG - -------- Semantic Net Definition (466) +- DEBUG - -------- Config Parameter Definition (500) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (530) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl (551) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-02 +- INFO - ----- Sentence (text): John must play the movie. +- INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) +- DEBUG - ----- Step number: 3 +- INFO - -- Loading Extraction Rules (amr_clara_rule/*) +- DEBUG - ----- Total rule number: 87 +- INFO - -- Applying extraction step: preprocessing +- INFO - --- *** November Transduction *** Sequence: amrld-correcting-sequence +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (551, 0:00:00.026760) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (556, 0:00:00.133450) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (556, 0:00:00.063236) +- INFO - ----- reclassify-concept-3: 4/4 new triples (560, 0:00:00.044043) +- INFO - ----- reclassify-concept-4: 4/4 new triples (564, 0:00:00.076241) +- INFO - ----- reclassify-concept-5: 4/4 new triples (568, 0:00:00.059806) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (568, 0:00:00.057537) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (585, 0:00:00.038064) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.060755) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.038036) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.033429) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.101773) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.077886) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (611, 0:00:00.078761) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.162881) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (611, 0:00:00.081050) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (615, 0:00:00.032170) +- INFO - ----- add-amr-root: 5/5 new triples (620, 0:00:00.026791) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//preprocessing +- INFO - ----- 69 triples extracted during preprocessing step +- INFO - -- Applying extraction step: transduction +- INFO - --- *** February Transduction *** Sequence: atomic extraction sequence +- INFO - ----- extract atom classes: 12/12 new triples (632, 0:00:00.080839) +- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.041714) +- INFO - ----- extract atomic properties: 13/13 new triples (653, 0:00:00.047734) +- INFO - ----- extract atom values: 5/5 new triples (658, 0:00:00.030491) +- INFO - ----- extract atom phenomena: 7/7 new triples (665, 0:00:00.040102) +- INFO - ----- propagate atom relations: 10/26 new triples (675, 0:00:00.354812) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.011273) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (688, 0:00:00.011297) -- INFO - ----- analyze "polarity" phenomena (3): 12/14 new triples (700, 0:00:00.062516) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (700, 0:00:00.009401) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (675, 0:00:00.009172) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (675, 0:00:00.012514) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (675, 0:00:00.016782) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (675, 0:00:00.034264) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (675, 0:00:00.033376) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (675, 0:00:00.011714) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (700, 0:00:00.014116) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (700, 0:00:00.012088) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (675, 0:00:00.013416) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (675, 0:00:00.011886) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (700, 0:00:00.020955) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (700, 0:00:00.021138) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (675, 0:00:00.026214) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (675, 0:00:00.021397) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 15/17 new triples (715, 0:00:00.131269) -- INFO - ----- extract ODRL rules: 12/12 new triples (727, 0:00:00.112995) +- INFO - ----- extract ODRL actions: 14/15 new triples (689, 0:00:00.129458) +- INFO - ----- extract ODRL rules: 12/12 new triples (701, 0:00:00.129295) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-0/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//transduction -- INFO - ----- 100 triples extracted during transduction step +- INFO - ----- 81 triples extracted during transduction step - INFO - -- Applying extraction step: generation - INFO - --- *** February Transduction *** Sequence: ODRL Rule Generation Sequence -- INFO - ----- generate ODRL rule: 1/1 new triple (728, 0:00:00.089116) +- INFO - ----- generate ODRL rule: 1/1 new triple (702, 0:00:00.091941) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_06_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/06/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-0/tenet.tetras-libre.fr_demo_clara_06_generation.ttl +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06_generation.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/06//generation - INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-0/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos06-20230418/technical-data/tenet.tetras-libre.fr_demo_clara_06-9/tenet.tetras-libre.fr_demo_clara_06_factoid.ttl) - DEBUG - ----- Number of factoids: 1 - DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid - INFO - === Final Ontology Generation === - INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 1 +- INFO - ----- Total factoid number: 9 - INFO - -- Serializing graph to factoid string - INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/06//factoid - INFO - -- Serializing graph to factoid file @@ -149,7 +866,7 @@ === Done === - INFO - *** Execution Time *** ------ Function: create_ontology_from_amrld_file (tenet.main) ------ Total Time: 0:00:02.828446 ------ Process Time: 0:00:02.793201 +----- Function: create_ontology_from_amrld_dir (tenet.main) +----- Total Time: 0:00:24.946716 +----- Process Time: 0:00:24.468895 *** - *** diff --git a/tests/dev_tests/test_data/negation-devGraph-4.result.ttl b/tests/dev_tests/test_data/negation-devGraph-4.result.ttl index bd7f123da57a5bcddc6967f83e1700d7e7b0ef9e..f90dc27aa6de5eb09ca6d6b847cabb06c449f9de 100644 --- a/tests/dev_tests/test_data/negation-devGraph-4.result.ttl +++ b/tests/dev_tests/test_data/negation-devGraph-4.result.ttl @@ -759,9 +759,6 @@ net:Atom_Class_Net a owl:Class ; net:Class_Net a owl:Class ; rdfs:subClassOf net:Net . -net:Deprecated_Net a owl:Class ; - rdfs:subClassOf net:Net . - net:Phenomena_Net a owl:Class ; rdfs:subClassOf net:Net . @@ -843,6 +840,9 @@ ns3:FrameRole a ns11:Role, :toReify a owl:AnnotationProperty ; rdfs:subPropertyOf :AMR_AnnotationProperty . +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + net:Net_Structure a owl:Class ; rdfs:label "Semantic Net Structure" ; rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . @@ -851,7 +851,8 @@ net:has_relation_value a owl:AnnotationProperty ; rdfs:label "has relation value" ; rdfs:subPropertyOf net:has_object . -net:value_negative_blankNode a net:Value_Net ; +net:value_negative_blankNode a net:Deprecated_Net, + net:Value_Net ; net:coverAmrValue :value_negative ; net:hasNaming "negative" ; net:hasStructure "document-03" ; diff --git a/tests/dev_tests/test_data/negation-devGraph-5.result.ttl b/tests/dev_tests/test_data/negation-devGraph-5.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..d47c3428fa6879ed5734d0db808e8a4200660508 --- /dev/null +++ b/tests/dev_tests/test_data/negation-devGraph-5.result.ttl @@ -0,0 +1,1168 @@ +@base <https://amr.tetras-libre.fr/rdf/negation-devGraph-5/result> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns3: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns4: <http://amr.isi.edu/entity-types#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +<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:allow-01.ARG1 a ns11:FrameRole, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:reproduce-01.ARG0 a ns11:FrameRole, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns11:reproduce-01.ARG1 a ns11:FrameRole, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:domain a ns3:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns2:polarity a owl:AnnotationProperty . + +ns3:has-id a owl:AnnotationProperty . + +ns3:has-sentence a owl:AnnotationProperty . + +ns3:hasID a owl:AnnotationProperty . + +ns3:hasSentence a owl:AnnotationProperty . + +ns3:root a owl:AnnotationProperty . + +rdf:Property a owl:Class . + +<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_ARG1_r a owl:AnnotationProperty, + owl:NamedIndividual, + :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_a_polarity_negative a owl:AnnotationProperty, + owl:NamedIndividual, + :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +:edge_p_name_John a owl:AnnotationProperty, + owl:NamedIndividual, + :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_r_ARG0_p a owl:AnnotationProperty, + owl:NamedIndividual, + :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_r_ARG1_w a owl:AnnotationProperty, + owl:NamedIndividual, + :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_r_polarity_negative a owl:AnnotationProperty, + owl:NamedIndividual, + :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +: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 . + +:hasAmrRole a owl:AnnotationProperty . + +: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 . + +:hasPhenomenaLink a owl:AnnotationProperty . + +: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 . + +:name a owl: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_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_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_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-08 a owl:NamedIndividual, + :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#root01> ; + :hasRootLeaf :leaf_allow-01_a ; + :hasSentenceID "asail_odrl_sentences-08" ; + :hasSentenceStatement "John is not allowed not to reproduce the Work." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +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 . + +cprm:Config_Parameters a owl:Class, + owl:NamedIndividual ; + 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 owl:AnnotationProperty, + owl:DatatypeProperty ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a owl:AnnotationProperty, + owl:DatatypeProperty ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a owl:AnnotationProperty ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a owl:AnnotationProperty ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a owl:AnnotationProperty ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a owl:AnnotationProperty, + owl:DatatypeProperty ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:axiom_disjointProperty_not-reproduce_reproduce_r a owl:NamedIndividual, + net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-reproduce_reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-08" . + +net:axiom_disjointProperty_reproduce_not-reproduce_r a owl:NamedIndividual, + net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_reproduce_not-reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-08" . + +net:composeFrom a owl:AnnotationProperty . + +net:coverAmrValue a owl:AnnotationProperty . + +net:coverBaseNode a owl:AnnotationProperty . + +net:coverNode a owl:AnnotationProperty . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:hasActionName a owl:AnnotationProperty . + +net:hasAssigneeIndividualNet a owl:AnnotationProperty . + +net:hasAxiomName a owl:AnnotationProperty . + +net:hasAxiomURI a owl:AnnotationProperty . + +net:hasClassName a owl:AnnotationProperty . + +net:hasIndividualLabel a owl:AnnotationProperty . + +net:hasMotherClassNet a owl:AnnotationProperty . + +net:hasNaming a owl:AnnotationProperty . + +net:hasNetArgument a owl:AnnotationProperty . + +net:hasPhenomenaRef a owl:AnnotationProperty . + +net:hasPhenomenaType a owl:AnnotationProperty . + +net:hasPropertyName a owl:AnnotationProperty . + +net:hasPropertyName01 a owl:AnnotationProperty . + +net:hasPropertyName10 a owl:AnnotationProperty . + +net:hasPropertyName12 a owl:AnnotationProperty . + +net:hasPropertyType a owl:AnnotationProperty . + +net:hasRuleActionURI a owl:AnnotationProperty . + +net:hasRuleRelationName a owl:AnnotationProperty . + +net:hasStructure a owl:AnnotationProperty . + +net:hasValueLabel a owl:AnnotationProperty . + +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:isCoreRoleLinked a owl:AnnotationProperty . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat1 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 1)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat2 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 2)" ; + rdfs:subPropertyOf net:objectValue . + +net:normal_direction a owl:NamedIndividual . + +net:phenomena_obligation-modality_a a net:Phenomena_Net ; + :role_ARG1 net:action_reproduce_r, + net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:phenomena_prohibition-modality_a, + net:value_negative_blankNode ; + net:coverBaseNode :leaf_allow-01_a ; + net:coverNode :leaf_allow-01_a ; + net:hasNaming "obligation-modality" ; + net:hasPhenomenaRef "not-[rdflib.term.Literal(\"not-[rdflib.term.Literal('allow-01')]\")]" ; + net:hasPhenomenaType :phenomena_modality_obligation ; + net:hasStructure "asail_odrl_sentences-08" . + +net:rule_prohibition_a a owl:NamedIndividual, + net:Rule_Net ; + net:composeFrom net:action_reproduce_r, + net:phenomena_prohibition-modality_a ; + net:coverBaseNode :leaf_allow-01_a ; + net:coverNode :leaf_allow-01_a, + :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasNaming "prohibition" ; + net:hasRuleActionURI net:action_reproduce_r ; + net:hasRuleRelationName "prohibition" ; + net:hasStructure "asail_odrl_sentences-08" . + +net:targetArgumentNode a owl:AnnotationProperty . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#root01> a ns3:AMR, + owl:NamedIndividual ; + ns3:has-id "asail_odrl_sentences-08" ; + ns3:has-sentence "John is not allowed not to reproduce the Work." ; + ns3:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> . + +<http://amr.isi.edu/amr_data/test-1#s> ns2:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns3:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:NamedEntity a ns3:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_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 . + +:concept_allow-01 a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:allow-01 ; + :hasPhenomenaLink :phenomena_modality_possible ; + :label "allow-01" . + +:concept_person a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns4:person ; + :label "person" . + +:concept_reproduce-01 a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:reproduce-01 ; + :label "reproduce-01" . + +:concept_work-01 a owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:work-01 ; + :label "work-01" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:phenomena_modality_prohibition a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + +:role_ARG0 a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_name a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:variable_a a owl:NamedIndividual, + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> ; + :label "a" . + +:variable_p a owl:NamedIndividual, + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> ; + :label "p" ; + :name "John" . + +:variable_r a owl:NamedIndividual, + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> ; + :label "r" . + +:variable_w a owl:NamedIndividual, + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> ; + :label "w" . + +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:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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_possible-modality_a a owl:NamedIndividual, + net:Deprecated_Net, + net:Phenomena_Net ; + :role_ARG1 net:action_reproduce_r, + net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_allow-01_a ; + net:coverNode :leaf_allow-01_a ; + net:hasNaming "possible-modality" ; + net:hasPhenomenaRef "allow-01" ; + net:hasPhenomenaType :phenomena_modality_possible ; + net:hasStructure "asail_odrl_sentences-08" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> a ns11:allow-01, + owl:Class, + owl:NamedIndividual ; + ns11:allow-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> ; + ns2:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> a ns4:person, + owl:Class, + owl:NamedIndividual ; + rdfs:label "John" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> a ns11:reproduce-01, + owl:Class, + owl:NamedIndividual ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> ; + ns2:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> a ns11:work-01, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Linked_Data . + +ns4:person a ns3:NamedEntity, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:allow-01 a ns3:Frame, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:reproduce-01 a ns3:Frame, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:work-01 a ns3:Frame, + owl:Class, + owl:NamedIndividual ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:Concept a owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns3:Role a owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +: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_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:role_ARG1 a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:role_polarity a owl:AnnotationProperty, + owl:Class, + owl:NamedIndividual, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:value_John a owl:NamedIndividual, + :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Axiom_Net a owl:Class . + +net:Class_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:atomProperty_work_w a owl:NamedIndividual, + net:Atom_Property_Net ; + net:coverBaseNode :leaf_work-01_w ; + net:coverNode :leaf_work-01_w ; + net:hasNaming "work" ; + net:hasPropertyName "work" ; + net:hasPropertyName01 "working" ; + net:hasPropertyName10 "work-by" ; + net:hasPropertyName12 "work-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-08" ; + net:isCoreRoleLinked "true" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:phenomena_prohibition-modality_a a owl:NamedIndividual, + net:Deprecated_Net, + net:Phenomena_Net ; + :role_ARG1 net:action_reproduce_r, + net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:phenomena_possible-modality_a, + net:value_negative_blankNode ; + net:coverBaseNode :leaf_allow-01_a ; + net:coverNode :leaf_allow-01_a ; + net:hasNaming "prohibition-modality" ; + net:hasPhenomenaRef "not-[rdflib.term.Literal('allow-01')]" ; + net:hasPhenomenaType :phenomena_modality_prohibition ; + net:hasStructure "asail_odrl_sentences-08" . + +net:value_John_blankNode a owl:NamedIndividual, + net:Value_Net ; + net:coverAmrValue :value_John ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-08" ; + net:hasValueLabel "John" . + +ns11:FrameRole a ns3:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + 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_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +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:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:atomClass_person_p a owl:NamedIndividual, + net:Atom_Class_Net, + net:Deprecated_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasClassName "person" ; + net:hasNaming "person" ; + net:hasStructure "asail_odrl_sentences-08" . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +:AMR_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_work-01_w a owl:NamedIndividual, + :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +:value_negative a owl:NamedIndividual, + :AMR_Value ; + rdfs:label "negative" . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:individual_John_p a owl:NamedIndividual, + net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-08" . + +: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:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:action_reproduce_r a owl:NamedIndividual, + net:Action_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:individual_John_p ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasActionName "reproduce" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "reproduce" ; + net:hasStructure "asail_odrl_sentences-08" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +cprm:configParamProperty a owl:AnnotationProperty ; + rdfs:label "Config Parameter Property" . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:compositeProperty_not-reproduce_r a owl:NamedIndividual, + net:Composite_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "not-reproduce" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-08" . + +net:value_negative_blankNode a owl:NamedIndividual, + net:Deprecated_Net, + net:Value_Net ; + net:coverAmrValue :value_negative ; + net:hasNaming "negative" ; + net:hasStructure "asail_odrl_sentences-08" ; + net:hasValueLabel "negative" . + +:leaf_person_p a owl:NamedIndividual, + :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_allow-01_a a owl:NamedIndividual, + :AMR_Leaf ; + :edge_a_ARG1_r :leaf_reproduce-01_r ; + :edge_a_polarity_negative :value_negative ; + :hasConcept :concept_allow-01 ; + :hasVariable :variable_a . + +net:atomProperty_reproduce_r a owl:NamedIndividual, + net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "reproduce" ; + net:hasPropertyName "reproduce" ; + net:hasPropertyName01 "reproduceing" ; + net:hasPropertyName10 "reproduce-by" ; + net:hasPropertyName12 "reproduce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-08" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w, + :value_negative . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_reproduce-01_r a owl:NamedIndividual, + :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :edge_r_polarity_negative :value_negative ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:AMR_Linked_Data a owl:Class . + +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/dev_tests/test_data/negation-devGraph-5.ttl b/tests/dev_tests/test_data/negation-devGraph-5.ttl new file mode 100644 index 0000000000000000000000000000000000000000..26f847b17eaf6438109805849a716f89674e876c --- /dev/null +++ b/tests/dev_tests/test_data/negation-devGraph-5.ttl @@ -0,0 +1,1869 @@ +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@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 sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xml: <http://www.w3.org/XML/1998/namespace> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix ns11: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@base <https://amr.tetras-libre.fr/rdf/schema> . + +<https://amr.tetras-libre.fr/rdf/schema> rdf:type owl:Ontology ; + owl:versionIRI <https://amr.tetras-libre.fr/rdf/schema#0.1> . + +################################################################# +# Annotation properties +################################################################# + +### http://amr.isi.edu/frames/ld/v1.2.2/allow-01.ARG1 +ns11:allow-01.ARG1 rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/frames/ld/v1.2.2/reproduce-01.ARG0 +ns11:reproduce-01.ARG0 rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/frames/ld/v1.2.2/reproduce-01.ARG1 +ns11:reproduce-01.ARG1 rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/rdf/amr-terms#domain +ns2:domain rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/rdf/amr-terms#polarity +ns2:polarity rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/rdf/core-amr#has-id +ns3:has-id rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/rdf/core-amr#has-sentence +ns3:has-sentence rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/rdf/core-amr#hasID +ns3:hasID rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/rdf/core-amr#hasSentence +ns3:hasSentence rdf:type owl:AnnotationProperty . + + +### http://amr.isi.edu/rdf/core-amr#root +ns3:root rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_AnnotationProperty +:AMR_AnnotationProperty rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_a_ARG1_r +:edge_a_ARG1_r rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_a_polarity_negative +:edge_a_polarity_negative rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_p_name_John +:edge_p_name_John rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_r_ARG0_p +:edge_r_ARG0_p rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_r_ARG1_w +:edge_r_ARG1_w rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_r_polarity_negative +:edge_r_polarity_negative rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#fromAmrLk +:fromAmrLk rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#fromAmrLkFramerole +:fromAmrLkFramerole rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + + +### https://amr.tetras-libre.fr/rdf/schema#fromAmrLkRole +:fromAmrLkRole rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + + +### https://amr.tetras-libre.fr/rdf/schema#fromAmrLkRoot +:fromAmrLkRoot rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + + +### https://amr.tetras-libre.fr/rdf/schema#getDirectPropertyName +:getDirectPropertyName rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#getInversePropertyName +:getInversePropertyName rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#getProperty +:getProperty rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#getPropertyType +:getPropertyType rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasAmrRole +:hasAmrRole rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasConceptLink +:hasConceptLink rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + + +### https://amr.tetras-libre.fr/rdf/schema#hasEdgeLink +:hasEdgeLink rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + + +### https://amr.tetras-libre.fr/rdf/schema#hasLink +:hasLink rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasPhenomenaLink +:hasPhenomenaLink rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasReification +:hasReification rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty ; + rdfs:range xsd:boolean . + + +### https://amr.tetras-libre.fr/rdf/schema#hasReificationConcept +:hasReificationConcept rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + + +### https://amr.tetras-libre.fr/rdf/schema#hasReificationDefinition +:hasReificationDefinition rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty ; + rdfs:range rdfs:Literal . + + +### https://amr.tetras-libre.fr/rdf/schema#hasReificationDomain +:hasReificationDomain rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + + +### https://amr.tetras-libre.fr/rdf/schema#hasReificationRange +:hasReificationRange rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + + +### https://amr.tetras-libre.fr/rdf/schema#hasRelationName +:hasRelationName rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasSentenceID +:hasSentenceID rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasSentenceStatement +:hasSentenceStatement rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#label +:label rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#name +:name rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG0 +:role_ARG0 rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG1 +:role_ARG1 rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#role_name +:role_name rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#role_polarity +:role_polarity rdf:type owl:AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#toReify +:toReify rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#toReifyAsConcept +:toReifyAsConcept rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + + +### https://amr.tetras-libre.fr/rdf/schema#toReifyWithBaseEdge +:toReifyWithBaseEdge rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + + +### https://amr.tetras-libre.fr/rdf/schema#toReifyWithHeadEdge +:toReifyWithHeadEdge rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + + +### https://tenet.tetras-libre.fr/base-ontology#Out_AnnotationProperty +sys:Out_AnnotationProperty rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/base-ontology#fromStructure +sys:fromStructure rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + + +### https://tenet.tetras-libre.fr/config/parameters#baseURI +cprm:baseURI rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf cprm:configParamProperty ; + rdfs:domain cprm:Frame . + + +### https://tenet.tetras-libre.fr/config/parameters#configParamProperty +cprm:configParamProperty rdf:type owl:AnnotationProperty ; + rdfs:label "Config Parameter Property" . + + +### https://tenet.tetras-libre.fr/config/parameters#netURI +cprm:netURI rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf cprm:configParamProperty ; + rdfs:domain cprm:Frame . + + +### https://tenet.tetras-libre.fr/config/parameters#newClassRef +cprm:newClassRef rdfs:label "Reference for a new class" ; + rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf cprm:configParamProperty . + + +### https://tenet.tetras-libre.fr/config/parameters#newPropertyRef +cprm:newPropertyRef rdfs:label "Reference for a new property" ; + rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf cprm:configParamProperty . + + +### https://tenet.tetras-libre.fr/config/parameters#objectRef +cprm:objectRef rdfs:label "Object Reference" ; + rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf cprm:configParamProperty . + + +### https://tenet.tetras-libre.fr/config/parameters#targetOntologyURI +cprm:targetOntologyURI rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf cprm:configParamProperty ; + rdfs:domain cprm:Frame . + + +### https://tenet.tetras-libre.fr/semantic-net#abstractionClass +net:abstractionClass rdf:type owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#atomType +net:atomType rdf:type owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + + +### https://tenet.tetras-libre.fr/semantic-net#composeFrom +net:composeFrom rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#coverAmrValue +net:coverAmrValue rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#coverBaseNode +net:coverBaseNode rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#coverNode +net:coverNode rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#entityClass +net:entityClass rdf:type owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#featureClass +net:featureClass rdf:type owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#hasActionName +net:hasActionName rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasAssigneeIndividualNet +net:hasAssigneeIndividualNet rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasAxiomName +net:hasAxiomName rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasAxiomURI +net:hasAxiomURI rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasClassName +net:hasClassName rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasIndividualLabel +net:hasIndividualLabel rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasMotherClassNet +net:hasMotherClassNet rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasNaming +net:hasNaming rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasNetArgument +net:hasNetArgument rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasPhenomenaRef +net:hasPhenomenaRef rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasPhenomenaType +net:hasPhenomenaType rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasPropertyName +net:hasPropertyName rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasPropertyName01 +net:hasPropertyName01 rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasPropertyName10 +net:hasPropertyName10 rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasPropertyName12 +net:hasPropertyName12 rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasPropertyType +net:hasPropertyType rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasRuleActionURI +net:hasRuleActionURI rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasRuleRelationName +net:hasRuleRelationName rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasStructure +net:hasStructure rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#hasValueLabel +net:hasValueLabel rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#has_atom +net:has_atom rdf:type owl:AnnotationProperty ; + rdfs:label "has atom" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_class +net:has_class rdf:type owl:AnnotationProperty ; + rdfs:label "is class" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_class_name +net:has_class_name rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf net:has_value . + + +### https://tenet.tetras-libre.fr/semantic-net#has_class_uri +net:has_class_uri rdf:type owl:AnnotationProperty ; + rdfs:label "class uri" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_concept +net:has_concept rdf:type owl:AnnotationProperty ; + rdfs:label "concept "@fr ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_entity +net:has_entity rdf:type owl:AnnotationProperty ; + rdfs:label "has entity" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_feature +net:has_feature rdf:type owl:AnnotationProperty ; + rdfs:label "has feature" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_instance +net:has_instance rdf:type owl:AnnotationProperty ; + rdfs:label "entity instance" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_instance_uri +net:has_instance_uri rdf:type owl:AnnotationProperty ; + rdfs:label "instance uri" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_item +net:has_item rdf:type owl:AnnotationProperty ; + rdfs:label "has item" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_mother_class +net:has_mother_class rdf:type owl:AnnotationProperty ; + rdfs:label "has mother class" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_mother_class_uri +net:has_mother_class_uri rdf:type owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_node +net:has_node rdf:type owl:AnnotationProperty ; + rdfs:label "UNL Node" ; + rdfs:subPropertyOf net:netProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#has_object +net:has_object rdf:type owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#has_parent +net:has_parent rdf:type owl:AnnotationProperty ; + rdfs:label "has parent" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_parent_class +net:has_parent_class rdf:type owl:AnnotationProperty ; + rdfs:label "parent class" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_parent_class_uri +net:has_parent_class_uri rdf:type owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#has_possible_domain +net:has_possible_domain rdf:type owl:AnnotationProperty ; + rdfs:label "has possible domain" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_possible_range +net:has_possible_range rdf:type owl:AnnotationProperty ; + rdfs:label "has possible range" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_relation +net:has_relation rdf:type owl:AnnotationProperty ; + rdfs:label "has relation" ; + rdfs:subPropertyOf net:has_relation_value . + + +### https://tenet.tetras-libre.fr/semantic-net#has_relation_value +net:has_relation_value rdf:type owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + + +### https://tenet.tetras-libre.fr/semantic-net#has_source +net:has_source rdf:type owl:AnnotationProperty ; + rdfs:label "has source" ; + rdfs:subPropertyOf net:has_relation_value . + + +### https://tenet.tetras-libre.fr/semantic-net#has_structure +net:has_structure rdf:type owl:AnnotationProperty ; + rdfs:label "Linguistic Structure (in UNL Document)" ; + rdfs:subPropertyOf net:netProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#has_target +net:has_target rdf:type owl:AnnotationProperty ; + rdfs:label "has target" ; + rdfs:subPropertyOf net:has_relation_value . + + +### https://tenet.tetras-libre.fr/semantic-net#has_value +net:has_value rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf net:netProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#isCoreRoleLinked +net:isCoreRoleLinked rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#listGuiding +net:listGuiding rdf:type owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#modCat1 +net:modCat1 rdf:type owl:AnnotationProperty ; + rdfs:label "Modality Category (level 1)" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#modCat2 +net:modCat2 rdf:type owl:AnnotationProperty ; + rdfs:label "Modality Category (level 2)" ; + rdfs:subPropertyOf net:objectValue . + + +### https://tenet.tetras-libre.fr/semantic-net#netProperty +net:netProperty rdf:type owl:AnnotationProperty ; + rdfs:label "netProperty" . + + +### https://tenet.tetras-libre.fr/semantic-net#objectProperty +net:objectProperty rdf:type owl:AnnotationProperty ; + rdfs:label "object attribute" . + + +### https://tenet.tetras-libre.fr/semantic-net#objectType +net:objectType rdf:type owl:AnnotationProperty ; + rdfs:label "object type" ; + rdfs:subPropertyOf net:objectProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#objectValue +net:objectValue rdf:type owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#targetArgumentNode +net:targetArgumentNode rdf:type owl:AnnotationProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#type +net:type rdf:type owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + + +### https://tenet.tetras-libre.fr/semantic-net#verbClass +net:verbClass rdf:type owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + + +################################################################# +# Object Properties +################################################################# + +### https://amr.tetras-libre.fr/rdf/schema#AMR_ObjectProperty +:AMR_ObjectProperty rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasConcept +:hasConcept rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty ; + rdfs:domain :AMR_Leaf . + + +### https://amr.tetras-libre.fr/rdf/schema#hasRoleID +:hasRoleID rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty ; + rdfs:domain :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#hasRoleTag +:hasRoleTag rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty ; + rdfs:domain :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#hasRolesetID +:hasRolesetID rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty ; + rdfs:domain :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#hasRootLeaf +:hasRootLeaf rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + + +### https://amr.tetras-libre.fr/rdf/schema#hasVariable +:hasVariable rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty ; + rdfs:domain :AMR_Leaf . + + +### https://tenet.tetras-libre.fr/base-ontology#Out_ObjectProperty +sys:Out_ObjectProperty rdf:type owl:ObjectProperty . + + +### https://tenet.tetras-libre.fr/base-ontology#hasDegree +sys:hasDegree rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + + +### https://tenet.tetras-libre.fr/base-ontology#hasFeature +sys:hasFeature rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + + +################################################################# +# Data properties +################################################################# + +### https://amr.tetras-libre.fr/rdf/schema#AMR_DataProperty +:AMR_DataProperty rdf:type owl:DatatypeProperty . + + +### https://tenet.tetras-libre.fr/config/parameters#baseURI +cprm:baseURI rdf:type owl:DatatypeProperty ; + rdfs:range xsd:string . + + +### https://tenet.tetras-libre.fr/config/parameters#netURI +cprm:netURI rdf:type owl:DatatypeProperty ; + rdfs:range xsd:string . + + +### https://tenet.tetras-libre.fr/config/parameters#targetOntologyURI +cprm:targetOntologyURI rdf:type owl:DatatypeProperty ; + rdfs:range xsd:string . + + +################################################################# +# Classes +################################################################# + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/entity-types#person +<http://amr.isi.edu/entity-types#person> rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/frames/ld/v1.2.2/FrameRole +ns11:FrameRole rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/frames/ld/v1.2.2/allow-01 +ns11:allow-01 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/frames/ld/v1.2.2/reproduce-01 +ns11:reproduce-01 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/frames/ld/v1.2.2/work-01 +ns11:work-01 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/rdf/core-amr#AMR +ns3:AMR rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/rdf/core-amr#Concept +ns3:Concept rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data ; + rdfs:label "AMR-Concept" . + + +### http://amr.isi.edu/rdf/core-amr#Frame +ns3:Frame rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/rdf/core-amr#NamedEntity +ns3:NamedEntity rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + + +### http://amr.isi.edu/rdf/core-amr#Role +ns3:Role rdf:type owl:Class ; + rdfs:subClassOf :AMR_Linked_Data ; + rdfs:label "AMR-Role" . + + +### http://www.w3.org/1999/02/22-rdf-syntax-ns#Property +rdf:Property rdf:type owl:Class . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Concept +:AMR_Concept rdf:type owl:Class ; + rdfs:subClassOf :AMR_Element . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Core_Role +:AMR_Core_Role rdf:type owl:Class ; + rdfs:subClassOf :AMR_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Edge +:AMR_Edge rdf:type owl:Class ; + rdfs:subClassOf :AMR_Structure . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Element +:AMR_Element rdf:type owl:Class ; + rdfs:subClassOf :AMR_Structure . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Leaf +:AMR_Leaf rdf:type owl:Class ; + rdfs:subClassOf :AMR_Structure . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Linked_Data +:AMR_Linked_Data rdf:type owl:Class . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_NonCore_Role +:AMR_NonCore_Role rdf:type owl:Class ; + rdfs:subClassOf :AMR_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Op_Role +:AMR_Op_Role rdf:type owl:Class ; + rdfs:subClassOf :AMR_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Phenomena +:AMR_Phenomena rdf:type owl:Class ; + rdfs:subClassOf :AMR_Structure . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Predicat_Concept +:AMR_Predicat_Concept rdf:type owl:Class ; + rdfs:subClassOf :AMR_Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Prep_Role +:AMR_Prep_Role rdf:type owl:Class ; + rdfs:subClassOf :AMR_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Relation +:AMR_Relation rdf:type owl:Class ; + rdfs:subClassOf :AMR_Structure . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Relation_Concept +:AMR_Relation_Concept rdf:type owl:Class ; + rdfs:subClassOf :AMR_Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Role +:AMR_Role rdf:type owl:Class ; + rdfs:subClassOf :AMR_Element . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Root +:AMR_Root rdf:type owl:Class ; + rdfs:subClassOf :AMR_Structure . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Specific_Role +:AMR_Specific_Role rdf:type owl:Class ; + rdfs:subClassOf :AMR_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Structure +:AMR_Structure rdf:type owl:Class . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Term_Concept +:AMR_Term_Concept rdf:type owl:Class ; + rdfs:subClassOf :AMR_Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Value +:AMR_Value rdf:type owl:Class ; + rdfs:subClassOf :AMR_Element . + + +### https://amr.tetras-libre.fr/rdf/schema#AMR_Variable +:AMR_Variable rdf:type owl:Class ; + rdfs:subClassOf :AMR_Element . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_allow-01 +:concept_allow-01 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation_Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_person +:concept_person rdf:type owl:Class ; + rdfs:subClassOf :AMR_Term_Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_reproduce-01 +:concept_reproduce-01 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Predicat_Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_work-01 +:concept_work-01 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Predicat_Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_conjunction +:phenomena_conjunction rdf:type owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01" , + "either" , + "neither" ; + :label "conjunction" . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_conjunction_and +:phenomena_conjunction_and rdf:type owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_conjunction_or +:phenomena_conjunction_or rdf:type owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_degree +:phenomena_degree rdf:type owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "have-degree-91" ; + :label "degree" . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_modality +:phenomena_modality rdf:type owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_modality_obligation +:phenomena_modality_obligation rdf:type owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_modality_possible +:phenomena_modality_possible rdf:type owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01" , + "grant-01" , + "likely-01" , + "permit-01" , + "possible-01" ; + :label "possible-modality" . + + +### https://amr.tetras-libre.fr/rdf/schema#phenomena_modality_prohibition +:phenomena_modality_prohibition rdf:type owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + + +### https://amr.tetras-libre.fr/rdf/schema#relation_domain +:relation_domain rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification "false"^^xsd:boolean ; + :hasRelationName "domain" . + + +### https://amr.tetras-libre.fr/rdf/schema#relation_manner +:relation_manner rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification "true"^^xsd:boolean ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + + +### https://amr.tetras-libre.fr/rdf/schema#relation_mod +:relation_mod rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification "false"^^xsd:boolean ; + :hasRelationName "mod" . + + +### https://amr.tetras-libre.fr/rdf/schema#relation_name +:relation_name rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification "false"^^xsd:boolean ; + :hasRelationName "name" . + + +### https://amr.tetras-libre.fr/rdf/schema#relation_part +:relation_part rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification "true"^^xsd:boolean ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + + +### https://amr.tetras-libre.fr/rdf/schema#relation_polarity +:relation_polarity rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification "false"^^xsd:boolean ; + :hasRelationName "polarity" . + + +### https://amr.tetras-libre.fr/rdf/schema#relation_quant +:relation_quant rdf:type owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification "false"^^xsd:boolean ; + :hasRelationName "quant" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG0 +:role_ARG0 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG1 +:role_ARG1 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG2 +:role_ARG2 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG3 +:role_ARG3 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG3" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG4 +:role_ARG4 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG4" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG5 +:role_ARG5 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG5" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG6 +:role_ARG6 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG6" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG7 +:role_ARG7 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG7" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG8 +:role_ARG8 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG8" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG9 +:role_ARG9 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG9" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_domain +:role_domain rdf:type owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :hasRelationName "domain" ; + :label "domain" ; + :toReifyAsConcept "domain" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_have-degree-91 +:role_have-degree-91 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :getPropertyType <net:specificProperty> . + + +### https://amr.tetras-libre.fr/rdf/schema#role_manner +:role_manner rdf:type owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "manner" ; + :getPropertyType owl:DataProperty ; + :label "manner" ; + :toReifyAsConcept "manner" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_mod +:role_mod rdf:type owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasFeature"^^xsd:string ; + :getPropertyType rdfs:subClassOf , + owl:ObjectProperty ; + :label "mod" ; + :toReifyAsConcept "mod" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_name +:role_name rdf:type owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op1 +:role_op1 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op2 +:role_op2 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op3 +:role_op3 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op4 +:role_op4 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op5 +:role_op5 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op6 +:role_op6 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op7 +:role_op7 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op8 +:role_op8 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_op9 +:role_op9 rdf:type owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_part +:role_part rdf:type owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + + +### https://amr.tetras-libre.fr/rdf/schema#role_polarity +:role_polarity rdf:type owl:Class ; + rdfs:subClassOf :AMR_Specific_Role . + + +### https://amr.tetras-libre.fr/rdf/schema#role_quant +:role_quant rdf:type owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + + +### https://tenet.tetras-libre.fr/base-ontology#Degree +sys:Degree rdf:type owl:Class ; + rdfs:subClassOf sys:Out_Structure . + + +### https://tenet.tetras-libre.fr/base-ontology#Entity +sys:Entity rdf:type owl:Class ; + rdfs:subClassOf sys:Out_Structure . + + +### https://tenet.tetras-libre.fr/base-ontology#Event +sys:Event rdf:type owl:Class ; + rdfs:subClassOf sys:Out_Structure . + + +### https://tenet.tetras-libre.fr/base-ontology#Feature +sys:Feature rdf:type owl:Class ; + rdfs:subClassOf sys:Out_Structure . + + +### https://tenet.tetras-libre.fr/base-ontology#Out_Structure +sys:Out_Structure rdf:type owl:Class ; + rdfs:label "Output Ontology Structure" . + + +### https://tenet.tetras-libre.fr/base-ontology#Undetermined_Thing +sys:Undetermined_Thing rdf:type owl:Class ; + rdfs:subClassOf sys:Out_Structure . + + +### https://tenet.tetras-libre.fr/config/parameters#Config_Parameters +cprm:Config_Parameters rdf:type owl:Class . + + +### https://tenet.tetras-libre.fr/semantic-net#Action_Net +net:Action_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Atom_Class_Net +net:Atom_Class_Net rdf:type owl:Class ; + rdfs:subClassOf net:Class_Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Atom_Property_Net +net:Atom_Property_Net rdf:type owl:Class ; + rdfs:subClassOf net:Property_Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Axiom_Net +net:Axiom_Net rdf:type owl:Class . + + +### https://tenet.tetras-libre.fr/semantic-net#Class_Net +net:Class_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Composite_Class_Net +net:Composite_Class_Net rdf:type owl:Class ; + rdfs:subClassOf net:Class_Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Composite_Property_Net +net:Composite_Property_Net rdf:type owl:Class ; + rdfs:subClassOf net:Property_Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Deprecated_Net +net:Deprecated_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Feature +net:Feature rdf:type owl:Class ; + rdfs:subClassOf net:Net_Structure . + + +### https://tenet.tetras-libre.fr/semantic-net#Individual_Net +net:Individual_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Net +net:Net rdf:type owl:Class ; + rdfs:subClassOf net:Net_Structure . + + +### https://tenet.tetras-libre.fr/semantic-net#Net_Structure +net:Net_Structure rdf:type owl:Class ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." ; + rdfs:label "Semantic Net Structure" . + + +### https://tenet.tetras-libre.fr/semantic-net#Phenomena_Net +net:Phenomena_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Property_Net +net:Property_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Relation +net:Relation rdf:type owl:Class ; + rdfs:subClassOf net:Net_Structure . + + +### https://tenet.tetras-libre.fr/semantic-net#Rule_Net +net:Rule_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +### https://tenet.tetras-libre.fr/semantic-net#Value_Net +net:Value_Net rdf:type owl:Class ; + rdfs:subClassOf net:Net . + + +################################################################# +# Individuals +################################################################# + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> rdf:type owl:NamedIndividual , + ns11:allow-01 . + + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> rdf:type owl:NamedIndividual , + <http://amr.isi.edu/entity-types#person> . + + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> rdf:type owl:NamedIndividual , + ns11:reproduce-01 . + + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#root01 +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#root01> rdf:type owl:NamedIndividual , + ns3:AMR ; + ns3:has-id "asail_odrl_sentences-08" ; + ns3:has-sentence "John is not allowed not to reproduce the Work." ; + ns3:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> . + + +### http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> rdf:type owl:NamedIndividual , + ns11:work-01 . + + +### http://amr.isi.edu/entity-types#person +<http://amr.isi.edu/entity-types#person> rdf:type owl:NamedIndividual , + ns3:NamedEntity . + + +### http://amr.isi.edu/frames/ld/v1.2.2/FrameRole +ns11:FrameRole rdf:type owl:NamedIndividual , + ns3:Role . + + +### http://amr.isi.edu/frames/ld/v1.2.2/allow-01 +ns11:allow-01 rdf:type owl:NamedIndividual , + ns3:Frame . + + +### http://amr.isi.edu/frames/ld/v1.2.2/allow-01.ARG1 +ns11:allow-01.ARG1 rdf:type owl:NamedIndividual , + ns11:FrameRole . + + +### http://amr.isi.edu/frames/ld/v1.2.2/reproduce-01 +ns11:reproduce-01 rdf:type owl:NamedIndividual , + ns3:Frame . + + +### http://amr.isi.edu/frames/ld/v1.2.2/reproduce-01.ARG0 +ns11:reproduce-01.ARG0 rdf:type owl:NamedIndividual , + ns11:FrameRole . + + +### http://amr.isi.edu/frames/ld/v1.2.2/reproduce-01.ARG1 +ns11:reproduce-01.ARG1 rdf:type owl:NamedIndividual , + ns11:FrameRole . + + +### http://amr.isi.edu/frames/ld/v1.2.2/work-01 +ns11:work-01 rdf:type owl:NamedIndividual , + ns3:Frame . + + +### http://amr.isi.edu/rdf/amr-terms#domain +ns2:domain rdf:type owl:NamedIndividual , + ns3:Role . + + +### http://amr.isi.edu/rdf/core-amr#Frame +ns3:Frame rdf:type owl:NamedIndividual , + ns3:Concept . + + +### http://amr.isi.edu/rdf/core-amr#NamedEntity +ns3:NamedEntity rdf:type owl:NamedIndividual , + ns3:Concept . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_allow-01 +:concept_allow-01 rdf:type owl:NamedIndividual . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_person +:concept_person rdf:type owl:NamedIndividual . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_reproduce-01 +:concept_reproduce-01 rdf:type owl:NamedIndividual . + + +### https://amr.tetras-libre.fr/rdf/schema#concept_work-01 +:concept_work-01 rdf:type owl:NamedIndividual . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_a_ARG1_r +:edge_a_ARG1_r rdf:type owl:NamedIndividual , + :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_a_polarity_negative +:edge_a_polarity_negative rdf:type owl:NamedIndividual , + :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_p_name_John +:edge_p_name_John rdf:type owl:NamedIndividual , + :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_r_ARG0_p +:edge_r_ARG0_p rdf:type owl:NamedIndividual , + :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_r_ARG1_w +:edge_r_ARG1_w rdf:type owl:NamedIndividual , + :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#edge_r_polarity_negative +:edge_r_polarity_negative rdf:type owl:NamedIndividual , + :AMR_Edge . + + +### https://amr.tetras-libre.fr/rdf/schema#leaf_allow-01_a +:leaf_allow-01_a rdf:type owl:NamedIndividual , + :AMR_Leaf ; + :hasConcept :concept_allow-01 ; + :hasVariable :variable_a ; + :edge_a_ARG1_r :leaf_reproduce-01_r ; + :edge_a_polarity_negative :value_negative . + + +### https://amr.tetras-libre.fr/rdf/schema#leaf_person_p +:leaf_person_p rdf:type owl:NamedIndividual , + :AMR_Leaf ; + :hasConcept :concept_person ; + :hasVariable :variable_p ; + :edge_p_name_John :value_John . + + +### https://amr.tetras-libre.fr/rdf/schema#leaf_reproduce-01_r +:leaf_reproduce-01_r rdf:type owl:NamedIndividual , + :AMR_Leaf ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :edge_r_polarity_negative :value_negative . + + +### https://amr.tetras-libre.fr/rdf/schema#leaf_work-01_w +:leaf_work-01_w rdf:type owl:NamedIndividual , + :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG0 +:role_ARG0 rdf:type owl:NamedIndividual , + net:Relation . + + +### https://amr.tetras-libre.fr/rdf/schema#role_ARG1 +:role_ARG1 rdf:type owl:NamedIndividual , + net:Relation . + + +### https://amr.tetras-libre.fr/rdf/schema#role_name +:role_name rdf:type owl:NamedIndividual , + net:Relation . + + +### https://amr.tetras-libre.fr/rdf/schema#role_polarity +:role_polarity rdf:type owl:NamedIndividual , + net:Relation . + + +### https://amr.tetras-libre.fr/rdf/schema#root_asail_odrl_sentences-08 +:root_asail_odrl_sentences-08 rdf:type owl:NamedIndividual , + :AMR_Root ; + :hasRootLeaf :leaf_allow-01_a ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#root01> ; + :hasSentenceID "asail_odrl_sentences-08" ; + :hasSentenceStatement "John is not allowed not to reproduce the Work." . + + +### https://amr.tetras-libre.fr/rdf/schema#value_John +:value_John rdf:type owl:NamedIndividual , + :AMR_Value ; + rdfs:label "John" . + + +### https://amr.tetras-libre.fr/rdf/schema#value_negative +:value_negative rdf:type owl:NamedIndividual , + :AMR_Value ; + rdfs:label "negative" . + + +### https://amr.tetras-libre.fr/rdf/schema#variable_a +:variable_a rdf:type owl:NamedIndividual , + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> ; + :label "a" . + + +### https://amr.tetras-libre.fr/rdf/schema#variable_p +:variable_p rdf:type owl:NamedIndividual , + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> ; + :label "p" ; + :name "John" . + + +### https://amr.tetras-libre.fr/rdf/schema#variable_r +:variable_r rdf:type owl:NamedIndividual , + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> ; + :label "r" . + + +### https://amr.tetras-libre.fr/rdf/schema#variable_w +:variable_w rdf:type owl:NamedIndividual , + :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> ; + :label "w" . + + +### https://tenet.tetras-libre.fr/config/parameters#Config_Parameters +cprm:Config_Parameters rdf:type owl:NamedIndividual ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + + +### https://tenet.tetras-libre.fr/semantic-net#action_reproduce_r +net:action_reproduce_r rdf:type owl:NamedIndividual , + net:Action_Net ; + net:composeFrom net:atomProperty_reproduce_r , + net:individual_John_p ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_person_p , + :leaf_reproduce-01_r ; + net:hasActionName "reproduce" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "reproduce" ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#atomClass_person_p +net:atomClass_person_p rdf:type owl:NamedIndividual , + net:Atom_Class_Net , + net:Deprecated_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasClassName "person" ; + net:hasNaming "person" ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#atomProperty_reproduce_r +net:atomProperty_reproduce_r rdf:type owl:NamedIndividual , + net:Atom_Property_Net , + net:Deprecated_Net ; + :role_ARG0 net:atomClass_person_p , + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "reproduce" ; + net:hasPropertyName "reproduce" ; + net:hasPropertyName01 "reproduceing" ; + net:hasPropertyName10 "reproduce-by" ; + net:hasPropertyName12 "reproduce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-08" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p , + :leaf_work-01_w , + :value_negative . + + +### https://tenet.tetras-libre.fr/semantic-net#atomProperty_work_w +net:atomProperty_work_w rdf:type owl:NamedIndividual , + net:Atom_Property_Net ; + net:coverBaseNode :leaf_work-01_w ; + net:coverNode :leaf_work-01_w ; + net:hasNaming "work" ; + net:hasPropertyName "work" ; + net:hasPropertyName01 "working" ; + net:hasPropertyName10 "work-by" ; + net:hasPropertyName12 "work-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-08" ; + net:isCoreRoleLinked "true" . + + +### https://tenet.tetras-libre.fr/semantic-net#axiom_disjointProperty_not-reproduce_reproduce_r +net:axiom_disjointProperty_not-reproduce_reproduce_r rdf:type owl:NamedIndividual , + net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r , + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-reproduce_reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r , + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#axiom_disjointProperty_reproduce_not-reproduce_r +net:axiom_disjointProperty_reproduce_not-reproduce_r rdf:type owl:NamedIndividual , + net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r , + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_reproduce_not-reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r , + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#compositeProperty_not-reproduce_r +net:compositeProperty_not-reproduce_r rdf:type owl:NamedIndividual , + net:Composite_Property_Net ; + :role_ARG0 net:atomClass_person_p , + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "not-reproduce" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#individual_John_p +net:individual_John_p rdf:type owl:NamedIndividual , + net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#inverse_direction +net:inverse_direction rdf:type owl:NamedIndividual . + + +### https://tenet.tetras-libre.fr/semantic-net#normal_direction +net:normal_direction rdf:type owl:NamedIndividual . + + +### https://tenet.tetras-libre.fr/semantic-net#phenomena_possible-modality_a +net:phenomena_possible-modality_a rdf:type owl:NamedIndividual , + net:Deprecated_Net , + net:Phenomena_Net ; + :role_ARG1 net:action_reproduce_r , + net:atomProperty_reproduce_r , + net:compositeProperty_not-reproduce_r ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_allow-01_a ; + net:coverNode :leaf_allow-01_a ; + net:hasNaming "possible-modality" ; + net:hasPhenomenaRef "allow-01" ; + net:hasPhenomenaType :phenomena_modality_possible ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#phenomena_prohibition-modality_a +net:phenomena_prohibition-modality_a rdf:type owl:NamedIndividual , + net:Phenomena_Net ; + :role_ARG1 net:action_reproduce_r , + net:atomProperty_reproduce_r , + net:compositeProperty_not-reproduce_r ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:phenomena_possible-modality_a , + net:value_negative_blankNode ; + net:coverBaseNode :leaf_allow-01_a ; + net:coverNode :leaf_allow-01_a ; + net:hasNaming "prohibition-modality" ; + net:hasPhenomenaRef "not-[rdflib.term.Literal('allow-01')]" ; + net:hasPhenomenaType :phenomena_modality_prohibition ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#rule_prohibition_a +net:rule_prohibition_a rdf:type owl:NamedIndividual , + net:Rule_Net ; + net:composeFrom net:action_reproduce_r , + net:phenomena_prohibition-modality_a ; + net:coverBaseNode :leaf_allow-01_a ; + net:coverNode :leaf_allow-01_a , + :leaf_person_p , + :leaf_reproduce-01_r ; + net:hasNaming "prohibition" ; + net:hasRuleActionURI net:action_reproduce_r ; + net:hasRuleRelationName "prohibition" ; + net:hasStructure "asail_odrl_sentences-08" . + + +### https://tenet.tetras-libre.fr/semantic-net#value_John_blankNode +net:value_John_blankNode rdf:type owl:NamedIndividual , + net:Value_Net ; + net:coverAmrValue :value_John ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-08" ; + net:hasValueLabel "John" . + + +### https://tenet.tetras-libre.fr/semantic-net#value_negative_blankNode +net:value_negative_blankNode rdf:type owl:NamedIndividual , + net:Value_Net ; + net:coverAmrValue :value_negative ; + net:hasNaming "negative" ; + net:hasStructure "asail_odrl_sentences-08" ; + net:hasValueLabel "negative" . + + +################################################################# +# Annotations +################################################################# + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> ns11:allow-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> ; + ns2:polarity "-" . + + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> rdfs:label "John" . + + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> ns2:polarity "-" ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> . + + +<http://amr.isi.edu/amr_data/test-1#root01> ns3:hasSentence "The sun is a star." ; + ns3:hasID "test-1" ; + ns3:root <http://amr.isi.edu/amr_data/test-1#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/amr_data/test-2#root01> ns3:hasSentence "Earth is a planet." ; + ns3:hasID "test-2" ; + ns3:root <http://amr.isi.edu/amr_data/test-2#p> . + + +ns11:FrameRole rdfs:label "AMR-PropBank-Role" . + + +ns3:Frame rdfs:label "AMR-PropBank-Frame" . + + +ns3:NamedEntity rdfs:label "AMR-Term" , + "AMR-EntityType" . + + +:concept_allow-01 :hasPhenomenaLink :phenomena_modality_possible ; + :label "allow-01" ; + :fromAmrLk ns11:allow-01 . + + +:concept_person :label "person" ; + :fromAmrLk <http://amr.isi.edu/entity-types#person> . + + +:concept_reproduce-01 :fromAmrLk ns11:reproduce-01 ; + :label "reproduce-01" . + + +:concept_work-01 :fromAmrLk ns11:work-01 ; + :label "work-01" . + + +:edge_a_ARG1_r :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + + +:edge_a_polarity_negative :hasRoleID "polarity" ; + :hasAmrRole :role_polarity . + + +:edge_p_name_John :hasRoleID "name" ; + :hasAmrRole :role_name . + + +:edge_r_ARG0_p :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + + +:edge_r_ARG1_w :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + + +:edge_r_polarity_negative :hasRoleID "polarity" ; + :hasAmrRole :role_polarity . + + +:role_ARG0 :label "ARG0" . + + +:role_ARG1 :label "ARG1" . + + +:role_name :label "name" . + + +:role_polarity :label "polarity" . + + +cprm:Config_Parameters cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:newClassRef "new-class#" . + + +cprm:baseURI rdfs:label "Base URI" . + + +cprm:netURI rdfs:label "Net URI" . + + +cprm:targetOntologyURI rdfs:label "URI of classes in target ontology" . + + +################################################################# +# General axioms +################################################################# + +[ rdf:type owl:AllDisjointClasses ; + owl:members ( sys:Degree + sys:Entity + sys:Feature + ) +] . + + +### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi diff --git a/tests/dev_tests/test_data/negation-devGraph-6.result.ttl b/tests/dev_tests/test_data/negation-devGraph-6.result.ttl new file mode 100644 index 0000000000000000000000000000000000000000..2b164b64ceaf2c74531ff7c54d47460cb97de21a --- /dev/null +++ b/tests/dev_tests/test_data/negation-devGraph-6.result.ttl @@ -0,0 +1,1021 @@ +@base <https://amr.tetras-libre.fr/rdf/negation-devGraph-6/result> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns21: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns4: <http://amr.isi.edu/entity-types#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix sys: <https://tenet.tetras-libre.fr/base-ontology#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +ns21:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns21:hasID "test-1" ; + ns21:hasSentence "The sun is a star." ; + ns21:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns21:hasID "test-2" ; + ns21:hasSentence "Earth is a planet." ; + ns21:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns11:obligate-01.ARG1 a ns11:FrameRole . + +ns11:obligate-01.ARG2 a ns11:FrameRole . + +ns11:reproduce-01.ARG0 a ns11:FrameRole . + +ns11:reproduce-01.ARG1 a ns11:FrameRole . + +ns3:domain a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns21:hasID a owl:AnnotationProperty . + +ns21:hasSentence a owl:AnnotationProperty . + +ns21: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_o_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG2_r a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_p_name_John a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_r_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_r_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_r_polarity_negative a :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +: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" . + +:phenomena_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_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_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_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-09 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#root01> ; + :hasRootLeaf :leaf_obligate-01_o ; + :hasSentenceID "asail_odrl_sentences-09" ; + :hasSentenceStatement "John is obligated not to reproduce the Work." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:axiom_disjointProperty_not-reproduce_reproduce_r a net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-reproduce_reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-09" . + +net:axiom_disjointProperty_reproduce_not-reproduce_r a net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_reproduce_not-reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-09" . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_atom a owl:AnnotationProperty ; + rdfs:label "has atom" ; + rdfs:subPropertyOf net:has_object . + +net:has_class a owl:AnnotationProperty ; + rdfs:label "is class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_class_name a owl:AnnotationProperty ; + rdfs:subPropertyOf net:has_value . + +net:has_class_uri a owl:AnnotationProperty ; + rdfs:label "class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_concept a owl:AnnotationProperty ; + rdfs:label "concept "@fr ; + rdfs:subPropertyOf net:objectValue . + +net:has_entity a owl:AnnotationProperty ; + rdfs:label "has entity" ; + rdfs:subPropertyOf net:has_object . + +net:has_feature a owl:AnnotationProperty ; + rdfs:label "has feature" ; + rdfs:subPropertyOf net:has_object . + +net:has_instance a owl:AnnotationProperty ; + rdfs:label "entity instance" ; + rdfs:subPropertyOf net:objectValue . + +net:has_instance_uri a owl:AnnotationProperty ; + rdfs:label "instance uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_item a owl:AnnotationProperty ; + rdfs:label "has item" ; + rdfs:subPropertyOf net:has_object . + +net:has_mother_class a owl:AnnotationProperty ; + rdfs:label "has mother class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_mother_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_node a owl:AnnotationProperty ; + rdfs:label "UNL Node" ; + rdfs:subPropertyOf net:netProperty . + +net:has_parent a owl:AnnotationProperty ; + rdfs:label "has parent" ; + rdfs:subPropertyOf net:has_object . + +net:has_parent_class a owl:AnnotationProperty ; + rdfs:label "parent class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_parent_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_possible_domain a owl:AnnotationProperty ; + rdfs:label "has possible domain" ; + rdfs:subPropertyOf net:has_object . + +net:has_possible_range a owl:AnnotationProperty ; + rdfs:label "has possible range" ; + rdfs:subPropertyOf net:has_object . + +net:has_relation a owl:AnnotationProperty ; + rdfs:label "has relation" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_source a owl:AnnotationProperty ; + rdfs:label "has source" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_structure a owl:AnnotationProperty ; + rdfs:label "Linguistic Structure (in UNL Document)" ; + rdfs:subPropertyOf net:netProperty . + +net:has_target a owl:AnnotationProperty ; + rdfs:label "has target" ; + rdfs:subPropertyOf net:has_relation_value . + +net:inverse_direction a owl:NamedIndividual . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat1 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 1)" ; + rdfs:subPropertyOf net:objectValue . + +net:modCat2 a owl:AnnotationProperty ; + rdfs:label "Modality Category (level 2)" ; + rdfs:subPropertyOf net:objectValue . + +net:normal_direction a owl:NamedIndividual . + +net:phenomena_prohibition-modality_o a net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:action_reproduce_r, + net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:composeFrom net:phenomena_obligation-modality_o, + net:value_negative_blankNode ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_obligate-01_o ; + net:hasNaming "prohibition-modality" ; + net:hasPhenomenaRef "not-[rdflib.term.Literal('obligate-01')]" ; + net:hasPhenomenaType :phenomena_modality_prohibition ; + net:hasStructure "asail_odrl_sentences-09" . + +net:rule_obligation_o a net:Rule_Net ; + net:composeFrom net:action_reproduce_r, + net:phenomena_obligation-modality_o ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_obligate-01_o, + :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasNaming "obligation" ; + net:hasRuleActionURI net:action_reproduce_r ; + net:hasRuleRelationName "obligation" ; + net:hasStructure "asail_odrl_sentences-09" . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#root01> a ns21:AMR ; + ns21:has-id "asail_odrl_sentences-09" ; + ns21:has-sentence "John is obligated not to reproduce the Work." ; + ns21:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#o> . + +<http://amr.isi.edu/amr_data/test-1#s> ns3:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns21:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:NamedEntity a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +: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 . + +:concept_obligate-01 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:obligate-01 ; + :hasPhenomenaLink :phenomena_modality_obligation ; + :label "obligate-01" . + +:concept_person rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk ns4:person ; + :label "person" . + +:concept_reproduce-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:reproduce-01 ; + :label "reproduce-01" . + +:concept_work-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:work-01 ; + :label "work-01" . + +:phenomena_modality_prohibition a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_polarity a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#o> ; + :label "o" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + :label "p" ; + :name "John" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> ; + :label "r" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> ; + :label "w" . + +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:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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/asail_odrl_sentences-09#o> a ns11:obligate-01 ; + ns11:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + ns11:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> a ns11:reproduce-01 ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> ; + ns3:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +ns4:person a ns21:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:obligate-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:reproduce-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:work-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +: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_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:value_John a :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +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:atomProperty_work_w a net:Atom_Property_Net ; + net:coverBaseNode :leaf_work-01_w ; + net:coverNode :leaf_work-01_w ; + net:hasNaming "work" ; + net:hasPropertyName "work" ; + net:hasPropertyName01 "working" ; + net:hasPropertyName10 "work-by" ; + net:hasPropertyName12 "work-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-09" ; + net:isCoreRoleLinked "true" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:phenomena_obligation-modality_o a net:Deprecated_Net, + net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:action_reproduce_r, + net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_obligate-01_o ; + net:hasNaming "obligation-modality" ; + net:hasPhenomenaRef "obligate-01" ; + net:hasPhenomenaType :phenomena_modality_obligation ; + net:hasStructure "asail_odrl_sentences-09" . + +net:value_John_blankNode a net:Value_Net ; + net:coverAmrValue :value_John ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-09" ; + net:hasValueLabel "John" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> a ns4:person ; + rdfs:label "John" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Frame a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:value_negative a :AMR_Value ; + rdfs:label "negative" . + +net: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:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +net:value_negative_blankNode a net:Deprecated_Net, + net:Value_Net ; + net:coverAmrValue :value_negative ; + net:hasNaming "negative" ; + net:hasStructure "asail_odrl_sentences-09" ; + net:hasValueLabel "negative" . + +ns11:FrameRole a ns21: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_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:action_reproduce_r a net:Action_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:individual_John_p ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasActionName "reproduce" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "reproduce" ; + net:hasStructure "asail_odrl_sentences-09" . + +: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:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomClass_person_p a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasClassName "person" ; + net:hasNaming "person" ; + net:hasStructure "asail_odrl_sentences-09" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +: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:compositeProperty_not-reproduce_r a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "not-reproduce" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-09" . + +net:individual_John_p a net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-09" . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_obligate-01_o a :AMR_Leaf ; + :edge_o_ARG1_p :leaf_person_p ; + :edge_o_ARG2_r :leaf_reproduce-01_r ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:atomProperty_reproduce_r a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "reproduce" ; + net:hasPropertyName "reproduce" ; + net:hasPropertyName01 "reproduceing" ; + net:hasPropertyName10 "reproduce-by" ; + net:hasPropertyName12 "reproduce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-09" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w, + :value_negative . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_person_p a :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :edge_r_polarity_negative :value_negative ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:AMR_Linked_Data a owl:Class . + +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/dev_tests/test_data/negation-devGraph-6.ttl b/tests/dev_tests/test_data/negation-devGraph-6.ttl new file mode 100644 index 0000000000000000000000000000000000000000..a7ed5916d52cf865eb52af87b829e0b6bb4e87ed --- /dev/null +++ b/tests/dev_tests/test_data/negation-devGraph-6.ttl @@ -0,0 +1,1003 @@ +@base <http://https://tenet.tetras-libre.fr/demo/clara/06//transduction> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns11: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns21: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . +@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#> . + +ns21:Concept a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Concept" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Role a rdfs:Class, + owl:Class ; + rdfs:label "AMR-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/test-1#root01> ns21:hasID "test-1" ; + ns21:hasSentence "The sun is a star." ; + ns21:root <http://amr.isi.edu/amr_data/test-1#s> . + +<http://amr.isi.edu/amr_data/test-2#root01> ns21:hasID "test-2" ; + ns21:hasSentence "Earth is a planet." ; + ns21:root <http://amr.isi.edu/amr_data/test-2#p> . + +ns11:obligate-01.ARG1 a ns11:FrameRole . + +ns11:obligate-01.ARG2 a ns11:FrameRole . + +ns11:reproduce-01.ARG0 a ns11:FrameRole . + +ns11:reproduce-01.ARG1 a ns11:FrameRole . + +ns3:domain a ns21:Role, + owl:AnnotationProperty, + owl:NamedIndividual . + +ns21:hasID a owl:AnnotationProperty . + +ns21:hasSentence a owl:AnnotationProperty . + +ns21: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_o_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG2_r a :AMR_Edge ; + :hasAmrRole :role_ARG2 ; + :hasRoleID "ARG2" . + +:edge_p_name_John a :AMR_Edge ; + :hasAmrRole :role_name ; + :hasRoleID "name" . + +:edge_r_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_r_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_r_polarity_negative a :AMR_Edge ; + :hasAmrRole :role_polarity ; + :hasRoleID "polarity" . + +: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" . + +:phenomena_modality_possible a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "allow-01", + "grant-01", + "likely-01", + "permit-01", + "possible-01" ; + :label "possible-modality" . + +:phenomena_modality_prohibition a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "prohibit-01" ; + :label "prohibition-modality" . + +:relation_domain a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "domain" . + +:relation_manner a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasManner" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "manner" . + +:relation_mod a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "mod" . + +:relation_name a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "name" . + +:relation_part a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification true ; + :hasReificationConcept "hasPart" ; + :hasReificationDomain "ARG1" ; + :hasReificationRange "ARG2" ; + :hasRelationName "part" . + +:relation_polarity a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "polarity" . + +:relation_quant a owl:Class ; + rdfs:subClassOf :AMR_Relation ; + :hasReification false ; + :hasRelationName "quant" . + +:role_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_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_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-09 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#root01> ; + :hasRootLeaf :leaf_obligate-01_o ; + :hasSentenceID "asail_odrl_sentences-09" ; + :hasSentenceStatement "John is obligated not to reproduce the Work." . + +:toReifyAsConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithBaseEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +:toReifyWithHeadEdge a owl:AnnotationProperty ; + rdfs:subPropertyOf :toReify . + +<https://tenet.tetras-libre.fr/base-ontology> a owl:Ontology . + +sys:Event a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:Undetermined_Thing a owl:Class ; + rdfs:subClassOf sys:Out_Structure . + +sys:fromStructure a owl:AnnotationProperty ; + rdfs:subPropertyOf sys:Out_AnnotationProperty . + +sys:hasDegree a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +sys:hasFeature a owl:ObjectProperty ; + rdfs:subPropertyOf sys:Out_ObjectProperty . + +<https://tenet.tetras-libre.fr/config/parameters> a owl:Ontology . + +cprm:Config_Parameters a owl:Class ; + cprm:baseURI "https://tenet.tetras-libre.fr/" ; + cprm:netURI "https://tenet.tetras-libre.fr/semantic-net#" ; + cprm:newClassRef "new-class#" ; + cprm:newPropertyRef "new-relation#" ; + cprm:objectRef "object_" ; + cprm:targetOntologyURI "https://tenet.tetras-libre.fr/base-ontology/" . + +cprm:baseURI a rdf:Property ; + rdfs:label "Base URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:netURI a rdf:Property ; + rdfs:label "Net URI" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newClassRef a rdf:Property ; + rdfs:label "Reference for a new class" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:newPropertyRef a rdf:Property ; + rdfs:label "Reference for a new property" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:objectRef a rdf:Property ; + rdfs:label "Object Reference" ; + rdfs:subPropertyOf cprm:configParamProperty . + +cprm:targetOntologyURI a rdf:Property ; + rdfs:label "URI of classes in target ontology" ; + rdfs:domain cprm:Frame ; + rdfs:range xsd:string ; + rdfs:subPropertyOf cprm:configParamProperty . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Feature a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:abstractionClass a owl:AnnotationProperty ; + rdfs:label "abstraction class" ; + rdfs:subPropertyOf net:objectValue . + +net:atomType a owl:AnnotationProperty ; + rdfs:label "atom type" ; + rdfs:subPropertyOf net:objectType . + +net:axiom_disjointProperty_not-reproduce_reproduce_r a net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_not-reproduce_reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-09" . + +net:axiom_disjointProperty_reproduce_not-reproduce_r a net:Axiom_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasAxiomName "disjointProperty" ; + net:hasAxiomURI owl:propertyDisjointWith ; + net:hasNaming "disjointProperty_reproduce_not-reproduce" ; + net:hasNetArgument net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:hasStructure "asail_odrl_sentences-09" . + +net:entityClass a owl:AnnotationProperty ; + rdfs:label "entity class" ; + rdfs:subPropertyOf net:objectValue . + +net:featureClass a owl:AnnotationProperty ; + rdfs:label "feature class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_atom a owl:AnnotationProperty ; + rdfs:label "has atom" ; + rdfs:subPropertyOf net:has_object . + +net:has_class a owl:AnnotationProperty ; + rdfs:label "is class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_class_name a owl:AnnotationProperty ; + rdfs:subPropertyOf net:has_value . + +net:has_class_uri a owl:AnnotationProperty ; + rdfs:label "class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_concept a owl:AnnotationProperty ; + rdfs:label "concept "@fr ; + rdfs:subPropertyOf net:objectValue . + +net:has_entity a owl:AnnotationProperty ; + rdfs:label "has entity" ; + rdfs:subPropertyOf net:has_object . + +net:has_feature a owl:AnnotationProperty ; + rdfs:label "has feature" ; + rdfs:subPropertyOf net:has_object . + +net:has_instance a owl:AnnotationProperty ; + rdfs:label "entity instance" ; + rdfs:subPropertyOf net:objectValue . + +net:has_instance_uri a owl:AnnotationProperty ; + rdfs:label "instance uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_item a owl:AnnotationProperty ; + rdfs:label "has item" ; + rdfs:subPropertyOf net:has_object . + +net:has_mother_class a owl:AnnotationProperty ; + rdfs:label "has mother class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_mother_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_node a owl:AnnotationProperty ; + rdfs:label "UNL Node" ; + rdfs:subPropertyOf net:netProperty . + +net:has_parent a owl:AnnotationProperty ; + rdfs:label "has parent" ; + rdfs:subPropertyOf net:has_object . + +net:has_parent_class a owl:AnnotationProperty ; + rdfs:label "parent class" ; + rdfs:subPropertyOf net:objectValue . + +net:has_parent_class_uri a owl:AnnotationProperty ; + rdfs:label "parent class uri" ; + rdfs:subPropertyOf net:objectValue . + +net:has_possible_domain a owl:AnnotationProperty ; + rdfs:label "has possible domain" ; + rdfs:subPropertyOf net:has_object . + +net:has_possible_range a owl:AnnotationProperty ; + rdfs:label "has possible range" ; + rdfs:subPropertyOf net:has_object . + +net:has_relation a owl:AnnotationProperty ; + rdfs:label "has relation" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_source a owl:AnnotationProperty ; + rdfs:label "has source" ; + rdfs:subPropertyOf net:has_relation_value . + +net:has_structure a owl:AnnotationProperty ; + rdfs:label "Linguistic Structure (in UNL Document)" ; + rdfs:subPropertyOf net:netProperty . + +net:has_target a owl:AnnotationProperty ; + rdfs:label "has target" ; + rdfs:subPropertyOf net:has_relation_value . + +net:inverse_direction a owl:NamedIndividual . + +net:listGuiding a owl:AnnotationProperty ; + rdfs:label "Guiding connector of a list (or, and)" ; + rdfs:subPropertyOf net:objectValue . + +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:rule_obligation_o a net:Rule_Net ; + net:composeFrom net:action_reproduce_r, + net:phenomena_obligation-modality_o ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_obligate-01_o, + :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasNaming "obligation" ; + net:hasRuleActionURI net:action_reproduce_r ; + net:hasRuleRelationName "obligation" ; + net:hasStructure "asail_odrl_sentences-09" . + +net:type a owl:AnnotationProperty ; + rdfs:label "type "@fr ; + rdfs:subPropertyOf net:netProperty . + +net:verbClass a owl:AnnotationProperty ; + rdfs:label "verb class" ; + rdfs:subPropertyOf net:objectValue . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#root01> a ns21:AMR ; + ns21:has-id "asail_odrl_sentences-09" ; + ns21:has-sentence "John is obligated not to reproduce the Work." ; + ns21:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#o> . + +<http://amr.isi.edu/amr_data/test-1#s> ns3:domain <http://amr.isi.edu/amr_data/test-1#s2> . + +<http://amr.isi.edu/amr_data/test-2#p> rdfs:label "Earth" . + +ns21:AMR a owl:Class ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:NamedEntity a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-EntityType", + "AMR-Term" ; + rdfs:subClassOf :AMR_Linked_Data . + +: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 . + +:concept_obligate-01 rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns11:obligate-01 ; + :hasPhenomenaLink :phenomena_modality_obligation ; + :label "obligate-01" . + +:concept_person rdfs:subClassOf :AMR_Term_Concept ; + :fromAmrLk <http://amr.isi.edu/entity-types#person> ; + :label "person" . + +:concept_reproduce-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:reproduce-01 ; + :label "reproduce-01" . + +:concept_work-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:work-01 ; + :label "work-01" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:role_ARG2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG2" . + +:role_name a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_NonCore_Role ; + :label "name" . + +:role_polarity a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#o> ; + :label "o" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + :label "p" ; + :name "John" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> ; + :label "r" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> ; + :label "w" . + +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:Action_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Phenomena_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +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_obligation-modality_o a net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:action_reproduce_r, + net:atomProperty_reproduce_r, + net:compositeProperty_not-reproduce_r ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_obligate-01_o ; + net:hasNaming "obligation-modality" ; + net:hasPhenomenaRef "obligate-01" ; + net:hasPhenomenaType :phenomena_modality_obligation ; + net:hasStructure "asail_odrl_sentences-09" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#o> a ns11:obligate-01 ; + ns11:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + ns11:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> a ns11:reproduce-01 ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> ; + ns3:polarity "-" ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#person> a ns21:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:obligate-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:reproduce-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:work-01 a ns21:Frame ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +: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_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:value_John a :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Class_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Deprecated_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:atomProperty_work_w a net:Atom_Property_Net ; + net:coverBaseNode :leaf_work-01_w ; + net:coverNode :leaf_work-01_w ; + net:hasNaming "work" ; + net:hasPropertyName "work" ; + net:hasPropertyName01 "working" ; + net:hasPropertyName10 "work-by" ; + net:hasPropertyName12 "work-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-09" ; + net:isCoreRoleLinked "true" . + +net:objectProperty a owl:AnnotationProperty ; + rdfs:label "object attribute" . + +net:value_John_blankNode a net:Value_Net ; + net:coverAmrValue :value_John ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-09" ; + net:hasValueLabel "John" . + +net:value_negative_blankNode a net:Value_Net ; + net:coverAmrValue :value_negative ; + net:hasNaming "negative" ; + net:hasStructure "asail_odrl_sentences-09" ; + net:hasValueLabel "negative" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> a <http://amr.isi.edu/entity-types#person> ; + rdfs:label "John" ; + rdfs:subClassOf :AMR_Linked_Data . + +ns21:Frame a ns21:Concept, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Frame" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:value_negative a :AMR_Value ; + rdfs:label "negative" . + +net: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:action_reproduce_r a net:Action_Net ; + net:composeFrom net:atomProperty_reproduce_r, + net:individual_John_p ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasActionName "reproduce" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "reproduce" ; + net:hasStructure "asail_odrl_sentences-09" . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +ns11:FrameRole a ns21: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_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +net:atomClass_person_p a net:Atom_Class_Net, + net:Deprecated_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasClassName "person" ; + net:hasNaming "person" ; + net:hasStructure "asail_odrl_sentences-09" . + +:AMR_NonCore_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Role a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_obligate-01_o a :AMR_Leaf ; + :edge_o_ARG1_p :leaf_person_p ; + :edge_o_ARG2_r :leaf_reproduce-01_r ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:compositeProperty_not-reproduce_r a net:Composite_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:composeFrom net:atomProperty_reproduce_r ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "not-reproduce" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-09" . + +net:individual_John_p a net:Individual_Net ; + :role_name net:value_John_blankNode ; + net:coverBaseNode :leaf_person_p ; + net:coverNode :leaf_person_p ; + net:hasIndividualLabel "John" ; + net:hasMotherClassNet net:atomClass_person_p ; + net:hasNaming "John" ; + net:hasStructure "asail_odrl_sentences-09" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:atomProperty_reproduce_r a net:Atom_Property_Net, + net:Deprecated_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + :role_polarity net:value_negative_blankNode ; + net:coverBaseNode :leaf_reproduce-01_r ; + net:coverNode :leaf_reproduce-01_r ; + net:hasNaming "reproduce" ; + net:hasPropertyName "reproduce" ; + net:hasPropertyName01 "reproduceing" ; + net:hasPropertyName10 "reproduce-by" ; + net:hasPropertyName12 "reproduce-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-09" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w, + :value_negative . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_person_p a :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :edge_r_polarity_negative :value_negative ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:AMR_Linked_Data a owl:Class . + +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/dev_tests/test_rule_phenomena_polarity.py b/tests/dev_tests/test_rule_phenomena_polarity.py index bae5cbba114dd893a465ef5087bd7c576d606c6f..ad67816a585929d7550685a94649dd8b70b85aeb 100644 --- a/tests/dev_tests/test_rule_phenomena_polarity.py +++ b/tests/dev_tests/test_rule_phenomena_polarity.py @@ -20,11 +20,15 @@ TEST_FILE_NAME_1 = 'negation-devGraph-1' TEST_FILE_NAME_2 = 'negation-devGraph-2' TEST_FILE_NAME_3 = 'negation-devGraph-3' TEST_FILE_NAME_4 = 'negation-devGraph-4' +TEST_FILE_NAME_5 = 'negation-devGraph-5' +TEST_FILE_NAME_6 = 'negation-devGraph-6' from context import tenet from tenet.scheme.amr_master_rule.transduction import phenomena_polarity_analyzer_1 as rule_1 from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_2 as rule_2 from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_3 as rule_3 +from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_4 as rule_4 +from tenet.scheme.amr_clara_rule.transduction import phenomena_polarity_analyzer_5 as rule_5 from tenet.scheme import amr_master_rule as rule from tenet.scheme import amr_clara_rule @@ -113,6 +117,7 @@ def test_search_pattern_2(graph): for selection in pattern_set: result_str = f'>>> ' result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' + result_str += f' {selection.value_net.n3(graph.namespace_manager)}' print(result_str) return pattern_set @@ -124,6 +129,31 @@ def test_search_pattern_3(graph): for selection in pattern_set: result_str = f'>>> ' result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' + result_str += f' {selection.value_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + + +def test_search_pattern_4(graph): + query_code, pattern_set = rule_4.__search_pattern(graph) + print(f'\n ----- query code: {query_code}') + print(f'\n ----- number of selection found: {len(pattern_set)}') + for selection in pattern_set: + result_str = f'>>> ' + result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' + result_str += f' {selection.value_net.n3(graph.namespace_manager)}' + print(result_str) + return pattern_set + + +def test_search_pattern_5(graph): + query_code, pattern_set = rule_5.__search_pattern(graph) + print(f'\n ----- query code: {query_code}') + print(f'\n ----- number of selection found: {len(pattern_set)}') + for selection in pattern_set: + result_str = f'>>> ' + result_str += f'{selection.phenomena_net.n3(graph.namespace_manager)}' + result_str += f' {selection.value_net.n3(graph.namespace_manager)}' print(result_str) return pattern_set @@ -153,6 +183,8 @@ if __name__ == '__main__': graph_2 = load_test_graph(TEST_FILE_NAME_2) graph_3 = load_test_graph(TEST_FILE_NAME_3) graph_4 = load_test_graph(TEST_FILE_NAME_4) + graph_5 = load_test_graph(TEST_FILE_NAME_5) + graph_6 = load_test_graph(TEST_FILE_NAME_6) print('\n \n') @@ -226,5 +258,33 @@ if __name__ == '__main__': print('\n *** Unit Test ***') test_rule_application(TEST_FILE_NAME_4, graph_4, amr_clara_rule.analyze_phenomena_polarity_3) print('\n \n') + + + print('\n ///////////////////// Extraction Rule 4') + + print('\n *** Step Test ***') + + print('\n -- Step 1: Search Pattern') + pattern_set = test_search_pattern_4(graph_5) + + print('\n \n') + + print('\n *** Unit Test ***') + test_rule_application(TEST_FILE_NAME_5, graph_5, amr_clara_rule.analyze_phenomena_polarity_4) + print('\n \n') + + + print('\n ///////////////////// Extraction Rule 5') + + print('\n *** Step Test ***') + + print('\n -- Step 1: Search Pattern') + pattern_set = test_search_pattern_5(graph_6) + + print('\n \n') + + print('\n *** Unit Test ***') + test_rule_application(TEST_FILE_NAME_6, graph_6, amr_clara_rule.analyze_phenomena_polarity_5) + print('\n \n') print('\n *** - ***') \ No newline at end of file diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl index e28383d75e9c7176960ad64a940083add686106d..1e6364b2aa075aef2c7ba39d283bfe601c505914 100644 --- a/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl @@ -8,10 +8,10 @@ ns1:Concept a rdfs:Class ; ns1:Role a rdfs:Class ; rdfs:label "AMR-Role" . -<http://amr.isi.edu/amr_data/document-01#root01> a ns1:AMR ; - ns1:has-id "document-01" ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-01#root01> a ns1:AMR ; + ns1:has-id "asail_odrl_sentences-01" ; ns1:has-sentence "Movie9898 can be used." ; - ns1:root <http://amr.isi.edu/amr_data/document-01#p> . + ns1:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-01#p> . ns2:possible-01.ARG1 a ns2:FrameRole . @@ -21,14 +21,14 @@ ns1:NamedEntity a ns1:Concept ; rdfs:label "AMR-EntityType", "AMR-Term" . -<http://amr.isi.edu/amr_data/document-01#m> a <http://amr.isi.edu/rdf/amr-terms#movie> ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-01#m> a <http://amr.isi.edu/rdf/amr-terms#movie> ; rdfs:label "9898" . -<http://amr.isi.edu/amr_data/document-01#p> a ns2:possible-01 ; - ns2:possible-01.ARG1 <http://amr.isi.edu/amr_data/document-01#u> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-01#p> a ns2:possible-01 ; + ns2:possible-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-01#u> . -<http://amr.isi.edu/amr_data/document-01#u> a ns2:use-01 ; - ns2:use-01.ARG1 <http://amr.isi.edu/amr_data/document-01#m> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-01#u> a ns2:use-01 ; + ns2:use-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-01#m> . ns2:possible-01 a ns1:Frame . diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl index 9975e6ad73711d7108e51da0d338145709fb232a..99807fd315fdd67b4da7e14ec964bd0354589bb5 100644 --- a/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl @@ -1,51 +1,51 @@ -@prefix ns1: <http://amr.isi.edu/frames/ld/v1.2.2/> . -@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns1: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns2: <http://amr.isi.edu/frames/ld/v1.2.2/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -ns2:Concept a rdfs:Class ; +ns1:Concept a rdfs:Class ; rdfs:label "AMR-Concept" . -ns2:Role a rdfs:Class ; +ns1:Role a rdfs:Class ; rdfs:label "AMR-Role" . -<http://amr.isi.edu/amr_data/document-02#root01> a ns2:AMR ; - ns2:has-id "document-02" ; - ns2:has-sentence "John must play the movie." ; - ns2:root <http://amr.isi.edu/amr_data/document-02#o> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-02#root01> a ns1:AMR ; + ns1:has-id "asail_odrl_sentences-02" ; + ns1:has-sentence "John must play the movie." ; + ns1:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-02#o> . -ns1:obligate-01.ARG2 a ns1:FrameRole . +ns2:obligate-01.ARG2 a ns2:FrameRole . -ns1:play-02.ARG0 a ns1:FrameRole . +ns2:play-02.ARG0 a ns2:FrameRole . -ns1:play-02.ARG1 a ns1:FrameRole . +ns2:play-02.ARG1 a ns2:FrameRole . -<http://amr.isi.edu/amr_data/document-02#m> a <http://amr.isi.edu/rdf/amr-terms#movie> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-02#m> a <http://amr.isi.edu/rdf/amr-terms#movie> . -<http://amr.isi.edu/amr_data/document-02#o> a ns1:obligate-01 ; - ns1:obligate-01.ARG2 <http://amr.isi.edu/amr_data/document-02#p> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-02#o> a ns2:obligate-01 ; + ns2:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-02#p> . -<http://amr.isi.edu/amr_data/document-02#p> a ns1:play-02 ; - ns1:play-02.ARG0 <http://amr.isi.edu/amr_data/document-02#p2> ; - ns1:play-02.ARG1 <http://amr.isi.edu/amr_data/document-02#m> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-02#p> a ns2:play-02 ; + ns2:play-02.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-02#p2> ; + ns2:play-02.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-02#m> . -<http://amr.isi.edu/amr_data/document-02#p2> a <http://amr.isi.edu/entity-types#person> ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-02#p2> a <http://amr.isi.edu/entity-types#person> ; rdfs:label "John" . -<http://amr.isi.edu/entity-types#person> a ns2:NamedEntity . +<http://amr.isi.edu/entity-types#person> a ns1:NamedEntity . -ns1:obligate-01 a ns2:Frame . +ns2:obligate-01 a ns1:Frame . -ns1:play-02 a ns2:Frame . +ns2:play-02 a ns1:Frame . -<http://amr.isi.edu/rdf/amr-terms#movie> a ns2:Concept . +<http://amr.isi.edu/rdf/amr-terms#movie> a ns1:Concept . -ns2:NamedEntity a ns2:Concept ; +ns1:NamedEntity a ns1:Concept ; rdfs:label "AMR-EntityType", "AMR-Term" . -ns2:Frame a ns2:Concept ; +ns1:Frame a ns1:Concept ; rdfs:label "AMR-PropBank-Frame" . -ns1:FrameRole a ns2:Role ; +ns2:FrameRole a ns1:Role ; rdfs:label "AMR-PropBank-Role" . diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl index 2261a5c63dcb625d4911a92ec162a7429d20472e..7291238c5e5cb89d51f7f0ac8c0e0539f85ea8dd 100644 --- a/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl @@ -1,18 +1,18 @@ -@prefix ns1: <http://amr.isi.edu/rdf/core-amr#> . -@prefix ns2: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns1: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . @prefix ns3: <http://amr.isi.edu/frames/ld/v1.2.2/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -ns1:Concept a rdfs:Class ; +ns2:Concept a rdfs:Class ; rdfs:label "AMR-Concept" . -ns1:Role a rdfs:Class ; +ns2:Role a rdfs:Class ; rdfs:label "AMR-Role" . -<http://amr.isi.edu/amr_data/document-03#root01> a ns1:AMR ; - ns1:has-id "document-03" ; - ns1:has-sentence "John is not allowed to play the movie." ; - ns1:root <http://amr.isi.edu/amr_data/document-03#a> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-03#root01> a ns2:AMR ; + ns2:has-id "asail_odrl_sentences-03" ; + ns2:has-sentence "John is not allowed to play the movie." ; + ns2:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-03#a> . ns3:allow-01.ARG1 a ns3:FrameRole . @@ -20,34 +20,34 @@ ns3:play-01.ARG0 a ns3:FrameRole . ns3:play-01.ARG1 a ns3:FrameRole . -<http://amr.isi.edu/amr_data/document-03#a> a ns3:allow-01 ; - ns3:allow-01.ARG1 <http://amr.isi.edu/amr_data/document-03#p> ; - ns2:polarity "-" . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-03#a> a ns3:allow-01 ; + ns3:allow-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-03#p> ; + ns1:polarity "-" . -<http://amr.isi.edu/amr_data/document-03#m> a ns2:movie . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-03#m> a ns1:movie . -<http://amr.isi.edu/amr_data/document-03#p> a ns3:play-01 ; - ns3:play-01.ARG0 <http://amr.isi.edu/amr_data/document-03#p2> ; - ns3:play-01.ARG1 <http://amr.isi.edu/amr_data/document-03#m> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-03#p> a ns3:play-01 ; + ns3:play-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-03#p2> ; + ns3:play-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-03#m> . -<http://amr.isi.edu/amr_data/document-03#p2> a <http://amr.isi.edu/entity-types#person> ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-03#p2> a <http://amr.isi.edu/entity-types#person> ; rdfs:label "John" . -<http://amr.isi.edu/entity-types#person> a ns1:NamedEntity . +<http://amr.isi.edu/entity-types#person> a ns2:NamedEntity . -ns3:allow-01 a ns1:Frame . +ns3:allow-01 a ns2:Frame . -ns3:play-01 a ns1:Frame . +ns3:play-01 a ns2:Frame . -ns2:movie a ns1:Concept . +ns1:movie a ns2:Concept . -ns1:NamedEntity a ns1:Concept ; +ns2:NamedEntity a ns2:Concept ; rdfs:label "AMR-EntityType", "AMR-Term" . -ns1:Frame a ns1:Concept ; +ns2:Frame a ns2:Concept ; rdfs:label "AMR-PropBank-Frame" . -ns3:FrameRole a ns1:Role ; +ns3:FrameRole a ns2:Role ; rdfs:label "AMR-PropBank-Role" . diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl index 88079a4d82b32fde72a4e7fd7592a86a045d2a82..7aaf8657e2e75ad59e866ad22d3bbd1e623db370 100644 --- a/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl @@ -1,60 +1,60 @@ -@prefix ns1: <http://amr.isi.edu/rdf/core-amr#> . -@prefix ns2: <http://amr.isi.edu/rdf/amr-terms#> . -@prefix ns3: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns1: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -ns1:Concept a rdfs:Class ; +ns2:Concept a rdfs:Class ; rdfs:label "AMR-Concept" . -ns1:Role a rdfs:Class ; +ns2:Role a rdfs:Class ; rdfs:label "AMR-Role" . -<http://amr.isi.edu/amr_data/document-01#root01> a ns1:AMR ; - ns1:has-id "document-01" ; - ns1:has-sentence "Movie9899 can be displayed only in Germany." ; - ns1:root <http://amr.isi.edu/amr_data/document-01#p> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-04#root01> a ns2:AMR ; + ns2:has-id "asail_odrl_sentences-04" ; + ns2:has-sentence "Movie9899 can be displayed only in Germany." ; + ns2:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-04#p> . -ns3:display-01.ARG1 a ns3:FrameRole . +ns1:display-01.ARG1 a ns1:FrameRole . -ns3:display-01.ARG2 a ns3:FrameRole . +ns1:display-01.ARG2 a ns1:FrameRole . -ns3:possible-01.ARG1 a ns3:FrameRole . +ns1:possible-01.ARG1 a ns1:FrameRole . -ns2:mod a ns1:Role . +ns3:mod a ns2:Role . -<http://amr.isi.edu/amr_data/document-01#c> a <http://amr.isi.edu/entity-types#country> ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-04#c> a <http://amr.isi.edu/entity-types#country> ; rdfs:label "Germany" ; - ns2:mod <http://amr.isi.edu/amr_data/document-01#o> . + ns3:mod <http://amr.isi.edu/amr_data/asail_odrl_sentences-04#o> . -<http://amr.isi.edu/amr_data/document-01#d> a ns3:display-01 ; - ns3:display-01.ARG1 <http://amr.isi.edu/amr_data/document-01#m> ; - ns3:display-01.ARG2 <http://amr.isi.edu/amr_data/document-01#c> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-04#d> a ns1:display-01 ; + ns1:display-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-04#m> ; + ns1:display-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-04#c> . -<http://amr.isi.edu/amr_data/document-01#m> a ns2:movie ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-04#m> a ns3:movie ; rdfs:label "9899" . -<http://amr.isi.edu/amr_data/document-01#o> a ns2:only . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-04#o> a ns3:only . -<http://amr.isi.edu/amr_data/document-01#p> a ns3:possible-01 ; - ns3:possible-01.ARG1 <http://amr.isi.edu/amr_data/document-01#d> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-04#p> a ns1:possible-01 ; + ns1:possible-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-04#d> . -<http://amr.isi.edu/entity-types#country> a ns1:NamedEntity . +<http://amr.isi.edu/entity-types#country> a ns2:NamedEntity . -ns3:display-01 a ns1:Frame . +ns1:display-01 a ns2:Frame . -ns3:possible-01 a ns1:Frame . +ns1:possible-01 a ns2:Frame . -ns2:movie a ns1:Concept . +ns3:movie a ns2:Concept . -ns2:only a ns1:Concept . +ns3:only a ns2:Concept . -ns1:NamedEntity a ns1:Concept ; +ns2:NamedEntity a ns2:Concept ; rdfs:label "AMR-EntityType", "AMR-Term" . -ns1:Frame a ns1:Concept ; +ns2:Frame a ns2:Concept ; rdfs:label "AMR-PropBank-Frame" . -ns3:FrameRole a ns1:Role ; +ns1:FrameRole a ns2:Role ; rdfs:label "AMR-PropBank-Role" . diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl index 9baeeb62c3e3be0c145fd172d685084ccec8ed2b..733833316f7af178bd8806199a25b0958eb6a016 100644 --- a/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl @@ -1,67 +1,67 @@ @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 ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -ns3:Concept a rdfs:Class ; +ns2:Concept a rdfs:Class ; rdfs:label "AMR-Concept" . -ns3:Role a rdfs:Class ; +ns2:Role a rdfs:Class ; rdfs:label "AMR-Role" . -<http://amr.isi.edu/amr_data/document-02#root01> a ns3:AMR ; - ns3:has-id "document-02" ; - ns3:has-sentence "Movie9899 can be displayed only after 2019.." ; - ns3:root <http://amr.isi.edu/amr_data/document-02#p> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-05#root01> a ns2:AMR ; + ns2:has-id "asail_odrl_sentences-05" ; + ns2:has-sentence "Movie9899 can be displayed only after 2019." ; + ns2:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-05#p> . ns1:display-01.ARG1 a ns1:FrameRole . ns1:possible-01.ARG1 a ns1:FrameRole . -ns2:mod a ns3:Role . +ns3:mod a ns2:Role . -ns2:op1 a ns3:Role . +ns3:op1 a ns2:Role . -ns2:time a ns3:Role . +ns3:time a ns2:Role . -ns3:NamedEntity a ns3:Concept ; +ns2:NamedEntity a ns2:Concept ; rdfs:label "AMR-EntityType", "AMR-Term" . -<http://amr.isi.edu/amr_data/document-02#a> a ns3:after ; - ns2:mod <http://amr.isi.edu/amr_data/document-02#o> ; - ns2:op1 <http://amr.isi.edu/amr_data/document-02#d2> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-05#a> a ns2:after ; + ns3:mod <http://amr.isi.edu/amr_data/asail_odrl_sentences-05#o> ; + ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-05#d2> . -<http://amr.isi.edu/amr_data/document-02#d> a ns1:display-01 ; - ns1:display-01.ARG1 <http://amr.isi.edu/amr_data/document-02#m> ; - ns2:time <http://amr.isi.edu/amr_data/document-02#a> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-05#d> a ns1:display-01 ; + ns1:display-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-05#m> ; + ns3:time <http://amr.isi.edu/amr_data/asail_odrl_sentences-05#a> . -<http://amr.isi.edu/amr_data/document-02#d2> a ns3:date-entity ; - ns2:year "2019" . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-05#d2> a ns2:date-entity ; + ns3:year "2019" . -<http://amr.isi.edu/amr_data/document-02#m> a ns2:movie ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-05#m> a ns3:movie ; rdfs:label "9899" . -<http://amr.isi.edu/amr_data/document-02#o> a ns2:only . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-05#o> a ns3:only . -<http://amr.isi.edu/amr_data/document-02#p> a ns1:possible-01 ; - ns1:possible-01.ARG1 <http://amr.isi.edu/amr_data/document-02#d> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-05#p> a ns1:possible-01 ; + ns1:possible-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-05#d> . -ns1:display-01 a ns3:Frame . +ns1:display-01 a ns2:Frame . -ns1:possible-01 a ns3:Frame . +ns1:possible-01 a ns2:Frame . -ns2:movie a ns3:Concept . +ns3:movie a ns2:Concept . -ns2:only a ns3:Concept . +ns3:only a ns2:Concept . -ns3:after a ns3:Concept . +ns2:after a ns2:Concept . -ns3:date-entity a ns3:Concept . +ns2:date-entity a ns2:Concept . -ns1:FrameRole a ns3:Role ; +ns1:FrameRole a ns2:Role ; rdfs:label "AMR-PropBank-Role" . -ns3:Frame a ns3:Concept ; +ns2:Frame a ns2:Concept ; rdfs:label "AMR-PropBank-Frame" . diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl index 4d8fbe8ac015c2ef5afd0aed596509e19f7d5af7..58d50645ba28baab25730359af569ecff2d34f17 100644 --- a/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s06.stog.amr.ttl @@ -1,53 +1,53 @@ -@prefix ns1: <http://amr.isi.edu/rdf/core-amr#> . -@prefix ns2: <http://amr.isi.edu/rdf/amr-terms#> . -@prefix ns3: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns1: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . -ns1:Concept a rdfs:Class ; +ns2:Concept a rdfs:Class ; rdfs:label "AMR-Concept" . -ns1:Role a rdfs:Class ; +ns2:Role a rdfs:Class ; rdfs:label "AMR-Role" . -<http://amr.isi.edu/amr_data/document-03#root01> a ns1:AMR ; - ns1:has-id "document-03" ; - ns1:has-sentence "John is not allowed to play the movie." ; - ns1:root <http://amr.isi.edu/amr_data/document-03#a> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-06#root01> a ns2:AMR ; + ns2:has-id "asail_odrl_sentences-06" ; + ns2:has-sentence "John is not allowed to play the movie." ; + ns2:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-06#a> . -ns3:prohibit-01.ARG1 a ns3:FrameRole . +ns1:allow-01.ARG1 a ns1:FrameRole . -ns3:play-01.ARG0 a ns3:FrameRole . +ns1:play-01.ARG0 a ns1:FrameRole . -ns3:play-01.ARG1 a ns3:FrameRole . +ns1:play-01.ARG1 a ns1:FrameRole . -<http://amr.isi.edu/amr_data/document-03#a> a ns3:prohibit-01 ; - ns3:prohibit-01.ARG1 <http://amr.isi.edu/amr_data/document-03#p> ; - ns2:polarity "-" . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-06#a> a ns1:allow-01 ; + ns1:allow-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-06#p> ; + ns3:polarity "-" . -<http://amr.isi.edu/amr_data/document-03#m> a ns2:movie . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-06#m> a ns3:movie . -<http://amr.isi.edu/amr_data/document-03#p> a ns3:play-01 ; - ns3:play-01.ARG0 <http://amr.isi.edu/amr_data/document-03#p2> ; - ns3:play-01.ARG1 <http://amr.isi.edu/amr_data/document-03#m> . +<http://amr.isi.edu/amr_data/asail_odrl_sentences-06#p> a ns1:play-01 ; + ns1:play-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-06#p2> ; + ns1:play-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-06#m> . -<http://amr.isi.edu/amr_data/document-03#p2> a <http://amr.isi.edu/entity-types#person> ; +<http://amr.isi.edu/amr_data/asail_odrl_sentences-06#p2> a <http://amr.isi.edu/entity-types#person> ; rdfs:label "John" . -<http://amr.isi.edu/entity-types#person> a ns1:NamedEntity . +<http://amr.isi.edu/entity-types#person> a ns2:NamedEntity . -ns3:prohibit-01 a ns1:Frame . +ns1:allow-01 a ns2:Frame . -ns3:play-01 a ns1:Frame . +ns1:play-01 a ns2:Frame . -ns2:movie a ns1:Concept . +ns3:movie a ns2:Concept . -ns1:NamedEntity a ns1:Concept ; +ns2:NamedEntity a ns2:Concept ; rdfs:label "AMR-EntityType", "AMR-Term" . -ns1:Frame a ns1:Concept ; +ns2:Frame a ns2:Concept ; rdfs:label "AMR-PropBank-Frame" . -ns3:FrameRole a ns1:Role ; +ns1:FrameRole a ns2:Role ; rdfs:label "AMR-PropBank-Role" . diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl new file mode 100644 index 0000000000000000000000000000000000000000..1ed81e108087a08423708bdd5d8c16543bbee935 --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s07.stog.amr.ttl @@ -0,0 +1,54 @@ +@prefix ns1: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns2: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns1:Concept a rdfs:Class ; + rdfs:label "AMR-Concept" . + +ns1:Role a rdfs:Class ; + rdfs:label "AMR-Role" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-07#root01> a ns1:AMR ; + ns1:has-id "asail_odrl_sentences-07" ; + ns1:has-sentence "John is prohibited not to reproduce the Work." ; + ns1:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-07#p> . + +ns2:prohibit-01.ARG1 a ns2:FrameRole . + +ns2:prohibit-01.ARG2 a ns2:FrameRole . + +ns2:reproduce-01.ARG0 a ns2:FrameRole . + +ns2:reproduce-01.ARG1 a ns2:FrameRole . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-07#p> a ns2:prohibit-01 ; + ns2:prohibit-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-07#r> ; + ns2:prohibit-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-07#p2> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-07#r> a ns2:reproduce-01 ; + ns2:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-07#p2> ; + ns2:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-07#w> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-07#w> a ns2:work-01 . + +<http://amr.isi.edu/entity-types#person> a ns1:NamedEntity . + +ns2:prohibit-01 a ns1:Frame . + +ns2:reproduce-01 a ns1:Frame . + +ns2:work-01 a ns1:Frame . + +ns1:NamedEntity a ns1:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-07#p2> a <http://amr.isi.edu/entity-types#person> ; + rdfs:label "John" . + +ns1:Frame a ns1:Concept ; + rdfs:label "AMR-PropBank-Frame" . + +ns2:FrameRole a ns1:Role ; + rdfs:label "AMR-PropBank-Role" . + diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl new file mode 100644 index 0000000000000000000000000000000000000000..a36a2f72a6c185d55e3c789d4a5c3c62d537c49a --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s08.stog.amr.ttl @@ -0,0 +1,54 @@ +@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/asail_odrl_sentences-08#root01> a ns3:AMR ; + ns3:has-id "asail_odrl_sentences-08" ; + ns3:has-sentence "John is not allowed not to reproduce the Work." ; + ns3:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> . + +ns1:allow-01.ARG1 a ns1:FrameRole . + +ns1:reproduce-01.ARG0 a ns1:FrameRole . + +ns1:reproduce-01.ARG1 a ns1:FrameRole . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#a> a ns1:allow-01 ; + ns1:allow-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> ; + ns2:polarity "-" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> a <http://amr.isi.edu/entity-types#person> ; + rdfs:label "John" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#r> a ns1:reproduce-01 ; + ns1:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#p> ; + ns1:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> ; + ns2:polarity "-" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-08#w> a ns1:work-01 . + +<http://amr.isi.edu/entity-types#person> a ns3:NamedEntity . + +ns1:allow-01 a ns3:Frame . + +ns1:reproduce-01 a ns3:Frame . + +ns1:work-01 a ns3:Frame . + +ns3:NamedEntity a ns3:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +ns1:FrameRole a ns3:Role ; + rdfs:label "AMR-PropBank-Role" . + +ns3:Frame a ns3:Concept ; + rdfs:label "AMR-PropBank-Frame" . + diff --git a/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl b/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl new file mode 100644 index 0000000000000000000000000000000000000000..82dfce1f9f1ee7b96e0d67ec58909d725434f7ed --- /dev/null +++ b/tests/input/amrDocuments/dev/asail_odrl_sentences/s09.stog.amr.ttl @@ -0,0 +1,56 @@ +@prefix ns1: <http://amr.isi.edu/frames/ld/v1.2.2/> . +@prefix ns2: <http://amr.isi.edu/rdf/core-amr#> . +@prefix ns3: <http://amr.isi.edu/rdf/amr-terms#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +ns2:Concept a rdfs:Class ; + rdfs:label "AMR-Concept" . + +ns2:Role a rdfs:Class ; + rdfs:label "AMR-Role" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#root01> a ns2:AMR ; + ns2:has-id "asail_odrl_sentences-09" ; + ns2:has-sentence "John is obligated not to reproduce the Work." ; + ns2:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#o> . + +ns1:obligate-01.ARG1 a ns1:FrameRole . + +ns1:obligate-01.ARG2 a ns1:FrameRole . + +ns1:reproduce-01.ARG0 a ns1:FrameRole . + +ns1:reproduce-01.ARG1 a ns1:FrameRole . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#o> a ns1:obligate-01 ; + ns1:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + ns1:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#r> a ns1:reproduce-01 ; + ns1:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> ; + ns1:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> ; + ns3:polarity "-" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#w> a ns1:work-01 . + +<http://amr.isi.edu/entity-types#person> a ns2:NamedEntity . + +ns1:obligate-01 a ns2:Frame . + +ns1:reproduce-01 a ns2:Frame . + +ns1:work-01 a ns2:Frame . + +ns2:NamedEntity a ns2:Concept ; + rdfs:label "AMR-EntityType", + "AMR-Term" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-09#p> a <http://amr.isi.edu/entity-types#person> ; + rdfs:label "John" . + +ns2:Frame a ns2:Concept ; + rdfs:label "AMR-PropBank-Frame" . + +ns1:FrameRole a ns2:Role ; + rdfs:label "AMR-PropBank-Role" . + diff --git a/tests/test_tenet_clara_main.py b/tests/test_tenet_clara_main.py index e156437a5441d216c09d340eacd371ccab6cc73d..46f55539cbf21c1d3920867fae04b943c41f6e7d 100644 --- a/tests/test_tenet_clara_main.py +++ b/tests/test_tenet_clara_main.py @@ -51,17 +51,17 @@ technical_dir_path = f'{out_dir_path}technical-data/' os.chdir('..') # -- Extraction from a file -factoids = tenet.create_ontology_from_amrld_file(amrld_file_path, - onto_prefix=onto_prefix, - out_file_path=out_file_path, - technical_dir_path=technical_dir_path) +# factoids = tenet.create_ontology_from_amrld_file(amrld_file_path, +# onto_prefix=onto_prefix, +# out_file_path=out_file_path, +# technical_dir_path=technical_dir_path) # -- Extraction from a directory (all files in a directory) -# factoids = tenet.create_ontology_from_amrld_dir(amrld_dir_path, -# onto_prefix=onto_prefix, -# out_file_path=out_file_path, -# technical_dir_path=technical_dir_path) +factoids = tenet.create_ontology_from_amrld_dir(amrld_dir_path, + onto_prefix=onto_prefix, + out_file_path=out_file_path, + technical_dir_path=technical_dir_path) print(factoids)