Question: Who has fewer children, John Cale or Harrison Ford (the one that is an ethnic group of Jewish people)?
Choices:
Harrison Ford
David Byrne
William Henry Harrison
Max Fleischer
Simon Cowell
Rahul Dev Burman
Richard Gere
John Cale
Sylvester Stallone
James E. Reilly
Answer: John Cale
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Cale" .  } UNION { ?e <pred:name> "Harrison Ford" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> "Jewish people" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: John Cale
function: Find
inputs: Jewish people
function: Relate
dependencies: 1
inputs: ethnic group
backward
function: Find
inputs: Harrison Ford
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less