W3C home > Mailing lists > Public > www-rdf-comments@w3.org > January to March 2003

Re: Wrong test-case: rdfms-not-id-and-resource-attr/test003

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Mon, 13 Jan 2003 13:56:03 +0000
To: Jan Wielemaker <jan@swi.psy.uva.nl>
cc: www-rdf-comments@w3c.org, jan.grant@bristol.ac.uk
Message-ID: <20976.1042466163@hoth.ilrt.bris.ac.uk>

>>>Jan Wielemaker said:
> I'm updating the SWI-Prolog RDF parser with the latest RDF revision
> (nodeID support), testing them on the test-cases I received from Jeremy
> Carroll (a snapshot of the jena CVS I believe).

A snapshot from Jeremy?  Could you please try them with the official
RDF Core test cases from the web site:


> The test-case identified as
> http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/Manifest.rdf#test003
> seems to be wrong.  The test says:
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:eg="http://example.org/">
>   <rdf:Description>
>     <eg:prop1  rdf:ID="reify" rdf:bagID="bag"/>
>   </rdf:Description>
> </rdf:RDF>
> In the test-result this returns an blank node with `prop1' property
> and object "" (empty literal) and a reification thereof where the value
> is another blank node.  With a reified statement that differs from the
> real statement, this can't be right.
> I think the specs says it should be two blank nodes related using the
> prop1 property and properly reified.

I actually noticed this problem when I was testing them myself last
Friday.  The property element eg:prop1 has an empty literal value,
not a blank node, and that is the statement that is reified with
ID "reify" (http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test003.rdf#reify)
and associated with the bag ID "bag" (http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test003.rdf#bag).

The fix I've approved for

< <http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test003.rdf#reify> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> _:j88097 .
> <http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test003.rdf#reify> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "" .

Can you confirm this fixes it for you?

> 	Regards --- Jan
> P.s.	Using SWI-Prolog from the CVS snapshot it processes the rest of
> 	the test-suite properly now.


Received on Monday, 13 January 2003 08:57:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:19 UTC