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