Question: What is the relationship between John Adams (the one whose official website is http://www.hbo.com/films/johnadams) and Sarah Polley?
Choices:
board member
month of the year
named after
sexual orientation
ancestral home
dialect of
cast member
cause of death
editor
twinned administrative body
Program:
function: Find
inputs: John Adams
function: FilterStr
dependencies: 0
inputs: official website
http://www.hbo.com/films/johnadams
function: Find
inputs: Sarah Polley
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.hbo.com/films/johnadams" . ?e_2 <pred:name> "Sarah Polley" . ?e_1 ?p ?e_2 .  }
Answer: cast member