Question: Who is shorter: Jennifer Aniston or George Washington, who famously suffered tuberculosis?
Choices:
Sylvester Stallone
Jennifer Aniston
James E. Reilly
George Washington
Richard Gere
Rahul Dev Burman
Paul Simon
Max Fleischer
William Henry Harrison
David Byrne
Program:
function: Find
inputs: Jennifer Aniston
function: Find
inputs: tuberculosis
function: Relate
dependencies: 1
inputs: notable people with this condition
forward
function: Find
inputs: George Washington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jennifer Aniston" .  } UNION { ?e <pred:name> "George Washington" . ?e_1 <notable_people_with_this_condition> ?e . ?e_1 <pred:name> "tuberculosis" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jennifer Aniston