Question: How many cities whose heritage designation is UNESCO World Heritage Site?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <heritage_designation> ?e_1 . ?e_1 <pred:name> "UNESCO World Heritage Site" .   }
Program:
function: Find
inputs: UNESCO World Heritage Site
function: Relate
dependencies: 0
inputs: heritage designation
backward
function: FilterConcept
dependencies: 1
inputs: city
function: Count
dependencies: 2