W3C home > Mailing lists > Public > www-svg@w3.org > January 2004

Re: Sodipodi flags 1.6

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Wed, 14 Jan 2004 10:57:51 +1100
To: www-svg@w3.org
Message-ID: <20040113235751.GB25638@mcc.id.au>

Bernhard Zwischenbrugger:
> I want to describe the world in XML.
> Something like a computer readable www.

RDF is the way of a computer readable www.  Though it may be slightly
wider than you want to consider, maybe you should think up an RDF schema
for country information.  You could have some RDF/XML that looked like:

  <rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:ci="http://some.url/countryinfo-1.0#">

    <ci:Country>
      <ci:name>Australia</ci:name>
      <ci:countryCode>au</ci:countryCode>
      <dc:creator>
        <foaf:Person>
	  <foaf:name>Joe Bloggs</foaf:name>
	  <foaf:mbox rdf:resource="mailto:joe@bloggs.id.au"/>
	</foaf:Person>
      </dc:creator>
      <ci:flag rdf:resource="http://www.sodipodi.com/clipart/flags/australia.svg"/>
      <ci:hasTerritory>
        <ci:State>
	  <ci:name>Victoria</ci:name>
	  <ci:flag rdf:resource="http://www.sodipodi.com/clipart/flags/australia_victoria.svg"/>
	</ci:State>
	<!-- ... -->
      </ci:hasTerritory>
    </ci:Country>
    
    <!-- ... -->

  </rdf:RDF>

-- 
Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Tuesday, 13 January 2004 18:57:53 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:26 GMT