Commit fd59ab3a authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

remove extra NOT IN for ontology classes

parent 80079e32
SELECT ?label (COUNT(?class) AS ?total) WHERE {
GRAPH <urn:x-arq:UnionGraph> {
?s a ?class .
FILTER (?class NOT IN ( ubbont:DigitalResource , ubbont:Page , ore:Aggregation, owl:DatatypeProperty, owl:ObjectProperty, owl:FunctionalProperty, rdfs:Class, owl:Class))
FILTER (?class NOT IN ( ubbont:DigitalResource , ubbont:Page , ore:Aggregation))
?class rdfs:label ?label .
FILTER(LANG(?label) = "").
}
}
GROUP BY ?label
HAVING (COUNT(?class) > 1)
HAVING (COUNT(?total) > 1)
ORDER BY desc(?total)
LIMIT 50
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment