Question: What is the title of the written work that inspired The Painted Veil (exploitation visa number 117118)?
Choices:
Jackson
The Painted Veil
The Hunchback of Notre Dame
Borat: Cultural Learnings of America for Make Benefit Glorious Nation of Kazakhstan
Veronica Mars
Beloved
Raiders of the Lost Ark
The Guard
Meet Dave
The Bourne Legacy
Answer: The Painted Veil
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The Painted Veil" . ?e_1 <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "117118" . ?e <title> ?pv .  }
Program:
function: Find
inputs: The Painted Veil
function: FilterStr
dependencies: 0
inputs: exploitation visa number
117118
function: Relate
dependencies: 1
inputs: based on
forward
function: FilterConcept
dependencies: 2
inputs: written work
function: QueryAttr
dependencies: 3
inputs: title