W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2005

Re: SPARQL syntax proposals

From: <jos.deroo@agfa.com>
Date: Sun, 6 Mar 2005 16:04:28 +0100
To: eric@w3.org
Cc: public-rdf-dawg@w3.org
Message-ID: <OF9F034F8F.8AB97D95-ONC1256FBC.00521E7A-C1256FBC.0052CD7E@agfa.com>

> On Tuesday, the DAWG f2f took up syntax issues. We came up with a
> syntax that was acceptable to all or most (don't know how SteveH would
> phrase his feelings) of the attendees. These are expressed as examples
> below. The principal change was in expressing the graph pattern in
> "turtle+variables". Afterwords, Andy, Steve and I worked out how to
> express regexps and not get an inscrutable grammar like perls.
>
> We also changed AND to FILTER to express some constraints that we had
> put on the effect of the value constraints section (namely that this
> section ONLY restrict results, never add results or even, I think,
> produce variables bindings).
>
> These examples give a pretty good idea of our ideas:
>
> simple query:
> SELECT * WHERE { ?p ?s ?o }
>
>
> which prefix:
> PREFIX foaf: <http://example/foaf#>
> SELECT ?me ?you
>  WHERE { ?me foaf:knows ?you. ?you foaf:knows <fred> }
>
> could also have either of these forms:
>  WHERE { ?me rdf:type foaf:Person.} # trailing thingy in lexer
>  WHERE { ?me rdf:type foaf:Person .} # parses same as above
>
>
> ex with GRAPH and '.' in (but not ending) a QName.
>  WHERE { GRAPH ?g  { ?g dc:source myPartOfUriSpace:foo.rdf } }
> this is like turtle but n3 does not currenlty allow '.'s in names.

True and this is actually under investigation
http://lists.w3.org/Archives/Public/public-cwm-bugs/2005Mar/0000.html

In meantime I got positive implementation experience with . in qnames
http://lists.w3.org/Archives/Public/public-cwm-bugs/2005Mar/0001.html
i.e. all my RDF, OWL and N3 tests are running again.

-- 
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/
Received on Sunday, 6 March 2005 15:10:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:22 GMT