Hello
I'm using VOS 6.1.2 and dotNetRDF library and have some question about naming
of blank nodes.
For example, I have some node with ID 1000044690
In HTML (using default SPARQL endpoint) it returns as "nodeID://1000044690".
In JSON it returns as "{ "type": "bnode", "value": "nodeID://1000044690" }"
The dotNetRDF parse it using the code
CreateBlankNode(nodeValue.Substring(nodeValue.IndexOf(':') + 1))
as BalnkNode with internal ID "//1000044690"
But to save it, using SPARUL INSERT method, it should be named as
"_:1000044690" (the name "_://1000044690" cause an error).
As a temporary solution, I trim the leading '/' form the node ID, but I think,
that it should be a some convention about what is should be returned as bnode
value (I think, it should be "value": "1000044690"). Or should be changed the
algorithm of parsing JSON in dotNetRDF.
What do you think about it?
Best regards, Alexander A. Zaripov
[email protected]