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

Start a MOF2RDF-aware variant of the driver #15

Open
agarciadom opened this issue Nov 28, 2024 · 2 comments
Open

Start a MOF2RDF-aware variant of the driver #15

agarciadom opened this issue Nov 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@agarciadom
Copy link
Member

The OMG has published a specification providing a standardised mapping from MOF metamodels and models to RDF (including use RDFS and OWL), with some conventions on how to map some MOF-specific features, such as the relative order of the elements of an OrderedSequence:

https://www.omg.org/spec/MOF2RDF/1.0/PDF

We could investigate creating a subclass of the current RDFModel with specialised property getters that are aware of the MOF2RDF transformation (could be called something like MOFAwareRDFModel?), e.g. sorting the resources linked through a property using the linkSequence annotation.

@agarciadom agarciadom added the enhancement New feature or request label Nov 28, 2024
@agarciadom
Copy link
Member Author

Having some initial slides to kick-off the discussion and agree on a strategy would be useful, according to Gian.

@agarciadom agarciadom changed the title Investigate a MOF2RDF-aware variant of the driver Create a MOF2RDF-aware variant of the driver Jan 17, 2025
@agarciadom
Copy link
Member Author

agarciadom commented Jan 17, 2025

Dimitris and I had a brief chat about this. The idea would be to create a MOF2RDFModel subclass of RDFModel, and move the bit about using OWL maxCardinality restrictions to it. MOF2RDFModel would have all the MOF2RDF-specific logic, including its use of linkSequence to support ordered associations (see Section 9.2.6 in MOF2RDF 1.0).

@agarciadom agarciadom changed the title Create a MOF2RDF-aware variant of the driver Start a MOF2RDF-aware variant of the driver Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant