Question: What number of not-for-profit private colleges are associated with Dartmouth College or have 120 Madison Ave, New York, NY, 10016 as a street address?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private not-for-profit educational institution" .  { ?e <located_at_street_address> ?pv . ?pv <pred:value> "120 Madison Ave, New York, NY, 10016" .  } UNION { ?e <affiliation> ?e_1 . ?e_1 <pred:name> "Dartmouth College" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: located at street address
120 Madison Ave, New York, NY, 10016
function: FilterConcept
dependencies: 1
inputs: private not-for-profit educational institution
function: Find
inputs: Dartmouth College
function: Relate
dependencies: 3
inputs: affiliation
backward
function: FilterConcept
dependencies: 4
inputs: private not-for-profit educational institution
function: Or
dependencies: 2
5
function: Count
dependencies: 6