Question: Which literary work contain a narrative location - the state of the United States that contains Indian River County ?
Choices:
Contact
Flight
Meet the Fockers
The Godfather
Days of Thunder
Pretty Little Liars
Cloud Atlas
Apollo 13
From the Earth to the Moon
Transformers: Dark of the Moon
Program:
function: Find
inputs: Indian River County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Relate
dependencies: 2
inputs: narrative location
backward
function: FilterConcept
dependencies: 3
inputs: literary work
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e <narrative_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Indian River County" .   }
Answer: From the Earth to the Moon