python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to search Wikipedia API for pages by location type?
The WikiPedia API shows a way of searching for pages using properties like coordinates and a radius: https://www.mediawiki.org/wiki/Extension:GeoData
Is it possible to make that query and to also filt...
azuras
Votes: 0
Answers: 0
Wikidata SPARQL query has different results in Python
If I go on https://query.wikidata.org/ and execute this query (made with the Wikidata query builder):
SELECT DISTINCT ?item ?itemLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:langu...
JakeGov
Votes: 0
Answers: 0
access JSON sub-object without knowing key value
For example, assuming I can generate this page but won't be able to hard-code the article number, how can I access the thumbnail link in this entry?
https://en.wikipedia.org/w/api.php?action=query&...
Joel Mounts
Votes: 0
Answers: 1
Retrieve Wikidata Item Wiki url with SPARQL
I'm using this approach to retrieve the Wikipedia url for a Wikidata item for multiple languages, using Sparql:
SELECT ?item ?en ?url_en ?es WHERE {
{ ?item wdt:P31 wd:Q6256. }
UNION
{ ?item wdt...
loretoparisi
Votes: 0
Answers: 0