Question: How many liberal arts colleges are registered with Internal Revenue Service and were established in a year different from 1831 ?
Choices: 14
15
16
17
18
19
20
21
22
23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1831 ) .  }
Program:
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 0
inputs: registered with
backward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1831
!=
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 14