PREFIX : PREFIX rdf: PREFIX rdfs: PREFIX xsd: # No matches SELECT ?v WHERE { ?x :p ?v . FILTER ( ?v = "a" ) }