Question: Who has less height, Stephen Colbert (who works in the Washington, D.C., location) or Thomas Jefferson (who founded University of Virginia School of Law)?
Choices:
William Henry Harrison
Stephen Colbert
Simon Cowell
Richard Gere
Thomas Jefferson
Rahul Dev Burman
James E. Reilly
Sylvester Stallone
Paul Simon
Max Fleischer
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Find
inputs: University of Virginia School of Law
function: Relate
dependencies: 4
inputs: found
backward
function: Find
inputs: Thomas Jefferson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stephen Colbert" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "Washington, D.C." .   } UNION { ?e <pred:name> "Thomas Jefferson" . ?e <found> ?e_2 . ?e_2 <pred:name> "University of Virginia School of Law" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Stephen Colbert