W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > June 2002

Re: rdf:Description & test cases

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Sat, 08 Jun 2002 10:24:19 +0100
To: Jeremy Carroll <jjc@hplb.hpl.hp.com>
cc: w3c-rdfcore-wg <w3c-rdfcore-wg@w3.org>
Message-ID: <27808.1023528259@tatooine.ilrt.bris.ac.uk>
>>>Jeremy Carroll said:
> I spoke too soon
> > I now have a (not yet public) version of ARP that passes nearly all
> 
> In truth I had a broken test harness :(
> 
> Moreover having fixed a bug in the test harness there are now rather more
> bugs in both ARP and the test cases apparant.

Yes, I am in a similar situation stomping bugs in my software and the
test cases

(Incidently many of the test cases changes have all lines changed, so
'cvs diff' won't work and a visual inspection or hand-editing is
required to see the changes.)

> Some in the test cases include:
> 
> rdf-containers-syntax-vs-schema/test004.rdf
> http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf

I concur.  This needed updating for rdf:ID on a property, a very early
test and we only quite recently decided on that meaning.

I also took the opportunity to make the test clearer; used legal
http://example.org URIs, removed extraneous triples not needed for
the test and removed some of the many foo/bar values to make the
answer clearer.  I attach my new versions of the test004.rdf and
test004.nt


> rdfms-rdf-names-use/test-025.rdf
> http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-rdf-names-use/test-025.rdf

I also concur with this bug; already reported to Jan
   - rdf:li instead of rdf:_1 in ntriples
(but hey, most of the 50+ machine generated tests seem OK!)


> xmlbase/test014.rdf
> http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test014.rdf

Yes this is wrong.  You have a correct fix

> 
> ARP is still buggy around the xml-literals but some of those test cases have
> neglected the language tags.

You also fixed:

rdfms-difference-between-ID-and-about/test2.nt

  I agree (URL \u escaping)

rdfms-literal-is-xml-structure/test002.nt
rdfms-literal-is-xml-structure/test003.nt
  I don't see any change; the latest versions of these in the CVS
  contains the xml"" fixes, which I updated in early May for
  several tests

rdfms-nested-bagIDs/test008.nt
  I can't tell what you changed here, even with fixing the line
  endings, it looks significantly different but more correct given
  the rdf:ID clarification.

  I think it might benefit from adding an rdf:about to the
  rdf:Description since that isn't important to this test, and
  renaming some of the bnodes from _j:<n>.  _:j0 would turn into a
  uri-ref, if the rdf:about was added and _:j3 is the reified
  statement node.  The absence of _:j1 and _:j2 is unnecessary I
  think.

Cheers

Dave


#
# Copyright World Wide Web Consortium, (Massachusetts Institute of
# Technology, Institut National de Recherche en Informatique et en
# Automatique, Keio University).
#
# All Rights Reserved.
#
# Please see the full Copyright clause at
# <http://www.w3.org/Consortium/Legal/copyright-software.html>
#
# $Id$
# 
#####################################################################
<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "1" .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/node1> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "1" .
<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> xml"2" .
<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> _:res .
_:res <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/node2> .
<http://example.org/node1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_4> _:res2 .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/node1> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_4> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> _:res2 .
_:res2 <http://example.org/ns#prop1> "blah" .


Received on Saturday, 8 June 2002 05:27:38 EDT

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