W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > March 2003

Test cases for literal equality?

From: Graham Klyne <gk@ninebynine.org>
Date: Wed, 12 Mar 2003 21:03:16 +0000
Message-Id: <5.1.0.14.2.20030312203938.00b895d8@127.0.0.1>
To: w3c-rdfcore-wg@w3.org

Do we have any test cases for dealing with literal equality?

In particular, I'm wondering if the recent discussion of XML literals and 
canonicalization will have any effect of the interpretation of language 
tags for typed literals.  Currently, if I have the details right, typed 
literals with different language tags are distinct values in the abstract 
graph, but always denote the same thing, with the exception of XML 
literals.  Plain literals are language-tag sensitive.  What about xsd:string?

I didn't find any entailment tests covering this area.

...

While I'm on this topic, I assume it's clear that the following describe 
the same graph:

[[
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
          xmlns:ex='http://www.example.org/xxx/a>
   <ex:subj>
      <ex:prop>abc</ex:prop>
   </ex:subj>
</rdf:RDF>
]]

and

[[
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
          xmlns:ex='http://www.example.org/xxx/>
   <ex:asubj>
      <ex:aprop>abc</ex:aprop>
   </ex:asubj>
</rdf:RDF>
]]

...

On my attempt to use it for real, I'm finding the test cases document 
difficult to follow, for two main reasons:

(a) it is formatted as a very wide document, such that the full width will 
not fit on my display.

(b) the test cases are not obviously organized by functional groups, but by 
issue.  While it made sense to use an issue-based organization for 
assembling the tests, I think a more functionally oriented arrangement 
would better serve the goal of clarifying questions about deign intent.

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Thursday, 13 March 2003 06:01:37 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:56:13 EDT