We need to be able to represent compartment names (this is already done by the class KECompartmentName
) but also be able to represent queries on compartments. Queries should be applied to models and returns a full list of compartment names.
On a model with 2 species: model compartmentNamesFromQuery: #S_species
should returns a collection of KECompartmentNames
like {status->S. species->human}, (status ->S. species->bird}
.
Queries can mix attributes and value of attributes like:
- S_species
- S_human
- S_human_patch
- S_human_1
Should we reify queries as objects keep them as String?