Question: How is Istanbul (the one whose country is Byzantine Empire) connected to UNESCO World Heritage Site?
Choices:
copyright holder
military conflicts
nominated for
terminus
cast member
collection
heritage designation
production company
capital
color
Answer: heritage designation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Istanbul" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Byzantine Empire" . ?e_2 <pred:name> "UNESCO World Heritage Site" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Byzantine Empire
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Istanbul
function: And
dependencies: 1
2
function: Find
inputs: UNESCO World Heritage Site
function: QueryRelation
dependencies: 3
4