update TripleGraph

refactor indexing (also link `[nil p nil]` & `[nil nil o]` to root node)
update add-triple & select impls
add impls for missing PModel methods