Open DiellzaElshani opened 2 years ago
I already started a prototyping branch to support this feature: experiment-ExtendToNonBHoMObjects
. In theory it is not that complex, but in practice there are tricky things that I am struggling to support, like Lists. I will keep working to see what we can do.
Example ttl file: https://github.com/LBDserver/resources/blob/main/duplex/duplex.ttl
Good, we need some very simple and streamlined TTL example files. Something with just one object and as few classes and prefixes as possible.
How are you implementing this feature? I imagine two ways:
In the first way, the data flow is: RDF data with BOT Concepts -> runtime BHoM objects
In the second way, the data flow is: RDF data with BOT Concepts -> RDF data with BHoM concepts -> runtime BHoM objects
I found the second way more interesting because it can work at the level of the ontologies.
@danielhz interesting, I think I understand what you mean, but to make sure, could you make an example? Maybe we could discuss this in a chat, or if you could write down an example with a BHoM object that has a correspondence in BOT here?
To my knowledge, we haven't defined an equivalence between BOT and BHoM concepts yet. @DiellzaElshani said she will work on the alignment of both ontologies, and this is a use case. If the alignment is defined, then you can use it to make the transformation.
The conversion from ttl graph (even edited one) to BHoM objects works well at the moment. However, reading any graph (e.g. BOT ontology data) and converting it to custom BHoM objects should also be part of our tool. In this case we increase the usability of the tool.
I will workshop some ideas on this topic; if @alelom you have something in mind, please share.
Description: