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