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

Re: Please add RDF term checking operators to sparql

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Tue, 25 Jan 2005 15:33:49 +0000
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-ID: <20050125153348.GE13987@login.ecs.soton.ac.uk>

On Tue, Jan 25, 2005 at 08:49:03 -0600, Dan Connolly wrote:
> 
> On Tue, 2005-01-25 at 10:36 +0000, Dave Beckett wrote:
> > I think these would be useful operators for value testing of SPARQL
> > RDF Terms, to go along with lang() and dtype()* operating on
> > literal terms.
> 
> Hmmm... these make me uneasy about use/mention issues.
> It seems to me that functions should take as input
> the denotation of the terms, not the syntax of the terms.
> 
> In C, you can't write a function
> 
>   int lastDigitIsZero(float arg){ ... }
> 
> because when it's called, it will see the same
> value in both cases:
> 
>   firstDigitIsZero(23.010)
> and
>   firstDigitIsZero(23.01)

Thats true, but it depends what you think the argument type is, my mental
model is that <http://example.org/> is not the same type as
"http://example.org/" and the values are not passed lexically.

- Steve 
Received on Tuesday, 25 January 2005 15:37:01 GMT

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