select DISTINCT ?R where { ?R ?x ?y. FILTER ( regex(str(?R), "http://example.org/") ) }