select ?p ?s ?o from http://bla where (?s ?p ?o) (?o fun:bla zz:goo) and ?s ~ "bla"