Question: What is David Banner's (famous for Crunk) association to record production?
Choices:
sex or gender
participant of
maintained by
symptoms
league
substitute/deputy/replacement of office/officeholder
movement
medical condition
Wikidata property
occupation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Banner" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "Crunk" . ?e_2 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Crunk
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: David Banner
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: QueryRelation
dependencies: 3
4