Question: Is Ron Howard (whose weight is 200 pounds) or Priyanka Chopra Jonas shorter in height?
Choices:
Priyanka Chopra Jonas
Richard Gere
Paul Simon
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
David Byrne
William Henry Harrison
Ron Howard
Simon Cowell
Program:
function: Find
inputs: Ron Howard
function: FilterNum
dependencies: 0
inputs: mass
200 pound
=
function: Find
inputs: Priyanka Chopra Jonas
function: SelectBetween
dependencies: 1
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ron Howard" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "200"^^xsd:double . } UNION { ?e <pred:name> "Priyanka Chopra Jonas" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Priyanka Chopra Jonas