Question: How is The Last Emperor whose official website is http://www.thelastemp.com related to The Last Emperor starring Peter O'Toole?
Choices:
candidate
followed by
operating system
designated as terrorist by
parent astronomical body
parent club
subject has role
named after
material used
place of origin (Switzerland)
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Last Emperor" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.thelastemp.com" . ?e_2 <pred:name> "The Last Emperor" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Peter O'Toole" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Last Emperor
function: FilterStr
dependencies: 0
inputs: official website
http://www.thelastemp.com
function: Find
inputs: Peter O'Toole
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: The Last Emperor
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5