All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttl.rdfs.classdesc.rq Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

There is a newer version: 4.6.1
Show newest version
#
# 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