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

this is very nice, http://www.w3.org/2000/10/swap/cwm.py now produces:

<!-- Processed by Id: cwm.py,v 1.38 2001/05/09 20:11:39 timbl Exp -->
<!--     using base http://vam969.roam.agfa.be/rdf/01-rdf-ns-prefix-confusion.rd
f-->#   Begining output.



<rdf:RDF xmlns="http://vam969.roam.agfa.be/rdf/01-rdf-ns-prefix-confusion.rdf#"
    xmlns:foo="http://example.org/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <rdf:Description rdf:about="http://vam969.roam.agfa.be/rdf/01-rdf-ns-prefix-
confusion.rdf#node">
        <rdf:type rdf:resource="http://example.org/bar"/>
        <foo:blah>value</foo:blah>
        <foo:prop rdf:resource="http://somewhere.example.org/"/>
    </rdf:Description>
</rdf:RDF>

--
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/






jos.deroo.jd@belgium.agfa.com@w3.org on 05/09/2001 07:44:46 PM

Sent by:  w3c-rdfcore-wg-request@w3.org


To:   dave.beckett@bristol.ac.uk
cc:   w3c-rdfcore-wg@w3.org
Subject:  Re: Issue
      http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion



> Checking some deployed code for what is done with example above:
>
> repat   - dies: "unknown or out of context rdf attribute: blah"
> rapier  - ignores it
> SiRPAC  - generates a statement where the predicate is 'blah' -
>           i.e. not an absolute URI, could be considered a relative one I
>           suppose. [both SiRPACs]
> VRP 1.4 - forms property URI http://example.org/blah i.e. takes 2b)

(after putting that testcase before our firewall) we found Jena giving:

<rdf:RDF
  xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
  xmlns:RDFNsId1='http://example.org/' >
  <rdf:Description rdf:about='http://vam969.roam.agfa.be/rdf/rdf-ns-prefix-confu
sion.rdfnode'>
    <rdf:type rdf:resource='http://example.org/bar'/>
    <RDFNsId1:blah>value</RDFNsId1:blah>
    <RDFNsId1:prop rdf:resource='http://somewhere.example.org/'/>
  </rdf:Description>
</rdf:RDF>

---------------------------------------------------------------------------------


and cwm giving:

<!-- Processed by Id: cwm.py,v 1.32 2001/04/05 21:33:55 timbl Exp -->
<!--     using base http://vam969.roam.agfa.be/rdf/rdf-ns-prefix-confusion.rdf--
>#   Begining output.



<rdf:RDF xmlns:foo="http://example.org/"
    xmlns="http://vam969.roam.agfa.be/rdf/rdf-ns-prefix-confusion.rdf#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <rdf:Description rdf:about="#node">
        <rdf:type rdf:resource="../../example.org/bar"/>
        <foo:blah>value</foo:blah>
        <foo:prop rdf:resource="../../somewhere.example.org/"/>
    </rdf:Description>
</rdf:RDF>

----------------------------------------------------------------------------------


so they are both 2b but there is a difference in their rdf:about=...
and also cwm gives some (strange?) rdf:resource="../../example.org/bar"

--
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

ps test cases (even very simple ones) are so helpful

Received on Wednesday, 9 May 2001 18:44:26 UTC