Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
402 B
12 lines
402 B
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
PREFIX cc: <http://creativecommons.org/ns#>
|
|
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
SELECT ?class ?comment ?label
|
|
WHERE {
|
|
?class rdf:type owl:Class.
|
|
OPTIONAL { ?class rdfs:comment ?comment.}
|
|
OPTIONAL { ?label rdfs:label ?label.}
|
|
OPTIONAL { ?class rdfs:subClassOf ?superclass.}
|
|
} GROUP BY ?class
|