Question: Is the page count lower for The Spy Who Loved Me, set in the Adirondack Mountains, or the novel The Help?
Choices:
Contact
The Help
Starship Troopers
The Spy Who Loved Me
listed building in the United Kingdom
The Painted Veil
Interview with the Vampire
A Single Man
The Hours
The Maltese Falcon
Program:
function: Find
inputs: Adirondack Mountains
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Spy Who Loved Me
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
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Spy Who Loved Me" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Adirondack Mountains" .   } 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 ?v LIMIT 1
Answer: The Spy Who Loved Me