There are two separate sets of RDF:
- Template descriptions, such as template.ttl, which is a description of the basic model below, are intended to be used by model generation tools for both validation and generation.
- Model definitions, such as vascular.ttl, which uses
template.ttlto define both a straight segment and a branch in a vascular network. The example only specifies interconnections, but would normally also specify model parameters and states (e.g. from ApiNATOMY).
Shape expressions are used to validate RDF structure:
- template.shex for template descriptions.
- bgmodel.shex for model definitions.
poetry shell
shexeval -A models/template.ttl shex/template.shex
shexeval -A models/vascular.ttl shex/bgmodel.shex
I’ve been thinking a bit more about this and wonder if we should simplify it a bit further.
If the basic module is:
the boundary conditions can be specified as either or at the LH end and either or at the RH end. Serial additions or bifurcations are straightforward:
And insertion of a more complex network is:


