Question: What is the relationship between Bad Teacher (the one that uses the language English) and Sony Pictures?
Choices:
set in period
maintained by
model item
licensed to broadcast to
student of
business division
production company
has cause
works in collection
drafted by
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Bad Teacher
function: And
dependencies: 1
2
function: Find
inputs: Sony Pictures
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bad Teacher" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Sony Pictures" . ?e_1 ?p ?e_2 .  }
Answer: production company