Question: Does Tom Werner or lawyer George Miller have fewer kids?
Choices:
Max Fleischer
Simon Cowell
Tom Werner
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
James E. Reilly
George Miller
Paul Simon
Richard Gere
Answer: George Miller
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tom Werner" .  } UNION { ?e <pred:name> "George Miller" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "lawyer" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tom Werner
function: Find
inputs: lawyer
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: George Miller
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less