Re: [Virtuoso-users] Blank nodes in INSERT DATA

2013-01-02 Thread Gregory Williams
On Jan 2, 2013, at 12:14 PM, Rob Vesse wrote: > The difference in behavior is in line with the SPARQL specification > > An INSERT DATA clause can only add concrete triples I.e. no blank nodes are > permitted Use of blank nodes is just fine in concrete triples (what the SPARQL 1.1 grammar calls

Re: [Virtuoso-users] Blank nodes in INSERT DATA

2013-01-02 Thread Rob Vesse
The difference in behavior is in line with the SPARQL specification An INSERT DATA clause can only add concrete triples I.e. no blank nodes are permitted However an INSERT can add blank nodes because it functions more like a CONSTRUCT, bear in mind that for each solution a fresh blank node is gen

Re: [Virtuoso-users] Blank nodes in INSERT DATA

2013-01-02 Thread Hugh Williams
Hi Alexey, The "insert data ..." syntax does indeed fail as you indicate: SQL> sparql insert data into { _:genid1 }; *** Error 37000: [Virtuoso Driver][Virtuoso Server]SQ074: Line 1: SP031: SPARQL compiler: Blank node '_:genid1' is not allowed in a constant clause at line 12

[Virtuoso-users] Blank nodes in INSERT DATA

2013-01-02 Thread Alexey Zakhlestin
Is it possible to use blank nodes in INSERT DATA statements? Rumors tell, that spec allows it: http://answers.semanticweb.com/questions/12342/is-it-possible-to-use-blank-node-in-sparql-insert-data-queries I get this error: Virtuoso 37000 Error SP031: SPARQL compiler: Blank node '_:genid1' is not