efficient algorithm

1 triples
GPTKB property