From 8ee0ec8856a91d3b953ec1d3a936b5c4a9cbbc7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@laposte.net> Date: Thu, 4 Nov 2021 10:43:49 +0100 Subject: [PATCH] transduction_schemes: update rules in shape cts_Generation --- config/transduction-schemes.ttl | 2 -- prepare_work_data.py | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/config/transduction-schemes.ttl b/config/transduction-schemes.ttl index 3a11d204..11b542b6 100644 --- a/config/transduction-schemes.ttl +++ b/config/transduction-schemes.ttl @@ -1272,10 +1272,8 @@ cts:generation sh:rule cts:add-event ; sh:rule cts:add-state-property ; sh:rule cts:complement-composite-class ; - sh:rule cts:compute-class-uri-of-net-object ; sh:rule cts:compute-domain-range-of-event-object-properties ; sh:rule cts:compute-domain-range-of-state-property-object-properties ; - sh:rule cts:compute-instance-uri-of-net-object ; sh:rule cts:generate-atom-class ; sh:rule cts:generate-atom-instance ; sh:rule cts:generate-composite-class-from-list-net ; diff --git a/prepare_work_data.py b/prepare_work_data.py index c024f8fb..ed215f3d 100644 --- a/prepare_work_data.py +++ b/prepare_work_data.py @@ -205,14 +205,14 @@ def run(corpus, source_ref, target_ref): #============================================================================== if __name__ == '__main__': - #target_ref = "system" - target_ref = "environment" + target_ref = "system" + #target_ref = "environment" #run(req_100, 'R100b', target_ref) #run(req_200, 'R200b', target_ref) - #run(req_300, 'R300b', target_ref) - #run(corpus_40, 'Corpus-CCTP-40c', target_ref) + run(req_300, 'R300b', target_ref) + run(corpus_40, 'Corpus-CCTP-40c', target_ref) #run(corpus_ERTMS, 'Corpus-ERTMS', target_ref) - run(corpus_PEV, 'Corpus-PEV', target_ref) + #run(corpus_PEV, 'Corpus-PEV', target_ref) -- GitLab