Question: What is the connection between India (the one that has a diplomatic relation with Cambodia) to Chhattisgarh (the one whose subreddit is Chhattisgarh)?
Choices:
replaced by
filming location
replaces
owned by
broadcast by
studies
contains administrative territorial entity
location of formation
grants
source of income
Program:
function: Find
inputs: Cambodia
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Find
inputs: Chhattisgarh
function: FilterStr
dependencies: 4
inputs: subreddit
Chhattisgarh
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "India" . ?e_1 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> "Cambodia" . ?e_2 <pred:name> "Chhattisgarh" . ?e_2 <subreddit> ?pv . ?pv <pred:value> "Chhattisgarh" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity