Question: Does Thomas Mitchell (the one whose botanist author abbreviation is T.Mitch.) or John Quincy Adams (the one whose name in native language is John Quincy Adams) has greater number of children ?
Choices:
Thomas Mitchell
Sylvester Stallone
Richard Gere
John Quincy Adams
Rahul Dev Burman
William Henry Harrison
David Byrne
Max Fleischer
James E. Reilly
Paul Simon
Answer: Thomas Mitchell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thomas Mitchell" . ?e <botanist_author_abbreviation> ?pv_1 . ?pv_1 <pred:value> "T.Mitch." . } UNION { ?e <pred:name> "John Quincy Adams" . ?e <name_in_native_language> ?pv_2 . ?pv_2 <pred:value> "John Quincy Adams" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Thomas Mitchell
function: FilterStr
dependencies: 0
inputs: botanist author abbreviation
T.Mitch.
function: Find
inputs: John Quincy Adams
function: FilterStr
dependencies: 2
inputs: name in native language
John Quincy Adams
function: SelectBetween
dependencies: 1
3
inputs: number of children
greater