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