Re: isIRI or isURI

Eric Prud'hommeaux wrote:
> On Tue, Oct 11, 2005 at 01:51:12PM +0100, Seaborne, Andy wrote:
> 
>>The document uses both isIRI (sec 11.2) and isURI (example, grammar).  The 
>>tests uses isURI.  I can't find a use isIRI in the email archives.
>>
>>Which should it be?  Or both?
>>
>>Also:
>>
>>11.2.3.3 says:
>>
>>"Returns whether a variable is bound to a URI."
>>
>>which should be IRI?
> 
> 
> isIRI is correct.
> Revision 1.506  2005/10/11 13:42:03  eric
> ~ s/isIri/isURI/ -- some snuck back in but AndyS caught them.
> 

I'd like to see both "isURI()" and "isIRI()" because "URI" is the commonly 
used term.  I am glad we are using IRIs - I just don't think that means 
exclusive to common practice.

I did a completely ad hoc experiment: I used Google to search for some
terms.  Results:

RDF IRI      =>      50,300 hits
RDF URI      =>   2,040,000 hits
RDF URI IRI  =>      23,000 hits

For RDF IRI, www.w3.org/TR/rdf-sparql-query/ is the #2 hit after rdf-concepts

 Andy


PS Yes - I'm biased - I have released code using "isURI" but there is also 
http://www.dajobe.org/2005/04-sparql/ 
(http://www.dajobe.org/2005/04-sparql/SPARQLreference-1.7.pdf)

Received on Wednesday, 12 October 2005 18:16:31 UTC