Question: What is the relation between the action film Hercules and Peter Berg that was nominated for a Primetime Emmy Award for Outstanding Drama Series?
Choices: child
original network
replaced by
languages spoken, written or signed
exported to
lyrics by
executive producer
operating area
nominated for
author
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "action film" . ?e_2 <pred:name> "Peter Berg" . ?e_2 <nominated_for> ?e_4 . ?e_4 <pred:name> "Primetime Emmy Award for Outstanding Drama Series" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Drama Series
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Peter Berg
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: executive producer