Question: How many art school are located in the 60601 area of Chicago?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art school" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Chicago" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "60601" .   }
Program:
function: Find
inputs: Chicago
function: FilterStr
dependencies: 0
inputs: postal code
60601
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: art school
function: Count
dependencies: 3
Answer: 1