Question: Who is shorter, Elizabeth Hurley or John Quincy Adams (the one that hold the position United States Secretary of State)?
Choices:
David Byrne
Paul Simon
Max Fleischer
Richard Gere
James E. Reilly
Rahul Dev Burman
Simon Cowell
Sylvester Stallone
John Quincy Adams
Elizabeth Hurley
Answer: John Quincy Adams
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elizabeth Hurley" .  } UNION { ?e <pred:name> "John Quincy Adams" . ?e <position_held> ?e_1 . ?e_1 <pred:name> "United States Secretary of State" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Elizabeth Hurley
function: Find
inputs: United States Secretary of State
function: Relate
dependencies: 1
inputs: position held
backward
function: Find
inputs: John Quincy Adams
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less