W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2012

Motivation for INSERT DATA syntax

From: Thomas Visel <TVisel@algebraixdata.com>
Date: Thu, 4 Oct 2012 20:06:02 +0000
To: "public-rdf-dawg@w3.org" <public-rdf-dawg@w3.org>
CC: Arthur Keen <AKeen@algebraixdata.com>, Bill Rogers <BRogers@algebraixdata.com>
Message-ID: <71D35F4A25615849BBA2643B6B519520963E63@mako.adc.local>
I am Thomas Visel with Algebraix Data, developing their SPARQL 1.1 parser.  I have been an unspeaking lurker with this dawg for the past half year.

Regarding 'INSERT DATA', 'DELETE DATA' and 'DELETE WHERE' :  Why the required (single) space between the words?  The required space seems out of place..  Why not one-or-more spaces instead?

This contrasts with the COPY SILENT and the like just above it, specified as 'COPY'  'SILENT' and allowing one or more spaces.

  [36]  Move = 'MOVE' 'SILENT'? GraphOrDefault<http://www.w3.org/TR/sparql11-query/#rGraphOrDefault> 'TO' GraphOrDefault<http://www.w3.org/TR/sparql11-query/#rGraphOrDefault>
  [37]  Copy = 'COPY' 'SILENT'? GraphOrDefault<http://www.w3.org/TR/sparql11-query/#rGraphOrDefault> 'TO' GraphOrDefault<http://www.w3.org/TR/sparql11-query/#rGraphOrDefault>
  [38]  InsertData = 'INSERT DATA' QuadData<http://www.w3.org/TR/sparql11-query/#rQuadData>
  [39]  DeleteData = 'DELETE DATA' QuadData<http://www.w3.org/TR/sparql11-query/#rQuadData>
One other SPARQL parser tested loosens from the spec, allowing multiple spaces between the word pairs.  Was the spec so worded just to make it easy to parse without using resolvers, or is there something I'm missing here?

Thomas Visel
Received on Friday, 5 October 2012 07:10:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:07 UTC