sttl.rdfs.propertydesc.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-core Show documentation
Show all versions of corese-core Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
#
# Generate HTML from SPARQL Query Results
# RDF is either construct where graph or
# select where in W3C DAWG result-set RDF vocabulary
#
# Olivier Corby - Wimmics Inria I3S - 2015
#
template st:propertydesc {
""
"Property " "" strafter(?in, ?uri) "" "
"
"subPropertyOf: " group distinct { strafter(?s, ?uri) } "
"
"domain: " group distinct { strafter(?d, ?uri) } "
"
"range: " group distinct { strafter(?r, ?uri) } "
"
"label: " group distinct { str(?l) ; separator="; "} "
"
"comment: " group distinct { str(?c) ; separator="
"}
"
"
}
where {
bind (coalesce(st:get(st:uri), "") as ?uri)
?in a rdf:Property
filter( strstarts(?in, ?uri) )
optional { ?in rdfs:subProperty ?s }
optional { ?in rdfs:domain ?d }
optional { ?in rdfs:range ?r }
optional { ?in rdfs:label ?l }
optional { ?in rdfs:comment ?c }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy