storage service in GoodRelations

Hi all,

I need to model a storage offering at some warehouse. I think 
GoodRelation is a good choiche to model offers. My question is how the 
warehouse should be involved in the Offering instance?

The first design I developed provide a new subclass Storage of 
ProductOfService. This instance is linked to the offer by the includes 
property. Then the warehouse is further linked to the Storage instance 
via a new property "storedAd". An example is in the JSONLD document 
below. However, may be the property gr:availableAtOrFrom attached to the 
Offering instance is more appropriate to model the storage place?

Tnaks in advance,

CL

{

   "@context":{
     "gr": "http://purl.org/goodrelations/v1#",
     "@vocab": "http://www.example.org/vocab#"
   },

   "@id" : "http://example.org/offers/1",

   "@type": "gr:Offering",

  "gr:includes": {

     "@id": "http://example.org/offers/1/service",

     "@type": "StorageService",

     "storageAt": {

         "@id": "http://example.org/warehouses/1"

     }

   }

}

Received on Friday, 22 May 2020 16:29:43 UTC