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

look for more labels in model

parent ab75a493
SELECT ?label (COUNT(?class) AS ?total) WHERE {
SELECT SAMPLE(?label) (COUNT(?class) AS ?total) WHERE {
GRAPH <urn:x-arq:UnionGraph> {
?s a ?class .
#?class rdfs:label ?label .
......@@ -9,9 +9,9 @@ FILTER(?class NOT IN (ubbont:DigitalResource, ore:Aggregation, ubbont:Page)).
}
GRAPH ubbont:ubbont {
?class rdfs:label ?label .
FILTER(LANG(?label) = "")
FILTER(LANG(?label) = "" || LANG(?label)="nb")
}
}
GROUP BY ?label
GROUP BY ?s
HAVING (COUNT(?class) > 1)
ORDER BY desc(?total)
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