Question: How many businesses have an official color of red?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: red
function: Relate
dependencies: 0
inputs: official color
backward
function: FilterConcept
dependencies: 1
inputs: business
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" . ?e <official_color> ?e_1 . ?e_1 <pred:name> "red" .   }
Answer: 1