Question: Is James Cromwell or the 229-lb Ron Howard taller?
Choices:
Richard Gere
James E. Reilly
James Cromwell
Simon Cowell
David Byrne
Ron Howard
Sylvester Stallone
Paul Simon
Max Fleischer
Rahul Dev Burman
Program:
function: Find
inputs: James Cromwell
function: Find
inputs: Ron Howard
function: FilterNum
dependencies: 1
inputs: mass
229 pound
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James Cromwell" . } UNION { ?e <pred:name> "Ron Howard" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "229"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: James Cromwell