Changelog/20090718

From GoodRelations Wiki
Jump to: navigation, search

Changelog: Service Update July 18, 2009

Summary: The most significant change in this update is the introduction of the gr:seeks property. This allows representing both the sales and the buy side with no additional changes to the vocabulary.

  • Changed the domain of gr:hasStockKeepingUnit from the union of gr:ProductOrServiceModel and gr:Offering to the union of gr:ProductOrService and Offering, since also products or services that have no Product Or Service Model may have this property. Also slightly updated the text.
  • Changed the comment field for gr:priceType to indicate that the absence of this property indicates the actual sales price.
  • Changed the domain of gr:hasManufacturer from gr:ProductOrServiceModel to gr:ProductOrService, since also products or services that have no Product Or Service Model may have this property. Also slightly updated the text
  • Added a new gr:PaymentMethod http://purl.org/goodrelations/v1#DirectDebit
  • Added a new gr:PaymentMethod http://purl.org/goodrelations/v1#COD
  • Added a gr:includes property as shortcut with the following semantics:
#rule for new includes property
PREFIX gr: <http://purl.org/goodrelations/v1#>

CONSTRUCT {
_:n rdf:type gr:TypeAndQuantityNode.
_:n gr:AmountOfThisGood "1.0"^^xsd:float.
_:n gr:hasUnitOfMeasurement "C62"^^xsd:string.
?a gr:includesObject _:n .
_:n gr:typeOfGood ?b.}

WHERE

{?a rdf:type gr:Offering.
?b rdf:type gr:ProductOrService.
?a gr:includes ?b}

Note: The usage of this property requires either additional queries or non-standard reasoning e.g. in the form of the SPARQL CONSTRUCT shown above.

  • Changed the range of http://purl.org/goodrelations/v1#typeOfGood from gr:ProductOrService to the union of
    • gr:ActualProductOrServiceInstance and
    • gr:ProductOrServiceSomeInstancesPlaceholder
  • Changed the rdfs:comment for gr:offers to

"This links a Business Entity to the Offerings it is offering (i.e., the sales side). If you want to express interest in receiving offers, use gr:seeks instead." This is necessary because the new gr:seeks property requires such a clarification.

"This links a Business Entity to the Offerings that describe what the Business Entity is interested in (i.e., the buy side). If you want to express interest in actually offering something, use gr:offers instead. Note that this substitutes the former Business Function gr:Buy, which is now deprecated."

"This property specifies the current approximate inventory level of the Product Or Service Some Instance Placeholder. The unit of measurement and the point value or interval are indicated using the attached gr:QuantitativeValueFloat instance."