Question: What costume designer by trade is a citizen of India, which has a diplomatic relationship with Tanzania?
Choices:
Manish Malhotra
Irene Lentz
Sukumari
Yash Chopra
Rekha
William Chang
Rajpal Yadav
David Dhawan
Edith Head
Gwen Wakeling
Program:
function: Find
inputs: Tanzania
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: costume designer
function: Relate
dependencies: 6
inputs: occupation
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "India" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "Tanzania" .  ?e <occupation> ?e_3 . ?e_3 <pred:name> "costume designer" .  }
Answer: Manish Malhotra