Question: What human is a member of Crewe Alexandra F.C. (the number of games played of this statement is 5) and has the occupation of association football manager?
Choices:
David Byrne
John Mahoney
Max Fleischer
James E. Reilly
William Henry Harrison
David Healy
Rahul Dev Burman
Sylvester Stallone
Simon Cowell
Michael Jackson
Program:
function: Find
inputs: Crewe Alexandra F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterNum
dependencies: 1
inputs: number of matches played/races/starts
5
=
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: association football manager
function: Relate
dependencies: 4
inputs: occupation
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> "Crewe Alexandra 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> "5"^^xsd:double . ?e <occupation> ?e_2 . ?e_2 <pred:name> "association football manager" .  }
Answer: Michael Jackson