Re: Namespace of builtin functions

Attached is a proposal for URIs for functions in SPARQL.

Also includes is a list of all the op: and fn: operators/functions rq23 
mentions.  I produced that list of F&O qnames used with:

while(<>)
{
     @a = /((?:op:|fn:)[\w-]+)/g ;
     next if ( $#a < 0 ) ;
     print join("\n", @a), "\n" ;
}

which I haven't exhaustively checked.

 Andy

Dan Connolly wrote:
> On Tue, 2006-06-06 at 16:56 +0100, Seaborne, Andy wrote:
>> Dan Connolly wrote:
>>> On Tue, 2006-06-06 at 09:54 +0100, Seaborne, Andy wrote:
>>> [...]
>>>> so that makes fn:compare:
>>>>
>>>> http://www.w3.org/2005/xpath-functionscompare
>>>>
>>>> Ugh.
>>> I don't think so.
>>>
>>> I think their rule for making URIs for functions gives:
>>>   http://www.w3.org/2005/xpath-functions#compare
>>>
>>> see http://www.w3.org/Bugs/Public/show_bug.cgi?id=3121 , which
>>> is a bug reported by me about the namespace document not agreeing
>>> with the spec, where Norm confirms that
>>> the full URI for fn:starts-with is
>>> http://www.w3.org/2005/xpath-functions#starts-with
>>>
>>>
>> Dan,
>>
>> Thanks for the correction - it's good to know there is a suitable URI. 
>> Reading the namespace document
> 
> The namespace document is acknowledged to be buggy. See above.
> 
>>  in the CR version it is:
>>
>> http://www.w3.org/2005/xpath-functions/#name
>>
>> for all op: and fn: operations.
>>
>> If we follow the same route, we'd get something like:
>>
>> http://www.w3.org/2006/sparql-functions/#datatype
> 
> I advise against that last /
> 
>> and put a namespace document at http://www.w3.org/2006/sparql-functions
>>
>> EricP - can we automatically generate the namespace doc from rq23?
>>
>>  Andy
>>
>>

Received on Friday, 9 June 2006 13:01:17 UTC