Question: How many basketball teams have a Tel Aviv location and an official gray color?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Tel Aviv
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: basketball team
function: Find
inputs: gray
function: Relate
dependencies: 3
inputs: official color
backward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e <location> ?e_1 . ?e_1 <pred:name> "Tel Aviv" .  ?e <official_color> ?e_2 . ?e_2 <pred:name> "gray" .  }
Answer: 0