Question: Who is taller, Seth MacFarlane or Chris Carter (the one whose mass is 195 pound)?
Choices:
Max Fleischer
Paul Simon
David Byrne
Chris Carter
Seth MacFarlane
James E. Reilly
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Simon Cowell
Program:
function: Find
inputs: Seth MacFarlane
function: Find
inputs: Chris Carter
function: FilterNum
dependencies: 1
inputs: mass
195 pound
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seth MacFarlane" . } UNION { ?e <pred:name> "Chris Carter" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "195"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Carter