Bug VIRT-227
1 vote

Unable to insert Blank Nodes with recent Virtuoso releases

Created by Rob Vesse on 5/10/2012 9:03 PM Last Updated by Rob Vesse on 6/2/2012 12:50 AM
%
 (hrs)
Logged: 0  (hrs)

 Description

Recent Virtuoso releases have changed the behaviour of INSERT DATA which we use for adding data to Virtuoso to not accept blank nodes (they've aligned with SPARQL 1.1 where they were previously aligned with SPARUL)

 

An alternative means of adding data needs to be used instead so that blank nodes can be successfully inserted.  This may be as simple as turning Blank Nodes into Virtuoso style styntax (nodeID://xyz) but will require some investigation

    Rob Vesse (Saturday, June 02, 2012 12:50 AM) #

Revision 2218 resolves this issue for deletes in most cases, the solution is not perfect but there is no way to really get anything better just because blank nodes behave the way they do regardless of store

    Rob Vesse (Wednesday, May 23, 2012 6:47 PM) #

The description is slightly wrong, we only use INSERT DATA for implementing UpdateGraph() calls, SaveGraph() calls use DB.DBA.TTLP() which does accept blank nodes

 

Revision 2210 changes the behaviour of UpdateGraph() to use DB.DBA.TTLP() to add data if blank nodes are present.

 

This is not a complete solution as it does not yet allow for deleting triples with blank nodes via UpdateGraph()