type:: [[Ontology]]
# SKOS prefixes in the form used in SPARQL
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
SELECT DISTINCT ?Class ?aProperty ?oProperty ?dProperty
WHERE {
{VALUES ?ns {"http://www.w3.org/2008/05/skos-xl#" "http://www.w3.org/2004/02/skos/core#"}
?Class a owl:Class .
FILTER (strstarts(str(?Class), ?ns))}
UNION
{
VALUES ?ns {"http://www.w3.org/2008/05/skos-xl#" "http://www.w3.org/2004/02/skos/core#"}
?aProperty a owl:AnnotationProperty.
FILTER (strstarts(str(?aProperty), ?ns))
}
UNION
{VALUES ?ns {"http://www.w3.org/2008/05/skos-xl#" "http://www.w3.org/2004/02/skos/core#"}
?oProperty a owl:ObjectProperty .
FILTER (strstarts(str(?oProperty), ?ns))}
UNION
{VALUES ?ns {"http://www.w3.org/2008/05/skos-xl#" "http://www.w3.org/2004/02/skos/core#"}
?dProperty a owl:DatatypeProperty .
FILTER (strstarts(str(?dProperty), ?ns))}
}
ORDER BY ?dProperty ?oProperty ?aProperty