Question: Does Jennifer Garner or Democrat Charles Bronson have fewer kids?
Choices:
Richard Gere
Charles Bronson
James E. Reilly
Jennifer Garner
Simon Cowell
David Byrne
Paul Simon
William Henry Harrison
Rahul Dev Burman
Max Fleischer
Program:
function: Find
inputs: Jennifer Garner
function: Find
inputs: Democratic Party
function: Relate
dependencies: 1
inputs: member of political party
backward
function: Find
inputs: Charles Bronson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jennifer Garner" .  } UNION { ?e <pred:name> "Charles Bronson" . ?e <member_of_political_party> ?e_1 . ?e_1 <pred:name> "Democratic Party" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jennifer Garner