W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Re: SELECT and constants: (was RE: Simple source tests)

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Fri, 15 Oct 2004 12:34:19 +0100
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-ID: <20041015113419.GF23894@login.ecs.soton.ac.uk>

On Fri, Oct 15, 2004 at 10:50:26 +0100, Andy Seaborne wrote:
> >I realise now that there are cases where this could be valid, such as
> >
> >	PREFIX : <http://example.com/>
> >	CONSTRUCT (:foo :bar :baz)
> >
> >or
> >
> >	SELECT 23
> 
> Steve,
> 
> Currently, only variables and * are allowed in SELECT.  Are you proposing a 
> change?  (I don't see thing that stops it just at the moment.)

No, I meant "could" as in "could with a different syntax", it would
actually be pretty useless, you would probably need something like "SELECT
23 AS section", but I dont want that either. Maybe version 2 :) Its not
very useful unless youre using UNION queries. I guess you could do "SELECT
?section WHERE ?section == 23", but I'l shut up now, as I think I'm just
confusing the issue :)

It was just an example of why I was wrong to assume that queries need
data to produce results, in the general case.

- Steve 
Received on Friday, 15 October 2004 11:34:23 GMT

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