Re: Fwd: SPARQL: graph syntax should be N3 subset

Andy wrote:
[...]
>
> After these areas, Jos has should how optionals can map to N3 but I find 
the 
> idioms necessary opaque and don't think there is sufficient value in a 
common 
> syntax when the user has to use some unnatural way of writing queries.

I now think that

SELECT ?name ?mbox
WHERE
    (?person foaf:name ?name)
  [ (?person foaf:mbox ?mbox) ]


should have been written as

[]
q:select {(?name ?mbox) a q:Answer};
q:where  {?person foaf:name ?name.
          ?person foaf:mbox ?mbox}.

[]
q:select {(?name q:unknown) a q:Answer};
q:where  {?person foaf:name ?name;
          ?person @not foaf:mbox ?mbox}.


but that @not is not yet existing and is
better to avoid as it assumes closed world


-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

Received on Monday, 6 December 2004 09:49:38 UTC