Question: Does Planet of the Apes (that uses the French language) or Starship Troopers (whose ISBN-10 is 0-450-02576-4) have more pages?
Choices:
Live and Let Die
Planet of the Apes
The Painted Veil
The Maltese Falcon
Along Came a Spider
Interview with the Vampire
listed building in the United Kingdom
Starship Troopers
Contact
The Hours
Answer: Starship Troopers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Planet of the Apes" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "French" . } UNION { ?e <pred:name> "Starship Troopers" . ?e <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "0-450-02576-4" . } ?e <number_of_pages> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: French
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Planet of the Apes
function: And
dependencies: 1
2
function: Find
inputs: Starship Troopers
function: FilterStr
dependencies: 4
inputs: ISBN-10
0-450-02576-4
function: SelectBetween
dependencies: 3
5
inputs: number of pages
greater