[foaf-dev] vcard/foaf

paola.dimaio at gmail.com paola.dimaio at gmail.com
Fri Jan 25 02:36:15 GMT 2008


would it make sense to transform the vcard:element below into
foaf:element? any schema mapping would be able to map the one into the other

or maybe the foafx generator should include a vcard section, but then
I have to store it
separat efrom the foaf profile

what is the least messy option?

thanks





<rdf:Description rdf:about = "http://qqqfoo.com/staff/corky" >
      <vCard:FN> Corky Crystal </vCard:FN>
      <vCard:N rdf:parseType="Resource">
        <vCard:Family> Crystal </vCard:Family>
        <vCard:Given>  Corky </vCard:Given>
        <vCard:Other>  Jacky </vCard:Other>
        <vCard:Prefix> Dr </vCard:Prefix>
      </vCard:N>
      <vCard:BDAY> 1980-01-01 </vCard:BDAY>
      <vCard:TITLE> Computer Officer Class 3 </vCard:TITLE>
      <vCard:ROLE> Programmer </vCard:ROLE>
      <vCard:TEL rdf:parseType="Resource">
        <rdf:value> +61 7 555 5555 </rdf:value>
        <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#work"/>
        <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#voice"/>
      </vCard:TEL>
      <vCard:EMAIL rdf:parseType="Resource">
        <rdf:value> corky at qqqfoo.com </rdf:value>
        <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#internet"/>
      </vCard:EMAIL>
      <vCard:ADR rdf:parseType="Resource">
        <vCard:Street>   111 Lake Drive </vCard:Street>
        <vCard:Locality> WonderCity </vCard:Locality>
        <vCard:Pcode>    5555 </vCard:Pcode>
        <vCard:Country>  Australia </vCard:Country>
      </vCard:ADR>
    </rdf:Description>
  </rdf:RDF>


More information about the foaf-dev mailing list