Question: How is James Stewart (the one whose official website is http://www.jimmy.org) connected to television director?
Choices: public holiday
place of burial
famous people
coextensive with
residence
affiliation
conferred by
occupation
place of origin (Switzerland)
registered with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Stewart" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.jimmy.org" . ?e_2 <pred:name> "television director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James Stewart
function: FilterStr
dependencies: 0
inputs: official website
http://www.jimmy.org
function: Find
inputs: television director
function: QueryRelation
dependencies: 1
2
Answer: occupation