Re: vCard Ontology MD questions

On 25 Oct 2013, at 02:31, Klee, Carsten <Carsten.Klee@sbb.spk-berlin.de> wrote:

> My questions are: 
> How Address1, Email1 and Telephone1 can be bound together?
> Does the hasRelation property something to do with it and how does a RelatedType class like Contact is used here.
> I like to use the hasRole property to connect Email2 and Telephone2, but is this intended to do this?

How does this match your use case:

<vcard:Organization rdf:about="http://example.com/AcmeInc">
        <vcard:fn>Acme Inc</vcard:fn>
        <vcard:hasTelephone rdf:resource="tel:+61755555555"/>
        <vcard:hasEmail rdf:resource="mailto:acme@example.com"/>
        <vcard:hasAddress rdf:parseType="Resource">
            ....
        </vcard:hasAddress>
        <vcard:hasRelated rdf:resource="http://example.com/AcmeInc/WanChai"/>
</vcard:Organization>        

<vcard:Location rdf:about="http://example.com/AcmeInc/Branch">
        <vcard:fn>Acme Inc - Wan Chai Branch</vcard:fn>
        <vcard:hasTelephone rdf:resource="tel:+852755555555"/>
        <vcard:hasEmail rdf:resource="mailto:acme-wanchai@example.com"/>
        <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Contact"/>
        <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Work"/>
</vcard:Location>   


Cheers...
Renato Iannella
Semantic Identity
http://semanticidentity.com
Mobile: +61 4 1313 2206

Received on Friday, 25 October 2013 01:53:00 UTC