SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/firstTeam> <http://dbpedia.org/resource/Scuderia_Ferrari> . ?x <http://dbpedia.org/property/poleDriver> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/GrandPrix>}
In all the grand prixes where the first team was Scuderia Ferrari, who all were the pole drivers?
SELECT DISTINCT ?p WHERE { ?w property:pole_driver ?p . ?w property:first_team resource:Scuderia_Ferrari . ?w rdf:type ontology:Grand_Prix }
answer
The pole drivers of the grand prixes whose first team was Scuderia Ferrari are [answer].
The drivers from pole position at the Grand Prix, whose first team was the Scuderia Ferrari, are [the answer].