Question: I want to know the relationship between St. Stephen's College and India (which has a citizen Farida Jalal)
Choices:
cause of death
broadcast by
conferred by
characters
has cause
copyright holder
country
capital
product or material produced
airline hub
Program:
function: Find
inputs: St. Stephen's College
function: Find
inputs: Farida Jalal
function: Relate
dependencies: 1
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St. Stephen's College" . ?e_2 <pred:name> "India" . ?e_3 <country_of_citizenship> ?e_2 . ?e_3 <pred:name> "Farida Jalal" . ?e_1 ?p ?e_2 .  }
Answer: country