python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Limiting diversity of attributes in Wikidata / SPARQL Query
I want to create a dataset of 100 paintings querying from Wikidata.
With my current query, for each painting I retrieve the artist (creator), the movement, the year it was painted (inception) and so o...
tim_76
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
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
SPARQL Wikidata Query to retrieve url for multiple languages
I wrote this Sparql query to retrieve item labels in multiple language
SELECT ?item ?en ?es ?it WHERE {
{ ?item wdt:P31 wd:Q6256. }
UNION
{ ?item wdt:P31 wd:Q1250464. }
UNION
{ ?item wdt:...
loretoparisi
Votes: 0
Answers: 0