Question: Who has more kids, John Powell that is famous for violin or Jennifer Love Hewitt?
Choices:
Max Fleischer
Richard Gere
Jennifer Love Hewitt
Sylvester Stallone
Simon Cowell
David Byrne
James E. Reilly
John Powell
Rahul Dev Burman
Paul Simon
Answer: Jennifer Love Hewitt
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Powell" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> "violin" .   } UNION { ?e <pred:name> "Jennifer Love Hewitt" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: violin
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: John Powell
function: And
dependencies: 1
2
function: Find
inputs: Jennifer Love Hewitt
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater