Question: Who is the author of On the Road (the one released in Hungary) that is based on On the Road (the one released in1957)?
Choices: J. K. Rowling
Department of Statistics Singapore
Cormac McCarthy
J. G. Ballard
Leo Tolstoy
Madison Avenue
Jack Kerouac
Ian McEwan
9.9
Frank Herbert
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "On the Road" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Hungary" . ?e_2 <pred:name> "On the Road" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1957 . ?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: Hungary
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: On the Road
function: And
dependencies: 1
2
function: Find
inputs: On the Road
function: FilterYear
dependencies: 4
inputs: publication date
1957
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: based on
author
Answer: Jack Kerouac