Jump to content

User:Naveenpf/sandbox/NP: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 12: Line 12:
"query": "\nSELECT ?id ?idLabel ?wikilink
"query": "\nSELECT ?id ?idLabel ?wikilink
(concat('[[', ?idLabel, ']]') as ?title)
(concat('[[', ?idLabel, ']]') as ?title)
WHERE\n{\n ?id wdt:P31 wd:Q46169. # is a road\n ?id wdt:P17 wd:Q668 . # in India\n ?wikilink schema:about ?id; schema:isPartOf <https://en.wikipedia.org/> .\n SERVICE wikibase:label { bd:serviceParam wikibase:language 'en'.\n?id rdfs:label ?idLabel .\n}\n}"}
WHERE\n{\n ?id wdt:P31 wd:Q46169. # is a road\n ?id wdt:P17 wd:Q668 . # in India\n ?wikilink schema:about ?id; schema:isPartOf <https://en.wikipedia.org/> .\nSERVICE wikibase:label { bd:serviceParam wikibase:language 'en'.\n?id rdfs:label ?idLabel .\n}\n}"}
</mapframe>
</mapframe>



Revision as of 11:49, 29 December 2022

National park in India

Trying ways and relations separate. together it wont work

<mapframe>: Couldn't parse JSON: Control character error, possibly incorrectly encoded


To add national park

  • National parks without wikidata id
http://overpass-turbo.eu/s/rEA