opencaesar / oml-template

A template OML repo that can be forked
http://www.opencaesar.io/oml-template/
Apache License 2.0
1 stars 2 forks source link

[ENHANCEMENT] technique for variant modeling #5

Open StevenJenkinsJPL opened 9 months ago

StevenJenkinsJPL commented 9 months ago

I've always thought that OWL named graphs are a good mechanism for modeling variants. In the simplest case, create one description for common assertions and one for each variant. Then there are two scopes for reporting and analysis: common plus variant 1, common plus variant 2. This extends to nested subvariants and arbitary combinations of variants, e.g., space optical plus ground optical, space RF plus ground RF, excluding optical/RF combinations.

I think we have everything we need to do this now with the exception of specifying multiple variant description roots (i.e., bundles) in build.gradle and the nesting the resulting analysis products under the appropriate variant. This seems like a really clean way to go about it and doesn't require any new notation or vocabulary for variants per se.

I suppose we could make a separate branch in git for each variant but that seems almost impossible to manage.

It might be helpful for the UI to have a perspective for each description root and hide anything not transitively imported by it. Switching perspectives is just a click.

Thoughts?

StevenJenkinsJPL commented 9 months ago

Simple example with two variant designs for a mission. variant