Question: What is the relationship between Hercules (the one whose genre is adventure film) and Ancient Greece?
Choices:
followed by
narrative location
publisher
part of
approved by
applies to jurisdiction
location of final assembly
platform
cast member
inspired by
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Ancient Greece
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "adventure film" . ?e_2 <pred:name> "Ancient Greece" . ?e_1 ?p ?e_2 .  }
Answer: narrative location