Question: Which has more pages, Starship Troopers that uses English or The Help whose genre is novel?
Choices:
The Help
Along Came a Spider
A Single Man
Contact
Starship Troopers
listed building in the United Kingdom
The Painted Veil
Interview with the Vampire
The Hours
The Maltese Falcon
Answer: Starship Troopers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Starship Troopers" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The Help" . ?e <genre> ?e_2 . ?e_2 <pred:name> "novel" .  } ?e <number_of_pages> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Starship Troopers
function: And
dependencies: 1
2
function: Find
inputs: novel
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: The Help
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of pages
greater