Question: Is the title of a movie, based on On the Road (the one whose narrative location is United States of America) by Jack Kerouac, equal to Texas Rangers ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "On the Road" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "United States of America" .  [ <pred:fact_h> ?e ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_1 ] <author> ?qpv . ?qpv <pred:value> "Jack Kerouac" . ?e <title> ?pv . ?pv <pred:value> "Texas Rangers" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: On the Road
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: QFilterStr
dependencies: 4
inputs: author
Jack Kerouac
function: FilterConcept
dependencies: 5
inputs: film
function: QueryAttr
dependencies: 6
inputs: title
function: VerifyStr
dependencies: 7
inputs: Texas Rangers