W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > September 2004

Bug: w.r.t. bnode identification, in converting from n3 to RDF/XML?

From: Yoshio FUKUSHIGE <fuku@w3.org>
Date: Fri, 24 Sep 2004 16:12:21 +0900
Message-ID: <000501c4a205$d62c9a40$f1e41b85@steelball>
To: <public-cwm-bugs@w3.org>

Hello, in converting from n3 to RDF/XML, I get strange RDF/XML output
 when input has refrences to bnodes.

e.g.
----------------
> cwm --revision
   cwm= $Revision: 1.156 $ llyn= $Revision: 1.110 $
> cat gomi.n3

_:foo   a       :bar.

:baz    :r      _:foo.

:qux    :r      _:foo.
> cwm gomi.n3 --rdf

<!-- Processed by Id: cwm.py,v 1.156 2004/07/06 18:04:18 syosi Exp -->
<!--     using base file:/cygdrive/c/home/gomi.n3-->


<rdf:RDF xmlns="file:/cygdrive/c/home/gomi.n3#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <rdf:Description rdf:about="#baz">
        <r rdf:nodeID="b1"/>
    </rdf:Description>

    <rdf:Description rdf:about="#qux">
        <r rdf:nodeID="b1"/>
    </rdf:Description>

    <bar rdf:about=".run-1096008813.3369999p3956#_g3">
    </bar>
</rdf:RDF>
-----------------

In the example above, the bnode should be labelled with rdf:ID="b1", I 
guess.
(even better with rdf:ID="foo" and referred to with 'rdf:about="#foo"'s...)

If I misunderstand some specification or I'm using obsolete version, please 
forgive me.
(I used http://www.w3.org/2000/10/swap/cwm.tar.gz for installation)

Best regards,

Yoshio Fukushige
--
Yoshio Fukushige
W3C fellow at Keio
5322 Endo Fujisawa Kanagawa 252-8520
Tel. +81-466-49-1170
Fax. +81-466-49-1171
fuku@w3.org
Received on Friday, 24 September 2004 07:12:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:58 GMT