Question: Does Anne V. Coates or Mary-Louise Parker have greater number of children ?
Choices:
Simon Cowell
William Henry Harrison
Richard Gere
James E. Reilly
Max Fleischer
Mary-Louise Parker
David Byrne
Paul Simon
Sylvester Stallone
Anne V. Coates
Program:
function: Find
inputs: Anne V. Coates
function: Find
inputs: Mary-Louise Parker
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anne V. Coates" .  } UNION { ?e <pred:name> "Mary-Louise Parker" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Anne V. Coates