Question: Who is the member of a national association football team that includes Scott McDonald, and played 40 games for the team ?
Choices:
Scott McDonald
Richard Gere
Joshua Kennedy
Gary Cole
Vince Grella
David Carney
Max Fleischer
Sylvester Stallone
Peter Boyle
William Henry Harrison
Answer: Gary Cole
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "national association football team" . ?e_2 <member_of_sports_team> ?e_1 . ?e_2 <pred:name> "Scott McDonald" .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "40"^^xsd:double .  }
Program:
function: Find
inputs: Scott McDonald
function: Relate
dependencies: 0
inputs: member of sports team
forward
function: FilterConcept
dependencies: 1
inputs: national association football team
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: QFilterNum
dependencies: 3
inputs: number of matches played/races/starts
40
=
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5