# Whichliterals have xsd:string as a datatype PREFIX : PREFIX xsd: SELECT ?x { ?x :p ?v . FILTER( datatype(?v) = xsd:string ) }