Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion queries/countries.rq
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WHERE {
(wd:Q117 'Ghana' 'ghana' 'Current content includes regions and districts.' '')
(wd:Q183 'Germany' 'germany' 'Current content includes ministries, agencies abroad, federated states and governmental districts.' '')
(wd:Q258 'South Africa' 'south-africa' 'Current content includes departments, independent constitutional bodies, provinces and municipalities.' '')
(wd:Q55 'Netherlands' 'netherlands' 'Current content includes ministries, courts, water boards, the Kings cabinet, provinces and municipalities.' '')
(wd:Q55 'Netherlands' 'netherlands' 'Current content includes ministries, courts, inspectorates, water boards, the Kings cabinet, provinces and municipalities.' '')
(wd:Q664 'New Zealand' 'new-zealand' 'Current content includes public service departments, departmental agencies, wānangas, state-owned enterprises, regional councils, territorial authorities, autonomous crown entities, independent crown entities and crown research institutes.' '')
(wd:Q33 'Finland' 'finland' 'Current content includes ministries, regions, municipalities and agencies abroad.' '')
(wd:Q212 'Ukraine' 'ukraine' 'Current content includes ministries and first level administrative units.' '')
Expand Down
8 changes: 6 additions & 2 deletions queries/generators/netherlands.rq
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# expected_result_count: 414
# expected_result_count: 429
SELECT DISTINCT
?qid
?orgLabel
Expand Down Expand Up @@ -36,6 +36,10 @@ WHERE {
?org wdt:P31 wd:Q947233 . # high council of the state (6)
BIND("High Council of State" AS ?typeLabel)
}
UNION {
?org wdt:P31 wd:Q138643360 . # inspectorates (15)
BIND("Inspectorate" AS ?typeLabel)
}

MINUS { ?org wdt:P576 [] . MINUS { ?item rdf:type wdno:P576 } }
MINUS { ?org wdt:P1366 [] }
Expand All @@ -62,4 +66,4 @@ WHERE {

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl,mul" }
}
ORDER BY ?type ?orgLabel
ORDER BY ?type ?typeLabel ?orgLabel
Loading