Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

GoodRelations - The Web Vocabulary for E-Commerce

This is the archive of the goodrelations dicussion list

GoodRelations is a standardized vocabulary for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.

[goodrelations] vcard:tel used incorrectly in the Quickstart Guide

Vasiliy Faronov vfaronov at gmail.com
Thu Jun 17 17:39:22 CEST 2010


Martin Hepp (UniBW) wrote:
> You are right, the use of tel as a plain datatype property is in partial 
> violation of the latest 2010 vcard ontology spec. However, we currently 
> recommend to stick with the Yahoo vcard representation pattern, since 
> that is necessary for augmented rendering of phone numbers in Yahoo.

Thanks Martin, that explains it.

But the previous version[1] of the spec, 9 years old, has the same usage
of vcard:tel as the current one. So basically Yahoo is at fault for
incorrectly interpreting the spec?

Anyway, this discrepancy should at least be mentioned somewhere in the
Quickstart guide, as a footnote perhaps.


> PS: IMO, SPARQL queries must tolerate a bit of deviation from standards. 

When a deviant pattern is widespread, yes, clients practically have to
do some workarounds. Similarly, when it's necessary to cope with widely
used but misbehaving clients (as is apparently the case here with
vcard:tel), workarounds on the server side are of course acceptable,
but, if at all possible, they should be used *together with* correct
markup, not in its stead.

For example, if one were to do it like this:

	[] vcard:tel
		"+1 234 56 78" ,
		[ rdf:value "+1 234 56 78" ] .

would both Yahoo and spec-compliant consumers be happy?


[1] http://www.w3.org/TR/2001/NOTE-vcard-rdf-20010222/#5

-- 
Vasiliy Faronov





More information about the goodrelations mailing list