Question: Does Alex Kingston or Mary McDonnell have more children?
Choices:
James E. Reilly
William Henry Harrison
Max Fleischer
Alex Kingston
Simon Cowell
Rahul Dev Burman
Richard Gere
Sylvester Stallone
Mary McDonnell
Paul Simon
Program:
function: Find
inputs: Alex Kingston
function: Find
inputs: Mary McDonnell
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alex Kingston" .  } UNION { ?e <pred:name> "Mary McDonnell" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mary McDonnell