Question: Which human is a member of Boston United F.C. (having played 8 games) and a member of Peterborough United F.C.?
Choices:
James E. Reilly
Richard Gere
Simon Cowell
Paul Simon
Jason Lee
Adam Smith
Sylvester Stallone
William Henry Harrison
Rahul Dev Burman
Max Fleischer
Program:
function: Find
inputs: Boston United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterNum
dependencies: 1
inputs: number of matches played/races/starts
8
=
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: Peterborough United F.C.
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Boston 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> "8"^^xsd:double . ?e <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Peterborough United F.C." .  }
Answer: Adam Smith