Hi all,
First of all, thanks for this great product. I'm working on a linked data
application in connection with DBpedia and I'm currently trying to get IRI
dereferencing with input:grab-seealso as well as owl:sameAs inference
working using the latest CVS version (updated yesterday).
The first use case would be to retrieve related photos for a DBpedia.org
resource. DBpedia now provides links to the "flickr wrappr", which serves
foaf:depiction triples for the DBpedia.org resource. One example is
"<http://dbpedia.org/resource/Munich>
<http://dbpedia.org/property/hasPhotoCollection>
<http://www4.wiwiss.fu-berlin.de/flickrwrappr/photos/Munich>".

So I constructed the following query:

        define input:grab-iri <http://dbpedia.org/resource/Munich>
        define input:grab-depth 10
        define input:grab-seealso
<http://dbpedia.org/property/hasPhotoCollection>
        PREFIX foaf: <http://xmlns.com/foaf/0.1/>

        SELECT *
        WHERE {<http://dbpedia.org/resource/Munich> foaf:depiction ?z}

Which should dereference the hasPhotoCollection link and include the flickr
wrappr results - but I only get the single picture provided by dbpedia. 
If I add 

        define input:grab-iri
<http://www4.wiwiss.fu-berlin.de/flickrwrappr/photos/Munich>

it works as expected.

Similarily, I can't get owl:sameAs inference to work. For instance, DBpedia
provides owl:sameAs links to GeoNames such as
"<http://dbpedia.org/resource/Munich> owl:sameAs
<http://sws.geonames.org/2867714/>".

So the following query:

        define input:grab-iri <http://dbpedia.org/resource/Munich>
        define input:grab-iri <http://sws.geonames.org/2867714/about.rdf>
        define input:same-as "yes"
        PREFIX geonames: <http://www.geonames.org/ontology#>

        SELECT *
        WHERE {<http://dbpedia.org/resource/Munich> geonames:parentFeature
?z}

should yield the same results as if <http://sws.geonames.org/2867714/> was
the subject, but it doesn't return anything. Additionally, grab-iri doesn't
seem able to handle 303 redirects such as implemented for
http://sws.geonames.org/2867714/ (that's why I had to reference
http://sws.geonames.org/2867714/about.rdf).

Are you able to advise here?

Thanks!

Christian Becker


Reply via email to