Skip to content
Snippets Groups Projects
Commit b934f25c authored by Aurélien Lamercerie's avatar Aurélien Lamercerie
Browse files

Redesigning TENET as a library (2)

parent e1267872
Branches
Tags
No related merge requests found
Showing
with 231 additions and 0 deletions
- INFO - [TENET] Extraction Processing
- INFO - === Process Initialization ===
- INFO - -- current dir: /home/lamenji/Workspace/Tetras/tenet/tenet
- INFO - -- Process Setting
- INFO - ----- Corpus source: /home/lamenji/Workspace/Tetras/tenet/tenet/../input/amrDocuments/dev/solar-system-2/SSC-02-01.stog.amr.ttl (amr)
- INFO - ----- Base output dir: ./../output//SolarSystemDev2-20230124/SolarSystemDev2_factoid.ttl
- INFO - ----- technical dir path: ./../output//SolarSystemDev2-20230124/technical-data/
- INFO - ----- Ontology target (id): SolarSystemDev2
- DEBUG - ----- Current path: /home/lamenji/Workspace/Tetras/tenet/tenet
- DEBUG - ----- Config file: config.xml
- DEBUG -
*** Config (Full Parameters) ***
-- Base Parameters
----- config file: config.xml
----- uuid: SolarSystemDev2
----- source corpus: /home/lamenji/Workspace/Tetras/tenet/tenet/../input/amrDocuments/dev/solar-system-2/SSC-02-01.stog.amr.ttl
----- target reference: base
----- extraction engine: tenet
----- process level: sentence
----- source type: amr
-- Compositional Transduction Scheme (CTS)
----- CTS reference: amr_scheme_1
-- Directories
----- base directory: ./
----- structure directory: ./structure/
----- CTS directory: ./structure/cts/
----- target frame directory: ./../input/targetFrameStructure/
----- input document directory:
----- base output dir: ./../output//SolarSystemDev2-20230124/SolarSystemDev2_factoid.ttl
----- output directory: ./../output//SolarSystemDev2-20230124/SolarSystemDev2_factoid.ttlSolarSystemDev2-20230124/
----- sentence output directory: ./../output//SolarSystemDev2-20230124/technical-data/
----- technical dir path: ./../output//SolarSystemDev2-20230124/technical-data/
----- SHACL binary directory: ./lib/shacl-1.3.2/bin
-- Config File Definition
----- schema file: ./structure/amr-rdf-schema.ttl
----- semantic net file: ./structure/semantic-net.ttl
----- config param file: ./structure/config-parameters.ttl
----- base ontology file: ./structure/base-ontology.ttl
----- CTS file: ./structure/cts/amr_scheme_1.py
----- DASH file: ./structure/dash-data-shapes.ttl
-- 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/tenet/../input/amrDocuments/dev/solar-system-2/SSC-02-01.stog.amr.ttl**/*.ttl
-- Target File Definition
----- frame ontology file: ./../input/targetFrameStructure/base-ontology.ttl
----- frame ontology seed file: ./../input/targetFrameStructure/base-ontology-seed.ttl
-- Output
----- ontology namespace: https://tenet.tetras-libre.fr/base-ontology/
----- output file: ./../output//SolarSystemDev2-20230124/technical-data/SolarSystemDev2.ttl
*** - ***
- DEBUG - -- Counting number of graph files (sentences)
- DEBUG - ----- Graph count: 0
- INFO - === Extraction Processing using New TENET Engine ===
- INFO - -- Work Structure Preparation
- DEBUG - --- Graph Initialization
- DEBUG - ----- Configuration Loading
- DEBUG - -------- RDF Schema (302)
- DEBUG - -------- Semantic Net Definition (509)
- DEBUG - -------- Config Parameter Definition (543)
- DEBUG - ----- Frame Ontology Loading
- DEBUG - -------- Base Ontology produced as output (573)
- DEBUG - --- Source Data Import
- DEBUG - ----- Sentence Loading
- DEBUG - -------- /home/lamenji/Workspace/Tetras/tenet/tenet/../input/amrDocuments/dev/solar-system-2/SSC-02-01.stog.amr.ttl (648)
- DEBUG - --- Export work graph as turtle
- DEBUG - ----- Work graph file: ./../output//SolarSystemDev2-20230124/technical-data/SolarSystemDev2-0/SolarSystemDev2.ttl
- INFO - ----- Sentence (id): SSC-02-01
- INFO - ----- Sentence (text): Of the objects that orbit the Sun directly, the largest are the eight planets, with the remainder being smaller objects, the dwarf planets and small Solar System bodies.
- DEBUG - --- Ending Structure Preparation
- DEBUG - ----- Total Execution Time = 0:00:00.238615
- INFO - -- Loading Extraction Scheme (amr_scheme_1)
- DEBUG - ----- Step number: 3
- INFO - -- Loading Extraction Rules (amr_ctr/*)
- DEBUG - ----- Total rule number: 100
- INFO - -- Applying extraction step: preprocessing
- INFO - --- Sequence: amrld-correcting-sequence
- DEBUG - ----- fix-amr-bug-about-system-solar-planet: 0/0 new triple (648, 0:00:00.024441)
- INFO - --- Sequence: amr-reification-sequence
- INFO - ----- reclassify-concept-1: 10/10 new triples (658, 0:00:00.122725)
- INFO - ----- reclassify-concept-2: 8/8 new triples (666, 0:00:00.052189)
- INFO - ----- reclassify-concept-3: 12/12 new triples (678, 0:00:00.038120)
- INFO - ----- reclassify-concept-4: 28/28 new triples (706, 0:00:00.056064)
- INFO - ----- reclassify-concept-5: 4/4 new triples (710, 0:00:00.040034)
- INFO - ----- reify-roles-as-concept: 5/5 new triples (715, 0:00:00.038903)
- INFO - ----- reclassify-existing-variable: 81/81 new triples (796, 0:00:00.034462)
- INFO - ----- add-new-variable-for-reified-concept: 4/4 new triples (800, 0:00:00.048841)
- INFO - ----- add-amr-leaf-for-reclassified-concept: 60/60 new triples (860, 0:00:00.061294)
- INFO - ----- add-amr-leaf-for-reified-concept: 4/4 new triples (864, 0:00:00.024622)
- INFO - ----- add-amr-edge-for-core-relation: 54/54 new triples (918, 0:00:00.156860)
- INFO - ----- add-amr-edge-for-reified-concept: 6/6 new triples (924, 0:00:00.139278)
- INFO - ----- add-amr-edge-for-name-relation: 5/5 new triples (929, 0:00:00.063465)
- INFO - ----- add-value-for-quant-relation: 5/5 new triples (934, 0:00:00.068175)
- DEBUG - ----- add-amr-edge-for-polarity-relation: 0/0 new triple (934, 0:00:00.069097)
- INFO - ----- update-amr-edge-role-1: 22/22 new triples (956, 0:00:00.100313)
- INFO - ----- add-amr-root: 5/5 new triples (961, 0:00:00.023979)
- DEBUG - --- Serializing graph to SolarSystemDev2_preprocessing
- DEBUG - ----- step: preprocessing
- DEBUG - ----- id: SolarSystemDev2
- DEBUG - ----- work_file: ./../output//SolarSystemDev2-20230124/technical-data/SolarSystemDev2-0/SolarSystemDev2_preprocessing.ttl
- DEBUG - ----- base: http://SolarSystemDev2/preprocessing
- INFO - ----- 313 triples extracted during preprocessing step
- INFO - -- Applying extraction step: transduction
- INFO - --- Sequence: atomic-extraction-sequence
- INFO - ----- create-atom-class-net: 66/66 new triples (1027, 0:00:00.069401)
- DEBUG - ----- (refinement) refine-cover-node-1: 11 new triples (1038)
- DEBUG - ----- (refinement) refine-cover-node-2: 11 new triples (1049)
- INFO - ----- create-individual-net-1: 7/7 new triples (1056, 0:00:00.087116)
- DEBUG - ----- (refinement) refine-cover-node-1: 1 new triples (1057)
- INFO - ----- create-atom-property-net-1: 79/79 new triples (1136, 0:00:00.149278)
- DEBUG - ----- (refinement) refine-cover-node-1: 6 new triples (1142)
- INFO - ----- create-value-net: 15/15 new triples (1157, 0:00:00.057766)
- INFO - ----- create-phenomena-net-1: 46/47 new triples (1203, 0:00:00.130189)
- DEBUG - ----- (refinement) refine-cover-node-1: 4 new triples (1207)
- INFO - --- Sequence: atomic-extraction-sequence
- INFO - ----- create-atom-class-net: 3/88 new triples (1210, 0:00:00.121996)
- DEBUG - ----- create-individual-net-1: 0/9 new triple (1210, 0:00:00.070235)
- INFO - ----- create-atom-property-net-1: 1/86 new triple (1211, 0:00:00.169851)
- DEBUG - ----- create-value-net: 0/15 new triple (1211, 0:00:00.064621)
- INFO - ----- create-phenomena-net-1: 1/48 new triple (1212, 0:00:00.125341)
- INFO - --- Sequence: phenomena-application-polarity-sequence
- DEBUG - ----- polarity-phenomena-application: 0/0 new triple (1212, 0:00:00.094782)
- INFO - --- Sequence: phenomena-application-mod-sequence
- INFO - ----- mod-phenomena-application-1: 22/22 new triples (1234, 0:00:00.090376)
- DEBUG - ----- (refinement) refine-cover-node-2: 2 new triples (1236)
- INFO - ----- mod-phenomena-application-2: 9/13 new triples (1245, 0:00:00.097183)
- INFO - ----- mod-phenomena-application-3: 20/20 new triples (1265, 0:00:01.052668)
- INFO - --- Sequence: phenomena-application-and-sequence
- INFO - ----- and-conjunction-phenomena-application-1: 21/25 new triples (1286, 0:00:00.338182)
- DEBUG - ----- (refinement) refine-cover-node-1: 1 new triples (1287)
- INFO - ----- and-conjunction-phenomena-application-2: 1/1 new triple (1288, 0:00:00.129846)
- INFO - ----- and-conjunction-phenomena-application-3: 23/23 new triples (1311, 0:00:00.683500)
- DEBUG - ----- and-conjunction-phenomena-application-4: 0/0 new triple (1311, 0:00:00.133624)
- DEBUG - ----- and-conjunction-phenomena-application-5: 0/0 new triple (1311, 0:00:00.093053)
- DEBUG - ----- and-conjunction-phenomena-application-6: 0/0 new triple (1311, 0:00:00.114546)
- INFO - --- Sequence: phenomena-checking-sequence
- INFO - ----- expand-and-conjunction-phenomena-net: 5/5 new triples (1316, 0:00:00.013108)
- DEBUG - ----- expand-degree-phenomena-net-1: 0/0 new triple (1316, 0:00:00.009713)
- DEBUG - ----- expand-degree-phenomena-net-2: 0/0 new triple (1316, 0:00:00.008297)
- DEBUG - ----- expand-degree-phenomena-net-3: 0/0 new triple (1316, 0:00:00.008956)
- DEBUG - ----- expand-degree-phenomena-net-4: 0/0 new triple (1316, 0:00:00.008670)
- DEBUG - ----- expand-degree-phenomena-net-5: 0/0 new triple (1316, 0:00:00.008572)
- DEBUG - ----- expand-degree-phenomena-net-6: 0/0 new triple (1316, 0:00:00.008260)
- INFO - --- Sequence: composite-property-extraction-sequence
- INFO - ----- create-composite-class-net-from-property-1: 9/10 new triples (1325, 0:00:00.109306)
- DEBUG - ----- (refinement) refine-cover-node-1: 2 new triples (1327)
- DEBUG - ----- create-composite-class-net-from-property-2: 0/0 new triple (1327, 0:00:00.357946)
- INFO - --- Sequence: composite-class-extraction-sequence-1
- INFO - ----- create-composite-class-net-from-property-1: 32/32 new triples (1359, 0:00:00.326419)
- DEBUG - ----- (refinement) refine-cover-node-1: 7 new triples (1366)
- DEBUG - ----- (refinement) refine-cover-node-2: 2 new triples (1368)
- DEBUG - ----- create-composite-class-net-from-property-2: 0/0 new triple (1368, 0:00:00.121843)
- INFO - ----- create-composite-class-net-from-property-3: 7/9 new triples (1375, 0:00:00.212478)
- INFO - --- Sequence: composite-class-extraction-sequence-2
- DEBUG - ----- create-composite-class-net-from-phenomena-1: 0/0 new triple (1375, 0:00:00.054769)
- DEBUG - ----- create-composite-class-net-from-phenomena-2: 0/0 new triple (1375, 0:00:00.045607)
- DEBUG - ----- create-composite-class-net-from-phenomena-3: 0/0 new triple (1375, 0:00:00.040322)
- DEBUG - ----- create-composite-class-net-from-phenomena-4: 0/0 new triple (1375, 0:00:00.057817)
- INFO - --- Sequence: restriction-adding-sequence
- DEBUG - ----- add-restriction-to-class-net-from-property-1: 0/0 new triple (1375, 0:00:00.064603)
- INFO - --- Sequence: classification-sequence
- INFO - ----- classify-net-from-core-1: 4/4 new triples (1379, 0:00:00.010025)
- INFO - ----- classify-net-from-core-2: 7/7 new triples (1386, 0:00:00.007033)
- INFO - ----- classify-net-from-core-3: 14/15 new triples (1400, 0:00:00.060432)
- DEBUG - ----- (refinement) refine-cover-node-1: 2 new triples (1402)
- DEBUG - ----- classify-net-from-part: 0/0 new triple (1402, 0:00:00.010573)
- DEBUG - ----- classify-net-from-domain: 0/0 new triple (1402, 0:00:00.008422)
- DEBUG - ----- classify-net-from-degree-phenomena-1: 0/0 new triple (1402, 0:00:00.013923)
- DEBUG - ----- classify-net-from-degree-phenomena-2: 0/0 new triple (1402, 0:00:00.034124)
- DEBUG - ----- classify-net-from-degree-phenomena-3: 0/0 new triple (1402, 0:00:00.006986)
- INFO - ----- propagate-individual-1: 6/6 new triples (1408, 0:00:00.010461)
- DEBUG - ----- propagate-individual-2: 0/0 new triple (1408, 0:00:00.008218)
- DEBUG - ----- reclassify-deprecated-net: 0/0 new triple (1408, 0:00:00.005725)
- DEBUG - --- Serializing graph to SolarSystemDev2_transduction
- DEBUG - ----- step: transduction
- DEBUG - ----- id: SolarSystemDev2
- DEBUG - ----- work_file: ./../output//SolarSystemDev2-20230124/technical-data/SolarSystemDev2-0/SolarSystemDev2_transduction.ttl
- DEBUG - ----- base: http://SolarSystemDev2/transduction
- INFO - ----- 447 triples extracted during transduction step
- INFO - -- Applying extraction step: generation
- INFO - --- Sequence: main-generation-sequence
- INFO - ----- compute-uri-for-owl-declaration-1: 11/11 new triples (1419, 0:00:00.024770)
- INFO - ----- compute-uri-for-owl-declaration-2: 2/4 new triples (1421, 0:00:00.017950)
- INFO - ----- compute-uri-for-owl-declaration-3: 5/5 new triples (1426, 0:00:00.026078)
- INFO - ----- compute-uri-for-owl-declaration-4: 4/4 new triples (1430, 0:00:00.023899)
- INFO - ----- compute-uri-for-owl-declaration-5: 7/7 new triples (1437, 0:00:00.019738)
- INFO - ----- compute-uri-for-owl-declaration-6: 6/6 new triples (1443, 0:00:00.020621)
- INFO - ----- generate-atom-class: 21/21 new triples (1464, 0:00:00.010969)
- INFO - ----- classify-atom-class-1: 5/5 new triples (1469, 0:00:00.006628)
- INFO - ----- classify-atom-class-2: 2/2 new triples (1471, 0:00:00.013148)
- INFO - ----- generate-individual: 8/12 new triples (1479, 0:00:00.010305)
- INFO - ----- classify-individual-1: 3/3 new triples (1482, 0:00:00.006922)
- INFO - ----- classify-individual-2: 4/4 new triples (1486, 0:00:00.012096)
- INFO - ----- generate-atom-property-1: 24/24 new triples (1510, 0:00:00.009702)
- INFO - ----- generate-atom-property-12: 12/24 new triples (1522, 0:00:00.010320)
- DEBUG - ----- generate-inverse-relation: 0/0 new triple (1522, 0:00:00.008217)
- INFO - ----- generate-composite-class: 16/16 new triples (1538, 0:00:00.009948)
- DEBUG - ----- add-restriction-to-class-1: 0/0 new triple (1538, 0:00:00.016441)
- DEBUG - ----- add-restriction-to-class-2: 0/0 new triple (1538, 0:00:00.011894)
- INFO - ----- add-restriction-to-class-3: 8/10 new triples (1546, 0:00:00.018460)
- DEBUG - ----- add-restriction-to-class-4: 0/0 new triple (1546, 0:00:00.014603)
- DEBUG - ----- add-restriction-to-class-5: 0/0 new triple (1546, 0:00:00.012123)
- DEBUG - ----- add-restriction-to-class-6: 0/0 new triple (1546, 0:00:00.015377)
- INFO - ----- generate-composite-property: 4/4 new triples (1550, 0:00:00.008414)
- DEBUG - --- Serializing graph to SolarSystemDev2_generation
- DEBUG - ----- step: generation
- DEBUG - ----- id: SolarSystemDev2
- DEBUG - ----- work_file: ./../output//SolarSystemDev2-20230124/technical-data/SolarSystemDev2-0/SolarSystemDev2_generation.ttl
- DEBUG - ----- base: http://SolarSystemDev2/generation
- INFO - ----- 142 triples extracted during generation step
- INFO - -- Result: file containing only the factoids
- DEBUG - --- Making factoid graph with the last step result
- DEBUG - ----- Number of factoids: 162
- DEBUG - ----- Graph base: http://SolarSystemDev2/factoid
- DEBUG - --- Serializing graph to factoid file (./../output//SolarSystemDev2-20230124/technical-data/SolarSystemDev2-0/SolarSystemDev2_factoid.ttl)
- INFO -
*** Execution Time ***
----- Function: apply (lib.tenet_extraction)
----- Total Time: 0:00:08.757078
----- Process Time: 0:00:08.735629
*** - ***
- INFO - === Final Ontology Generation ===
- INFO - -- Making complete factoid graph by merging the result factoids
- INFO - ----- Total factoid number: 162
- INFO - -- Serializing graph to factoid string
- INFO - ----- Graph base: http://SolarSystemDev2/factoid
- INFO - -- Serializing graph to factoid file
- INFO - ----- Ontology Turtle File: ./../output//SolarSystemDev2-20230124/SolarSystemDev2_factoid.ttl
- INFO - === Done ===
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment