W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2006

Re: meaning of a function name

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Thu, 13 Apr 2006 13:26:27 +0100
Message-ID: <443E4373.908@hp.com>
To: Eric Prud'hommeaux <eric@w3.org>
CC: public-rdf-dawg@w3.org

Eric Prud'hommeaux wrote:
> By the current spec, I don't see any reason to believe that the
> following my:funcs have anything to do with each other:
>   ASK WHERE { ?x my:func ?y 
> 	      FILTER (my:func(?x) || 
> 		      my:func(?x ?y)) }
> Just thought I'd mention that.

In ARQ, my:func(?x) and my:func(?x ?y) dispatch to the same code 
implementation.  Functions are polyadic, like varargs.

If predicate my:func is different from function my:func, then shouldn't they 
be different URIs as they are different concepts?

Received on Thursday, 13 April 2006 12:26:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:51 UTC