Question: Is the shorter individual James Monroe who took part in the 3rd US Congress or Kate Flannery?
Choices:
Rahul Dev Burman
Richard Gere
Kate Flannery
William Henry Harrison
James E. Reilly
David Byrne
Simon Cowell
Sylvester Stallone
James Monroe
Paul Simon
Answer: Kate Flannery
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James Monroe" . ?e_1 <participant> ?e . ?e_1 <pred:name> "3rd United States Congress" .   } UNION { ?e <pred:name> "Kate Flannery" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: 3rd United States Congress
function: Relate
dependencies: 0
inputs: participant
forward
function: Find
inputs: James Monroe
function: And
dependencies: 1
2
function: Find
inputs: Kate Flannery
function: SelectBetween
dependencies: 3
4
inputs: height
less