- From: Polleres, Axel <axel.polleres@siemens.com>
- Date: Wed, 3 Oct 2012 16:22:26 +0200
- To: "andy.seaborne@epimorphics.com" <andy.seaborne@epimorphics.com>, "public-rdf-dawg@w3.org" <public-rdf-dawg@w3.org>
- CC: "Polleres, Axel" <axel.polleres@siemens.com>
I am sorry to bother again, but after re-reaging, I still have a question regarding our resolution: " The same blank node label can not be used in: *two basic graph patterns in a SPARQL Query *two WHERE clauses of SPARQL Update operations *two INSERT DATA SPARQL Update operations Note that the same blank node label can occur in different QuadPattern clauses in a SPARQL Update request. " According to my reading of http://www.w3.org/2009/sparql/meeting/2012-10-02#resolution_3 and my understanding of what was said in the Telco, also the reuse across INSERT clauses (without data) needs to be prohibited, which this wording doesn't exclude. Thus, I amend the proposed changes posted before as follows: 1) - <li>two <code><a href="#rInsertData">INSERT DATA</a></code> - SPARQL Update operations</li> + <li>two <code><a href="#rInsertClause">INSERT</a> or <code><a href="#rInsertData">INSERT DATA</a></code> + clauses in a <a href="http://www.w3.org/TR/sparql11-update/">SPARQL Update</a> request</li> </ul> 2) - <p>Note that the same blank node label can occur in different - <a href="#rQuadPattern">QuadPattern</a> clauses - in a <a href="http://www.w3.org/TR/sparql11-update/">SPARQL Update</a> - request.</p> + <p>Note that the same blank node label can occur in different + <a href="#rQuads">Quads</a> + within the same <a href="#rQuadPattern">QuadPattern</a> or <a href="#rQuadData">QuadData</a> + clause in a <a href="http://www.w3.org/TR/sparql11-update/">SPARQL Update</a> + request.</p> Best, Axel > -----Original Message----- > From: Polleres, Axel > Sent: Mittwoch, 03. Oktober 2012 15:47 > To: 'andy.seaborne@epimorphics.com'; 'public-rdf-dawg@w3.org' > Subject: RE: Implement decision on bNodelabel/INSERT DATA operations. > > Hi Andy, all, > > If I see it correctly, the anchor is > http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#grammarBNodes > instead of > http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#grammarB > NodeLabels > (nitpicking, it's anyways correct in the doc) > > > As for the new text... Some minor correction suggestions inline below: > -------------------------------------------------------------- > ----------- > </div2> > <div2 id="grammarBNodes"> > <head>Blank Nodes and Blank Node Labels</head> > > - <p>The blank nodes can not used in:</p> > + <p>Blank nodes can not used in:</p> > <ul> > <li><code><a href="#rDeleteWhere">DELETE > WHERE</a></code></li> > <li><code><a href="#rDeleteWhere">DELETE > DATA</a></code></li> > <li>a <code><a > href="#rDeleteClause">DeleteClause</a></code></li> > </ul> > + <p>in a <a > href="http://www.w3.org/TR/sparql11-update/">SPARQL > + Update</a> request.</p> > > <p>Blank node labels are scoped to the > <a href="#defn_SPARQLRequestString">SPARQL Request String</a> > in which they occur. Different uses of the same blank > node label in a > request string refer to the same blank node. Fresh > blank nodes are generated for > each request; blank nodes can not be referenced by > label across requests. > </p> > > <p>The same blank node label can not be used in:</p> > <ul> > <li>two basic graph patterns in a SPARQL Query</li> > - <li>two <code><a href="#rModify">WHERE</a></code> clauses > - of SPARQL Update operations</li> > + <li>two <code><a href="#rModify">WHERE</a></code> clauses > + in a <a href="http://www.w3.org/TR/sparql11-update/">SPARQL > +Update</a> request</li> > - <li>two <code><a href="#rInsertData">INSERT DATA</a></code> > - SPARQL Update operations</li> > + <li>two <code><a href="#rInsertData">INSERT DATA</a></code> > + clauses in a <a > +href="http://www.w3.org/TR/sparql11-update/">SPARQL Update</a> > +request</li> > </ul> > > <p>Note that the same blank node label can occur in different > <a href="#rQuadPattern">QuadPattern</a> clauses > in a <a > href="http://www.w3.org/TR/sparql11-update/">SPARQL > Update</a> request. > </p> > > </div2> > -------------------------------------------------------------- > ----------- > > With those minor changes, I'm fine with the new text > (completing ACTION-692). > Changes within Update to follow next (separate mail) > > Thanks & best regards, > Axel > > > > -----Original Message----- > > From: Andy Seaborne [mailto:andy.seaborne@epimorphics.com] > > Sent: Dienstag, 02. Oktober 2012 21:24 > > To: SPARQL Working Group > > Subject: Implement decision on bNodelabel/INSERT DATA operations. > > > > ACTION-691 completed > > > > == Changes to rq25 > > > > Section "19.6 Blank Node Labels" > > http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#grammarB > > NodeLabels > > > > This also consolidated grammar notes 9 and 10 in to 19.6. > > > > (NB: the allowed reuse in different QuadPattern is not visible: > > each individual template is subject to instantiation before > any blank > > nodes get in to the data.) > > > > To minimise change: > > > > Grammar note 9 left as-is. > > Grammar note 10 now just a textual mention of 19.6 > > (so numbering of notes has not changed) > > > > == No grammar rule changes > > > > == Tests > > > > syntax-update-53.ru is correct (no need to remove it or to > unapprove > > it). > > > > I have added a negative test (not approved): syntax-update-54.ru > > > > ------ > > PREFIX : <http://www.example.org/> > > > > INSERT DATA { _:b1 :p :o } > > ; > > INSERT DATA { _:b1 :p :o } > > ------ > > > > Andy > > > > >
Received on Wednesday, 3 October 2012 14:23:02 UTC