-
Notifications
You must be signed in to change notification settings - Fork 2
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
Modularity issues #11
Comments
jupp, totally agree! in fact, we had it, but it apparently got lost over time suggestion:
in a TOML file it could look like this
comment:
↑ since "A Part can not have sub-Parts" there's also no BoM (just a comment on the "(currently)" |
Wow... thanks a lot @moedn, that helps a lot! :-) IRI to LOSH RDF object"sub-modules can be referenced in two ways:
I think this makes sense in general, but not yet, because the tech we are hosting is still WikiBase based. as Soon as we have it changed to RDF and under a stable domain/URL, it will totally make sense! Parts BoMAhh.... so a part is really just a single part? e.g. it can be the lid of a case, made up of a single piece of plastic that is 3D-Printed, but it could not be a lid of a case that is made up of two metal-parts that are screwed together? Rest.. perfect! :-) And once we are finished in this issue (the above two things are clear to me), I will adjust the docu and tech-spec. around Parts and Modules. |
yea, I gave it another round in my brain and I guess, just referencing the version-specific repo would be the best option. as outlined, this also allows the reconnection inside the LOSH database.
jepp, Parts are standalone parts. In the TOML file, you'd not reference all items of the BoM, but only the self-designed one that users will find in the repo. all the others need to be acquired anyways, and don't allow for modification etc..
comment on cool, thousand thanks man! 🔥 |
one more thing regarding this topic: in RDF, we have these two properties:
An other question I have is, why is it hasCompnent, but usesModule? |
How to call non-Part & non-Module thingsExample: screws Then again, I know though has already flown into this, which I am not aware of. |
my suggestions:
→ no reason, that's an inconsistency
The BoM lists all components that I need for the module – the ones I need to buy and the ones I need to build myself. the manifest file helps connecting the files that I need for things I need to build myself (CERN OHL uses a very similar distinction; we could also use their system (#available-components)). so we do not list all parts of the module in the manifest file, but only the ones that are part of the repository (+ open source submodules) hope that makes sense :) |
Hello! I work with @hoijui on the FabCity INTERFACER project, and work on the Valueflows ontology. @hoijui asked me to comment here, one question being the English names. I'm a native English speaker, and have lots of data modeling experience, but I am not a maker. And ValueFlows is expressed in RDF, so I have studied it a lot, but I have never actually developed with RDF, and feel I have some practical gaps. So we will see, and I won't be insulted in the least if you disregard my thoughts. :) Names:
One bigger thought on naming: OKH-LOSH doesn't actually represent any of the above, if you are coming in from the bigger picture. It represents designs for those things, not the already built things themselves. Or for the things you always just buy, like screws, it represents the exactly defined "type", not the actual thing. To me, it is important to situate your ontology in the rest of the world, and not make assumptions that people already know it is all about designs. Another thought, about separating your Modules and Parts: It makes sense that makers now always use "commodity" parts like screws that can be ordered from AliBaba, or bought from the hardware store down the street who got them from AliBaba. But in the future, if we look towards more and more localization of production, those distinctions might disappear more and more. Maybe some day there is a small factory in your town that makes screws, and has its own BoM for inputs to those, and is part of your maker network instead of outside it. Maybe some day it goes all the way back to mining the ore. Or not, I don't know how you think about it. Questions that affect naming:
|
Hey @fosterlynn ! nice to finally e-meet you :) sorry for the super late reply regarding your questions:
regarding regarding regarding linking to other ontologies and the bigger context: I believe this gap came by the lack of experience we have in this field. definitely something worth fixing regarding alibaba: OKH-LOSH doesn't make any assumptions about how or where the parts of the design are obtained. standard parts are described by an official standard (as most screws; and therefore fungible), purchased components exist somewhere in the market (and may raise practical limitations when replicating the machine, depending where on earth you're located) and self-designed components are included in a repository. neither the BoM nor the references in the metatdata will replace the final shopping list (but will help to create it) -- thanks for your feedback! hope my answer makes sense and are least a little bit helpful. generally, I'm not very attached to any of these structures or names. I have little to no experience with ontologies and we just did our best to construct something that makes sense and works for us. so feel very free to adjust it to your liking :) in that case I'd like to be kept in the loop to check the results against my engineering perspective and give feedback. |
Same! And thanks for your reply, yes it is helpful! |
In my mind, it would be nice if we could make this ontology such that it can be used (and potentially extend to) anything we come around in the OSH universe, not just what OKH needs right now in its current form. This way it can form a common basis for a lot of technology to come, but also for people to talk to each other about the subject. |
Maybe the goal could be, to limit the ontology such, that it fits into a legible diagram (including icons for things) on a single page? |
Moin! Some unasked comments from my side:
regarding your questions:
|
ehhh wow, thank you @moedn!! :-)
|
As it is now, in RDF, a Module can have "sub-modules" by means of the
okh:usesModule
property:There is no way this could come into existence through the krawler though, as it is at the moment, because it always first generates a TOML manifest (maybe just by downloading it), and then creates RDF from that. Our TOML specification does not allow for sub-modules though, as of now - only for Parts as sub things of a module.
In the course of investigating this, I read up on some of our docu, read the specification(s), and found that (at least to me), it is quite unclear what a module and what a part is. I also found no explanation why we have this distinction, nor a list of the differences, nor a guide when to use which.
This is how it is now (up until August 2023 and at least 945af83), to my best knowledge, and after reading through this repo a bit:
but so far only in RDF, not in:
can be physically separate from the module, but would not make sense to be used in an other module?
Honestly, I am totally confused, and don't know what to tell people who are asking about this stuff.
The text was updated successfully, but these errors were encountered: