W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 1999

about container

From: Fang Wei <fwei@informatik.uni-freiburg.de>
Date: Thu, 30 Sep 1999 15:43:29 +0200 (MET DST)
Message-Id: <199909301343.PAA24790@avalon.informatik.uni-freiburg.de>
To: www-rdf-comments@w3.org
Hi!
I have a question about how to express container in RDF.
I have the following code in XML:
--------------------------------------
<country ident="cid-Albania">
<ethnicgroup name="Greeks">3</ethnicgroup>
<ethnicgroup name="Albanian">95</ethnicgroup>
</country>
--------------------------------------

I would like to change it to RDF with container expression.

---------------------------------------
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:s="http://description.org/schema/">
  <rdf:Description ID="cid-Albania">
      <s:ethnicgroup>
        <rdf:Bag>
          <rdf:li>Greeks</rdf:li>
          <rdf:li>Albanian</rdf:li>
        </rdf:Bag>
      </s:ethnicgroup>
  </rdf:Description>
</rdf:RDF>
-----------------------------------------
But I lost information about the persentage in XML.
Could anybody give me suggestions how to add the persentage information in RDF?

Thanks

Fang
Received on Thursday, 30 September 1999 09:43:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:27 GMT