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

Re: SPARQL syntax proposals

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Fri, 4 Mar 2005 17:29:17 +0000
To: public-rdf-dawg@w3.org
Message-ID: <20050304172917.GE16619@login.ecs.soton.ac.uk>

On Fri, Mar 04, 2005 at 02:52:17 +0000, Dave Beckett wrote:
> 
> On Thu, 2005-03-03 at 16:51 -0500, Eric Prud'hommeaux wrote:
> 
> > as promised, AND is now FILTER:
> > SELECT ?who
> >  WHERE { ?who :age ?n. FILTER ?n + 1 < 5 }
> 
> This I like, as it was pretty much how I thought about constraints - get
> a bunch of triples then filter them with a big expression.

Its cleaner than AND, but I think we should avoid

FILTER ?x + 1 < 4 FILER ?y + 2 < 4

even though it makes sense if it has the same semantics as AND, it reads a
bit oddly

I have a mild preference for a closer relationship to SQL:

SELECT ?var FROM { :a :b ?var } WHERE ?var < 3

But I can see why that might be confusing.

- Steve
Received on Friday, 4 March 2005 18:13:46 GMT

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