Question: What's the relationship between the screenwriter Stephen King and Carrie (official website http://www.carrie-movie.com/site)?
Choices:
after a work by
official residence
main subject
composer
patron saint
director/manager
academic degree
airline alliance
seed team
work location
Program:
function: Find
inputs: Carrie
function: FilterStr
dependencies: 0
inputs: official website
http://www.carrie-movie.com/site
function: Find
inputs: screenwriter
function: Relate
dependencies: 2
inputs: occupation
backward
function: Find
inputs: Stephen King
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carrie" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.carrie-movie.com/site" . ?e_2 <pred:name> "Stephen King" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Answer: after a work by