Question: Who is the individual born before 1987, and that is a member of Peterborough United F.C. (the number of games played is 9)?
Choices:
Jade North
William Henry Harrison
Marc Joseph
Robert Taylor
Paul Walker
Andy Williams
Sylvester Stallone
Max Fleischer
Adam Smith
Gary Cooper
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1987
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Peterborough United F.C.
function: Relate
dependencies: 3
inputs: member of sports team
backward
function: QFilterNum
dependencies: 4
inputs: number of matches played/races/starts
9
=
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1987 ) . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Peterborough United F.C." . [ <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> "9"^^xsd:double .  }
Answer: Adam Smith