From 30558d9101a39227374ce9597aa543915df19a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@tetras-libre.fr> Date: Thu, 20 Apr 2023 12:03:41 +0200 Subject: [PATCH] Update AMR Rule to generate ODRL rule with several actions --- .../odrl_generation/odrl_rule_generator.py | 30 +- tenet/scheme/amr_scheme_clara_1.py | 3 +- tenet/tenet.log | 1015 +++++++++++++++- tenet/transduction/net/net.py | 2 +- .../test_data/clara-devGraph-10-e.result.ttl | 1065 ++++++++++++++++ .../test_data/clara-devGraph-10-e.ttl | 127 +- .../test_data/clara-devGraph-10-f.result.ttl | 1074 +++++++++++++++++ .../test_data/clara-devGraph-10-f.ttl | 1064 ++++++++++++++++ .../odrl-generation-devGraph-1.result.ttl | 2 +- .../odrl-generation-devGraph-2.result.ttl | 2 +- .../odrl-generation-devGraph-3.result.ttl | 2 +- tests/dev_tests/test_rule_odrl_generator.py | 6 +- tests/dev_tests/test_rule_odrl_rule.py | 7 +- tests/test_tenet_clara_main.py | 16 +- 14 files changed, 4266 insertions(+), 149 deletions(-) create mode 100644 tests/dev_tests/test_data/clara-devGraph-10-e.result.ttl create mode 100644 tests/dev_tests/test_data/clara-devGraph-10-f.result.ttl create mode 100644 tests/dev_tests/test_data/clara-devGraph-10-f.ttl diff --git a/tenet/scheme/amr_clara_rule/odrl_generation/odrl_rule_generator.py b/tenet/scheme/amr_clara_rule/odrl_generation/odrl_rule_generator.py index f02e5096..fda15590 100644 --- a/tenet/scheme/amr_clara_rule/odrl_generation/odrl_rule_generator.py +++ b/tenet/scheme/amr_clara_rule/odrl_generation/odrl_rule_generator.py @@ -82,7 +82,7 @@ def __compute_action_ref(graph, action_net): for ref in action_net.action_name: ref = str(ref) new_ref = action_ref_table[ref] if ref in action_ref_table else f'rdf:{ref}' - action_ref = new_ref if first else f'{target_ref}, {new_ref}' + action_ref = new_ref if first else f'{action_ref}, {new_ref}' first = False return action_ref @@ -177,10 +177,13 @@ def __compute_assignee_ref(graph, action_net): # ODRL Action Code # ----------------------------------------------------- -def __compute_odrl_action_code(graph, rule_net): +def __compute_odrl_action_code_list(graph, rule_net): + assert rule_net.rule_action_net is not None, f'Houston, we have a problem: rule_action_net is None!' + assert isinstance(rule_net.rule_action_net, list), f'Houston, we have a problem: rule_action_net is not a list!' - action_net_uri = rule_net.get_attribute_first_value(rule_net.rule_action_net) - if action_net_uri is not None: + action_code_list = [] + + for action_net_uri in rule_net.rule_action_net: action_net_uri = produce_uriref(graph, action_net_uri) action_net = net.ActionNet(graph, action_net_uri) @@ -193,16 +196,24 @@ def __compute_odrl_action_code(graph, rule_net): assignee_ref = __compute_assignee_ref(graph, action_net) if assignee_ref != '': assignee_ref = f'{ACTION_SPACING_CODE} odrl:assignee {assignee_ref} ;' - action_string = f"""[ {target_ref} {assignee_ref} {action_ref} ]""" + action_string = f"""[ {target_ref} {assignee_ref} {action_ref} ]""" + action_code_list.append(produce_literal(graph, action_string)) - return produce_literal(graph, action_string) + return action_code_list -def __generate_odrl_triple_definition(graph, rule_net): +def __generate_odrl_triple_definition(graph, rule_net): + + odrl_triple_definition = [] + policy_uri = __compute_policy_uri(graph, rule_net) odrl_rule_type_uri = __compute_odrl_rule_type_uri(graph, rule_net) - action_definition = __compute_odrl_action_code(graph, rule_net) - return [(policy_uri, odrl_rule_type_uri, action_definition)] + action_definition_list = __compute_odrl_action_code_list(graph, rule_net) + + for action_definition in action_definition_list: + odrl_triple_definition.append((policy_uri, odrl_rule_type_uri, action_definition)) + + return odrl_triple_definition @@ -221,7 +232,6 @@ def generate_odrl_rule(graph): # -- Triple Definition for 'not deprecated property net' for pattern in pattern_set: - print(pattern.rule_net) rule_net = net.RuleNet(graph, pattern.rule_net) if not rule_net.is_deprecated(): rule_triple_list += __generate_odrl_triple_definition(graph, rule_net) diff --git a/tenet/scheme/amr_scheme_clara_1.py b/tenet/scheme/amr_scheme_clara_1.py index 6e0965bd..6f8403fb 100644 --- a/tenet/scheme/amr_scheme_clara_1.py +++ b/tenet/scheme/amr_scheme_clara_1.py @@ -202,7 +202,8 @@ composite_class_extraction_sequence = ['composite class extraction sequence', odrl_extraction_sequence = ['ODRL extraction sequence', rule.extract_odrl_action, - rule.extract_odrl_rule] + rule.extract_odrl_rule + ] # # --------------------------------------------- diff --git a/tenet/tenet.log b/tenet/tenet.log index bb327e60..a983b0a7 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/s10.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/aos10-20230420/aos10_factoid.ttl - INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/ - INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/10/ @@ -14,7 +14,7 @@ ----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml ----- uuid: https://tenet.tetras-libre.fr/demo/clara/10/ ----- technical base name: tenet.tetras-libre.fr_demo_clara_10 - ----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.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/s10.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,466 @@ ----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/ ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10.ttl *** - *** +- DEBUG - -- Counting number of graph files (sentences) +- INFO - ----- Number of Graphs: 11 - 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/s11.stog.amr.ttl (561) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10.ttl +- INFO - ----- Sentence (id): asail_odrl_sentences-11 +- INFO - ----- Sentence (text): John is obligated to reproduce the movie and the picture. +- 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 (561, 0:00:00.032499) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 10/10 new triples (571, 0:00:00.118966) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (571, 0:00:00.064745) +- INFO - ----- reclassify-concept-3: 4/4 new triples (575, 0:00:00.051700) +- INFO - ----- reclassify-concept-4: 4/4 new triples (579, 0:00:00.072942) +- INFO - ----- reclassify-concept-5: 8/8 new triples (587, 0:00:00.049652) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (587, 0:00:00.058645) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (612, 0:00:00.035959) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (612, 0:00:00.058491) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (630, 0:00:00.037601) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (630, 0:00:00.038500) +- INFO - ----- add-amr-edge-for-core-relation: 18/18 new triples (648, 0:00:00.103195) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (648, 0:00:00.074737) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (653, 0:00:00.076533) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (653, 0:00:00.081629) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (653, 0:00:00.083513) +- INFO - ----- update-amr-edge-role-1: 7/7 new triples (660, 0:00:00.045404) +- INFO - ----- add-amr-root: 5/5 new triples (665, 0:00:00.028431) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//preprocessing +- INFO - ----- 104 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 (683, 0:00:00.100824) +- INFO - ----- extract atom individuals: 8/8 new triples (691, 0:00:00.116457) +- INFO - ----- extract atomic properties: 13/13 new triples (704, 0:00:00.047146) +- INFO - ----- extract atom values: 5/5 new triples (709, 0:00:00.029911) +- INFO - ----- extract atom phenomena: 14/14 new triples (723, 0:00:00.080772) +- INFO - ----- propagate atom relations: 16/46 new triples (739, 0:00:00.509504) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (739, 0:00:00.009651) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (739, 0:00:00.012116) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (739, 0:00:00.021584) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (739, 0:00:00.033045) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (739, 0:00:00.038832) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (739, 0:00:00.010702) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (739, 0:00:00.011022) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (739, 0:00:00.017382) +- INFO - ----- analyze "and" phenomena (1): 2/22 new triples (741, 0:00:00.140087) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (741, 0:00:00.009799) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (741, 0:00:00.020556) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (741, 0:00:00.029088) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 17/18 new triples (758, 0:00:00.120104) +- INFO - ----- extract ODRL rules: 13/13 new triples (771, 0:00:00.113742) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction +- INFO - ----- 106 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 (772, 0:00:00.083816) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-1/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/s05.stog.amr.ttl (560) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10.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.028726) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (565, 0:00:00.126374) +- INFO - ----- reclassify-concept-2: 8/8 new triples (573, 0:00:00.075156) +- INFO - ----- reclassify-concept-3: 4/4 new triples (577, 0:00:00.050613) +- INFO - ----- reclassify-concept-4: 8/8 new triples (585, 0:00:00.066048) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (585, 0:00:00.046534) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (585, 0:00:00.055314) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (610, 0:00:00.033220) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (610, 0:00:00.046951) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (628, 0:00:00.041679) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (628, 0:00:00.034276) +- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (643, 0:00:00.171137) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (643, 0:00:00.065554) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (648, 0:00:00.065847) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (648, 0:00:00.065520) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (648, 0:00:00.066698) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (653, 0:00:00.040889) +- INFO - ----- add-amr-root: 5/5 new triples (658, 0:00:00.024946) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.072276) +- INFO - ----- extract atom individuals: 8/8 new triples (678, 0:00:00.076994) +- INFO - ----- extract atomic properties: 36/36 new triples (714, 0:00:00.105160) +- INFO - ----- extract atom values: 5/5 new triples (719, 0:00:00.023693) +- INFO - ----- extract atom phenomena: 7/7 new triples (726, 0:00:00.036579) +- INFO - ----- propagate atom relations: 11/30 new triples (737, 0:00:00.460310) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (737, 0:00:00.007524) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (737, 0:00:00.014505) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (737, 0:00:00.013059) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (737, 0:00:00.029043) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (737, 0:00:00.032747) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (737, 0:00:00.010433) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (737, 0:00:00.020154) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (737, 0:00:00.010369) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (737, 0:00:00.009360) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (737, 0:00:00.010802) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (737, 0:00:00.021382) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (737, 0:00:00.022252) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (748, 0:00:00.101100) +- INFO - ----- extract ODRL rules: 11/11 new triples (759, 0:00:00.094754) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.048739) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-2/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/s03.stog.amr.ttl (552) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10.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.025490) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.118038) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.051369) +- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.104482) +- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.074520) +- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.050210) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.051545) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.035768) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.054812) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.035037) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.030398) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.102028) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.078687) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.071585) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.085033) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.075329) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.042623) +- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.027401) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.068474) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.053272) +- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.043773) +- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.054725) +- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.039642) +- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.350869) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.006595) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.051202) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.016841) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.029833) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.027977) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.007408) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.014390) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.015297) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (701, 0:00:00.010698) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (701, 0:00:00.010265) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.022255) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.025257) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.126514) +- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.117477) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.082219) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-3/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/s07.stog.amr.ttl (553) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10.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.025407) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.114905) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.067622) +- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.053343) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.073350) +- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.055637) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.050014) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.040856) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.054007) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.039155) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.030930) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (611, 0:00:00.090091) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (611, 0:00:00.071777) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (616, 0:00:00.071160) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (616, 0:00:00.072334) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (616, 0:00:00.085281) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (621, 0:00:00.043943) +- INFO - ----- add-amr-root: 5/5 new triples (626, 0:00:00.036050) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.041704) +- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.041197) +- INFO - ----- extract atomic properties: 24/24 new triples (664, 0:00:00.079635) +- INFO - ----- extract atom values: 5/5 new triples (669, 0:00:00.031990) +- INFO - ----- extract atom phenomena: 7/7 new triples (676, 0:00:00.039959) +- INFO - ----- propagate atom relations: 12/38 new triples (688, 0:00:00.361646) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.007083) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (688, 0:00:00.012366) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (688, 0:00:00.016397) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (688, 0:00:00.028448) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (688, 0:00:00.029802) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (688, 0:00:00.008987) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (688, 0:00:00.010623) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (688, 0:00:00.012296) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (688, 0:00:00.012579) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (688, 0:00:00.010108) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (688, 0:00:00.021282) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (688, 0:00:00.018314) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (699, 0:00:00.129520) +- INFO - ----- extract ODRL rules: 11/11 new triples (710, 0:00:00.117374) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.064636) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-4/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid +- INFO - *** sentence 5 *** +- 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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10.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.113829) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (559, 0:00:00.120979) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (559, 0:00:00.070508) +- INFO - ----- reclassify-concept-3: 8/8 new triples (567, 0:00:00.048110) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (567, 0:00:00.055900) +- INFO - ----- reclassify-concept-5: 4/4 new triples (571, 0:00:00.047680) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (571, 0:00:00.044808) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (588, 0:00:00.034902) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (588, 0:00:00.050380) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (600, 0:00:00.040767) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (600, 0:00:00.028673) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (612, 0:00:00.086324) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (612, 0:00:00.072630) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (617, 0:00:00.069433) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (617, 0:00:00.064550) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (622, 0:00:00.074456) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (628, 0:00:00.038949) +- INFO - ----- add-amr-root: 5/5 new triples (633, 0:00:00.036541) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.033079) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.047452) +- INFO - ----- extract atomic properties: 25/25 new triples (672, 0:00:00.073163) +- INFO - ----- extract atom values: 10/10 new triples (682, 0:00:00.049758) +- INFO - ----- extract atom phenomena: 7/7 new triples (689, 0:00:00.032893) +- INFO - ----- propagate atom relations: 14/40 new triples (703, 0:00:00.346146) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (738, 0:00:00.103666) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (738, 0:00:00.019866) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (738, 0:00:00.028618) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (738, 0:00:00.067054) +- INFO - ----- analyze "polarity" phenomena (5): 15/19 new triples (753, 0:00:00.118152) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (753, 0:00:00.011917) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (753, 0:00:00.019513) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (753, 0:00:00.016997) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (753, 0:00:00.015005) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (753, 0:00:00.015559) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (753, 0:00:00.035665) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (753, 0:00:00.030945) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 12/14 new triples (765, 0:00:00.123599) +- INFO - ----- extract ODRL rules: 11/11 new triples (776, 0:00:00.090902) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.129022) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-5/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid +- INFO - *** sentence 6 *** - INFO - -- Work Structure Preparation - DEBUG - --- Graph Initialization - DEBUG - ----- Configuration Loading @@ -63,7 +521,7 @@ - DEBUG - ----- Sentence Loading - DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s10.stog.amr.ttl (565) - DEBUG - --- Export work graph as turtle -- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-0/tenet.tetras-libre.fr_demo_clara_10.ttl +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10.ttl - INFO - ----- Sentence (id): asail_odrl_sentences-10 - INFO - ----- Sentence (text): John is obligated to reproduce and distribute the Work. - INFO - -- Loading Extraction Scheme (amr_scheme_clara_1) @@ -72,79 +530,534 @@ - 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 (565, 0:00:00.027168) +- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (565, 0:00:00.024784) - INFO - --- *** November Transduction *** Sequence: amr-reification-sequence -- INFO - ----- reclassify-concept-1: 10/10 new triples (575, 0:00:00.137502) -- DEBUG - ----- reclassify-concept-2: 0/0 new triple (575, 0:00:00.131596) -- INFO - ----- reclassify-concept-3: 12/12 new triples (587, 0:00:00.046837) -- DEBUG - ----- reclassify-concept-4: 0/0 new triple (587, 0:00:00.058586) -- INFO - ----- reclassify-concept-5: 4/4 new triples (591, 0:00:00.038371) -- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (591, 0:00:00.045634) -- INFO - ----- reclassify-existing-variable: 25/25 new triples (616, 0:00:00.027597) -- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (616, 0:00:00.046213) -- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (634, 0:00:00.038183) -- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (634, 0:00:00.028246) -- INFO - ----- add-amr-edge-for-core-relation: 24/24 new triples (658, 0:00:00.094224) -- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (658, 0:00:00.068103) -- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (663, 0:00:00.059900) -- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (663, 0:00:00.079450) -- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (663, 0:00:00.135915) -- INFO - ----- update-amr-edge-role-1: 9/9 new triples (672, 0:00:00.085953) -- INFO - ----- add-amr-root: 5/5 new triples (677, 0:00:00.037434) +- INFO - ----- reclassify-concept-1: 10/10 new triples (575, 0:00:00.124886) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (575, 0:00:00.045872) +- INFO - ----- reclassify-concept-3: 12/12 new triples (587, 0:00:00.047722) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (587, 0:00:00.051058) +- INFO - ----- reclassify-concept-5: 4/4 new triples (591, 0:00:00.053572) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (591, 0:00:00.044859) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (616, 0:00:00.028860) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (616, 0:00:00.052774) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (634, 0:00:00.033090) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (634, 0:00:00.034454) +- INFO - ----- add-amr-edge-for-core-relation: 24/24 new triples (658, 0:00:00.090920) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (658, 0:00:00.070543) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (663, 0:00:00.085127) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (663, 0:00:00.072494) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (663, 0:00:00.081220) +- INFO - ----- update-amr-edge-role-1: 9/9 new triples (672, 0:00:00.059267) +- INFO - ----- add-amr-root: 5/5 new triples (677, 0:00:00.023940) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing - DEBUG - ----- step: preprocessing - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-0/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//preprocessing - INFO - ----- 112 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 (683, 0:00:00.051153) -- INFO - ----- extract atom individuals: 8/8 new triples (691, 0:00:00.056074) -- INFO - ----- extract atomic properties: 37/37 new triples (728, 0:00:00.105667) -- INFO - ----- extract atom values: 5/5 new triples (733, 0:00:00.029317) -- INFO - ----- extract atom phenomena: 14/14 new triples (747, 0:00:00.060259) -- INFO - ----- propagate atom relations: 19/62 new triples (766, 0:00:00.467008) +- INFO - ----- extract atom classes: 6/6 new triples (683, 0:00:00.036276) +- INFO - ----- extract atom individuals: 8/8 new triples (691, 0:00:00.045728) +- INFO - ----- extract atomic properties: 37/37 new triples (728, 0:00:00.112274) +- INFO - ----- extract atom values: 5/5 new triples (733, 0:00:00.027807) +- INFO - ----- extract atom phenomena: 14/14 new triples (747, 0:00:00.064667) +- INFO - ----- propagate atom relations: 19/62 new triples (766, 0:00:00.556489) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) -- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (766, 0:00:00.009301) -- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (766, 0:00:00.012766) -- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (766, 0:00:00.021110) -- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (766, 0:00:00.029898) -- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (766, 0:00:00.028431) -- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (766, 0:00:00.009234) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (766, 0:00:00.009976) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (766, 0:00:00.013983) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (766, 0:00:00.014800) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (766, 0:00:00.037664) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (766, 0:00:00.043659) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (766, 0:00:00.015622) - INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) -- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (766, 0:00:00.016035) -- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (766, 0:00:00.018531) -- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (766, 0:00:00.013959) -- INFO - ----- analyze "and" phenomena (2): 2/18 new triples (768, 0:00:00.133545) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (766, 0:00:00.015041) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (766, 0:00:00.012657) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (766, 0:00:00.010170) +- INFO - ----- analyze "and" phenomena (2): 2/18 new triples (768, 0:00:00.158199) - INFO - --- *** February Transduction *** Sequence: composite class extraction sequence -- DEBUG - ----- extract composite classes (1): 0/0 new triple (768, 0:00:00.020606) -- DEBUG - ----- extract composite classes (2): 0/0 new triple (768, 0:00:00.027644) +- DEBUG - ----- extract composite classes (1): 0/0 new triple (768, 0:00:00.022293) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (768, 0:00:00.021208) - INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence -- INFO - ----- extract ODRL actions: 24/28 new triples (792, 0:00:00.202161) -- INFO - ----- extract ODRL rules: 14/22 new triples (806, 0:00:00.151006) +- INFO - ----- extract ODRL actions: 24/28 new triples (792, 0:00:00.199701) +- INFO - ----- extract ODRL rules: 14/22 new triples (806, 0:00:00.159575) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction - DEBUG - ----- step: transduction - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-0/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction - INFO - ----- 129 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 (807, 0:00:00.077847) +- INFO - ----- generate ODRL rule: 2/2 new triples (808, 0:00:00.117343) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 2 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-6/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 2 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/s06.stog.amr.ttl (552) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10.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 +- 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.029447) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (557, 0:00:00.130262) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (557, 0:00:00.069260) +- INFO - ----- reclassify-concept-3: 4/4 new triples (561, 0:00:00.056940) +- INFO - ----- reclassify-concept-4: 4/4 new triples (565, 0:00:00.069043) +- INFO - ----- reclassify-concept-5: 4/4 new triples (569, 0:00:00.051449) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (569, 0:00:00.055890) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (586, 0:00:00.040023) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (586, 0:00:00.060866) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (598, 0:00:00.042264) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (598, 0:00:00.041292) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (607, 0:00:00.108650) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (607, 0:00:00.079200) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (612, 0:00:00.064869) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (612, 0:00:00.150611) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (617, 0:00:00.072096) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (622, 0:00:00.038790) +- INFO - ----- add-amr-root: 5/5 new triples (627, 0:00:00.024596) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.062236) +- INFO - ----- extract atom individuals: 8/8 new triples (647, 0:00:00.046230) +- INFO - ----- extract atomic properties: 13/13 new triples (660, 0:00:00.041875) +- INFO - ----- extract atom values: 10/10 new triples (670, 0:00:00.054817) +- INFO - ----- extract atom phenomena: 7/7 new triples (677, 0:00:00.035545) +- INFO - ----- propagate atom relations: 11/28 new triples (688, 0:00:00.355223) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (688, 0:00:00.008335) +- INFO - ----- analyze "polarity" phenomena (2): 13/15 new triples (701, 0:00:00.076709) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (701, 0:00:00.017070) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (701, 0:00:00.029082) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (701, 0:00:00.031629) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (701, 0:00:00.007755) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (701, 0:00:00.013342) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (701, 0:00:00.012364) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (701, 0:00:00.010210) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (701, 0:00:00.009305) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (701, 0:00:00.023631) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (701, 0:00:00.019970) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 15/17 new triples (716, 0:00:00.114786) +- INFO - ----- extract ODRL rules: 12/12 new triples (728, 0:00:00.121350) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.073433) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-7/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/s04.stog.amr.ttl (556) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10.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.025302) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (561, 0:00:00.130304) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (561, 0:00:00.059144) +- INFO - ----- reclassify-concept-3: 4/4 new triples (565, 0:00:00.044130) +- INFO - ----- reclassify-concept-4: 8/8 new triples (573, 0:00:00.060553) +- INFO - ----- reclassify-concept-5: 4/4 new triples (577, 0:00:00.046469) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (577, 0:00:00.058687) +- INFO - ----- reclassify-existing-variable: 22/22 new triples (599, 0:00:00.033310) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (599, 0:00:00.059757) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (614, 0:00:00.121055) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (614, 0:00:00.035491) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (626, 0:00:00.086132) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (626, 0:00:00.077956) +- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (636, 0:00:00.079090) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (636, 0:00:00.059204) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (636, 0:00:00.070988) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (642, 0:00:00.047208) +- INFO - ----- add-amr-root: 5/5 new triples (647, 0:00:00.028025) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.094641) +- INFO - ----- extract atom individuals: 16/16 new triples (681, 0:00:00.103463) +- INFO - ----- extract atomic properties: 13/13 new triples (694, 0:00:00.118206) +- INFO - ----- extract atom values: 10/10 new triples (704, 0:00:00.051119) +- INFO - ----- extract atom phenomena: 7/7 new triples (711, 0:00:00.030289) +- INFO - ----- propagate atom relations: 15/52 new triples (726, 0:00:00.515359) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (726, 0:00:00.009693) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (726, 0:00:00.018535) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (726, 0:00:00.016086) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (726, 0:00:00.032409) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (726, 0:00:00.033457) +- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (747, 0:00:00.071651) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (747, 0:00:00.010586) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (747, 0:00:00.008963) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (747, 0:00:00.007717) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (747, 0:00:00.007876) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (747, 0:00:00.015609) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (747, 0:00:00.016859) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (758, 0:00:00.089833) +- INFO - ----- extract ODRL rules: 11/11 new triples (769, 0:00:00.093433) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.056156) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-8/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//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/s01.stog.amr.ttl (547) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10.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.028951) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (552, 0:00:00.091113) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (552, 0:00:00.124456) +- INFO - ----- reclassify-concept-3: 4/4 new triples (556, 0:00:00.047742) +- INFO - ----- reclassify-concept-4: 4/4 new triples (560, 0:00:00.068612) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (560, 0:00:00.043147) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (560, 0:00:00.046769) +- INFO - ----- reclassify-existing-variable: 13/13 new triples (573, 0:00:00.031718) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (573, 0:00:00.055033) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (582, 0:00:00.032959) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (582, 0:00:00.037016) +- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (588, 0:00:00.091390) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (588, 0:00:00.080145) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (593, 0:00:00.078225) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (593, 0:00:00.070347) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (593, 0:00:00.085891) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (596, 0:00:00.027690) +- INFO - ----- add-amr-root: 5/5 new triples (601, 0:00:00.024469) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.032515) +- INFO - ----- extract atom individuals: 8/8 new triples (615, 0:00:00.038985) +- INFO - ----- extract atomic properties: 12/12 new triples (627, 0:00:00.045714) +- INFO - ----- extract atom values: 5/5 new triples (632, 0:00:00.026467) +- INFO - ----- extract atom phenomena: 7/7 new triples (639, 0:00:00.040618) +- INFO - ----- propagate atom relations: 7/22 new triples (646, 0:00:00.291384) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (646, 0:00:00.006883) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (646, 0:00:00.017472) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (646, 0:00:00.015432) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (646, 0:00:00.035043) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (646, 0:00:00.032930) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (646, 0:00:00.008871) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (646, 0:00:00.012208) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (646, 0:00:00.010710) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (646, 0:00:00.011341) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (646, 0:00:00.010141) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (646, 0:00:00.023342) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (646, 0:00:00.028084) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (657, 0:00:00.107964) +- INFO - ----- extract ODRL rules: 11/11 new triples (668, 0:00:00.115576) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.069478) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-9/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid +- INFO - *** sentence 10 *** +- 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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10.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.107179) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (558, 0:00:00.115251) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (558, 0:00:00.073834) +- INFO - ----- reclassify-concept-3: 8/8 new triples (566, 0:00:00.054507) +- DEBUG - ----- reclassify-concept-4: 0/0 new triple (566, 0:00:00.062895) +- INFO - ----- reclassify-concept-5: 4/4 new triples (570, 0:00:00.043256) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (570, 0:00:00.055458) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (587, 0:00:00.037244) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (587, 0:00:00.067819) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (599, 0:00:00.039335) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (599, 0:00:00.038720) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (608, 0:00:00.100845) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (608, 0:00:00.071336) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (613, 0:00:00.065210) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (613, 0:00:00.081451) +- INFO - ----- add-amr-edge-for-polarity-relation: 8/8 new triples (621, 0:00:00.072921) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (627, 0:00:00.043678) +- INFO - ----- add-amr-root: 5/5 new triples (632, 0:00:00.025218) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.037111) +- INFO - ----- extract atom individuals: 8/8 new triples (646, 0:00:00.042100) +- INFO - ----- extract atomic properties: 25/25 new triples (671, 0:00:00.072862) +- INFO - ----- extract atom values: 10/10 new triples (681, 0:00:00.057722) +- INFO - ----- extract atom phenomena: 7/7 new triples (688, 0:00:00.036941) +- INFO - ----- propagate atom relations: 12/30 new triples (700, 0:00:00.357283) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- INFO - ----- analyze "polarity" phenomena (1): 35/42 new triples (735, 0:00:00.098676) +- INFO - ----- analyze "polarity" phenomena (2): 14/17 new triples (749, 0:00:00.066239) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (749, 0:00:00.019217) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (749, 0:00:00.034950) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (749, 0:00:00.035030) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (749, 0:00:00.007536) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (749, 0:00:00.011131) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (749, 0:00:00.010405) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (749, 0:00:00.011492) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (749, 0:00:00.009927) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (749, 0:00:00.027653) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (749, 0:00:00.021206) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 12/14 new triples (761, 0:00:00.124693) +- INFO - ----- extract ODRL rules: 11/11 new triples (772, 0:00:00.225380) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.075860) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-10/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid +- INFO - *** sentence 11 *** +- 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/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10.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.028532) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (556, 0:00:00.111294) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (556, 0:00:00.059087) +- INFO - ----- reclassify-concept-3: 4/4 new triples (560, 0:00:00.047389) +- INFO - ----- reclassify-concept-4: 4/4 new triples (564, 0:00:00.058416) +- INFO - ----- reclassify-concept-5: 4/4 new triples (568, 0:00:00.045843) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (568, 0:00:00.042988) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (585, 0:00:00.034993) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.052071) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.037111) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.034051) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.083537) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.071166) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (611, 0:00:00.066313) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.071643) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (611, 0:00:00.063409) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (615, 0:00:00.027269) +- INFO - ----- add-amr-root: 5/5 new triples (620, 0:00:00.020858) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//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.066052) +- INFO - ----- extract atom individuals: 8/8 new triples (640, 0:00:00.041266) +- INFO - ----- extract atomic properties: 13/13 new triples (653, 0:00:00.041502) +- INFO - ----- extract atom values: 5/5 new triples (658, 0:00:00.028899) +- INFO - ----- extract atom phenomena: 7/7 new triples (665, 0:00:00.035808) +- INFO - ----- propagate atom relations: 10/26 new triples (675, 0:00:00.388371) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (675, 0:00:00.011116) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (675, 0:00:00.017910) +- DEBUG - ----- analyze "polarity" phenomena (3): 0/0 new triple (675, 0:00:00.026961) +- DEBUG - ----- analyze "polarity" phenomena (4): 0/0 new triple (675, 0:00:00.057542) +- DEBUG - ----- analyze "polarity" phenomena (5): 0/0 new triple (675, 0:00:00.054151) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (675, 0:00:00.014926) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (675, 0:00:00.010462) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (675, 0:00:00.016758) +- DEBUG - ----- analyze "and" phenomena (1): 0/0 new triple (675, 0:00:00.012253) +- DEBUG - ----- analyze "and" phenomena (2): 0/0 new triple (675, 0:00:00.009742) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (675, 0:00:00.018448) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (675, 0:00:00.015484) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 14/15 new triples (689, 0:00:00.108109) +- INFO - ----- extract ODRL rules: 12/12 new triples (701, 0:00:00.117583) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//transduction +- 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 (702, 0:00:00.096965) - DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_10_generation - DEBUG - ----- step: generation - DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/10/ -- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-0/tenet.tetras-libre.fr_demo_clara_10_generation.ttl +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_generation.ttl - DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/10//generation - INFO - ----- 1 triples extracted during generation step -- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-0/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos10-20230420/technical-data/tenet.tetras-libre.fr_demo_clara_10-11/tenet.tetras-libre.fr_demo_clara_10_factoid.ttl) - DEBUG - ----- Number of factoids: 1 - DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid - INFO - === Final Ontology Generation === - INFO - -- Making complete factoid graph by merging the result factoids -- INFO - ----- Total factoid number: 1 +- INFO - ----- Total factoid number: 12 - INFO - -- Serializing graph to factoid string - INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/10//factoid - INFO - -- Serializing graph to factoid file @@ -153,7 +1066,7 @@ === Done === - INFO - *** Execution Time *** ------ Function: create_ontology_from_amrld_file (tenet.main) ------ Total Time: 0:00:03.163024 ------ Process Time: 0:00:03.124789 +----- Function: create_ontology_from_amrld_dir (tenet.main) +----- Total Time: 0:00:29.593185 +----- Process Time: 0:00:29.260256 *** - *** diff --git a/tenet/transduction/net/net.py b/tenet/transduction/net/net.py index 8d0793f1..89c147aa 100644 --- a/tenet/transduction/net/net.py +++ b/tenet/transduction/net/net.py @@ -301,7 +301,7 @@ class Net: def compose(self, *nets): - assert len(nets) > 0, 'at least one net is needed to compose a new net' + assert len(nets) > 0, 'Houston, we have a problem: at least one net is needed to compose a new net' # -- Base Node and Structure Setting self.base_node = nets[0].base_node diff --git a/tests/dev_tests/test_data/clara-devGraph-10-e.result.ttl b/tests/dev_tests/test_data/clara-devGraph-10-e.result.ttl new file mode 100644 index 00000000..4858d3bb --- /dev/null +++ b/tests/dev_tests/test_data/clara-devGraph-10-e.result.ttl @@ -0,0 +1,1065 @@ +@base <https://amr.tetras-libre.fr/rdf/clara-devGraph-10-e/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:distribute-01.ARG0 a ns11:FrameRole . + +ns11:distribute-01.ARG1 a ns11:FrameRole . + +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 . + +ns3:op1 a ns21:Role . + +ns3:op2 a ns21:Role . + +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_a_op1_r a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_d a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_d_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_d_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG2_a 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" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:phenomena_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_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-10 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> ; + :hasRootLeaf :leaf_obligate-01_o ; + :hasSentenceID "asail_odrl_sentences-10" ; + :hasSentenceStatement "John is obligated to reproduce and distribute 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:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_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: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_distribute_d, + net:action_reproduce_r, + net:phenomena_obligation-modality_o ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_distribute-01_d, + :leaf_obligate-01_o, + :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasNaming "obligation" ; + net:hasRuleActionURI net:action_distribute_d, + net:action_reproduce_r ; + net:hasRuleRelationName "obligation" ; + net:hasStructure "asail_odrl_sentences-10" . + +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-10#root01> a ns21:AMR ; + ns21:has-id "asail_odrl_sentences-10" ; + ns21:has-sentence "John is obligated to reproduce and distribute the Work." ; + ns21:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns21:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_distribute-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:distribute-01 ; + :label "distribute-01" . + +: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" . + +: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_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + :label "a" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + :label "d" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> ; + :label "o" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + :label "p" ; + :name "John" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + :label "r" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_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_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:action_reproduce_r, + net:atomProperty_reproduce_r ; + :role_op2 net:action_distribute_d, + net:atomProperty_distribute_d ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "asail_odrl_sentences-10" . + +net:phenomena_obligation-modality_o a net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:action_distribute_d, + net:action_reproduce_r, + net:atomProperty_distribute_d, + net:atomProperty_reproduce_r, + net:phenomena_conjunction-AND_a ; + 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-10" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> a ns21:and ; + ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + ns3:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> a ns11:distribute-01 ; + ns11:distribute-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:distribute-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> a ns11:obligate-01 ; + ns11:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> a ns11:reproduce-01 ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +ns4:person a ns21:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:distribute-01 a ns21:Frame ; + 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 . + +ns21:and a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:value_John a :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Action_Net a owl:Class ; + rdfs:subClassOf net: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: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-10" ; + 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-10" ; + net:hasValueLabel "John" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_r :leaf_reproduce-01_r ; + :edge_a_op2_d :leaf_distribute-01_d ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:atomProperty_distribute_d a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d ; + net:hasNaming "distribute" ; + net:hasPropertyName "distribute" ; + net:hasPropertyName01 "distributeing" ; + net:hasPropertyName10 "distribute-by" ; + net:hasPropertyName12 "distribute-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:atomProperty_reproduce_r a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + 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-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:action_distribute_d a net:Action_Net ; + net:composeFrom net:atomProperty_distribute_d, + net:individual_John_p ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d, + :leaf_person_p ; + net:hasActionName "distribute" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "distribute" ; + net:hasStructure "asail_odrl_sentences-10" . + +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-10" . + +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-10" . + +: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_a :leaf_and_a ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_distribute-01_d a :AMR_Leaf ; + :edge_d_ARG0_p :leaf_person_p ; + :edge_d_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_distribute-01 ; + :hasVariable :variable_d . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +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-10" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_person_p a :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_data/clara-devGraph-10-e.ttl b/tests/dev_tests/test_data/clara-devGraph-10-e.ttl index 6367895d..1c7b5856 100644 --- a/tests/dev_tests/test_data/clara-devGraph-10-e.ttl +++ b/tests/dev_tests/test_data/clara-devGraph-10-e.ttl @@ -423,6 +423,9 @@ net:Composite_Property_Net a owl:Class ; net:Feature a owl:Class ; rdfs:subClassOf net:Net_Structure . +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + net:abstractionClass a owl:AnnotationProperty ; rdfs:label "abstraction class" ; rdfs:subPropertyOf net:objectValue . @@ -542,19 +545,19 @@ net:modCat2 a owl:AnnotationProperty ; net:normal_direction a owl:NamedIndividual . -net:rule_obligation_o a net:Rule_Net ; - net:composeFrom net:action_distribute_d, +net:phenomena_obligation-modality_o a net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:action_distribute_d, net:action_reproduce_r, - net:phenomena_obligation-modality_o ; + net:atomProperty_distribute_d, + net:atomProperty_reproduce_r, + net:phenomena_conjunction-AND_a ; net:coverBaseNode :leaf_obligate-01_o ; - net:coverNode :leaf_distribute-01_d, - :leaf_obligate-01_o, - :leaf_person_p, - :leaf_reproduce-01_r ; - net:hasNaming "obligation" ; - net:hasRuleActionURI net:action_distribute_d, - net:action_reproduce_r ; - net:hasRuleRelationName "obligation" ; + net:coverNode :leaf_obligate-01_o ; + net:hasNaming "obligation-modality" ; + net:hasPhenomenaRef "obligate-01" ; + net:hasPhenomenaType :phenomena_modality_obligation ; net:hasStructure "asail_odrl_sentences-10" . net:type a owl:AnnotationProperty ; @@ -684,9 +687,6 @@ net:Deprecated_Net a owl:Class ; net:Individual_Net a owl:Class ; rdfs:subClassOf net:Net . -net:Rule_Net a owl:Class ; - rdfs:subClassOf net:Net . - net:Value_Net a owl:Class ; rdfs:subClassOf net:Net . @@ -709,21 +709,6 @@ net:phenomena_conjunction-AND_a a net:Phenomena_Net ; net:hasPhenomenaType :phenomena_conjunction_and ; net:hasStructure "asail_odrl_sentences-10" . -net:phenomena_obligation-modality_o a net:Phenomena_Net ; - :role_ARG1 net:atomClass_person_p, - net:individual_John_p ; - :role_ARG2 net:action_distribute_d, - net:action_reproduce_r, - net:atomProperty_distribute_d, - net:atomProperty_reproduce_r, - net:phenomena_conjunction-AND_a ; - 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-10" . - <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> a ns21:and ; ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; ns3:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; @@ -807,6 +792,28 @@ net:Phenomena_Net a owl:Class ; net:Property_Net a owl:Class ; rdfs:subClassOf net:Net . +net:action_distribute_d a net:Action_Net ; + net:composeFrom net:atomProperty_distribute_d, + net:individual_John_p ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d, + :leaf_person_p ; + net:hasActionName "distribute" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "distribute" ; + net:hasStructure "asail_odrl_sentences-10" . + +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-10" . + net:atomProperty_work_w a net:Atom_Property_Net ; net:coverBaseNode :leaf_work-01_w ; net:coverNode :leaf_work-01_w ; @@ -859,6 +866,12 @@ net:value_John_blankNode a net:Value_Net ; :hasConcept :concept_and ; :hasVariable :variable_a . +:leaf_obligate-01_o a :AMR_Leaf ; + :edge_o_ARG1_p :leaf_person_p ; + :edge_o_ARG2_a :leaf_and_a ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + :phenomena_modality a owl:Class ; rdfs:subClassOf :AMR_Phenomena . @@ -928,28 +941,6 @@ ns21:Frame a ns21:Concept, :AMR_Element a owl:Class ; rdfs:subClassOf :AMR_Structure . -net:action_distribute_d a net:Action_Net ; - net:composeFrom net:atomProperty_distribute_d, - net:individual_John_p ; - net:coverBaseNode :leaf_distribute-01_d ; - net:coverNode :leaf_distribute-01_d, - :leaf_person_p ; - net:hasActionName "distribute" ; - net:hasAssigneeIndividualNet net:individual_John_p ; - net:hasNaming "distribute" ; - net:hasStructure "asail_odrl_sentences-10" . - -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-10" . - net:atomClass_person_p a net:Atom_Class_Net, net:Deprecated_Net ; :role_name net:value_John_blankNode ; @@ -965,11 +956,17 @@ net:atomClass_person_p a net:Atom_Class_Net, :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_a :leaf_and_a ; - :hasConcept :concept_obligate-01 ; - :hasVariable :variable_o . +:leaf_distribute-01_d a :AMR_Leaf ; + :edge_d_ARG0_p :leaf_person_p ; + :edge_d_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_distribute-01 ; + :hasVariable :variable_d . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . sys:Out_Structure a owl:Class ; rdfs:label "Output Ontology Structure" . @@ -991,18 +988,6 @@ ns11:FrameRole a ns21:Role, :AMR_Variable a owl:Class ; rdfs:subClassOf :AMR_Element . -:leaf_distribute-01_d a :AMR_Leaf ; - :edge_d_ARG0_p :leaf_person_p ; - :edge_d_ARG1_w :leaf_work-01_w ; - :hasConcept :concept_distribute-01 ; - :hasVariable :variable_d . - -:leaf_reproduce-01_r a :AMR_Leaf ; - :edge_r_ARG0_p :leaf_person_p ; - :edge_r_ARG1_w :leaf_work-01_w ; - :hasConcept :concept_reproduce-01 ; - :hasVariable :variable_r . - :leaf_work-01_w a :AMR_Leaf ; :hasConcept :concept_work-01 ; :hasVariable :variable_w . @@ -1045,14 +1030,14 @@ net:has_object a owl:AnnotationProperty ; :AMR_Core_Role a owl:Class ; rdfs:subClassOf :AMR_Role . -:AMR_Edge a owl:Class ; - rdfs:subClassOf :AMR_Structure . - :leaf_person_p a :AMR_Leaf ; :edge_p_name_John :value_John ; :hasConcept :concept_person ; :hasVariable :variable_p . +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + net:objectValue a owl:AnnotationProperty ; rdfs:label "valuations"@fr ; rdfs:subPropertyOf net:objectProperty . diff --git a/tests/dev_tests/test_data/clara-devGraph-10-f.result.ttl b/tests/dev_tests/test_data/clara-devGraph-10-f.result.ttl new file mode 100644 index 00000000..e78267d8 --- /dev/null +++ b/tests/dev_tests/test_data/clara-devGraph-10-f.result.ttl @@ -0,0 +1,1074 @@ +@base <https://amr.tetras-libre.fr/rdf/clara-devGraph-10-f/result> . +@prefix : <https://amr.tetras-libre.fr/rdf/schema#> . +@prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . +@prefix ext-out: <https://tenet.tetras-libre.fr/extract-result#> . +@prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . +@prefix ns1: <http://www.w3.org/ns/odrl/2/> . +@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:distribute-01.ARG0 a ns11:FrameRole . + +ns11:distribute-01.ARG1 a ns11:FrameRole . + +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 . + +ns3:op1 a ns21:Role . + +ns3:op2 a ns21:Role . + +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_a_op1_r a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_d a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_d_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_d_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG2_a 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" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:phenomena_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_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-10 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> ; + :hasRootLeaf :leaf_obligate-01_o ; + :hasSentenceID "asail_odrl_sentences-10" ; + :hasSentenceStatement "John is obligated to reproduce and distribute 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 . + +ext-out:policy_asail_odrl_sentences-10 ns1:obligation """[ + odrl:assignee <http://example.com/asset:John.person> ; + odrl:action cc:Distribution ]""", + """[ + odrl:assignee <http://example.com/asset:John.person> ; + odrl:action cc:Reproduction ]""" . + +<https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . + +net:Composite_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net: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: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_distribute_d, + net:action_reproduce_r, + net:phenomena_obligation-modality_o ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_distribute-01_d, + :leaf_obligate-01_o, + :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasNaming "obligation" ; + net:hasRuleActionURI net:action_distribute_d, + net:action_reproduce_r ; + net:hasRuleRelationName "obligation" ; + net:hasStructure "asail_odrl_sentences-10" . + +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-10#root01> a ns21:AMR ; + ns21:has-id "asail_odrl_sentences-10" ; + ns21:has-sentence "John is obligated to reproduce and distribute the Work." ; + ns21:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns21:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_distribute-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:distribute-01 ; + :label "distribute-01" . + +: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" . + +: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_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + :label "a" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + :label "d" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> ; + :label "o" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + :label "p" ; + :name "John" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + :label "r" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_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_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:action_reproduce_r, + net:atomProperty_reproduce_r ; + :role_op2 net:action_distribute_d, + net:atomProperty_distribute_d ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "asail_odrl_sentences-10" . + +net:phenomena_obligation-modality_o a net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:action_distribute_d, + net:action_reproduce_r, + net:atomProperty_distribute_d, + net:atomProperty_reproduce_r, + net:phenomena_conjunction-AND_a ; + 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-10" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> a ns21:and ; + ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + ns3:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> a ns11:distribute-01 ; + ns11:distribute-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:distribute-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> a ns11:obligate-01 ; + ns11:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> a ns11:reproduce-01 ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +ns4:person a ns21:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:distribute-01 a ns21:Frame ; + 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 . + +ns21:and a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:value_John a :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Action_Net a owl:Class ; + rdfs:subClassOf net: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: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-10" ; + 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-10" ; + net:hasValueLabel "John" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_r :leaf_reproduce-01_r ; + :edge_a_op2_d :leaf_distribute-01_d ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:atomProperty_distribute_d a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d ; + net:hasNaming "distribute" ; + net:hasPropertyName "distribute" ; + net:hasPropertyName01 "distributeing" ; + net:hasPropertyName10 "distribute-by" ; + net:hasPropertyName12 "distribute-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:atomProperty_reproduce_r a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + 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-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:action_distribute_d a net:Action_Net ; + net:composeFrom net:atomProperty_distribute_d, + net:individual_John_p ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d, + :leaf_person_p ; + net:hasActionName "distribute" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "distribute" ; + net:hasStructure "asail_odrl_sentences-10" . + +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-10" . + +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-10" . + +: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_a :leaf_and_a ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_distribute-01_d a :AMR_Leaf ; + :edge_d_ARG0_p :leaf_person_p ; + :edge_d_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_distribute-01 ; + :hasVariable :variable_d . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +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-10" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_person_p a :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_data/clara-devGraph-10-f.ttl b/tests/dev_tests/test_data/clara-devGraph-10-f.ttl new file mode 100644 index 00000000..6367895d --- /dev/null +++ b/tests/dev_tests/test_data/clara-devGraph-10-f.ttl @@ -0,0 +1,1064 @@ +@base <http://https://tenet.tetras-libre.fr/demo/clara/10//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:distribute-01.ARG0 a ns11:FrameRole . + +ns11:distribute-01.ARG1 a ns11:FrameRole . + +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 . + +ns3:op1 a ns21:Role . + +ns3:op2 a ns21:Role . + +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_a_op1_r a :AMR_Edge ; + :hasAmrRole :role_op1 ; + :hasRoleID "op1" . + +:edge_a_op2_d a :AMR_Edge ; + :hasAmrRole :role_op2 ; + :hasRoleID "op2" . + +:edge_d_ARG0_p a :AMR_Edge ; + :hasAmrRole :role_ARG0 ; + :hasRoleID "ARG0" . + +:edge_d_ARG1_w a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG1_p a :AMR_Edge ; + :hasAmrRole :role_ARG1 ; + :hasRoleID "ARG1" . + +:edge_o_ARG2_a 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" . + +:fromAmrLkFramerole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRole a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:fromAmrLkRoot a owl:AnnotationProperty ; + rdfs:subPropertyOf :fromAmrLk . + +:getDirectPropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getInversePropertyName a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:getPropertyType a owl:AnnotationProperty ; + rdfs:subPropertyOf :getProperty . + +:hasConcept a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasConceptLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasEdgeLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasLink . + +:hasReification a owl:AnnotationProperty ; + rdfs:range xsd:boolean ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationConcept a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationDomain a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasReificationRange a owl:AnnotationProperty ; + rdfs:subPropertyOf :hasReificationDefinition . + +:hasRelationName a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasRoleID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRoleTag a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRolesetID a owl:ObjectProperty ; + rdfs:domain :AMR_Edge ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasRootLeaf a owl:ObjectProperty ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:hasSentenceID a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasSentenceStatement a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasVariable a owl:ObjectProperty ; + rdfs:domain :AMR_Leaf ; + rdfs:subPropertyOf :AMR_ObjectProperty . + +:label a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction_or a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "or" ; + :label "conjunction-OR" . + +:phenomena_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_op3 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op3" . + +:role_op4 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op4" . + +:role_op5 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op5" . + +:role_op6 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op6" . + +:role_op7 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op7" . + +:role_op8 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op8" . + +:role_op9 a owl:Class ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op9" . + +:role_part a owl:Class ; + rdfs:subClassOf :AMR_NonCore_Role ; + :getDirectPropertyName "hasPart"^^xsd:string ; + :getInversePropertyName "partOf"^^xsd:string ; + :getPropertyType owl:ObjectProperty ; + :toReifyAsConcept "part" ; + :toReifyWithBaseEdge "ARG0" ; + :toReifyWithHeadEdge "ARG1" . + +:role_polarity a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "polarity" . + +:role_quant a owl:Class ; + rdfs:subClassOf :AMR_Specific_Role ; + :label "quant" . + +:root_asail_odrl_sentences-10 a :AMR_Root ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#root01> ; + :hasRootLeaf :leaf_obligate-01_o ; + :hasSentenceID "asail_odrl_sentences-10" ; + :hasSentenceStatement "John is obligated to reproduce and distribute 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:Composite_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_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: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_distribute_d, + net:action_reproduce_r, + net:phenomena_obligation-modality_o ; + net:coverBaseNode :leaf_obligate-01_o ; + net:coverNode :leaf_distribute-01_d, + :leaf_obligate-01_o, + :leaf_person_p, + :leaf_reproduce-01_r ; + net:hasNaming "obligation" ; + net:hasRuleActionURI net:action_distribute_d, + net:action_reproduce_r ; + net:hasRuleRelationName "obligation" ; + net:hasStructure "asail_odrl_sentences-10" . + +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-10#root01> a ns21:AMR ; + ns21:has-id "asail_odrl_sentences-10" ; + ns21:has-sentence "John is obligated to reproduce and distribute the Work." ; + ns21:root <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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_Root a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Term_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Value a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:concept_and rdfs:subClassOf :AMR_Relation_Concept ; + :fromAmrLk ns21:and ; + :hasPhenomenaLink :phenomena_conjunction_and ; + :label "and" . + +:concept_distribute-01 rdfs:subClassOf :AMR_Predicat_Concept ; + :fromAmrLk ns11:distribute-01 ; + :label "distribute-01" . + +: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_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_op1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op1" . + +:role_op2 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Op_Role ; + :label "op2" . + +:variable_a a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + :label "a" . + +:variable_d a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + :label "d" . + +:variable_o a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> ; + :label "o" . + +:variable_p a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + :label "p" ; + :name "John" . + +:variable_r a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + :label "r" . + +:variable_w a :AMR_Variable ; + :fromAmrLk <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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:Atom_Class_Net a owl:Class ; + rdfs:subClassOf net:Class_Net . + +net:Deprecated_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Individual_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Rule_Net a owl:Class ; + rdfs:subClassOf net:Net . + +net:Value_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_conjunction-AND_a a net:Phenomena_Net ; + :role_op1 net:action_reproduce_r, + net:atomProperty_reproduce_r ; + :role_op2 net:action_distribute_d, + net:atomProperty_distribute_d ; + net:coverBaseNode :leaf_and_a ; + net:coverNode :leaf_and_a ; + net:hasNaming "conjunction-AND" ; + net:hasPhenomenaRef "and" ; + net:hasPhenomenaType :phenomena_conjunction_and ; + net:hasStructure "asail_odrl_sentences-10" . + +net:phenomena_obligation-modality_o a net:Phenomena_Net ; + :role_ARG1 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG2 net:action_distribute_d, + net:action_reproduce_r, + net:atomProperty_distribute_d, + net:atomProperty_reproduce_r, + net:phenomena_conjunction-AND_a ; + 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-10" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> a ns21:and ; + ns3:op1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> ; + ns3:op2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#d> a ns11:distribute-01 ; + ns11:distribute-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:distribute-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#o> a ns11:obligate-01 ; + ns11:obligate-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:obligate-01.ARG2 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#a> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#r> a ns11:reproduce-01 ; + ns11:reproduce-01.ARG0 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#p> ; + ns11:reproduce-01.ARG1 <http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> ; + rdfs:subClassOf :AMR_Linked_Data . + +<http://amr.isi.edu/entity-types#person> a ns21:NamedEntity ; + rdfs:subClassOf :AMR_Linked_Data . + +ns11:distribute-01 a ns21:Frame ; + 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 . + +ns21:and a ns21:Concept ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Relation_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:hasLink a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:phenomena_conjunction a owl:Class ; + rdfs:subClassOf :AMR_Phenomena ; + :hasConceptLink "contrast-01", + "either", + "neither" ; + :label "conjunction" . + +:phenomena_conjunction_and a owl:Class ; + rdfs:subClassOf :phenomena_conjunction ; + :hasConceptLink "and" ; + :label "conjunction-AND" . + +:phenomena_modality_obligation a owl:Class ; + rdfs:subClassOf :phenomena_modality ; + :hasConceptLink "obligate-01" ; + :label "obligation-modality" . + +:role_ARG0 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG0" . + +:value_John a :AMR_Value ; + rdfs:label "John" . + +sys:Out_ObjectProperty a owl:ObjectProperty . + +net:Action_Net a owl:Class ; + rdfs:subClassOf net: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: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-10" ; + 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-10" ; + net:hasValueLabel "John" . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#w> a ns11:work-01 ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_Concept a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:AMR_Phenomena a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:AMR_Predicat_Concept a owl:Class ; + rdfs:subClassOf :AMR_Concept . + +:AMR_Specific_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:fromAmrLk a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:getProperty a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:hasReificationDefinition a owl:AnnotationProperty ; + rdfs:range rdfs:Literal ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +:leaf_and_a a :AMR_Leaf ; + :edge_a_op1_r :leaf_reproduce-01_r ; + :edge_a_op2_d :leaf_distribute-01_d ; + :hasConcept :concept_and ; + :hasVariable :variable_a . + +:phenomena_modality a owl:Class ; + rdfs:subClassOf :AMR_Phenomena . + +:role_ARG1 a owl:Class, + net:Relation ; + rdfs:subClassOf :AMR_Core_Role ; + :label "ARG1" . + +:toReify a owl:AnnotationProperty ; + rdfs:subPropertyOf :AMR_AnnotationProperty . + +net:Atom_Property_Net a owl:Class ; + rdfs:subClassOf net:Property_Net . + +net:Net_Structure a owl:Class ; + rdfs:label "Semantic Net Structure" ; + rdfs:comment "A semantic net captures a set of nodes, and associates this set with type(s) and value(s)." . + +net:atomProperty_distribute_d a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d ; + net:hasNaming "distribute" ; + net:hasPropertyName "distribute" ; + net:hasPropertyName01 "distributeing" ; + net:hasPropertyName10 "distribute-by" ; + net:hasPropertyName12 "distribute-of" ; + net:hasPropertyType owl:ObjectProperty ; + net:hasStructure "asail_odrl_sentences-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:atomProperty_reproduce_r a net:Atom_Property_Net ; + :role_ARG0 net:atomClass_person_p, + net:individual_John_p ; + :role_ARG1 net:atomProperty_work_w ; + 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-10" ; + net:isCoreRoleLinked "true" ; + net:targetArgumentNode :leaf_person_p, + :leaf_work-01_w . + +net:has_relation_value a owl:AnnotationProperty ; + rdfs:label "has relation value" ; + rdfs:subPropertyOf net:has_object . + +<http://amr.isi.edu/amr_data/asail_odrl_sentences-10#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_Element a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:action_distribute_d a net:Action_Net ; + net:composeFrom net:atomProperty_distribute_d, + net:individual_John_p ; + net:coverBaseNode :leaf_distribute-01_d ; + net:coverNode :leaf_distribute-01_d, + :leaf_person_p ; + net:hasActionName "distribute" ; + net:hasAssigneeIndividualNet net:individual_John_p ; + net:hasNaming "distribute" ; + net:hasStructure "asail_odrl_sentences-10" . + +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-10" . + +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-10" . + +: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_a :leaf_and_a ; + :hasConcept :concept_obligate-01 ; + :hasVariable :variable_o . + +sys:Out_Structure a owl:Class ; + rdfs:label "Output Ontology Structure" . + +net:netProperty a owl:AnnotationProperty ; + rdfs:label "netProperty" . + +ns11:FrameRole a ns21:Role, + owl:Class, + owl:NamedIndividual ; + rdfs:label "AMR-PropBank-Role" ; + rdfs:subClassOf :AMR_Linked_Data . + +:AMR_ObjectProperty a owl:ObjectProperty ; + rdfs:subPropertyOf owl:topObjectProperty . + +:AMR_Structure a owl:Class . + +:AMR_Variable a owl:Class ; + rdfs:subClassOf :AMR_Element . + +:leaf_distribute-01_d a :AMR_Leaf ; + :edge_d_ARG0_p :leaf_person_p ; + :edge_d_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_distribute-01 ; + :hasVariable :variable_d . + +:leaf_reproduce-01_r a :AMR_Leaf ; + :edge_r_ARG0_p :leaf_person_p ; + :edge_r_ARG1_w :leaf_work-01_w ; + :hasConcept :concept_reproduce-01 ; + :hasVariable :variable_r . + +:leaf_work-01_w a :AMR_Leaf ; + :hasConcept :concept_work-01 ; + :hasVariable :variable_w . + +cprm:configParamProperty a rdf:Property ; + rdfs:label "Config Parameter Property" . + +net:Relation a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +rdf:Property a owl:Class . + +:AMR_Relation a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +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-10" . + +:AMR_Leaf a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +net:Net a owl:Class ; + rdfs:subClassOf net:Net_Structure . + +net:has_object a owl:AnnotationProperty ; + rdfs:label "relation" ; + rdfs:subPropertyOf net:netProperty . + +:AMR_Op_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_AnnotationProperty a owl:AnnotationProperty . + +:AMR_Core_Role a owl:Class ; + rdfs:subClassOf :AMR_Role . + +:AMR_Edge a owl:Class ; + rdfs:subClassOf :AMR_Structure . + +:leaf_person_p a :AMR_Leaf ; + :edge_p_name_John :value_John ; + :hasConcept :concept_person ; + :hasVariable :variable_p . + +net:objectValue a owl:AnnotationProperty ; + rdfs:label "valuations"@fr ; + rdfs:subPropertyOf net:objectProperty . + +:AMR_Linked_Data a owl:Class . + +[] a owl:AllDisjointClasses ; + owl:members ( sys:Degree sys:Entity sys:Feature ) . + diff --git a/tests/dev_tests/test_data/odrl-generation-devGraph-1.result.ttl b/tests/dev_tests/test_data/odrl-generation-devGraph-1.result.ttl index 09889b47..5767760f 100644 --- a/tests/dev_tests/test_data/odrl-generation-devGraph-1.result.ttl +++ b/tests/dev_tests/test_data/odrl-generation-devGraph-1.result.ttl @@ -3,7 +3,7 @@ @prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . @prefix ext-out: <https://tenet.tetras-libre.fr/extract-result#> . @prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . -@prefix ns1: <odrl:> . +@prefix ns1: <http://www.w3.org/ns/odrl/2/> . @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#> . diff --git a/tests/dev_tests/test_data/odrl-generation-devGraph-2.result.ttl b/tests/dev_tests/test_data/odrl-generation-devGraph-2.result.ttl index 96ce966d..732785b5 100644 --- a/tests/dev_tests/test_data/odrl-generation-devGraph-2.result.ttl +++ b/tests/dev_tests/test_data/odrl-generation-devGraph-2.result.ttl @@ -3,7 +3,7 @@ @prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . @prefix ext-out: <https://tenet.tetras-libre.fr/extract-result#> . @prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . -@prefix ns1: <odrl:> . +@prefix ns1: <http://www.w3.org/ns/odrl/2/> . @prefix ns11: <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/> . diff --git a/tests/dev_tests/test_data/odrl-generation-devGraph-3.result.ttl b/tests/dev_tests/test_data/odrl-generation-devGraph-3.result.ttl index cbb91857..f1c7e3d5 100644 --- a/tests/dev_tests/test_data/odrl-generation-devGraph-3.result.ttl +++ b/tests/dev_tests/test_data/odrl-generation-devGraph-3.result.ttl @@ -3,7 +3,7 @@ @prefix cprm: <https://tenet.tetras-libre.fr/config/parameters#> . @prefix ext-out: <https://tenet.tetras-libre.fr/extract-result#> . @prefix net: <https://tenet.tetras-libre.fr/semantic-net#> . -@prefix ns1: <odrl:> . +@prefix ns1: <http://www.w3.org/ns/odrl/2/> . @prefix ns11: <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/> . diff --git a/tests/dev_tests/test_rule_odrl_generator.py b/tests/dev_tests/test_rule_odrl_generator.py index f2aa8451..d8833df2 100644 --- a/tests/dev_tests/test_rule_odrl_generator.py +++ b/tests/dev_tests/test_rule_odrl_generator.py @@ -19,6 +19,7 @@ OUTPUT_DIR_PATH = f'{FILE_PATH}/test_data/' TEST_FILE_NAME_1 = 'odrl-generation-devGraph-1' TEST_FILE_NAME_2 = 'odrl-generation-devGraph-2' TEST_FILE_NAME_3 = 'odrl-generation-devGraph-3' +TEST_FILE_NAME_4 = 'clara-devGraph-10-f' from context import tenet from tenet.scheme.amr_clara_rule.odrl_generation import odrl_rule_generator as dev_rule @@ -125,6 +126,7 @@ if __name__ == '__main__': graph_1 = load_test_graph(TEST_FILE_NAME_1) 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) print('\n \n') print('\n ///////////////////// Extraction Rule 1') @@ -132,14 +134,14 @@ if __name__ == '__main__': print('\n *** Step Test ***') print('\n -- Step 1: Search Pattern') - pattern_set = test_search_pattern_1(graph_1) - + pattern_set = test_search_pattern_1(graph_4) print('\n \n') print('\n *** Unit Test ***') test_rule_application(TEST_FILE_NAME_1, graph_1, rule.generate_odrl_rule) test_rule_application(TEST_FILE_NAME_2, graph_2, rule.generate_odrl_rule) test_rule_application(TEST_FILE_NAME_3, graph_3, rule.generate_odrl_rule) + test_rule_application(TEST_FILE_NAME_4, graph_4, rule.generate_odrl_rule) print('\n \n') print('\n *** - ***') \ No newline at end of file diff --git a/tests/dev_tests/test_rule_odrl_rule.py b/tests/dev_tests/test_rule_odrl_rule.py index 86b7f921..cfac389b 100644 --- a/tests/dev_tests/test_rule_odrl_rule.py +++ b/tests/dev_tests/test_rule_odrl_rule.py @@ -20,6 +20,7 @@ TEST_FILE_NAME_1 = 'odrl-rule-devGraph-1' TEST_FILE_NAME_2 = 'odrl-rule-devGraph-2' TEST_FILE_NAME_3 = 'odrl-rule-devGraph-3' TEST_FILE_NAME_4 = 'odrl-rule-devGraph-4' +TEST_FILE_NAME_5 = 'clara-devGraph-10-e' from context import tenet from tenet.scheme.amr_clara_rule.transduction import odrl_rule_extractor as rule_1 @@ -127,6 +128,7 @@ 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) print('\n \n') @@ -136,14 +138,15 @@ if __name__ == '__main__': print('\n -- Step 1: Search Pattern') for (rule_relation, phenomena_uri) in rule_1.MODALITY_TABLE: - pattern_set = test_search_pattern_1(graph_4, phenomena_uri) + pattern_set = test_search_pattern_1(graph_5, phenomena_uri) print('\n \n') print('\n *** Unit Test ***') # test_rule_application(TEST_FILE_NAME_1, graph_1, rule.extract_odrl_rule) # test_rule_application(TEST_FILE_NAME_2, graph_2, rule.extract_odrl_rule) # test_rule_application(TEST_FILE_NAME_3, graph_3, rule.extract_odrl_rule) - test_rule_application(TEST_FILE_NAME_4, graph_4, rule.extract_odrl_rule) + # test_rule_application(TEST_FILE_NAME_4, graph_4, rule.extract_odrl_rule) + test_rule_application(TEST_FILE_NAME_5, graph_5, rule.extract_odrl_rule) print('\n \n') diff --git a/tests/test_tenet_clara_main.py b/tests/test_tenet_clara_main.py index 59786358..67c4c8f0 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) -- GitLab