Question: Who has more children, Lester Holt or Thomas Mitchell (the one whose British Museum person-institution is 126335)?
Choices:
Max Fleischer
Richard Gere
Paul Simon
Lester Holt
Sylvester Stallone
James E. Reilly
Thomas Mitchell
Rahul Dev Burman
David Byrne
William Henry Harrison
Program:
function: Find
inputs: Lester Holt
function: Find
inputs: Thomas Mitchell
function: FilterStr
dependencies: 1
inputs: British Museum person-institution
126335
function: SelectBetween
dependencies: 0
2
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lester Holt" . } UNION { ?e <pred:name> "Thomas Mitchell" . ?e <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> "126335" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thomas Mitchell