1
0
-1

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

to the image URL: https://upload.wikimedia.org/wikipedia/en/b/b1/Lindsay_anderson.jpg

then there does not appear to be an obvious direct relationship link.


What Sparql query should I use?

Or should I use a different DBPedia URI as a starting point ?


    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      A SPARQL query like the following should get you the image for a resource (link).

      select ?image where {dbr:Berlin foaf:depiction ?image}

      Note that not all images get extracted or, might not have had an image at extraction time

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Only the Coat of Arms of Berlin is extracted as actionable link. There is also Flag (extracted but not as link), multiple images in sections (extracted but not as links) and photocollage images (not extracted).

        Lindsay Anderson has field "image" (not extracted).

        I posted a bug: https://github.com/dbpedia/extraction-framework/issues/515

          CommentAdd your comment...