Question: Which music genre of A. R. Rahman hails from India, which has diplomatic ties to South Sudan?
Choices:
symphony
world music
avant-garde music
experimental rock
Hindustani classical music
classical music
Synthpunk
post-punk revival
Carnatic music
Mandopop
Program:
function: Find
inputs: South Sudan
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: music genre
function: Find
inputs: A. R. Rahman
function: Relate
dependencies: 6
inputs: genre
forward
function: FilterConcept
dependencies: 7
inputs: music genre
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music genre" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "India" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "South Sudan" .  ?e_3 <genre> ?e . ?e_3 <pred:name> "A. R. Rahman" .  }
Answer: Carnatic music