sttl.rdfs.classdesc.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:classdesc {
""
"Class " "" strafter(?in, ?uri) "" "
"
"subClassOf: " group distinct { strafter(?s, ?uri) } "
"
"label: " group distinct { str(?l) ; separator="; "} "
"
"comment: " group distinct { str(?c) ; separator="
"}
"
"
}
where {
bind (coalesce(st:get(st:uri), "") as ?uri)
?in a rdfs:Class
optional { ?in rdfs:subClassOf ?s }
optional { ?in rdfs:label ?l }
optional { ?in rdfs:comment ?c }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy