Re: Test Cases for Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

>>>Dan Connolly said:
> Very nice work.
> 
> A quibble, just to show I read it carefully:
> 
> This isn't an anonymous node; it's just a relative identifier:
> 
>   @prefix : <#> .
>   :genid <http:...> <...>.
> 
> I'm proposing that we use
> 	_:genid <http:...> <...>.
> 
> i.e. no @prefix, just _:name. TimBL hacked support for it yesterday;

OK, fixed those.

Hmm, can't seem to get the CVS of cwm updated for me:

  cvs server: failed to create lock directory in repository `/sources/public/2000/10/swap': Permission denied
  cvs server: failed to obtain dir lock in repository `/sources/public/2000/10/swap'
  cvs [server aborted]: read lock failed - giving up


> let's see if it works...
> 
> yup...
> 
> $ python2 cwm.py --quiet --rdf
> http://ilrt.org/people/cmdjb/2001/05/rdf-ns-prefix-confusion/test01.rdf
> --n3=spart --bySubject

[aside: -- options don't work on my current copy - 1.51]

>     
>     <http://example.org/resource1/>     <http://example.org/property>
> "bar" .
> 
> hm... test2 doesn't work as well; cwm.py doesn't believe in bagID.

Yeah I noticed that so had to construct what I thought the n3 should
be, using the M&S bagID example and encoding the triples emitted from
the SiRPAC demo.

> in test4.n3, you've got a relative reference in your expected results,
> resulting from rdf:ID="foo". We're going to have to specify the
> base URI as part of test inputs so that we can absolutize everything
> consistently.

I'll just leave it for the moment until we get something precise for this.

> Aha... test5 allows me to show what I'm after:
> 
> $ python2 cwm.py --quiet --rdf
> http://ilrt.org/people/cmdjb/2001/05/rdf-ns-prefix-confusion/test05.rdf
> --n3=spart --bySubject
>     
>     <http://example.org/resource1/>     <http://example.org/property>
> _:0 .
>     
>     _:0     <http://example.org/property2> "bar" .
> 
> I'm using
> 
>   http://www.w3.org/2000/10/swap/cwm.py
>   $Id: cwm.py,v 1.52 2001/05/30 23:08:24 timbl Exp $
> 

Updated


> re test6: whoa! I didn't realize rdf:type as an attribute
> was special syntax; i.e. that it takes a URIref rather
> than a literal. None of the code I've written groks that.
> Learn something new every day, I guess.

Oh yeah, isn't rdf's xml syntax fun - you need to write a parser to
appreciate what a joy it is.  rdf:type as an attribute isn't seen
much but is legal.

<snip/>

I've updated the changes in the area at
  http://ilrt.org/people/cmdjb/2001/05/rdf-ns-prefix-confusion/

Dave

Received on Thursday, 31 May 2001 11:58:12 UTC