[rdfweb-dev] Tribe FOAF

Julian Bond julian_bond at voidstar.com
Thu Feb 19 10:10:23 UTC 2004


Benjamin Nowack <bnowack at appmosphere.com> wrote:
>On 18.02.2004 19:22:05, Paul J. Martino wrote:
>>>Attached is Tribe's first crack at a FOAF file. Several interesting
>>>questions ensue: ie what is enough to uniquely describe friends? etc.
>two comments:
>
>><foaf:interest>Poker, games, friends</foaf:interest>
>foaf:interest has a range of foaf:Document and can therefore not be used
>as a datatype property.

Changed to bio:keywords

>><foaf:gender>"male"</foaf:gender>
>no need for the extra ""

Fixed

>note that PPD and primaryTopic are only _discussed_ atm and not part
>of the spec (yet).

Did that ever stop implementation? ;-) This situation is exactly what 
PPD and primaryTopic are aimed at.

>hm, neither is foaf:dateOfBirth (I thought it was)..

This looks like an oversight that fits into foaf well. Presumably the 
date should be a standard date format. There is a BDAY in vcard so I've 
used that.

Try this.

-- 
Julian Bond Email&MSM: julian.bond at voidstar.com
Webmaster:                 http://www.ecademy.com/
Personal WebLog:          http://www.voidstar.com/
M: +44 (0)77 5907 2173      T: +44 (0)192 0412 433
-------------- next part --------------
<?xml version="1.0" encoding="iso-8859-1"?>

<rdf:RDF
  xml:lang="en"
  xmlns:wot="http://xmlns.com/wot/0.1/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"

  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#"
  xmlns:bio="http://purl.org/vocab/bio/0.1/"
  
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
>

  <foaf:Document rdf:about="">
    <foaf:topic rdf:nodeID="f2232c95-e123-43a3-b48d-24a5f11f09dc"/>
    <foaf:maker rdf:nodeID="f2232c95-e123-43a3-b48d-24a5f11f09dc"/>
  </foaf:Document>

  <foaf:PersonalProfileDocument rdf:about="">
    <foaf:maker rdf:nodeID="f2232c95-e123-43a3-b48d-24a5f11f09dc"/>
    <foaf:primaryTopic rdf:nodeID="f2232c95-e123-43a3-b48d-24a5f11f09dc"/>
  </foaf:PersonalProfileDocument>

  <rdf:Description rdf:about="">
    <dc:title>FOAF for Paul Martino at Tribe.net</dc:title>
    <dc:description>Tribe.net Friend-of-a-Friend description for Paul Martino</dc:description>
    <admin:generatorAgent rdf:resource="http://www.tribe.net"/>
    <admin:errorReportsTo rdf:resource="mailto:webmaster at tribe.net"/>
  </rdf:Description>

  <foaf:Person rdf:nodeID="f2232c95-e123-43a3-b48d-24a5f11f09dc">
    <foaf:name>Paul Martino</foaf:name>
    <foaf:firstName>Paul</foaf:firstName>
    <foaf:surname>Martino</foaf:surname>

    <foaf:img rdf:resource="http://www.tribe.net/tribe/upload/photo/b42/e9a/b42e9a33-45ce-47bc-93ea-03861e52d6ee.medium"/>
    <foaf:homepage rdf:resource="http://www.tribe.net/tribe/servlet/template/pub%2Cpcard%2CPeopleCard.vm?personid=f2232c95-e123-43a3-b48d-24a5f11f09dc"/>
    <foaf:weblog rdf:resource="http://www.ahpah.com/"/>

    <vCard:BDAY>1974-8-18</vCard:BDAY>

    <foaf:mbox_sha1sum>c2318fd0988119633776bc814b3b6ea769ed206c</foaf:mbox_sha1sum>
    <bio:keywords>Poker, games, friends</bio:keywords>
    <foaf:based_near>
      <geo:Point geo:lat="37.18939971923828" geo:long="-121.70500183105469" />
    </foaf:based_near>
    <foaf:gender>male</foaf:gender>

    <vCard:ADR rdf:parseType="Resource">
      <vCard:Locality>Mountain View</vCard:Locality>
      <vCard:Region>CA</vCard:Region>
      <vCard:Country>USA</vCard:Country>
    </vCard:ADR>

    <foaf:knows>
      <foaf:Person>
        <foaf:name>A Mercer Sisson</name>
        <foaf:mbox_sha1sum>0060718a21e72f2161626e7f19019fb1410c7cd6</mbox_sha1sum>
        <foaf:homepage rdf:resource="http://www.tribe.net/tribe/servlet/template/pub%2Cpcard%2CPeopleCard.vm?personid=51dcdae4-d757-4ac9-b5db-0921f2d19620"/>
        <rdfs:seeAlso rdf:resource="http://www.tribe.net/path/to/foaf.vm?personid=51dcdae4-d757-4ac9-b5db-0921f2d19620"/>
      </foaf:Person>
    </foaf:knows>

  </foaf:Person>
</rdf:RDF>



More information about the foaf-dev mailing list