Question: On the Road, released in Finland, is inspired by On the Road, set in the USA, by which writer?
Choices: Department of Statistics Singapore
Ian McEwan
J. G. Ballard
Cormac McCarthy
Jack Kerouac
Frank Herbert
J. K. Rowling
420073
Leo Tolstoy
King of New York
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "On the Road" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Finland" . ?e_2 <pred:name> "On the Road" . ?e_2 <narrative_location> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <author> ?qpv .  }
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: On the Road
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: On the Road
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: based on
author
Answer: Jack Kerouac