Question: What is the connection between Downton Abbey (the one whose Twitter username is DowntonAbbey) to Allen Leech?
Choices:
chief executive officer
archives at
candidacy in election
business division
office contested
diplomatic relation
cast member
headquarters location
owned by
geographic distribution
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Downton Abbey" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "DowntonAbbey" . ?e_2 <pred:name> "Allen Leech" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Downton Abbey
function: FilterStr
dependencies: 0
inputs: Twitter username
DowntonAbbey
function: Find
inputs: Allen Leech
function: QueryRelation
dependencies: 1
2