PREFIX list: PREFIX : SELECT ?x ?idx { ?x :p ?list . ?list list:index (?idx "C") }