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