-
Notifications
You must be signed in to change notification settings - Fork 0
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
14 return single values if owl indicates property maximum cardinality is 1 #22
14 return single values if owl indicates property maximum cardinality is 1 #22
Conversation
Another minor comment: in the RDF Model configuration dialog, I'd personally put the schema URLs above the data URLs, as the schema URLs in a way are at a "higher level" than the data ones. We can ask Dimitris and Gian what they think, though. This is just a matter of taste :-). |
To avoid confusion, we should rename hasMotherboard to motherboard in the example. |
Using an invalid RDF model as an example could create confusion in users, and did prompt a very interesting discussion :-D. I'd change this model to be valid (removing the extra motherboards), and I'd only introduce an invalid model as an example of how the Jena-based validation works when we work in #20. In any case, Gian commented that the Semantic Web community doesn't like to abuse OWL for validation, and instead constraint languages like SHACL would be more appropriate. I'd also try what happens in the example Gian gave of an RDF model where
(If you need an example of a Monoped, we could try limpets.) This actually creates an interesting scenario, where we may be getting a single value from If the Monoped example turns out to work in that way, we should create a backlog item to split things into two:
We would expose MOF2RDFModel as a separate "MOF2RDF Model" type, so the user would explicitly say if they want to apply the MOF2RDF encoding or not. |
…to a getTypes() method
OK, I think it's ready to merge now. I'll do a squash merge as there has been quite a bit of experimentation which doesn't need to be in the long-term history :-). |
Changes to the model loading/processing and related UI.
Refactoring
Test and examples
Future work/note