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