Question: How many colleges, established before 1919, are located in Brooklyn, the birthplace of Joseph R. Gannascoli ?
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> "college" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1919 ) . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Brooklyn" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Joseph R. Gannascoli" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1919
<
function: FilterConcept
dependencies: 1
inputs: college
function: Find
inputs: Joseph R. Gannascoli
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: college
function: And
dependencies: 2
8
function: Count
dependencies: 9