From 7f7f188ba85793a7efb8c083ff479994092d87d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@tetras-libre.fr> Date: Mon, 17 Apr 2023 21:34:46 +0200 Subject: [PATCH] Update ODRL generation with ODRL vocabulary reference --- .../odrl_generation/odrl_rule_generator.py | 27 +- .../odrl_vocabulary_reference.py | 17 + tenet/tenet.log | 501 ++++++++++++++++++ .../odrl-generation-devGraph-1.result.ttl | 2 +- .../odrl-generation-devGraph-2.result.ttl | 2 +- .../odrl-generation-devGraph-3.result.ttl | 2 +- 6 files changed, 541 insertions(+), 10 deletions(-) create mode 100644 tenet/scheme/amr_clara_rule/odrl_generation/odrl_vocabulary_reference.py 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 f531e602..f02e5096 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 @@ -16,8 +16,7 @@ import transduction from transduction import net from transduction.rdfterm_computer import produce_uriref, produce_literal from transduction.query_builder import generate_select_query -from transduction.naming_computer import define_axiom_naming -from transduction.naming_computer import define_composite_naming_2 +from scheme.amr_clara_rule.odrl_generation import odrl_vocabulary_reference #============================================================================== @@ -71,6 +70,24 @@ def __compute_odrl_rule_type_uri(graph, net): return produce_uriref(graph, odrl_rule_type_uri) +# Action Reference +# ----------------------------------------------------- + +def __compute_action_ref(graph, action_net): + + action_ref = '' + first = True + + action_ref_table = odrl_vocabulary_reference.action_table + 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}' + first = False + + return action_ref + + # Target Reference # ----------------------------------------------------- @@ -167,11 +184,7 @@ def __compute_odrl_action_code(graph, rule_net): action_net_uri = produce_uriref(graph, action_net_uri) action_net = net.ActionNet(graph, action_net_uri) - action_ref = '' - first = True - for ref in action_net.action_name: - action_ref = ref if first else f'odrl:{action_ref}, {ref}' - first = False + action_ref = __compute_action_ref(graph, action_net) if action_ref != '': action_ref = f'{ACTION_SPACING_CODE} odrl:action {action_ref}' target_ref = __compute_target_ref(graph, action_net) diff --git a/tenet/scheme/amr_clara_rule/odrl_generation/odrl_vocabulary_reference.py b/tenet/scheme/amr_clara_rule/odrl_generation/odrl_vocabulary_reference.py new file mode 100644 index 00000000..d9b81410 --- /dev/null +++ b/tenet/scheme/amr_clara_rule/odrl_generation/odrl_vocabulary_reference.py @@ -0,0 +1,17 @@ +#!/usr/bin/python3.10 +# -*-coding:Utf-8 -* + +#============================================================================== +# TENET: ODRL Vocabulary Reference +#------------------------------------------------------------------------------ +# Set of RDF classes, predicates and named entities that are used by the ODRL +# Information Model [odrl-model] which defines the ODRL Vocabulary. +#============================================================================== + +# Action Reference Table: *** [ (item_key, odrl_reference) ] *** +action_table = { + 'use': 'odrl:use', + 'display': 'odrl:display', + 'play': 'odrl:play', + 'distribute': 'cc:Distribution' + } \ No newline at end of file diff --git a/tenet/tenet.log b/tenet/tenet.log index e69de29b..5750c796 100644 --- a/tenet/tenet.log +++ b/tenet/tenet.log @@ -0,0 +1,501 @@ +- INFO - [TENET] Extraction Processing +- INFO - + === Process Initialization === +- INFO - -- Process Setting +- 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/aos03-20230417/aos03_factoid.ttl +- INFO - ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/ +- INFO - ----- Ontology target (id): https://tenet.tetras-libre.fr/demo/clara/03/ +- INFO - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet +- DEBUG - ----- Config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml +- DEBUG - + *** Config (Full Parameters) *** + -- Base Parameters + ----- config file: /home/lamenji/Workspace/Tetras/tenet/tenet/config.xml + ----- uuid: https://tenet.tetras-libre.fr/demo/clara/03/ + ----- technical base name: tenet.tetras-libre.fr_demo_clara_03 + ----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/ + ----- target reference: base + ----- process level: sentence + ----- source type: amr + -- Compositional Transduction Scheme (CTS) + ----- CTS reference: amr_scheme_clara_1 + -- Directories + ----- base directory: ./ + ----- structure directory: ./structure/ + ----- CTS directory: ./scheme/ + ----- target frame directory: ./../input/targetFrameStructure/ + ----- input document directory: + ----- base output dir: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/aos03_factoid.ttl + ----- output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/aos03_factoid.ttltenet.tetras-libre.fr_demo_clara_03-20230417/ + ----- sentence output directory: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/ + ----- technical dir path: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/ + -- Config File Definition + ----- schema file: ./structure/amr-rdf-schema.ttl + ----- semantic net file: ./structure/odrl-snet-schema.ttl + ----- config param file: ./structure/config-parameters.ttl + ----- base ontology file: ./structure/base-ontology.ttl + ----- CTS file: ./scheme/amr_scheme_clara_1.py + -- Useful References for Ontology + ----- base URI: https://tenet.tetras-libre.fr/working + ----- ontology suffix: -ontology.ttl + ----- ontology seed suffix: -ontology-seed.ttl + -- Source File Definition + ----- source sentence file: /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/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 + -- Output + ----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/ + ----- output file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03.ttl + *** - *** +- DEBUG - -- Counting number of graph files (sentences) +- INFO - ----- Number of Graphs: 5 +- INFO - + === Extraction Processing === +- INFO - *** sentence 1 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (319) +- DEBUG - -------- Semantic Net Definition (465) +- DEBUG - -------- Config Parameter Definition (499) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (529) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s05.stog.amr.ttl (559) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-1/tenet.tetras-libre.fr_demo_clara_03.ttl +- INFO - ----- Sentence (id): document-02 +- 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 (559, 0:00:00.118406) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (564, 0:00:00.111591) +- INFO - ----- reclassify-concept-2: 8/8 new triples (572, 0:00:00.054204) +- INFO - ----- reclassify-concept-3: 4/4 new triples (576, 0:00:00.051663) +- INFO - ----- reclassify-concept-4: 8/8 new triples (584, 0:00:00.052900) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (584, 0:00:00.046535) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (584, 0:00:00.040280) +- INFO - ----- reclassify-existing-variable: 25/25 new triples (609, 0:00:00.029898) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (609, 0:00:00.063806) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 18/18 new triples (627, 0:00:00.041737) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (627, 0:00:00.042421) +- INFO - ----- add-amr-edge-for-core-relation: 15/15 new triples (642, 0:00:00.116529) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (642, 0:00:00.092853) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (647, 0:00:00.078424) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (647, 0:00:00.084335) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (647, 0:00:00.079149) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (652, 0:00:00.047350) +- INFO - ----- add-amr-root: 5/5 new triples (657, 0:00:00.026204) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-1/tenet.tetras-libre.fr_demo_clara_03_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (669, 0:00:00.069220) +- INFO - ----- extract atom individuals: 8/8 new triples (677, 0:00:00.046702) +- INFO - ----- extract atomic properties: 36/36 new triples (713, 0:00:00.126034) +- INFO - ----- extract atom values: 5/5 new triples (718, 0:00:00.027345) +- INFO - ----- extract atom phenomena: 7/7 new triples (725, 0:00:00.042312) +- INFO - ----- propagate atom relations: 11/30 new triples (736, 0:00:00.472112) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (736, 0:00:00.011191) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (736, 0:00:00.012056) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (736, 0:00:00.008078) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (736, 0:00:00.012025) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (736, 0:00:00.012072) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (736, 0:00:00.029678) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (736, 0:00:00.021464) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (747, 0:00:00.124423) +- INFO - ----- extract ODRL rules: 11/11 new triples (758, 0:00:00.129503) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-1/tenet.tetras-libre.fr_demo_clara_03_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (759, 0:00:00.075401) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-1/tenet.tetras-libre.fr_demo_clara_03_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-1/tenet.tetras-libre.fr_demo_clara_03_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/03//factoid +- INFO - *** sentence 2 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (319) +- DEBUG - -------- Semantic Net Definition (465) +- DEBUG - -------- Config Parameter Definition (499) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (529) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s03.stog.amr.ttl (551) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-2/tenet.tetras-libre.fr_demo_clara_03.ttl +- INFO - ----- Sentence (id): document-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 (551, 0:00:00.119996) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (556, 0:00:00.115175) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (556, 0:00:00.071590) +- INFO - ----- reclassify-concept-3: 4/4 new triples (560, 0:00:00.059300) +- INFO - ----- reclassify-concept-4: 4/4 new triples (564, 0:00:00.071374) +- INFO - ----- reclassify-concept-5: 4/4 new triples (568, 0:00:00.054637) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (568, 0:00:00.047664) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (585, 0:00:00.035015) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (585, 0:00:00.064799) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (597, 0:00:00.035658) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (597, 0:00:00.033652) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (606, 0:00:00.102415) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (606, 0:00:00.076098) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (611, 0:00:00.086024) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (611, 0:00:00.075608) +- INFO - ----- add-amr-edge-for-polarity-relation: 5/5 new triples (616, 0:00:00.082547) +- INFO - ----- update-amr-edge-role-1: 5/5 new triples (621, 0:00:00.044710) +- INFO - ----- add-amr-root: 5/5 new triples (626, 0:00:00.025768) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-2/tenet.tetras-libre.fr_demo_clara_03_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (638, 0:00:00.075165) +- INFO - ----- extract atom individuals: 8/8 new triples (646, 0:00:00.042075) +- INFO - ----- extract atomic properties: 13/13 new triples (659, 0:00:00.055619) +- INFO - ----- extract atom values: 10/10 new triples (669, 0:00:00.057613) +- INFO - ----- extract atom phenomena: 7/7 new triples (676, 0:00:00.046840) +- INFO - ----- propagate atom relations: 11/28 new triples (687, 0:00:00.408027) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (687, 0:00:00.007550) +- INFO - ----- analyze "polarity" phenomena (2): 12/14 new triples (699, 0:00:00.073319) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (699, 0:00:00.009080) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (699, 0:00:00.012175) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (699, 0:00:00.010269) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (699, 0:00:00.021887) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (699, 0:00:00.028756) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 15/17 new triples (714, 0:00:00.132036) +- INFO - ----- extract ODRL rules: 12/12 new triples (726, 0:00:00.129944) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-2/tenet.tetras-libre.fr_demo_clara_03_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//transduction +- INFO - ----- 100 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 (727, 0:00:00.079317) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-2/tenet.tetras-libre.fr_demo_clara_03_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-2/tenet.tetras-libre.fr_demo_clara_03_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/03//factoid +- INFO - *** sentence 3 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (319) +- DEBUG - -------- Semantic Net Definition (465) +- DEBUG - -------- Config Parameter Definition (499) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (529) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s04.stog.amr.ttl (555) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-3/tenet.tetras-libre.fr_demo_clara_03.ttl +- INFO - ----- Sentence (id): document-01 +- 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 (555, 0:00:00.125304) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (560, 0:00:00.126304) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (560, 0:00:00.071998) +- INFO - ----- reclassify-concept-3: 4/4 new triples (564, 0:00:00.049333) +- INFO - ----- reclassify-concept-4: 8/8 new triples (572, 0:00:00.067288) +- INFO - ----- reclassify-concept-5: 4/4 new triples (576, 0:00:00.050052) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (576, 0:00:00.059452) +- INFO - ----- reclassify-existing-variable: 22/22 new triples (598, 0:00:00.034500) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (598, 0:00:00.069698) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 15/15 new triples (613, 0:00:00.038301) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (613, 0:00:00.030247) +- INFO - ----- add-amr-edge-for-core-relation: 12/12 new triples (625, 0:00:00.108612) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (625, 0:00:00.086669) +- INFO - ----- add-amr-edge-for-name-relation: 10/10 new triples (635, 0:00:00.079209) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (635, 0:00:00.065016) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (635, 0:00:00.091709) +- INFO - ----- update-amr-edge-role-1: 6/6 new triples (641, 0:00:00.043718) +- INFO - ----- add-amr-root: 5/5 new triples (646, 0:00:00.029640) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-3/tenet.tetras-libre.fr_demo_clara_03_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (664, 0:00:00.107287) +- INFO - ----- extract atom individuals: 16/16 new triples (680, 0:00:00.073688) +- INFO - ----- extract atomic properties: 13/13 new triples (693, 0:00:00.048370) +- INFO - ----- extract atom values: 10/10 new triples (703, 0:00:00.057579) +- INFO - ----- extract atom phenomena: 7/7 new triples (710, 0:00:00.050288) +- INFO - ----- propagate atom relations: 15/52 new triples (725, 0:00:00.577553) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (725, 0:00:00.010163) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (725, 0:00:00.014067) +- INFO - ----- analyze modifier phenomena (mod): 21/25 new triples (746, 0:00:00.092951) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (746, 0:00:00.013227) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (746, 0:00:00.013144) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (746, 0:00:00.028630) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (746, 0:00:00.037355) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (757, 0:00:00.242000) +- INFO - ----- extract ODRL rules: 11/11 new triples (768, 0:00:00.131759) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-3/tenet.tetras-libre.fr_demo_clara_03_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (769, 0:00:00.056159) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-3/tenet.tetras-libre.fr_demo_clara_03_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-3/tenet.tetras-libre.fr_demo_clara_03_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/03//factoid +- INFO - *** sentence 4 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (319) +- DEBUG - -------- Semantic Net Definition (465) +- DEBUG - -------- Config Parameter Definition (499) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (529) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s01.stog.amr.ttl (546) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-4/tenet.tetras-libre.fr_demo_clara_03.ttl +- INFO - ----- Sentence (id): document-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 (546, 0:00:00.025090) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (551, 0:00:00.100491) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (551, 0:00:00.068662) +- INFO - ----- reclassify-concept-3: 4/4 new triples (555, 0:00:00.039337) +- INFO - ----- reclassify-concept-4: 4/4 new triples (559, 0:00:00.072804) +- DEBUG - ----- reclassify-concept-5: 0/0 new triple (559, 0:00:00.041630) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (559, 0:00:00.053069) +- INFO - ----- reclassify-existing-variable: 13/13 new triples (572, 0:00:00.029896) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (572, 0:00:00.068182) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 9/9 new triples (581, 0:00:00.073665) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (581, 0:00:00.066390) +- INFO - ----- add-amr-edge-for-core-relation: 6/6 new triples (587, 0:00:00.129689) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (587, 0:00:00.073420) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (592, 0:00:00.087350) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (592, 0:00:00.074553) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (592, 0:00:00.091772) +- INFO - ----- update-amr-edge-role-1: 3/3 new triples (595, 0:00:00.030546) +- INFO - ----- add-amr-root: 5/5 new triples (600, 0:00:00.028832) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-4/tenet.tetras-libre.fr_demo_clara_03_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (606, 0:00:00.038065) +- INFO - ----- extract atom individuals: 8/8 new triples (614, 0:00:00.052605) +- INFO - ----- extract atomic properties: 12/12 new triples (626, 0:00:00.037394) +- INFO - ----- extract atom values: 5/5 new triples (631, 0:00:00.036764) +- INFO - ----- extract atom phenomena: 7/7 new triples (638, 0:00:00.038152) +- INFO - ----- propagate atom relations: 7/22 new triples (645, 0:00:00.310805) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (645, 0:00:00.008320) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (645, 0:00:00.012256) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (645, 0:00:00.010933) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (645, 0:00:00.014989) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (645, 0:00:00.014190) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (645, 0:00:00.020704) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (645, 0:00:00.018934) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 11/12 new triples (656, 0:00:00.123407) +- INFO - ----- extract ODRL rules: 11/11 new triples (667, 0:00:00.117521) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-4/tenet.tetras-libre.fr_demo_clara_03_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (668, 0:00:00.089658) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-4/tenet.tetras-libre.fr_demo_clara_03_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-4/tenet.tetras-libre.fr_demo_clara_03_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/03//factoid +- INFO - *** sentence 5 *** +- INFO - -- Work Structure Preparation +- DEBUG - --- Graph Initialization +- DEBUG - ----- Configuration Loading +- DEBUG - -------- RDF Schema (319) +- DEBUG - -------- Semantic Net Definition (465) +- DEBUG - -------- Config Parameter Definition (499) +- DEBUG - ----- Frame Ontology Loading +- DEBUG - -------- Base Ontology produced as output (529) +- DEBUG - --- Source Data Import +- DEBUG - ----- Sentence Loading +- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tests/input/amrDocuments/dev/asail_odrl_sentences/s02.stog.amr.ttl (550) +- DEBUG - --- Export work graph as turtle +- DEBUG - ----- Work graph file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-5/tenet.tetras-libre.fr_demo_clara_03.ttl +- INFO - ----- Sentence (id): document-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 (550, 0:00:00.119978) +- INFO - --- *** November Transduction *** Sequence: amr-reification-sequence +- INFO - ----- reclassify-concept-1: 5/5 new triples (555, 0:00:00.131904) +- DEBUG - ----- reclassify-concept-2: 0/0 new triple (555, 0:00:00.058355) +- INFO - ----- reclassify-concept-3: 4/4 new triples (559, 0:00:00.053526) +- INFO - ----- reclassify-concept-4: 4/4 new triples (563, 0:00:00.065630) +- INFO - ----- reclassify-concept-5: 4/4 new triples (567, 0:00:00.051283) +- DEBUG - ----- reify-roles-as-concept: 0/0 new triple (567, 0:00:00.049203) +- INFO - ----- reclassify-existing-variable: 17/17 new triples (584, 0:00:00.036700) +- DEBUG - ----- add-new-variable-for-reified-concept: 0/0 new triple (584, 0:00:00.056237) +- INFO - ----- add-amr-leaf-for-reclassified-concept: 12/12 new triples (596, 0:00:00.044014) +- DEBUG - ----- add-amr-leaf-for-reified-concept: 0/0 new triple (596, 0:00:00.033131) +- INFO - ----- add-amr-edge-for-core-relation: 9/9 new triples (605, 0:00:00.099751) +- DEBUG - ----- add-amr-edge-for-reified-concept: 0/0 new triple (605, 0:00:00.080604) +- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (610, 0:00:00.068442) +- DEBUG - ----- add-value-for-quant-relation: 0/0 new triple (610, 0:00:00.069399) +- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (610, 0:00:00.087592) +- INFO - ----- update-amr-edge-role-1: 4/4 new triples (614, 0:00:00.038786) +- INFO - ----- add-amr-root: 5/5 new triples (619, 0:00:00.026113) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_preprocessing +- DEBUG - ----- step: preprocessing +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-5/tenet.tetras-libre.fr_demo_clara_03_preprocessing.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (631, 0:00:00.071312) +- INFO - ----- extract atom individuals: 8/8 new triples (639, 0:00:00.037727) +- INFO - ----- extract atomic properties: 13/13 new triples (652, 0:00:00.048896) +- INFO - ----- extract atom values: 5/5 new triples (657, 0:00:00.033416) +- INFO - ----- extract atom phenomena: 7/7 new triples (664, 0:00:00.045776) +- INFO - ----- propagate atom relations: 10/26 new triples (674, 0:00:00.395322) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (1) +- DEBUG - ----- analyze "polarity" phenomena (1): 0/0 new triple (674, 0:00:00.010502) +- DEBUG - ----- analyze "polarity" phenomena (2): 0/0 new triple (674, 0:00:00.010260) +- DEBUG - ----- analyze modifier phenomena (mod): 0/0 new triple (674, 0:00:00.012157) +- INFO - --- *** February Transduction *** Sequence: phenomena analyze sequence (2) +- DEBUG - ----- analyze "or" phenomena (1): 0/0 new triple (674, 0:00:00.012794) +- DEBUG - ----- analyze "or" phenomena (2): 0/0 new triple (674, 0:00:00.014814) +- INFO - --- *** February Transduction *** Sequence: composite class extraction sequence +- DEBUG - ----- extract composite classes (1): 0/0 new triple (674, 0:00:00.019731) +- DEBUG - ----- extract composite classes (2): 0/0 new triple (674, 0:00:00.027068) +- INFO - --- *** February Transduction *** Sequence: ODRL extraction sequence +- INFO - ----- extract ODRL actions: 14/15 new triples (688, 0:00:00.130245) +- INFO - ----- extract ODRL rules: 12/12 new triples (700, 0:00:00.124638) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_transduction +- DEBUG - ----- step: transduction +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-5/tenet.tetras-libre.fr_demo_clara_03_transduction.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//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 (701, 0:00:00.075679) +- DEBUG - --- Serializing graph to tenet.tetras-libre.fr_demo_clara_03_generation +- DEBUG - ----- step: generation +- DEBUG - ----- id: https://tenet.tetras-libre.fr/demo/clara/03/ +- DEBUG - ----- work_file: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-5/tenet.tetras-libre.fr_demo_clara_03_generation.ttl +- DEBUG - ----- base: http://https://tenet.tetras-libre.fr/demo/clara/03//generation +- INFO - ----- 1 triples extracted during generation step +- DEBUG - --- Serializing graph to factoid file (/home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/technical-data/tenet.tetras-libre.fr_demo_clara_03-5/tenet.tetras-libre.fr_demo_clara_03_factoid.ttl) +- DEBUG - ----- Number of factoids: 1 +- DEBUG - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/03//factoid +- INFO - + === Final Ontology Generation === +- INFO - -- Making complete factoid graph by merging the result factoids +- INFO - ----- Total factoid number: 5 +- INFO - -- Serializing graph to factoid string +- INFO - ----- Graph base: http://https://tenet.tetras-libre.fr/demo/clara/03//factoid +- INFO - -- Serializing graph to factoid file +- INFO - ----- Ontology Turtle File: /home/lamenji/Workspace/Tetras/tenet/tests/output/aos03-20230417/aos03_factoid.ttl +- INFO - + === Done === +- INFO - + *** Execution Time *** +----- Function: create_ontology_from_amrld_dir (tenet.main) +----- Total Time: 0:00:13.580201 +----- Process Time: 0:00:13.345992 + *** - *** 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 755d4613..09889b47 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 @@ -406,7 +406,7 @@ cprm:targetOntologyURI a rdf:Property ; ext-out:policy_document-02 ns1:permission """[ odrl:target <http://example.com/asset:9899.movie> ; - odrl:action display ]""" . + odrl:action odrl:display ]""" . <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . 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 6f05710d..96ce966d 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 @@ -396,7 +396,7 @@ cprm:targetOntologyURI a rdf:Property ; ext-out:policy_document-03 ns1:prohibition """[ odrl:target <http://example.com/asset:any.movie> ; odrl:assignee <http://example.com/asset:John.person> ; - odrl:action play ]""" . + odrl:action odrl:play ]""" . <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . 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 90b91ad6..cbb91857 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 @@ -399,7 +399,7 @@ cprm:targetOntologyURI a rdf:Property ; ext-out:policy_document-01 ns1:permission """[ odrl:target <http://example.com/asset:9899.movie> ; - odrl:action display ]""" . + odrl:action odrl:display ]""" . <https://tenet.tetras-libre.fr/semantic-net> a owl:Ontology . -- GitLab