Skip to content

Commit

Permalink
Add 'mul' (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
RVA2869 authored Jan 3, 2025
1 parent fbddb2c commit 7dffae2
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion queries/account-data.rq
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ WHERE {

BIND(IRI(REPLACE(?formatter, '\\$1', ?value)) AS ?url)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mul" }
}
# we order by property to ensure a consistent order, we use the URI as its incremental ID is the best indication of "importance" we have
ORDER BY ?property
2 changes: 1 addition & 1 deletion queries/countries.rq
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ WHERE {
}
SERVICE wikibase:label {
# this might need to be updated when new countries are added
bd:serviceParam wikibase:language "en,sv,de" .
bd:serviceParam wikibase:language "en,sv,de,mul" .
?headOfState rdfs:label ?headOfStateLabel .
?headOfGov rdfs:label ?headOfGovLabel .
?typeOfGov rdfs:label ?typeOfGovLabel .
Expand Down
2 changes: 1 addition & 1 deletion queries/generators/austria.rq
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/belgium.rq
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ UNION

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl,fr,de" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl,fr,de,mul" }
}
ORDER BY ?typeLabel ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/bermuda.rq
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/cameroon.rq
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ WHERE {
MINUS { ?org wdt:P576 [] }
MINUS { ?org wdt:P1366 [] }
BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/canada.rq
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/czech-republic.rq
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,cs" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,cs,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/denmark.rq
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,da". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,da,mul". }
}
ORDER BY ?type ?topic
2 changes: 1 addition & 1 deletion queries/generators/east-timor.rq
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,pt,tet,de" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,pt,tet,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/finland.rq
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fi" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fi,sv,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/germany.rq
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,mul". }
}
ORDER BY ?type ?topic
2 changes: 1 addition & 1 deletion queries/generators/ghana.rq
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ak". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ak,mul". }
}
ORDER BY ?type ?topic
2 changes: 1 addition & 1 deletion queries/generators/greenland.rq
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,gl,da". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,kl,da,mul". }
}
ORDER BY ?type ?topic
2 changes: 1 addition & 1 deletion queries/generators/india.rq
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,hi,mul". }
}
ORDER BY ?type ?topic
2 changes: 1 addition & 1 deletion queries/generators/indonesia.rq
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,id,de" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,id,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/ireland.rq
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ga". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ga,mul". }
}
ORDER BY ?type ?topic
2 changes: 1 addition & 1 deletion queries/generators/luxembourg.rq
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,lb,de,fr,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/malaysia.rq
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ms" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ms,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/malta.rq
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mt" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mt,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/morocco.rq
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr,ar,zgh,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/nepal.rq
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ne" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ne,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/netherlands.rq
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/new-zealand.rq
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ WHERE {
MINUS { ?cofog wdt:P279 [] }
}

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mi" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mi,mul" }
BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

} ORDER BY ?typeLabel
2 changes: 1 addition & 1 deletion queries/generators/norway.rq
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nb,no". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nb,no,nn,mul". }
}
ORDER BY ?type ?topic
2 changes: 1 addition & 1 deletion queries/generators/peru.rq
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ WHERE {
MINUS { ?org wdt:P1366 [] }
BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,qu,ay,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/philippines.rq
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,tl" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,tl,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/russia.rq
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ru" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ru,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/singapore.rq
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,tl" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,tl,ms,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/south-africa.rq
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,af,zu,nr,nso,st,ss,ts,tn,ve,xh,mul". }
}
ORDER BY DESC(?type)
2 changes: 1 addition & 1 deletion queries/generators/sweden.rq
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ WHERE {
MINUS { ?cofog wdt:P279 [] }
}

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,sv" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,sv,mul" }
BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

} ORDER BY ?typeLabel
2 changes: 1 addition & 1 deletion queries/generators/switzerland.rq
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr,it,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/ukraine.rq
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ WHERE {

BIND(REPLACE(STR(?org), "http://www.wikidata.org/entity/", "") AS ?qid)

SERVICE wikibase:label { bd:serviceParam wikibase:language "en,uk" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,uk,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/united-kingdom.rq
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ WHERE {
MINUS { ?cofog wdt:P279 [] }
}

SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/generators/united-kingdom/scotland.rq
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ WHERE {
MINUS { ?cofog wdt:P279 [] }
}

SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,sco,gd,mul" }
}
ORDER BY ?type ?orgLabel
2 changes: 1 addition & 1 deletion queries/organization-optional.rq
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ WHERE {

SERVICE wikibase:label {
# this might need to be updated when new countries are added
bd:serviceParam wikibase:language "en,sv" .
bd:serviceParam wikibase:language "en,sv,mul" .
?person rdfs:label ?personLabel .
}
} GROUP BY ?wikipedia

0 comments on commit 7dffae2

Please sign in to comment.