Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/rawdata

Revisi sejak 6 November 2024 06.24 oleh Nyilvoskt (bicara | kontrib) (Nyilvoskt mengubah model konten halaman Wikipedia:ProyekWiki Bahasa/pemeliharaan/peta/rawdata dari "JSON" ke "JavaScript")
{
	"type": "ExternalData",
	"service": "geopoint",
	"query": "#defaultView:Map\n        SELECT ?id ?idLabel ?head\n               (SAMPLE(?pop) AS ?populasi)\n               (SAMPLE(?ison) AS ?iso)\n               (SAMPLE(?glotton) AS ?glotto)\n               (SAMPLE(?img) AS ?img_)\n               (SAMPLE(?gmbr) AS ?gmbr_)\n               (MIN(?partyId) AS ?geo)\n               (CONCAT('[[:id:', SUBSTR(STR(?link2), 31), '{{!}}', ?idLabel, ']]') AS ?title)\n               (IF (BOUND(?populasi), \n                  IF (BOUND(?glotto),\n                    IF (BOUND(?iso),\n                        IF (BOUND(?gmbr_),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '[[File:', SUBSTR(STR(?gmbr_), 52, 400), '{{!}}200px]]',\n                                   '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]\u0026nbsp;{{*}}\u0026nbsp;',\n                                   '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                            IF (BOUND(?img_),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '[[File:', SUBSTR(STR(?img_), 52, 400), '{{!}}200px]]',\n                                       '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E')\n                               )),\n                        IF (BOUND(?gmbr_),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '[[File:', SUBSTR(STR(?gmbr_), 52, 400), '{{!}}200px]]',\n                                   '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:xx{{!}}Belum tersedia]]\u0026nbsp;{{*}}\u0026nbsp;',\n                                   '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                            IF (BOUND(?img_),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '[[File:', SUBSTR(STR(?img_), 52, 400), '{{!}}200px]]',\n                                       '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:xx{{!}}Belum tersedia]]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:xx{{!}}Belum tersedia]]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E')\n                               ))),\n                    IF (BOUND(?gmbr_),\n                        CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                               '[[File:', SUBSTR(STR(?gmbr_), 52, 400), '{{!}}200px]]',\n                               '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E\u003Ci\u003ETidak tersedia\u003C/i\u003E\u003C/small\u003E'),\n                        IF (BOUND(?img_),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '[[File:', SUBSTR(STR(?img_), 52, 400), '{{!}}200px]]',\n                                   '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E\u003Ci\u003ETidak tersedia\u003C/i\u003E\u003C/small\u003E'),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '\u003Csmall\u003E\u003Chr\u003EPopulasi:',?populasi, '\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E\u003Ci\u003ETidak tersedia\u003C/i\u003E\u003C/small\u003E')\n                           )\n                       )\n                   ), \n                  IF (BOUND(?glotto),\n                    IF (BOUND(?iso),\n                        IF (BOUND(?gmbr_),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '[[File:', SUBSTR(STR(?gmbr_), 52, 400), '{{!}}200px]]',\n                                   '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]\u0026nbsp;{{*}}\u0026nbsp;',\n                                   '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                            IF (BOUND(?img_),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '[[File:', SUBSTR(STR(?img_), 52, 400), '{{!}}200px]]',\n                                       '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:', ?iso, '{{!}}', ?iso, ']]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E')\n                               )),\n                        IF (BOUND(?gmbr_),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '[[File:', SUBSTR(STR(?gmbr_), 52, 400), '{{!}}200px]]',\n                                   '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:xx{{!}}Belum tersedia]]\u0026nbsp;{{*}}\u0026nbsp;',\n                                   '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                            IF (BOUND(?img_),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '[[File:', SUBSTR(STR(?img_), 52, 400), '{{!}}200px]]',\n                                       '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:xx{{!}}Belum tersedia]]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E'),\n                                CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                       '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E[[ISO639-3:xx{{!}}Belum tersedia]]\u0026nbsp;{{*}}\u0026nbsp;',\n                                       '[https://glottolog.org/resource/languoid/id/', ?glotto, ' ', ?glotto, ']\u003C/small\u003E')\n                               ))),\n                    IF (BOUND(?gmbr_),\n                        CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                               '[[File:', SUBSTR(STR(?gmbr_), 52, 400), '{{!}}200px]]',\n                               '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E\u003Ci\u003ETidak tersedia\u003C/i\u003E\u003C/small\u003E'),\n                        IF (BOUND(?img_),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '[[File:', SUBSTR(STR(?img_), 52, 400), '{{!}}200px]]',\n                                   '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E\u003Ci\u003ETidak tersedia\u003C/i\u003E\u003C/small\u003E'),\n                            CONCAT('[[:id:', SUBSTR(STR(?link), 31), '{{!}}', ?headLabel, ']]',\n                                   '\u003Csmall\u003E\u003Chr\u003EInformasi kode bahasa:\u003Cbr\u003E\u003Ci\u003ETidak tersedia\u003C/i\u003E\u003C/small\u003E')\n                           )\n                       )  \n                  ))  AS ?description)\n        WHERE {\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 ?idLabel .\n          }\n          OPTIONAL { ?id wdt:P220 ?ison . }\n          OPTIONAL { ?id wdt:P1394 ?glotton . }\n          OPTIONAL { ?id wdt:P18 ?img . }\n          OPTIONAL { ?id wdt:P1098 ?pop . }\n          OPTIONAL { ?id wdt:P1846 ?gmbr . }\n          ?link schema:about ?head .\n          ?link schema:isPartOf \u003Chttps://wiki-indonesia.club/\u003E .\n          ?link2 schema:about ?id .\n          ?link2 schema:isPartOf \u003Chttps://wiki-indonesia.club/\u003E .\n        }\n        GROUP BY ?id ?idLabel ?head ?headLabel ?link2 ?link ?geo\n    \n"
}