Question: How is the Taj Mahal (the one that has the religion Islam) connected to UNESCO World Heritage Site?
Choices:
military branch
conflict
derivative work
heritage designation
copyright holder
owner of
quotes work
home port
discoverer or inventor
instrumentation
Answer: heritage designation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Taj Mahal" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "Islam" . ?e_2 <pred:name> "UNESCO World Heritage Site" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Islam
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Taj Mahal
function: And
dependencies: 1
2
function: Find
inputs: UNESCO World Heritage Site
function: QueryRelation
dependencies: 3
4