(distinct (select (bgp (triple ?:x ?:p ?:v)) (?:v)))