- From: Martin Hepp <martin.hepp@ebusiness-unibw.org>
- Date: Fri, 26 Jul 2013 10:47:34 +0200
- To: Dan Brickley <danbri@google.com>
- Cc: Thad Guidry <thadguidry@gmail.com>, Dan Brickley <danbri@danbri.org>, Stéphane Corlosquet <scorlosquet@gmail.com>, W3C Web Schemas Task Force <public-vocabs@w3.org>
Hi Dan, all:
For a quick fix, you could take a few lines from the GoodRelations extension proposal. Of course, one would have to replace the old schema:domain/range properties by the new ones, so it would be:
"Syntax for Extension Proposals
schema.org can process extension proposals with a lot less effort if they are submitted in an RDFa-syntax following the syntax shown below:""
Example of a new type:
<!-- additional class from http://purl.org/goodrelations/ -->
<div typeof="rdfs:Class" about="http://schema.org/QuantitativeValue">
<span class="h" property="rdfs:label">QuantitativeValue</span>
<span property="rdfs:comment"> A point value or interval for product characteristics and other purposes.</span>
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/StructuredValue">StructuredValue</a></span>
<span>Source: <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass">GoodRelations</a></span>
</div>
<!-- additional property from http://purl.org/goodrelations/ -->
<div typeof="rdf:Property" about="http://schema.org/valueReference">
<span class="h" property="rdfs:label">valueReference</span>
<span property="rdfs:comment">A pointer to a secondary value that provides additional information on the original value, e.g. a reference temperature.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QualitativeValue">http://schema.org/QualitativeValue</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValue">http://schema.org/QuantitativeValue</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/StructuredValue">StructuredValue</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Enumeration">Enumeration</a></span>
</div>
Martin
On Jul 24, 2013, at 6:56 PM, Dan Brickley wrote:
> On 24 July 2013 18:49, Thad Guidry <thadguidry@gmail.com> wrote:
>>
>>> You are right; there was another small fix. Instead of the
>>> experimental 'domain' and 'range' properties, it now uses
>>> http://schema.org/domainIncludes and http://schema.org/rangeIncludes
>
>> Oh boy, I'm sorry, but...
>>
>> Those 2 are going to get us in trouble quick, unless you also include at
>> least 1 simple example on each of those property descriptions, Dan.
>
> Yes, you're right - they need examples. I'll get examples attached to
> Property and Class initially. They're mostly for internal
> documentation purposes (since rdfs:range and rdfs:domain weren't quite
> right). Given this use, it's probably best to handle their
> documentation alongside an update to
> http://schema.org/docs/extension.html i.e. showing how extensions
> proposals can be made machine readable.
>
> Dan
>
Martin
--------------------------------------------------------
martin hepp
e-business & web science research group
universitaet der bundeswehr muenchen
e-mail: hepp@ebusiness-unibw.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 GoodRelations for E-Commerce on the Web of Linked Data!
=================================================================
* Project Main Page: http://purl.org/goodrelations/
Received on Friday, 26 July 2013 08:47:59 UTC