Question: How many private universities are located in the USA and registered with the IRS?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private university" . ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  ?e <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  }
Program:
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 0
inputs: registered with
backward
function: FilterConcept
dependencies: 1
inputs: private university
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: private university
function: And
dependencies: 2
5
function: Count
dependencies: 6