ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Determine how to distinguish between relationships that ought to use subforms vs those that ought to use references. #494

Closed allynt closed 7 years ago

allynt commented 7 years ago

How to distinguish between relationships that ought to use subforms vs those that ought to use references.

allynt commented 7 years ago

This can either be hard-coded; ie: always treat model.simulates and realm.processes as a hiearchy, or it could be a customization.

allynt commented 7 years ago

The treeview would look something like: viewer

Where I can find all the "simulates" of a "model" and all the "processes" of a "realm" and all the "sub-processes" of a "process"

allynt commented 7 years ago

There are multiple properties that can support a hierarchy.

At the model level there is SIMULATES which points to realms. At the realm level there are PROCESSES which points to process. At the process level there are SUB_PROCESSES.

At the model level there is also There is also COUPLED_COMPONENTS and INTERNAL_SOFTWARE_COMPONENTS which point to software_components.

During ontology ingestions, the Q can mark a proxy as "hierarchy". And there will also be some recursive fn to extract a hierarchy from a QModelProxy.

For CMIP6 only the former hierarchy path will be used to construct a treeview.

Other projects may use the latter hierarchy path instead of or in addition to the former one. I do not know how to render multiple hierarchy paths and am deferring that task [#526].