Question: What is the link between Alien (that has Sigourney Weaver as a cast member) and English?
Choices:
is a list of
business division
depicted by
grants
influenced by
original network
uses
field of work
original language of film or TV show
author
Answer: original language of film or TV show
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alien" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sigourney Weaver" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sigourney Weaver
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alien
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4