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