I think this is more of a question for norman and harry.
I am inclined to define / keep subproperties of tel for homeTel,
mobileTel etc.
The current yahoo pattern attaches phone numbers directly to the
resource (without an additional node), see the example below.
also note that yahoo suggests using tel as a datatype property with the
pattern
<span property="vcard:tel">+49-89-6004-4217</span>
while in th current 2006 ontology, vcard:tel is defined as an object
property, so it should IMO be:
<span rel="vcard:tel" href="tel:+1-919-555-7878"/>
peter mika had quite some arguments for making phone number rather plain
strings than resources according to the respective rfc.
peter - would you share those publicly, please?
here is a pattern following the current yahoo recommendation:
<http://www.heppnetz.de/searchmonkey/company.html#business> a
gr:BusinessEntity, commerce:Business;
rdfs:label "Hepp Space Ventures Inc."@en ;
rdfs:seeAlso <http://www.heppnetz.de/>;
vcard:adr <http://www.heppnetz.de/searchmonkey/company.html#address> ;
vcard:fn "Hepp Space Ventures Inc."@en ;
vcard:geo
[ vcard:latitude "48.0802626"^^xsd:float ;
vcard:longitude "11.6407428"^^xsd:float
] ;
vcard:tel "+49-89-6004-0"^^xsd:string ;
vcard:url <http://www.heppnetz.de/> ;
foaf:depiction <http://www.heppnetz.de/searchmonkey/logo.png> .
<http://www.heppnetz.de/searchmonkey/company.html#address> a vcard:Address ;
vcard:country-name "Germany"@en ;
vcard:locality "Neubiberg"@en ;
vcard:postal-code "85577"^^xsd:string ;
vcard:region "Bavaria"@en ;
vcard:street-address "1234 Hepp Road"@en .
martin
Renato Iannella wrote:
Hi all......I want to complete the vCard/RDF update soon...
So the question remains....are we happy to use the rdf:value+type
model (which is what the 2001 note uses)?
If so, does this mean that we remove the homeTel Property (etc) from
the ontology?
Renato
On 30 Jun 2009, at 19:17, Toby Inkster wrote:
Instead of:
_:me a v:VCard ;
v:fn "Alice Smith" ;
v:workTel <tel:+44-7700-900123> ;
v:mobileTel <tel:+44-7700-900123> .
It uses:
_:me a v:VCard ;
v:fn "Alice Smith" ;
v:tel [
a vx:Tel ;
rdf:value <tel:+44-7700-900123> ;
vx:usage "work" , "mobile"
] .
My primary motivation was to be able to represent the data in the hCard
microformat in a way more closely related to the type+value structure of
hCard communications devices.
It's not perfect (it breaks the "range" of the 2006 v:tel, v:email and
v:label properties; and vx:usage should probably take a non-literal
value) but perhaps some of the ideas there could be incorporated into
the merged RDF vCard. In particular it should address all of the points
above.
Cheers... Renato Iannella
NICTA
--
--------------------------------------------------------------
martin hepp
e-business & web science research group
universitaet der bundeswehr muenchen
e-mail: mh...@computer.org
phone: +49-(0)89-6004-4217
fax: +49-(0)89-6004-4620
www: http://www.unibw.de/ebusiness/ (group)
http://www.heppnetz.de/ (personal)
skype: mfhepp
twitter: mfhepp
Check out the GoodRelations vocabulary for E-Commerce on the Web of Data!
========================================================================
Webcast:
http://www.heppnetz.de/projects/goodrelations/webcast/
Talk at the Semantic Technology Conference 2009:
"Semantic Web-based E-Commerce: The GoodRelations Ontology"
http://tinyurl.com/semtech-hepp
Tool for registering your business:
http://www.ebusiness-unibw.org/tools/goodrelations-annotator/
Overview article on Semantic Universe:
http://tinyurl.com/goodrelations-universe
Project page and resources for developers:
http://purl.org/goodrelations/
Tutorial materials:
Tutorial at ESWC 2009: The Web of Data for E-Commerce in One Day: A Hands-on
Introduction to the GoodRelations Ontology, RDFa, and Yahoo! SearchMonkey
http://www.ebusiness-unibw.org/wiki/GoodRelations_Tutorial_ESWC2009
begin:vcard
fn:Martin Hepp
n:Hepp;Martin
org:Bundeswehr University Munich;E-Business and Web Science Research Group
adr:;;Werner-Heisenberg-Web 39;Neubiberg;;D-85577;Germany
email;internet:mh...@computer.org
tel;work:+49 89 6004 4217
tel;pager:skype: mfhepp
url:http://www.heppnetz.de
version:2.1
end:vcard