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