SELECT ?o ?p ?s WHERE { ?s ?p ?o . FILTER ( REGEX( ?o , "foo"@en , "i"^^ ) ) }