- From: John Walker <john.walker@semaku.com>
- Date: Thu, 21 May 2015 16:05:17 +0200 (CEST)
- To: "martin.hepp@ebusiness-unibw.org" <martin.hepp@ebusiness-unibw.org>
- Cc: public-schemaorg@w3.org
Hi Martin, Wouldn't it also be valid to indicate the name when using schema:valueReference? After all the name applies to the PropertyValue entity, not the additionalProperty/valueReference. So it still isn't clear to me why one would use additionalProperty on QuantitativeValue/QualitativeValue instead of valueReference. I could imagine one possible case might be to specify properties of a sub-part of the main entity. To expand your example a little: <!-- Product: Value References --> <div itemscope itemtype="http://schema.org/Car"> <span itemprop="name">ACME Semantic SUV</span> <div itemprop="fuelConsumption" itemscope itemtype="http://schema.org/QuantitativeValue"> <span itemprop="value">8.2</span>- <meta itemprop="unitCode" content="LTR">liter at <div itemprop="valueReference" itemscope itemtype="http://schema.org/PropertyValue"> <meta itemprop="name" content="reference speed"> <span itemprop="value">50</span> <span itemprop="unitText">miles per hour</span> </div> </div> <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue"> <span itemprop="value">4</span> <span itemprop="name">cup holders</span> <meta itemprop="unitCode" content="C62"> </div> <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue"> <span itemprop="name">has stereo</span> <div itemprop="additionalProperty" itemscope itemtype="http://schema.org/PropertyValue"> <meta itemprop="name" content="output power"> <span itemprop="value">1000</span> <span itemprop="unitText">Watt</span> </div> </div> </div> Would that make sense? John > On May 21, 2015 at 11:08 AM "martin.hepp@ebusiness-unibw.org" > <martin.hepp@ebusiness-unibw.org> wrote: > > > Hi John: The reason is that you may want to provide reference values / context > also in the form of property-values and use the name of the property for > indicating the type of reference (e.g. "reference temperature"). > > schema:valueReference just indicates that it is a value that provides context > for the primary value. > > > Examples with valueReference: > > <!-- Product: Value References --> > <div itemscope itemtype="http://schema.org/Car"> > <span itemprop="name">ACME Semantic SUV</span> > <div itemprop="fuelConsumption" itemscope > itemtype="http://schema.org/QuantitativeValue"> > <span itemprop="value">8.2</span>- > <meta itemprop="unitCode" content="LTR">liter > at > <div itemprop="valueReference" itemscope > itemtype="http://schema.org/PropertyValue"> > <span itemprop="value">50</span> > <span itemprop="unitText">miles per hour</span> > </div> > </div> > </div> > > > Examples with additionalProperty: > > <!-- Product: Value References --> > <div itemscope itemtype="http://schema.org/Car"> > <span itemprop="name">ACME Semantic SUV</span> > <div itemprop="fuelConsumption" itemscope > itemtype="http://schema.org/QuantitativeValue"> > <span itemprop="value">8.2</span>- > <meta itemprop="unitCode" content="LTR">liter > at > <div itemprop="additionalProperty" itemscope > itemtype="http://schema.org/PropertyValue"> > <meta itemprop="name" content="reference speed"> <!-- <================= --> > <span itemprop="value">50</span> > <span itemprop="unitText">miles per hour</span> > </div> > </div> > </div> > > > > ----------------------------------- > martin hepp http://www.heppnetz.de > mhepp@computer.org @mfhepp > > > > > > > > > On 18 May 2015, at 22:14, John Walker <john.walker@semaku.com> wrote: > > > > Hi, > > > > Was just browsing around v2.0, congrats to all involved. > > > > I have a question about schema:additionalProperty. I see the domain for this > > property includes schema:QualitativeValue and schema:QuantitativeValue, but > > couldn't figure out a 'real-life' use case for this. If I wanted to specify > > additional properties on a value, wouldn't these be some kind of conditions > > under which the value is measured/specified? In which case shouldn't I use > > schema:valueReference instead? > > > > Concrete examples appreciated :) > > > > John > > > > > > > > Best wishes / Mit freundlichen Grüßen > > Martin Hepp > > ------------------------------------------------------- > martin hepp > e-business & web science research group > universitaet der bundeswehr muenchen > > e-mail: martin.hepp@unibw.de > 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 Thursday, 21 May 2015 14:05:47 UTC