Question: What is the relationship between Muhammad and a politician?
Choices:
noble title
position held
occupation
captain
main subject
collection
voice actor
broadcast by
located in or next to body of water
allegiance
Program:
function: Find
inputs: Muhammad
function: Find
inputs: politician
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Muhammad" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation