gs1 / EPCIS

Draft files being shared for EPCIS 2.0 development
Other
20 stars 7 forks source link

`epcis:Object` class hierarchy #224

Open VladimirAlexiev opened 3 years ago

VladimirAlexiev commented 3 years ago

We need to decide a class for each TDS identifier, see https://github.com/VladimirAlexiev/EPCIS/blob/ontology/Ontology/identifier-object-mapping.md:

Issues: 4) How to distinguish gs1:locationGLN (AI 414) vs gs1:partyGLN (AI 417) as stated in Digital Link Semantics?

mgh128 commented 3 years ago

If we work on this, I think we'd name it epcis:EPC (for instance identifiers) and epcis:EPCClass (for any class-level identifiers, e.g. GTIN, GTIN+Lot etc.)

AI (414) corresponds to urn:epc:id:sgln and gs1:locationGLN AI (417) corresponds to urn:epc:id:pgln and gs1:partyGLN

BIC, ADI, DOC, IMOVN are missing in GS1 Digital Link Semantics because they are not Class 1 or Class 2 GS1 identification keys.

TDS v1.13 is the current version. There are plans to update TDS but not primarily motivated by the absence of GMN and SRIN.

I think this discussion is mostly for the GS1 Digital Link MSWG and we need to address some gaps or perhaps think of enhancements for that.

Most of the EPCIS 2.0 MSWG have not expressed deep interest in RDF triples so far. They support GS1 Digital Link URI as a Web-friendly identifier that can link to online information, services, master data etc. in a far more straightforward way than starting with an EPC URN. It seems to me that unfortunately very few (you, me, José) are deeply concerned with RDF semantics.

VladimirAlexiev commented 3 years ago

EPC ("code") is an identifier, not the thing being identified (product, product class, container, etc). So the class name should be Object or Entity.

BizLocation should not be in the same hierarchy and should have subclasses gs1:Place (sgln) and gs1:Organization (pgln): since these are not Objects.

And now you see the difficulty with ReadPoint: is it a gs1:Place or an gs1:Organization? Neither, because either of these classes can play the role of readPoint.

Furthermore: the vXxxxx classes used in Master Data must be unified with (merged to) these classes. JSON doesn't need to change, we'll map them using the context.

VladimirAlexiev commented 3 years ago
VladimirAlexiev commented 3 years ago

6: There won't be a superclass BizLocation nor ReadPoint, instead the ontology should use owl:unionOf (gs1:Place gs1:Organisation)

VladimirAlexiev commented 3 years ago

@CraigRe @mgh128 @RalphTro Most decisions (incl class names) are made in class hier.

12 is a major issue that I'm not sure we've tackled. Craig, maybe you should make a separate issue about it?