Question: What players are on the hockey team with the captain of Dion Phaneuf?
Answer(s):
answer: Roman Polák
answer: David Booth
answer: Mark Owuya
answer: James van Riemsdyk
answer: David Clarkson
answer: James Reimer
answer: Daniel Winnik
answer: Mike Santorelli
answer: Ryan O'Byrne
answer: Eric Brewer
answer: Jake Gardiner
answer: Dion Phaneuf
answer: Tyler Bozak
answer: Nazem Kadri
answer: Joffrey Lupul
answer: Brandon Kozun
answer: Paul Ranger
answer: Leo Komarov
answer: Stéphane Robidas
answer: Jerred Smithson
answer: Phil Kessel
answer: Jonathan Bernier
answer: Cody Franson
answer: Ryan Lasch
answer: Matt Frattin

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:ice_hockey.hockey_team.captain ns:m.04xk_7 . 
?c ns:sports.sports_team.roster ?y .
?y ns:sports.sports_team_roster.player ?x .
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.from ?sk0} || 
EXISTS {?y ns:sports.sports_team_roster.from ?sk1 . 
FILTER(xsd:datetime(?sk1) <= "2015-08-10"^^xsd:dateTime) })
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.to ?sk2} || 
EXISTS {?y ns:sports.sports_team_roster.to ?sk3 . 
FILTER(xsd:datetime(?sk3) >= "2015-08-10"^^xsd:dateTime) })
}