prefix : SELECT ?c { :x :str ?c . :regex :pattern ?pat . FILTER regex(?c, ?pat) }