W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > June 2010

Re: When is equal and when is it nonequal (eg, the IRI interface)

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 9 Jun 2010 21:53:33 +0100
To: Ivan Herman <ivan@w3.org>
Cc: W3C RDFa WG <public-rdfa-wg@w3.org>
Message-ID: <20100609215333.3a4b05e9@miranda.g5n.co.uk>
On Wed, 9 Jun 2010 17:44:41 +0200
Ivan Herman <ivan@w3.org> wrote:

> The problem is as follows. In a package like RDFLib, the equality is
> fairly simple, it is based on the equality of the URIs (let us put,
> for a moment, the issue of IRI vs URI and its encoding aside).
> However, our version of the IRI has two attributes: the 'value' and
> the 'origin'. Ie, to IRI instances that have the same value but
> different origins are different.

'origin' as specified needs fixing. Rather than:

	triple.subject.origin

We should have:

	triple.subjectOrigin

That way testing for equivalence between IRIs, Blank nodes and Literals
becomes obvious.

<> rdfs:seeAlso
<http://lists.w3.org/Archives/Public/public-rdfa-wg/2010Apr/0161.html>.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>


Received on Wednesday, 9 June 2010 20:55:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:06 GMT