Question: Who is shorter, Dave Foley (the one that is the citizen of United States of America) or Alyson Hannigan?
Choices:
Richard Gere
Paul Simon
James E. Reilly
David Byrne
Sylvester Stallone
Max Fleischer
Alyson Hannigan
William Henry Harrison
Rahul Dev Burman
Dave Foley
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Dave Foley
function: And
dependencies: 1
2
function: Find
inputs: Alyson Hannigan
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dave Foley" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Alyson Hannigan" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alyson Hannigan