Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
Baris 2: | Baris 2: | ||
"type": "ExternalData", |
"type": "ExternalData", |
||
"service": "geopoint", |
"service": "geopoint", |
||
"query": "SELECT ?id ?head\n (SAMPLE(?img) as ?img_) \n (min(?partyId) as ?geo) \n\n (concat('[[', substr(str(? |
"query": "SELECT ?id ?head\n (SAMPLE(?img) as ?img_) \n (min(?partyId) as ?geo) \n\n (concat('[[', substr(str(?link2),31,500), '{{!}}', ?headLabel, ']]') as ?title)\n (concat('[[', substr(str(?link),31,500), '{{!}}', ?headLabel, ']]', '[[File:', substr(str(?img_), 52, 500), '{{!}}200px]]') as ?description)\nWHERE { \n ?id wdt:P31 wd:Q34770 .\n ?id wdt:P279 ?head .\n ?id wdt:P625 ?geo .\n SERVICE wikibase:label {\n bd:serviceParam wikibase:language 'id' .\n ?head rdfs:label ?headLabel .\n ?id rdfs:label ?stateLabel .\n }\n OPTIONAL {\n ?head 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 ?head ?headLabel ?link2 ?link ?stateLabel ?geo" |
||
} |
} |
||
|frame-width=700|frame-height=400}} |
|frame-width=700|frame-height=400}} |