Question: How many liberal arts colleges are located in Kolkata and have subreddit Grinnell?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" . ?e <location> ?e_1 . ?e_1 <pred:name> "Kolkata" .  ?e <subreddit> ?pv . ?pv <pred:value> "Grinnell" .  }
Program:
function: Find
inputs: Kolkata
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: FindAll
function: FilterStr
dependencies: 3
inputs: subreddit
Grinnell
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: And
dependencies: 2
5
function: Count
dependencies: 6