Hello Martin, Consider upgrade to some recent version. If that is impossible then I need an exact server version number to check if I can create a safe patch specifically for that version.
Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Thu, 2010-03-04 at 18:16 +0100, Martin Gerlach wrote: > 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 >
