Question: Which has more pages, The Help which has an ISBN-10 number of 0-399-15534-1 or Midnight's Children, which is authored by Salman Rushdie?
Choices:
The Hours
Live and Let Die
A Single Man
Contact
The Help
listed building in the United Kingdom
Midnight's Children
The Painted Veil
Interview with the Vampire
The Maltese Falcon
Answer: The Help
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> "Midnight's Children" . ?e <author> ?e_1 . ?e_1 <pred:name> "Salman Rushdie" . } ?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: Salman Rushdie
function: Relate
dependencies: 2
inputs: author
backward
function: Find
inputs: Midnight's Children
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of pages
greater