-
Notifications
You must be signed in to change notification settings - Fork 134
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
Difference between uses
and implements
?
#113
Comments
uses
and implements
uses
and implements
?
Maybe I am misunderstanding, but I think the way we use those terms does operate the way you are expecting:
Here is an example from the ontology, where fields are defined on an abstract superclass (parent type in our parlance) and is then inherited by the child device upon inheritance.
This is our intention for how it should operate, so if you are seeing an instance somewhere that this is not being implement in that way please let me know. And again, if I am misunderstanding the question, please let me know and I'll try to clarify my answer. |
I guess, when I see the Perhaps the confusion comes from the lack of documentation on the |
@corymosiman12 you are correct about the lack of documentation on the RDF part it comes from the fact that we wrote an RDF generator which takes as an input the yaml files and generates an rdf file. Despite the itching to add additional information in the rdf file to make it more inline with the best practices of rdf and owl modelling. We decided not to do that to keep both yaml and rdf at the same level. We have in the pipe to update the yaml representation to add domains and range on the object property so it can be picked up during the generation from yaml to rdf Hope that helps. |
@corymosiman12 good observation about the yaml syntax feeling more OO than linked data. This was a deliberate design choice in the YAML format intended to make it more accessible to those who don't speak linked data natively. The intent was always to automate the translation between the YAML configuration and RDF, so authors could deal with something very human-readable, but still convert to linked data if necessary. |
In the generation of RDF from yaml, it appears that when
uses
are declared for a type, this translates into ardfs:subClassOf
relationship.uses
, however, seem like they should be data properties on a type as opposed to a superclass, where I would expectimplements
to define the superclass(es) for a type. Can you explain a little bit more how this works / why it works this way?The text was updated successfully, but these errors were encountered: