Question: How is John Waters, who has a birth name of John Samuel Waters, related to Jackass Number Two?
Choices: donated by
owned by
costume designer
cast member
territory overlaps
terminus
genre
art director
make-up artist
software engine
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jackass Number Two" . ?e_2 <pred:name> "John Waters" . ?e_2 <birth_name> ?pv . ?pv <pred:value> "John Samuel Waters" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jackass Number Two
function: Find
inputs: John Waters
function: FilterStr
dependencies: 1
inputs: birth name
John Samuel Waters
function: QueryRelation
dependencies: 0
2
Answer: cast member