Question: What is the connection between House (the one whose genre is film based on literature) to Lions Gate Entertainment?
Choices: based on
located in time zone
distributor
has quality
coextensive with
performer
participant of
filmography
partially contains
part of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "House" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film based on literature" . ?e_2 <pred:name> "Lions Gate Entertainment" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: House
function: And
dependencies: 1
2
function: Find
inputs: Lions Gate Entertainment
function: QueryRelation
dependencies: 3
4
Answer: distributor