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)
How to fix bound sparql query not working as expected?
I have this sparql query that I need to modify. I have the example instance, which has the exampleID 12345. For this case, if the :hasRelatedExample connection exists, the ?test variable will become 2...
moro_92
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
How to get all related triples to a subject in SPARQL?
I would need to get all data related to a subject. I tried to query for
SELECT * WHERE {?s ?p ?o}
But the problem is that some of the ?o objects are URIs and I also need those connections, until the...
Ian Kurtis
Votes: 0
Answers: 1