- From: Martin Hepp <martin.hepp@ebusiness-unibw.org>
- Date: Tue, 24 Jan 2012 00:51:35 +0100
- To: François <francois.x.hetu@gmail.com>
- Cc: public-vocabs@w3.org
Hi Francois, simple use the GoodRelations properties http://purl.org/goodrelations/v1#depth http://purl.org/goodrelations/v1#width http://purl.org/goodrelations/v1#height http://purl.org/goodrelations/v1#weight in combination with schema.org - as shown below: <div itemscope itemtype="http://schema.org/Product" itemid="#model"> <span itemprop="name">ACME Electric Anvil</span> ... Weight: <div itemprop="http://purl.org/goodrelations/v1#weight" itemscope itemtype="http://purl.org/goodrelations/v1#QuantitativeValue"> <span itemprop="hasValue">50</span> kg <meta itemprop="hasUnitOfMeasurement" content="KGM" > </div> Width: <div itemprop="http://purl.org/goodrelations/v1#width" itemscope itemtype="http://purl.org/goodrelations/v1#QuantitativeValue"> <span itemprop="hasValue">10</span> <meta itemprop="hasUnitOfMeasurement" content="CMT" > cm Depth: <div itemprop="http://purl.org/goodrelations/v1#depth" itemscope itemtype="http://purl.org/goodrelations/v1#QuantitativeValue"> <span itemprop="hasValue">30</span> <meta itemprop="hasUnitOfMeasurement" content="CMT" > cm Height: <div itemprop="http://purl.org/goodrelations/v1#height" itemscope itemtype="http://purl.org/goodrelations/v1#QuantitativeValue"> <span itemprop="hasValue">20</span> <meta itemprop="hasUnitOfMeasurement" content="CMT" > cm </div> The example is from: http://www.heppnetz.de/ontologies/goodrelations/v1.html#QuantitativeValue Instead of CMT for centimeters, you can use any UN/CEFACT code, e.g. INH for inches etc. Same for the weight On Jan 22, 2012, at 5:06 PM, François wrote: > Hello, > > How could I go about describing a product's physical dimensions using microdata: weight, height, length, depth? > > An exemple, using my markup, would certainly help: > > <div itemscope itemtype="http://schema.org/Product"> > <div itemprop="name">Product name</div> > <div itemprop="description">Product description</div> > <img itemprop="image" alt="Product name" title="Product name" src="src.jpg" /> > <div itemprop="brand" itemscope itemtype="http://schema.org/Organization"> > <div itemprop="name">Brand name</div> > <img itemprop="image" alt="Brand name" title="Brand name" src="logo_brand.jpg" /> > </div> > <div itemprop="manufacturer" itemscope itemtype="http://schema.org/Organization"> > <div itemprop="name">Company name</div> > <meta itemprop="url" content="http://company_domain.com" /> > <img itemprop="image" alt="Company name" title="Company name" src="logo.jpg" /> > </div> > <div itemprop="model">Product model</div> > <meta itemprop="productID" content="123-456-789" /> > <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> > <div itemprop="price">10.00</div> > <link itemprop="availability" href="http://schema.org/InStock" /> > <meta itemprop="priceCurrency" content="USD" /> > </div> > </div> > > I was looking at the Intangible class (Quantity -> Distance, Mass) to describe a particular product's physical attributes, but could not be positive about how to do so, if even it is the proper way. > > Any help welcome. > > Thank you, > > -- > > François > -------------------------------------------------------- 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 Monday, 23 January 2012 23:52:01 UTC