Question: Who has more children, Billy Zane or Nancy Marchand?
Choices:
Billy Zane
Sylvester Stallone
Max Fleischer
Nancy Marchand
Simon Cowell
Richard Gere
William Henry Harrison
Rahul Dev Burman
James E. Reilly
David Byrne
Program:
function: Find
inputs: Billy Zane
function: Find
inputs: Nancy Marchand
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Billy Zane" .  } UNION { ?e <pred:name> "Nancy Marchand" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nancy Marchand