Question: Who is shorter, Craig Robinson (the one that was born in East Orange) or David Carney?
Choices:
Simon Cowell
Max Fleischer
David Carney
William Henry Harrison
David Byrne
Rahul Dev Burman
James E. Reilly
Paul Simon
Richard Gere
Sylvester Stallone
Program:
function: Find
inputs: East Orange
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Craig Robinson
function: And
dependencies: 1
2
function: Find
inputs: David Carney
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craig Robinson" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "East Orange" .   } UNION { ?e <pred:name> "David Carney" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: David Carney