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