Question: Which has a lesser height, David Tennant or Chuck Norris (who has the religion of the Baptists)?
Choices:
David Tennant
Simon Cowell
David Byrne
James E. Reilly
Paul Simon
Chuck Norris
Rahul Dev Burman
Max Fleischer
Richard Gere
William Henry Harrison
Answer: Chuck Norris
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Tennant" .  } UNION { ?e <pred:name> "Chuck Norris" . ?e <religion> ?e_1 . ?e_1 <pred:name> "Baptists" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: David Tennant
function: Find
inputs: Baptists
function: Relate
dependencies: 1
inputs: religion
backward
function: Find
inputs: Chuck Norris
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less