Question: What is the connection between The Flintstones in Viva Rock Vegas to California (the one that is the narrative location of Green Lantern)?
Choices: narrative role
product or material produced
filming location
narrative location
commissioned by
start point
position played on team / speciality
lyrics by
voice actor
has cause
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Flintstones in Viva Rock Vegas" . ?e_2 <pred:name> "California" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Green Lantern" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Flintstones in Viva Rock Vegas
function: Find
inputs: Green Lantern
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: California
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: filming location