Subject-based triples groups: s-TG of vertex v\inV is a set of triples in which their subject is v
denoted by s-TG(v)= {(u,w)\(u,w)\inE, u = v}
Object-based triples groups: o-TG of vertex v\inV is a set of triples in which their object is v
denoted by s-TG(v)= {(u,w)\(u,w)\inE, w = v}
Subject-object-based triple groups: so-TG of vertex v\inV is a set of triples in which their object is v
denoted by s-TG(v)= {(u,w)\(u,w)\inE, v\in{u,w}}
Construct triple groups for input vertices
Subject-based triples groups: s-TG of vertex v\inV is a set of triples in which their subject is v denoted by s-TG(v)= {(u,w)\(u,w)\inE, u = v}
Object-based triples groups: o-TG of vertex v\inV is a set of triples in which their object is v denoted by s-TG(v)= {(u,w)\(u,w)\inE, w = v}
Subject-object-based triple groups: so-TG of vertex v\inV is a set of triples in which their object is v denoted by s-TG(v)= {(u,w)\(u,w)\inE, v\in{u,w}}