Reputation: 73
I'm trying to do a SPARQL federated query from nobelprize endpoint to Wikidata endpoint, but it returns a 502 Proxy Error
.
The code:
SELECT * WHERE {
SERVICE <https://query.wikidata.org/sparql> {
?j ?k ?l
}
} LIMIT 10
Things I've tried:
SPARQL-QUERY: queryStr=select * where {
SERVICE <https://data.nobelprize.org/store/sparql/> {
?j ?k ?l
}
} LIMIT 10
Querying DBpedia and works:
SELECT *
WHERE {
SERVICE <http://dbpedia.org/sparql>{
SELECT *
WHERE{
?s ?p ?o
}
LIMIT 10
}
Querying Europeana and works:
SELECT *
WHERE {
SERVICE <http://sparql.europeana.eu/>{
SELECT *
WHERE{
?s ?p ?o
}
LIMIT 10
}
}
Upvotes: 2
Views: 90
Reputation: 73
I could solve the problem thanks to @UninformedUser's comment:
download the Nobel Prize Dataset dump from here, load into Fuseki, then do an efficient federated query which does select some data from the local dataset and enrich it with Wikidata via SERVICE clause
P.S., I had to download the dataset from https://www.ida.liu.se/research/semanticweb/events/SemWebCourse2018/nobelprize.nt
It worked perfectly.
Upvotes: 2