Re: Please add RDF term checking operators to sparql

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 UTC