PREFIX xsd: SELECT ?s WHERE { ?s ?p "b"^^xsd:string, "hi" }