datafoodconsortium / ontology

The DFC ontology is available as OWL and RDF.
https://datafoodconsortium.gitbook.io/dfc-standard-documentation/semantic-specifications
GNU Affero General Public License v3.0
20 stars 3 forks source link

Logistics use cases #149

Open RaggedStaff opened 2 months ago

RaggedStaff commented 2 months ago

Platform POST's a list of Shipments to Logistics platform & expects a response including Route information for all shipments

A Shipment is a breakdown (or sum-up) of Ordered Products. - "A group of ordered items that have to be shipped together."

E.G. A Hub accepts 10 Customer Orders, from 4 Suppliers Hub raises 4 Purchase Orders (1 for each supplier) each comprising of parts of multiple Customer Orders Each Supplier has 1 shipment to the Hub The Hub then recombines these 4 shipments into 10 shipments to deliver to the Customers (1 Shipment -- n:n -- 1 Order) The Hub then requires a route to deliver the 10 shipments (Customer Orders)

RaggedStaff commented 2 months ago

For a Shipment:

We need:

RaggedStaff commented 2 months ago

@Alcoz to review other ontologies & report back 17th Oct.

Alcoz commented 1 day ago

@RaggedStaff @simonLouvet @lecoqlibre

Logistique-Page-2 drawio

Regarding our use-case and the needs of representing vehicule and logistic services, I would propose the schema above as a first draft that could be implemented easily in the ontology and could answer logistic use-case required for our demo in two weeks. I found other existing ontologies that could fit, but there are not maintained anymore or there are maybe too complex for start but I recorded them in a doc that we could use afterwards.

I would like your comment to know if it can fit to the use-case of everyone in a first place

simonLouvet commented 1 day ago

physicalProduct can have several stocks which are transported by different shippemnt it seems to me. a stock can even be divided into several for transport. I can't see how to link shippment and stock other than to say that a shipment carries a quantity of physical product. I think it's a shame that refrigerated and freeze are managed by specific attributes rather than a texonomy.

Alcoz commented 1 day ago

@simonLouvet

physicalProduct can have several stocks which are transported by different shippemnt it seems to me. a stock can even be divided into several for transport. I can't see how to link shippment and stock other than to say that a shipment carries a quantity of physical product.

I'm not okay with the fact that a physical product have several stocks. For me, a physical product is the real transposition of a product and it can be at one place and have one stock. If a subpart of physical product is moved, then it leads to two physical product with two stocks (one of the moved part, and one of the staying part).

I think it's a shame that refrigerated and freeze are managed by specific attributes rather than a texonomy.

I think you right, however we implemented this at first when we added the missing properties for logistics to describe supplied product information. So do we modify the ontology to add this kind of information in the taxonomy on the next update or are we doing this afterwards ? I ok with both but I need an answer of the group

Alcoz commented 1 day ago

About Vehicule and Physical Place description, disponibility time interval would be interesting to have to know when vehicule are available and physical place are opened to receive or delivering order

simonLouvet commented 1 day ago

I'm not okay with the fact that a physical product have several stocks. For me, a physical product is the real transposition of a product and it can be at one place and have one stock. If a subpart of physical product is moved, then it leads to two physical product with two stocks (one of the moved part, and one of the staying part).

the ontology schema specifies that the physical product is constituedBy 0 to many realStock https://docs.dfc-standard.org/dfc-standard-documentation/semantic-specifications/business-ontology

Alcoz commented 12 hours ago

That strange about my comprehesion but ok, so yes the Shipment should be connected to a Stock