Question: What is the connection between American Gangster (the one whose production company is Relativity Media) to Relativity Media?
Choices:
educated at
narrative location
composer
architect
student of
had as last meal
mother
country for sport
territory claimed by
production company
Program:
function: Find
inputs: Relativity Media
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: American Gangster
function: And
dependencies: 1
2
function: Find
inputs: Relativity Media
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "American Gangster" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Relativity Media" . ?e_2 <pred:name> "Relativity Media" . ?e_1 ?p ?e_2 .  }
Answer: production company