Skip to content
Merged
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
11 changes: 10 additions & 1 deletion sources/ma/regions_v1.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,15 @@
name: label_ar
desc: Province name (Arabic)
}
{
type: property
name: label_zgh
desc: Province name (Moroccan Tamazight)
}
{
type: property
name: label_ary
desc: Province name (Morrocan Arabic)
desc: Province name (Moroccan Arabic)
}
],
query: {
Expand All @@ -60,6 +65,7 @@
?iso_3166_2 ?label_en
?label_fr
?label_ar
?label_zgh
?label_ary
WHERE {
SERVICE <https://query.wikidata.org/sparql> {
Expand All @@ -71,6 +77,7 @@
(SAMPLE(?label_en) as ?label_en)
(SAMPLE(?label_fr) as ?label_fr)
(SAMPLE(?label_ar) as ?label_ar)
(SAMPLE(?label_zgh) as ?label_zgh)
(SAMPLE(?label_ary) as ?label_ary)
WHERE {
# List of regions, whose sub-regions we want.
Expand All @@ -83,6 +90,7 @@
OPTIONAL { ?id rdfs:label ?label_en . FILTER(LANG(?label_en) = "en") }
OPTIONAL { ?id rdfs:label ?label_fr . FILTER(LANG(?label_fr) = "fr")}
OPTIONAL { ?id rdfs:label ?label_ar . FILTER(LANG(?label_ar) = "ar")}
OPTIONAL { ?id rdfs:label ?label_zgh . FILTER(LANG(?label_zgh) = "zgh")}
OPTIONAL { ?id rdfs:label ?label_ary . FILTER(LANG(?label_ary) = "ary")}
}
# remove possible ID duplicates
Expand Down Expand Up @@ -131,6 +139,7 @@
uk: Регіони Марокко
ur: مراکش کی علاقائی تقسیم
wa: Pårtixhaedje administratif do Marok
zgh: ⵜⵉⵎⵏⴰⴹⵉⵏ ⵏ ⵍⵎⵖⵔⵉⴱ
zh: 摩洛哥行政区划
zh-hans: 摩洛哥行政区划
zh-hant: 摩洛哥行政區劃
Expand Down