W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > March 2013

RE: empty braces in ConstructTemplate

From: Polleres, Axel <axel.polleres@siemens.com>
Date: Thu, 7 Mar 2013 13:15:53 +0100
To: Serena Pallecchi <serenapallecchi@yahoo.com>, "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>
Message-ID: <9DA51FFE5E84464082D7A089342DEEE8016384D03085@ATVIES9917WMSX.ww300.siemens.net>
Hi Serena,

The semantics is as described in http://www.w3.org/TR/sparql11-query/#construct

"The CONSTRUCT query form returns a single RDF graph specified by a graph template. The result is an RDF graph formed by taking each query solution in the solution sequence, substituting for the variables in the graph template, and combining the triples into a single RDF graph by set union. [...]"

An empty template is perfectly compatible with this, and implies that the result graph is empty.

While this is not an official group reply, I'd appreciate if you 
could confirm that this answers your concern,


> -----Original Message-----
> From: Serena Pallecchi [mailto:serenapallecchi@yahoo.com]
> Sent: Donnerstag, 07. März 2013 13:05
> To: public-rdf-dawg-comments@w3.org
> Subject: empty braces in ConstructTemplate
> Hi all,
> I'm studing SPARQL 1.1 Grammar, and I notice that according with rule [73] I
> can write a Construct query like this
> I would like to know what is the semantic in that situation, when there are
> empty braces. I don't find it in the document.
> Thank you
> -Serena-
> ps. The same rule is present in 1.0 version of SPARQL.
Received on Thursday, 7 March 2013 12:16:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:13 UTC