Question: Which has a greater number of pages, The Help (whose ISBN-10 is 0-399-15534-1) or The Spy Who Loved Me (whose narrative location is Adirondack Mountains)?
Choices: Starship Troopers
Live and Let Die
Contact
The Help
The Spy Who Loved Me
listed building in the United Kingdom
The Painted Veil
A Single Man
The Maltese Falcon
The Hours
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Help" . ?e <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "0-399-15534-1" . } UNION { ?e <pred:name> "The Spy Who Loved Me" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Adirondack Mountains" . } ?e <number_of_pages> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Help
function: FilterStr
dependencies: 0
inputs: ISBN-10
0-399-15534-1
function: Find
inputs: Adirondack Mountains
function: Relate
dependencies: 2
inputs: narrative location
backward
function: Find
inputs: The Spy Who Loved Me
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of pages
greater
Answer: The Help