Hi,
At my company we're currently experiencing a problem with SPARQL results
containing blank nodes.
If blank nodes are bound to variables in the subject position, or
variables in both subject and object positions, of triples matched by
the query, everything is ok.
However, if blank nodes are bound to variables occurring only in the
object position of triples matched by the query, they are returned as
follows (binding of ?o should be a blank node):
<result>
<binding name="s">
<uri>http://dbpedia.org/ontology/location</uri>
</binding>
<binding name="o">
<literal>nodeID://1000010820</literal>
</binding>
</result>
Is this a bug in our Virtuoso version? I noticed this does not happen
when querying Virtuoso based http://dbpedia.org/sparql, where the same
query returns
<result>
<binding name="s">
<uri>http://dbpedia.org/ontology/location</uri>
</binding>
<binding name="o">
<bnode>nodeID://b29247</bnode>
</binding>
</result>
(btw the query was "select * where { ?s rdfs:domain ?o .
filter(isBLANK(?o)) }" against dbpedia 3.4)
Cheers,
Martin
--
--------------------------------
Martin Gerlach
Softwareentwicklung
neofonie
Technologieentwicklung und
Informationsmanagement GmbH
Robert-Koch-Platz 4
10115 Berlin
fon: +49.30 24627 413
fax: +49.30 24627 120
[email protected]
http://www.neofonie.de
Handelsregister
Berlin-Charlottenburg: HRB 67460
Geschaeftsfuehrung
Helmut Hoffer von Ankershoffen
(Sprecher der Geschaeftsfuehrung)
Nurhan Yildirim
-------------------------------
WeFind - Genau was Du suchst
Die erste Web 2.0 Suchmaschine jetzt auf http://www.wefind.de.
Unterwegs immer bestens informiert mit WeFind Mobile für iPhone und
jetzt auch mit WeFind Mobile für Android: kostenloser Download im iTunes
AppStore und im Android Market.