Question: Is Chris Brown, at 72-inches tall, or Brett Favre lighter in weight?
Choices:
Rahul Dev Burman
Brett Favre
James E. Reilly
Richard Gere
William Henry Harrison
Paul Simon
David Byrne
Max Fleischer
Chris Brown
Simon Cowell
Program:
function: Find
inputs: Chris Brown
function: FilterNum
dependencies: 0
inputs: height
72 inch
=
function: Find
inputs: Brett Favre
function: SelectBetween
dependencies: 1
2
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Brown" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "72"^^xsd:double . } UNION { ?e <pred:name> "Brett Favre" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Chris Brown