Question: The gay-identifying Anthony Wong is related in what way to record producer?
Choices:
registered with
nutrient
basin country
industry
occupation
original film format
league
architectural style
capital
commander of
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Anthony Wong" . ?e_1 <sexual_orientation> ?e_3 . ?e_3 <pred:name> "gay" . ?e_2 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: gay
function: Relate
dependencies: 0
inputs: sexual orientation
backward
function: Find
inputs: Anthony Wong
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: QueryRelation
dependencies: 3
4