<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 13 nov. 2012 à 14:02, Martin Hepp <<a href="mailto:martin.hepp@ebusiness-unibw.org">martin.hepp@ebusiness-unibw.org</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">For exposing less structured data, we will have a new class gr:PropertyValue in the next version of GoodRelations that allows you to encode exactly what you seem to want. Release to be expect shortly.<br></blockquote></div><br><div>do you mean what is described at </div><div><a href="http://wiki.goodrelations-vocabulary.org/Documentation/Product_features">http://wiki.goodrelations-vocabulary.org/Documentation/Product_features</a></div><div>(but not in the specification page)?:</div><div><br></div><div><div style="margin: 0px; padding: 6px 0px; line-height: 19px; font-family: 'PT Sans', arial, serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Hence, GoodRelations from release 2012-08-01 onwards supports a novel pattern based on</div><ul style="margin: 0.3em 0px 0px 12px; padding: 0px; list-style: square url(http://wiki.goodrelations-vocabulary.org/skins/goodrelations/images/square.png); font-family: 'PT Sans', arial, serif; font-size: 13px; line-height: 16px; background-color: rgb(255, 255, 255); "><li style="margin: 0px 0px 0px 12px; padding: 0px; list-style: square url(http://wiki.goodrelations-vocabulary.org/skins/goodrelations/images/square.png); line-height: 19px; "><a rel="nofollow" class="external text" href="http://purl.org/goodrelations/v1#ProductFeature" style="text-decoration: none; color: rgb(223, 96, 16); ">gr:ProductFeature</a> and</li><li style="margin: 0px 0px 0px 12px; padding: 0px; list-style: square url(http://wiki.goodrelations-vocabulary.org/skins/goodrelations/images/square.png); line-height: 19px; "><a rel="nofollow" class="external text" href="http://purl.org/goodrelations/v1#feature" style="text-decoration: none; color: rgb(223, 96, 16); ">gr:Feature</a></li></ul><div style="margin: 0px; padding: 6px 0px; line-height: 19px; font-family: 'PT Sans', arial, serif; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">that allows publishing arbitrary property-value pairs for product features.</div></div><div><br></div><div><pre class="sparql" style="margin-top: 6px; margin-bottom: 6px; padding: 6px; line-height: 12px; border: 1px solid rgb(239, 163, 99); background-color: rgb(255, 249, 239); font-size: 12px; overflow-x: auto; "><span style="color: rgb(102, 102, 102); ">schema:feature </span><span style="color: rgb(125, 144, 41); "><span style="color: rgb(0, 0, 0); ">[</span></span> <span style="color: rgb(102, 102, 102); ">a </span><span style="color: rgb(125, 144, 41); ">schema:ProductFeature ;</span>
                       <span style="color: rgb(102, 102, 102); ">schema:propertyName </span><span style="color: rgb(125, 144, 41); "><span style="color: rgb(186, 33, 33); ">"Power supply"</span> ;</span>
                       <span style="color: rgb(102, 102, 102); ">schema:propertyValue </span><span style="color: rgb(125, 144, 41); "><span style="color: rgb(186, 33, 33); ">"110-220"</span> ;</span>
                       <span style="color: rgb(102, 102, 102); ">schema:unitText </span><span style="color: rgb(125, 144, 41); "><span style="color: rgb(186, 33, 33); ">"Volts"</span> <span style="color: rgb(0, 0, 0); ">]</span></span> ;</pre><div><br></div></div><div>you can imagine that I like this kind of pattern. Will it be possible to write something like:</div><div><br></div><div>x:myScrew gr:feature  foo:Value3MM.</div><div><br></div><div>foo:Value3MM a gr:ProductFeature ;</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>gr:featurePropertyId foo:threadDiameter ;      // or maybe instead: a foo:ThreadDiameter ?</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>rdfs:label "3 mm" ;<br><span class="Apple-tab-span" style="white-space:pre">     </span>gr:hasUnitOfMeasurement "MMT"^^xsd:string ;<br><span class="Apple-tab-span" style="white-space:pre">     </span>gr:hasValue 3.</div><div><br></div><div>That would be very close to what we have in the configuration ontology! (with Specification == ProductFeature)</div><div>It allows for incremental refinement of the data. For instance, you can start with just</div><div><div>foo:Value3MM a gr:ProductFeature ;</div><div><span class="Apple-tab-span" style="white-space: pre; ">  </span>gr:featurePropertyId foo:threadDiameter ;      // or maybe instead: a foo:ThreadDiameter ?</div><div><span class="Apple-tab-span" style="white-space: pre; ">    </span>rdfs:label "3 mm" .</div></div><div><br></div><div><br></div><div>Best,</div><div><br></div><div>fps</div><div><br></div><div><br></div></body></html>