Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS1 EPCIS Modeling #561

Closed
nissimsan opened this issue Sep 14, 2022 · 8 comments
Closed

GS1 EPCIS Modeling #561

nissimsan opened this issue Sep 14, 2022 · 8 comments

Comments

@nissimsan
Copy link
Collaborator

Moving what I started in #552 to an issue. General positive feedback on that direction, only lacking time to progress it further right now.

@VladimirAlexiev
Copy link
Contributor

VladimirAlexiev commented Sep 16, 2022

@nissimsan in addition to what @mgh128 wrote in #552:

@nissimsan
Copy link
Collaborator Author

Thanks @VladimirAlexiev.
On the last point, @mgh128 already pointed me to that exact diagram. :) Very useful indeed! (I would encourage publishing it more prominently and higher resolution)

@mgh128
Copy link

mgh128 commented Sep 19, 2022

The published EPCIS 2.0 standard ( https://ref.gs1.org/standards/epcis/ ) does include UML class diagrams in section 7.2.1
Sadly, although I provided those as vector graphic PDFs within the Word document, at the time of publication, they have been downgraded to fuzzy bitmaps that are almost unusable. I'll alert our publications team - please cross your fingers, press your thumbs etc.! In the meantime, I have attached my PDF of the version that should appear as Figure 7.2.1.1.

EPCIS-Ontology-2022-03-29-withEPCISQueryDocument.pdf

@VladimirAlexiev
Copy link
Contributor

VladimirAlexiev commented Sep 19, 2022

@mgh128 thanks! So sad that we share EPCIS stuff in a third party git project ;-)

@nissimsan @OR13 If you compare the ontology diagram to the JSON schema (we also have a JSON diagram that could make the comparison easier), you could see some useful lessons for this effort as well.

Eg the URI of Event and BizTransation in JSON should be eventID, bizTransaction respectively, instead of the usual @id.
These are expressed in the JSONLD context, but also in the ontology as follows

#################### Meta-properties

epcis:jsonldLabel a owl:DatatypeProperty , rdf:Property ;
      rdfs:comment      """JSONLD term (alias) used for this property.
The default is the property local name, which is captured in rdfs:label."""@en ;
      rdfs:domain       rdf:Property;
      schema:domainIncludes rdf:Property ;
      rdfs:isDefinedBy  epcis: ;
      rdfs:label        "jsonldLabel" ;
      rdfs:range        xsd:string ;
      schema:rangeIncludes xsd:string ;
      sw:term_status    "stable" .

rdf:type epcis:jsonldLabel "type".
epcis:bizTransactionType epcis:jsonldLabel "type".

epcis:jsonldUriLabel a owl:DatatypeProperty , rdf:Property ;
      rdfs:comment      """JSONLD term (alias) used for the URI of nodes of this class.
There is no default: many EPCIS classes use blank nodes instead of the standard @id JSONLD term."""@en ;
      rdfs:domain       rdf:Property;
      schema:domainIncludes rdf:Property ;
      rdfs:isDefinedBy  epcis: ;
      rdfs:label        "jsonldUriLabel" ;
      rdfs:range        xsd:string ;
      schema:rangeIncludes xsd:string ;
      sw:term_status    "stable" .

epcis:AggregationEvent epcis:jsonldUriLabel "eventID".
epcis:BizTransaction epcis:jsonldUriLabel "bizTransaction".
epcis:EPCISDocument epcis:jsonldUriLabel "id".
# etc

@mgh128
Copy link

mgh128 commented Sep 19, 2022

@VladimirAlexiev - I've alerted @CraigRe - and he'll discuss with the GS1 publications team to try to get the PDF vector version published. I've tried previously (without much success) on a similar issue for the UML class diagram in the GS1 GLN Data Model Solution Standard - and they so far only replaced one completely unreadable bitmap with a high-resolution bitmap that was still 50% larger file size than the vector PDF I gave them (which even had searchable text, unlike their high-resolution PNG bitmap)!

@nissimsan - I've also attached to this reply the alternative version you just mentioned, from the syntax perspective.

Fig7.1.1.2-EPCIS-Ontology-alternativeVersion-2022-03-29.pdf

@nissimsan
Copy link
Collaborator Author

Looking for volunteers to pick this up.

@nissimsan
Copy link
Collaborator Author

Let's continue this on #385

@mkhraisha
Copy link
Collaborator

duplicate discussion of #385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants