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

Re: datatype()

From: Eric Prud'hommeaux <eric@w3.org>
Date: Thu, 14 Jul 2005 00:37:20 -0400
To: "Seaborne, Andy" <andy.seaborne@hp.com>
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-ID: <20050714043719.GA30558@w3.org>
On Fri, Jul 01, 2005 at 06:53:23PM +0100, Seaborne, Andy wrote:
> Apologies for the fine-grainedness.
> While implementing rq23, I came across:
> DATATYPE(A)  	rdf:literal	N/A	sop:datatype(A)	rdf:uri
> What's the equality operator on rdf:uri?

The only one I've been using is '=' (sop:RDFterm-equal(A, B)).

> How about making datatype() return an RDF term? Or making rdf:uri as 
> subtype of
> RDF term, and then the equality test is the RDF term equality?  It makes 
> the use
> of <http://foo> in a filter like use in a pattern.

I think you're suggesting that we we get to re-use sop:RDFterm-equal,
which I believe we already use (by virtue of using the '=' operator).
Wouldn't returning in RDF term allowed literal or bNode datatypes?

(I picked URI over string so we could use qnames, but that's probably

> [Aside: rdf:bNode is only mentioned once.]

It's used in the list of SPARQL argument/result types. At a glance, it
seemed less confusing to have a term without spaces, and bNlode seemed
like a good choice. Do you think "SOP:Blank Node" or "SOP:Blank_Node"
is better?

office: +81.466.49.1170 W3C, Keio Research Institute at SFC,
                        Shonan Fujisawa Campus, Keio University,
                        5322 Endo, Fujisawa, Kanagawa 252-8520
        +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
cell:   +81.90.6533.3882

Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Thursday, 14 July 2005 04:37:23 UTC

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