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

Specify metadata of JSON-LD artefacts #5

Open
minhnh opened this issue Nov 7, 2024 · 2 comments
Open

Specify metadata of JSON-LD artefacts #5

minhnh opened this issue Nov 7, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@minhnh
Copy link
Member

minhnh commented Nov 7, 2024

JSON-LD models and metamodels now doesn't include metadata like version or concept descriptions. Such info should also be included, so that automated generation of documentation is possible.

Metadata can be added, for example, using rdf:Description and/or rdfs:Resource. Parsing needs to be tested with rdflib to see what would work.

@minhnh minhnh added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 7, 2024
@argenos
Copy link
Member

argenos commented Nov 14, 2024

Some relevant json-ld concepts to look into: @vocab, @version (though it seems to be just about the json-ld spec version), and @base, see https://www.w3.org/TR/json-ld/#json-ld-1-1-processing-mode

@argenos
Copy link
Member

argenos commented Nov 14, 2024

See also dcterms:description as used in the qudt schema: https://qudt.org/vocab/unit/M.html

The versions also seem to be mostly part of the IRI. See also rdfs:isDefinedBy
image

The @base keyword might be useful here, see the qudt meta model: https://github.com/comp-rob2b/metamodels/blob/main/qudt.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants