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

CTS update: domain/range as URI (instead string)

parent ee33025d
Branches
Tags
No related merge requests found
......@@ -551,7 +551,7 @@ PREFIX fprm: <https://unsel.tetras-libre.fr/tenet/frame/parameters#>
# -- Compute Domain of Relation Property
CONSTRUCT {
# update Relation Property: add domain
?newPropertyUri rdfs:domain ?domainClass.
?newPropertyUri rdfs:domain ?domainClassUri.
}
WHERE {
# Relation Net (net1)
......@@ -570,6 +570,7 @@ WHERE {
?anotherDomainClass rdfs:subClassOf ?domainClass.
}
)
BIND (uri( ?domainClass) AS ?domainClassUri).
}""" ;
sh:order 3.32 ;
.
......@@ -659,7 +660,7 @@ PREFIX fprm: <https://unsel.tetras-libre.fr/tenet/frame/parameters#>
# -- Compute Range of Relation Property
CONSTRUCT {
# update Relation Property: add range
?newPropertyUri rdfs:range ?rangeClass.
?newPropertyUri rdfs:range ?rangeClassUri.
}
WHERE {
# Relation Net (net1)
......@@ -678,6 +679,7 @@ WHERE {
?anotherRangeClass rdfs:subClassOf ?rangeClass.
}
)
BIND (uri( ?rangeClass) AS ?rangeClassUri).
}""" ;
sh:order 3.32 ;
.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment