Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/WD: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Nyilvoskt (bicara | kontrib)
Tidak ada ringkasan suntingan
Baris 3:
"type": "ExternalData",
"service": "geopoint",
"query": "SELECT ?id ?idLabel ?head\n ?iso\n ?glotto\n (SAMPLE(?img) as ?img_) \n (min(?partyId) as ?geo) \n\n (concat('[[:id:', substr(str(?link2),31), '{{!}}', ?idLabel, ']]') as ?title)\n (if(BOUND(?img_), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '[[File:', substr(str(?img_), 52, 400), '{{!}}200px]]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>'), concat('[[:id:', substr(str(?link),31), '{{!}}', ?headLabel, ']]', '<small><hr>Informasi kode bahasa:<br>[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]&nbsp;{{*}}&nbsp;[https://glottolog.org/resource/languoid/id/', ?glotto, ' ' , ?glotto, ']</small>')) as ?description)\nWHERE { \n ?id wdt:P31 wd:Q34770 .\n ?id wdt:P279 ?head .\n ?id wdt:P625 ?geo .\n ?id wdt:P220 ?iso .\n ?id wdt:P1394 ?glotto .\n SERVICE wikibase:label {\n bd:serviceParam wikibase:language 'id' .\n ?head rdfs:label ?headLabel .\n ?id rdfs:label ?idLabel .\n }\n OPTIONAL {\n ?headid wdt:P18 ?img .\n }\n ?link schema:about ?head .\n ?link schema:isPartOf <https://wiki-indonesia.club/> .\n ?link2 schema:about ?id .\n ?link2 schema:isPartOf <https://wiki-indonesia.club/> .\n} GROUP BY ?id ?idLabel ?head ?headLabel ?link2 ?link ?iso ?glotto ?geo"
}
|frame-width=900|frame-height=470|align=center}}