- From: Pierre-Antoine CHAMPIN <champin@cpe.fr>
- Date: Thu, 30 Sep 1999 16:01:16 +0100
- To: Fang Wei <fwei@informatik.uni-freiburg.de>, ML RDF-comment <www-rdf-comments@w3.org>
The problem is : you have a 3-ary relation between countr, ethnic group name and ethnic group percentage.
The only way to represent this in RDF is an intermediate resource like
<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>
<rdf:Description>
<s:name>Greeks</s:name>
<s:percent>3</s:percent>
</rdf:Description>
</rdf:li>
<rdf:li s:name="Albanian" s:percent="95"/>
</rdf:Bag>
</s:ethnicgroup>
</rdf:Description>
</rdf:RDF>
note that the second <li> is much more compact, and is interpreted exactly the same way.
hope this'll help
Pierre-Antoine
Received on Thursday, 30 September 1999 10:05:14 UTC