Network configuration with RDF

bullet1 About RDF

bullet2 XML format

The RDF specification [1] defines an XML syntax for representing an RDF graph

  • This is the recommended format for exchanging RDF information between applications
  • Here is an XML representation of the previous example :

<rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:homenet="http://id.ninebynine.org/wip/2002/homenet/"
    xmlns:log="http://www.w3.org/2000/10/swap/log#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:user="http://id.ninebynine.org/wip/2002/user/">

    <foaf:Person rdf:about="http://id.ninebynine.org/wip/2002/homenet/GK">
        <foaf:name>Graham Klyne</foaf:name>
        <user:usesHost
          rdf:resource="http://id.ninebynine.org/wip/2002/homenet/twoflower"/>
        <user:usesHost
          rdf:resource="http://id.ninebynine.org/wip/2002/homenet/octarine"/>
        <user:accessType
          rdf:resource="http://id.ninebynine.org/wip/2002/homenet/WorkAccess"/>
    </foaf:Person>

    <user:HostSystem
      rdf:about="http://id.ninebynine.org/wip/2002/homenet/octarine">
        <rdfs:label>Graham's workstation</rdfs:label>
        <user:hostName>octarine</user:hostName>
        <user:hostIP>193.123.216.74</user:hostIP>
        <user:localNet
          rdf:resource="http://id.ninebynine.org/wip/2002/homenet/atuin"/>
    </user:HostSystem>

</rdf:RDF>



[1] http://www.w3.org/TR/REC-rdf-syntax