Question: Which has fewer pages, The Help (the one whose ISBN-13 is 978-4-08-760642-3) or Starship Troopers (the one whose inception time is 1958)?
Choices:
The Painted Veil
The Hours
Interview with the Vampire
The Maltese Falcon
The Help
Contact
Live and Let Die
A Single Man
Starship Troopers
Along Came a Spider
Answer: The Help
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Help" . ?e <ISBN-13> ?pv_1 . ?pv_1 <pred:value> "978-4-08-760642-3" . } UNION { ?e <pred:name> "Starship Troopers" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1958 . } ?e <number_of_pages> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Help
function: FilterStr
dependencies: 0
inputs: ISBN-13
978-4-08-760642-3
function: Find
inputs: Starship Troopers
function: FilterYear
dependencies: 2
inputs: inception
1958
=
function: SelectBetween
dependencies: 1
3
inputs: number of pages
less