Question: What is the connection between Hamlet (the one whose official website is http://www.miramax.com/movie/hamlet) to Sam Shepard?
Choices:
part of the series
organisation directed from the office or person
airline alliance
next higher rank
notable work
cast member
writing system
significant event
parent organization
destination point
Program:
function: Find
inputs: Hamlet
function: FilterStr
dependencies: 0
inputs: official website
http://www.miramax.com/movie/hamlet
function: Find
inputs: Sam Shepard
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.miramax.com/movie/hamlet" . ?e_2 <pred:name> "Sam Shepard" . ?e_1 ?p ?e_2 .  }
Answer: cast member