Question: Who has more children, Jonny Lee Miller or Thomas Mitchell (the one that is involved in the conflict Napoleonic Wars)?
Choices: David Byrne
Richard Gere
Jonny Lee Miller
William Henry Harrison
Paul Simon
Thomas Mitchell
James E. Reilly
Sylvester Stallone
Rahul Dev Burman
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jonny Lee Miller" .  } UNION { ?e <pred:name> "Thomas Mitchell" . ?e <conflict> ?e_1 . ?e_1 <pred:name> "Napoleonic Wars" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jonny Lee Miller
function: Find
inputs: Napoleonic Wars
function: Relate
dependencies: 1
inputs: conflict
backward
function: Find
inputs: Thomas Mitchell
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater
Answer: Thomas Mitchell