Re: SPARQL syntax proposals

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 UTC