What Sparql query should I use to navigate to the Image depicted in an Wikipedia Infobox ?

If I want to navigate from a DBPedia resource that is the subject of a Wikipedia page to the Image depicted in the page's Infobox, what Sparql query should I use ?

e.g.if I want to use the DBPedia resource: http://dbpedia.org/resource/Lindsay_Anderson

in order to navigate from the Wikipedia page: https://en.wikipedia.org/wiki/Lindsay_Anderson

Retrieving remote data via http://dbpedia.org/sparql endpoint ?


I'm following the instructions in page 282 of Bob Ducharme's Learning Sparql (2nd Ed) book to write a program to automatically construct dbpedia queries over the web by sending queries to the http://dbpedia.org/sparql?query= endpoint, appending a URLEncoded query.

I can contact the server and get a 200 response, but the sparql query itself does not succeed and the response includes the following text:

DBpedia @ GSoC 2017 – Call for ideas & mentors

Dear DBpedians,

As previous years, we would like your input for DBpedia related project ideas for GSoC 2017.

For those who are unfamiliar with GSoC (Google Summer of Code), Google pays students (BSc, MSc, PhD) to work for 3 months on an open source project. Open source organizations announce their student projects and students apply for projects they like. After a selection phase, students are matched with a specific project and a set of mentors to work on the project during the summer.


Subscribe to DBpedia RSS