Question: How many private not-for-profit educational institutions are affiliated with Dartmouth College or registered with Internal Revenue Service?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private not-for-profit educational institution" .  { ?e <affiliation> ?e_1 . ?e_1 <pred:name> "Dartmouth College" .  } UNION { ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  } }
Program:
function: Find
inputs: Dartmouth College
function: Relate
dependencies: 0
inputs: affiliation
backward
function: FilterConcept
dependencies: 1
inputs: private not-for-profit educational institution
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 3
inputs: registered with
backward
function: FilterConcept
dependencies: 4
inputs: private not-for-profit educational institution
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9