W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > May 2001

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

From: <jos.deroo.jd@belgium.agfa.com>
Date: Wed, 9 May 2001 19:44:46 +0100
To: dave.beckett@bristol.ac.uk
Cc: w3c-rdfcore-wg@w3.org
Message-Id: <OF34B9D106.DA71BA98-ON41256A47.0063A0BC@bayer-ag.com>


> 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 13:45:15 EDT

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