[openbiblio-dev] Blank nodes in SPARQL and rewriting of blank node names

Keith Alexander k.j.w.alexander at gmail.com
Fri Jul 30 11:21:42 UTC 2010


> The bug is that when blank nodes (as opposed to variables) appear in
> a SPARQL query they seem to behave differently depending on if they
> appear in the subject or object position (haven't investigated predicates).
> I think a blank node in the object position behaves like a variable and
> in the subject position it behaves like a concrete thing. I think it should
> behave concretely in both cases but am not sure.

Hi,

Blank nodes should behave like variables in SPARQL in any position.

"Blank nodes in graph patterns act as non-distinguished variables, not
as references to specific blank nodes in the data being queried."

http://www.w3.org/TR/rdf-sparql-query/#QSynBlankNodes

Cheers

Keith




More information about the openbiblio-dev mailing list