(select (filter (bgp (triple ?:s ?:o) (triple ?::s2 ?::o2)) (= (+ ?:o ?::o2) 3)) (?:s))