W3C home > Mailing lists > Public > semantic-web@w3.org > October 2013

Re: vCard Ontology MD questions

From: Hugh Glaser <hg@ecs.soton.ac.uk>
Date: Sat, 26 Oct 2013 14:23:59 +0000
To: Renato Iannella <ri@semanticidentity.com>, "Klee, Carsten" <Carsten.Klee@sbb.spk-berlin.de>
CC: "semantic-web@w3.org" <semantic-web@w3.org>, "Rolschewski, Johann" <Johann.Rolschewski@sbb.spk-berlin.de>, "'Adrian Pohl' (pohl@hbz-nrw.de)" <pohl@hbz-nrw.de>, "Heise, Andreas" <Andreas.Heise@sbb.spk-berlin.de>, "voss@gbv.de" <voss@gbv.de>
Message-ID: <570F1BE5-892B-42EE-9BB0-7F66F14E17FA@soton.ac.uk>
(I wonder if the second resource is meant to be
> <vcard:Location rdf:about="http://example.com/AcmeInc/WanChai"> )

The problem with this is that you will never find the “other” details, the second phone, for example, unless you know it is there.
As always, you need to think about the consumer, and what the query might be.
{ ex:org vcard:hasTelephone ?tel . ?tel vcard:telephone ?number . }
would be the sort of thing I might ask (I think - I haven’t used vcard), and expect to get any phone numbers.
If a representation doesn’t fit that pattern for querying, then it isn’t really going to be very useful.

I used to ask this question quite a lot, as it is an obvious use case for people - I have multiple affiliations, but anyone trying to call me would want to know which phone number or email corresponded to each affiliation.
The answer was always Named Graphs (which always seemed/seems to be the answer to everything), so I stopped asking.


On 25 Oct 2013, at 02:52, Renato Iannella <ri@semanticidentity.com> wrote:

> 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

023 8061 5652
Received on Saturday, 26 October 2013 14:24:50 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:35 UTC