Question: What person is a member of Cambridge United F.C. (having played 39 games) and has a mass that is not 85 kilograms?
Choices:
David Byrne
Rahul Dev Burman
Jermaine Easter
Juan Mata
Richard Gere
Paul Williams
Simon Cowell
Sylvester Stallone
Max Fleischer
John Ruddy
Program:
function: Find
inputs: Cambridge United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterNum
dependencies: 1
inputs: number of matches played/races/starts
39
=
function: FilterConcept
dependencies: 2
inputs: human
function: FindAll
function: FilterNum
dependencies: 4
inputs: mass
85 kilogram
!=
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> "Cambridge 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> "39"^^xsd:double . ?e <mass> ?pv . ?pv <pred:unit> "kilogram" . ?pv <pred:value> ?v . FILTER ( ?v != "85"^^xsd:double ) .  }
Answer: John Ruddy