Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tenet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tetras MARS
tenet
Commits
1d65c9d2
Commit
1d65c9d2
authored
3 years ago
by
Aurélien Lamercerie
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug in domain/range computation
parent
b2046d8b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/transduction-schemes.ttl
+5
-5
5 additions, 5 deletions
config/transduction-schemes.ttl
prepare_work_data.py
+3
-1
3 additions, 1 deletion
prepare_work_data.py
with
8 additions
and
6 deletions
config/transduction-schemes.ttl
+
5
−
5
View file @
1d65c9d2
...
...
@@ -1222,7 +1222,7 @@ WHERE {
?domainClass rdfs:label ?possibleDomainLabel1 .
FILTER (
NOT EXISTS {
?net
2
net:has_possible_domain ?possibleDomainLabel2 .
?net
1
net:has_possible_domain ?possibleDomainLabel2 .
?anotherDomainClass rdfs:label ?possibleDomainLabel2 .
?anotherDomainClass rdfs:subClassOf ?domainClass.
}
...
...
@@ -1232,7 +1232,7 @@ WHERE {
?rangeClass rdfs:label ?possibleRangeLabel1 .
FILTER (
NOT EXISTS {
?net
2
net:has_possible_domain ?possibleRangeLabel2 .
?net
1
net:has_possible_domain ?possibleRangeLabel2 .
?anotherRangeClass rdfs:label ?possibleRangeLabel2 .
?anotherRangeClass rdfs:subClassOf ?rangeClass.
}
...
...
@@ -1279,7 +1279,7 @@ WHERE {
?domainClass rdfs:label ?possibleDomainLabel1 .
FILTER (
NOT EXISTS {
?net
2
net:has_possible_domain ?possibleDomainLabel2 .
?net
1
net:has_possible_domain ?possibleDomainLabel2 .
?anotherDomainClass rdfs:label ?possibleDomainLabel2 .
?anotherDomainClass rdfs:subClassOf ?domainClass.
}
...
...
@@ -1289,7 +1289,7 @@ WHERE {
?rangeClass rdfs:label ?possibleRangeLabel1 .
FILTER (
NOT EXISTS {
?net
2
net:has_possible_domain ?possibleRangeLabel2 .
?net
1
net:has_possible_domain ?possibleRangeLabel2 .
?anotherRangeClass rdfs:label ?possibleRangeLabel2 .
?anotherRangeClass rdfs:subClassOf ?rangeClass.
}
...
...
This diff is collapsed.
Click to expand it.
prepare_work_data.py
+
3
−
1
View file @
1d65c9d2
...
...
@@ -38,6 +38,7 @@ f_param_file = "ontology-parameters.ttl"
# Dev Tests
base_uri
=
"
https://unsel.tetras-libre.fr/tenet/working
"
req_100
=
"
CCTP-SRSA-IP-20210831-R100/
"
req_200
=
"
CCTP-SRSA-IP-20210831-R200/
"
req_300
=
"
CCTP-SRSA-IP-20210831-R300/
"
corpus_40
=
"
CCTP-SRSA-IP-20210831/
"
...
...
@@ -175,8 +176,9 @@ def run(corpus, output_ref, output_file):
#==============================================================================
if
__name__
==
'
__main__
'
:
run
(
req_300
,
'
R300
'
,
'
output300.ttl
'
)
run
(
req_100
,
'
R100
'
,
'
output100.ttl
'
)
run
(
req_300
,
'
R200
'
,
'
output200.ttl
'
)
run
(
req_300
,
'
R300
'
,
'
output300.ttl
'
)
run
(
corpus_40
,
'
CCTP-Corpus-40
'
,
'
output40.ttl
'
)
...
...
This diff is collapsed.
Click to expand it.
Aurélien Lamercerie
@alam
mentioned in issue
#11 (closed)
·
3 years ago
mentioned in issue
#11 (closed)
mentioned in issue #11
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment