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

sttl.rdfs.propertydesc.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: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