Skip to content

Instantly share code, notes, and snippets.

View bekicot's full-sized avatar
🏠
Working from home

Yana Agun Siswanto bekicot

🏠
Working from home
View GitHub Profile
select ?rumahSakit ?rumahSakitLabel where {
?rumahSakit wdt:P31 wd:Q16917.
?rumahSakit wdt:P131 wd:Q10109
SERVICE wikibase:label {
bd:serviceParam wikibase:language 'en, id'
}
}
node
["name"!~"^Posyandu"]
[amenity=clinic]
({{bbox}});
out;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
[
{
"Q1142886$59F13861-CBDF-41D9-B58A-D53457088E99": {
"P248": [
{
"snaktype": "value",
"property": "P248",
"datavalue": {
"value": {
"entity-type": "item",
(C) Conventional: a common English-language name for a feature, approved by the US BGN for use in addition to, or in lieu of, a US BGN-approved local official name or in an area where English is not the official language. Example: Rome (the capital of Italy).
(N) Approved: the US BGN-approved local official name for a geographic feature. Example: Roma (the capital of Italy).
(P) Provisional: a geographic name of a feature for which the territorial status is not finally determined or not recognized by the United States.
(D) Unverified: a feature name derived from a source whose official status cannot be verified by the US BGN.
(V) Variant: a former name, a name other than the official name that is found to be in local use, or any other name or spelling found on various sources.
(VA) Anglicized: a special class of Variant name representing an English-language form of an approved local name.

| RC | UFI | UNI | LAT | LONG | DMS_LAT | DMS_LONG | MGRS | JOG | FC | DSG | PC | CC1 | ADM1 | POP | ELEV | CC2 | NT | LC | SHORT_FORM | GENERIC | SORT_NAME_RO | FULL_NAME_RO | FULL_NAME_ND_RO | SORT_NAME_RG | FULL_NAME_RG | FULL_NAME_ND_RG | NOTE | MODIFY_DATE | DISPLAY | NAME_RANK | NAME_LINK | TRANSL_CD | NM_MODIFY_DATE | F_EFCTV_DT | F_TERM_DT | | -- | ---------- | ---------- | -------- | -------- | --------- | ---------- | --------------- | ------- | ---- | ---- | -- | ----- | ---- | --- | ---- | ----- | -- | --- | ------------ | ----------- | ---------------------------------------- | --------------------------------------------- | --------------------------------------------- | ---------------------------------------- | --------------------------------------------

@bekicot
bekicot / 1_indonesian_island_entities.json
Created August 3, 2017 06:02
Sample data generated by indonesian_island_geonames_updater
This file has been truncated, but you can view the full file.
{
"Q1003482": {
"pageid": 952976,
"ns": 0,
"title": "Q1003482",
"lastrevid": 514784690,
"modified": "2017-07-06T22:39:12Z",
"type": "item",
"id": "Q1003482",
"labels": {
@bekicot
bekicot / 1_indonesian_island_entities.json
Created August 3, 2017 05:58
Sample data generated by indonesian_island_geonames_updater
This file has been truncated, but you can view the full file.
{
"Q1003482": {
"pageid": 952976,
"ns": 0,
"title": "Q1003482",
"lastrevid": 514784690,
"modified": "2017-07-06T22:39:12Z",
"type": "item",
"id": "Q1003482",
"labels": {
SELECT DISTINCT ?item ?itemLabel ?geonamesId ?coordinate
WHERE {
?item wdt:P31/wdt:P279* wd:Q23442.
?item wdt:P17 wd:Q252 .
?item wdt:P625 ?coordinate
# Remove any triples that has reference in their coordinate
MINUS {
?item p:P625 ?coordinateStatement .
?coordinateStatement prov:wasDerivedFrom ?ref .