10,863,741
edits
Line 127: | Line 127: | ||
?type <http://osloddt.wiki.opencura.com/prop/direct/P1> <http://osloddt.wiki.opencura.com/entity/Q15>. | ?type <http://osloddt.wiki.opencura.com/prop/direct/P1> <http://osloddt.wiki.opencura.com/entity/Q15>. | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl,en" . } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl,en" . } | ||
} | |||
ORDER BY ?typeLabel | |||
Of som de items op waar er nog geen activiteitstype aan hangt (dit zou empty moeten terugkomen, want elke activiteit moet een type krijgen): | |||
SELECT DISTINCT ?item ?itemLabel ?typeLabel | |||
WHERE { | |||
?item <http://osloddt.wiki.opencura.com/prop/direct/P1> <http://osloddt.wiki.opencura.com/entity/Q1>. | |||
MINUS { ?item <http://osloddt.wiki.opencura.com/prop/direct/P13> ?type } | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl,en" . } | |||
} | } | ||
ORDER BY ?typeLabel | ORDER BY ?typeLabel |