Semantic Web "Homepage"

[or part two of how to build a Semantic Web in 10 days :-) ]
I finally got round to addressing the problems we raised. In the end, I
came up with this (cut down version), which produces a great set of
triples:-

<rdf:Description rdf:about=" mailto:sean@mysterylights.com">
 <me:hasOwner>
  <rdf:Description rdf:ID="me">
   <me:name>
    <rdf:Description rdf:ID="name">
     <foaf:firstname>
      <rdfs:label>first names</rdfs:label>
       Sean B.
     </foaf:firstname>
     <foaf:surname>
      <rdfs:label>surname</rdfs:label>
       Palmer
     </foaf:surname>
    </rdf:Description>
   </me:name>
   <foaf:mbox rdf:resource=" mailto:sean@mysterylights.com"/>
   <foaf:mbox rdf:resource=" mailto:sean@waptechinfo.com"/>
   <foaf:homepage rdf:resource="http://infomesh.net/sbp/"
      html:type="text/html"/>
   <me:gender>male</me:gender>
   <me:interests>
    <rdf:Description rdf:ID="interests">
     <me:interest>The Simpsons</me:interest>
    </rdf:Description>
   </me:interests>
   <me:publications>
    <rdf:Description rdf:ID="publications">
     <me:publication rdf:resource="http://uwimp.com/"/>
     </rdf:Description>
    </me:publications>
   </rdf:Description>
  </me:hasOwner>
 </rdf:Description>
</rdf:RDF>

The full thing is at http://infomesh.net/sbp/sw/

Basically, if you run it through
http://www.w3.org/RDF/implementations/SiRPAC/ you see what you get out of
it. Because it both describes and has a node refering to my mailbox, it
sets up a wonderful dichotomy whereby my mailbox has an owner with these
properties, and one property of which is that I own that mailbox. Any other
nodes can just hang off of that.

Kindest Regards,
Sean B. Palmer
http://infomesh.net/sbp/
http://www.w3.org/WAI/ [ERT/GL/PF]
"Perhaps, but let's not get bogged down in semantics."
   - Homer J. Simpson, BABF07.

Received on Saturday, 6 January 2001 09:01:23 UTC