-
Notifications
You must be signed in to change notification settings - Fork 26
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
Produce a holistic JSON example #405
Comments
Here are the latest findings by @VladimirAlexiev from aas-core-works/aas-core-codegen#461. https://v3.admin-shell-io.com/submodels/
Here are indexes of useful examples (can be extracted with
These are empty
Some more googling turns up Submodel definitions and examples, but these are in XML not JSON:
There are 229 models.
Here is a count by type:
To extract the first few useful submodels:
|
@VladimirAlexiev while you are at it, would you mind verifying the AAS with https://github.com/aas-core-works/aas-core3.0-cli-swiss-knife? You only have to convert each
Then you can call:
|
As @mristin correct stated the existing examples are reflecting older versions only. Sorry for this. But there is good news: https://github.com/admin-shell-io/submodel-templates/tree/main/published Other examples AASX files will be added. @ethieblin I am not sure I understand the issue: do you "just" want examples or do you want a single (or two) example file(s) as part of the specification similar to the generated one but "more holistic". If it is the first, the issue is not really part of this repository as well. |
|
When you import an AAS xml to the aasx package explorer you can also export/save it again in JSON or RDF. For some functionality the package explorer also offers a corresponding command line execution. Generated examples for xml, JSON and RDF are always up-to-date To me it seems that the examples in https://github.com/admin-shell-io/aas-knowledge-graph/tree/main/examples/aasx are not up-to-date (at least the naming suggest that you copied them from some of the very first demonstrators of the AAS) |
The issue has been moved from aas-core-works/aas-core-codegen#461.
We copy in the following the original description by @VladimirAlexiev for the context.
(cc @mristin)
In https://github.com/VladimirAlexiev/aas-core-codegen/tree/main/test_data/jsonld_context/trials#next-steps
and #386 (comment)
I asked for some more holistic examples, so I can experiment with langString, datatyped literals, and maybe framing.
@ethieblin referred to JSON examples.
But if we take one of those eg https://github.com/admin-shell-io/aas-specs/blob/master/schemas/json/examples/generated/LangStringPreferredNameTypeIec61360/maximal.json,
it doesn't look like complete AAS data, so I'm not sure whether I can expect to get "complete" turtle out of it.
I think that having a bigger realistic example will be very useful for implementers and users alike.
Eg see the hundreds of examples in these folders (Turtle and Diagrams are automatically generated from JSON):
The text was updated successfully, but these errors were encountered: