Tree-specific sequences and whether certain tails are found within a particular "node".
A SPARQL-based test to check whether a node is listed as its own child.
I also add a test script that deliberately constructs invalid trees to ensure that the SHACL tests catch them. This lead to me rearranging the SHACL code somewhat.
In this pull request, I add the SHACL-based tests I suggested in http://www.phyloref.org/blog/2016/10/validating-shapes/, namely:
I also add a test script that deliberately constructs invalid trees to ensure that the SHACL tests catch them. This lead to me rearranging the SHACL code somewhat.