Question: John Abraham (the one whose mass is 263 pound) or Jack Kemp?
Choices:
Max Fleischer
David Byrne
Paul Simon
John Abraham
Jack Kemp
Rahul Dev Burman
Richard Gere
James E. Reilly
Sylvester Stallone
William Henry Harrison
Program:
function: Find
inputs: John Abraham
function: FilterNum
dependencies: 0
inputs: mass
263 pound
=
function: Find
inputs: Jack Kemp
function: SelectBetween
dependencies: 1
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Abraham" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "263"^^xsd:double . } UNION { ?e <pred:name> "Jack Kemp" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jack Kemp