Question: What does John Waters (whose CANTIC-ID is a11489753) have to do with screenwriter?
Choices:
foundational text
depicts
occupation
film regional debut venue
lowest point
ancestral home
airline hub
league
screenwriter
doctoral student
Program:
function: Find
inputs: John Waters
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a11489753
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Waters" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a11489753" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Answer: occupation