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