Question: In 2012, what football player was the Ravens quarterback with 151 passing attempts?
Answer(s):
answer: Joe Flacco

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.01ct6)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01ct6 ns:sports.sports_team.roster ?y .
?y ns:sports.sports_team_roster.player ?x .
?y ns:sports.sports_team_roster.position ns:m.06b1q .
FILTER(NOT EXISTS {?y ns:sports.sports_team_roster.from ?sk0} || 
EXISTS {?y ns:sports.sports_team_roster.from ?sk1 . 
FILTER(xsd:datetime(?sk1) <= "2012-12-31"^^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) >= "2012-01-01"^^xsd:dateTime) })
?x ns:american_football.football_player.passing ?c .
?c ns:american_football.player_passing_statistics.attempts "151" . 
}