Question: What is the relationship between Rakesh Roshan and India (the one that has a diplomatic relation with People's Republic of China)?
Choices:
fabrication method
foundational text
item operated
affiliation
after a work by
properties for this type
Wikidata property
country of citizenship
place of death
producer
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rakesh Roshan" . ?e_2 <pred:name> "India" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "People's Republic of China" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rakesh Roshan
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4