Question: Between two people, Darlington F.C. member Ross Turnbull, or Mark Williams, who has a mass of 83 kilograms, which person has a smaller mass?
Choices:
Ross Turnbull
David Byrne
Simon Cowell
Richard Gere
Mark Williams
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
Paul Simon
William Henry Harrison
Program:
function: Find
inputs: Mark Williams
function: FilterNum
dependencies: 0
inputs: mass
83 kilogram
=
function: Find
inputs: Darlington F.C.
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Ross Turnbull
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Williams" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "83"^^xsd:double . } UNION { ?e <pred:name> "Ross Turnbull" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Darlington F.C." . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mark Williams