Question: How many private non-profit institutions are registered with Internal Revenue Service or served as the place of Kim Cattrall's education ?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private not-for-profit educational institution" .  { ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  } UNION { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Kim Cattrall" .  } }
Program:
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 0
inputs: registered with
backward
function: FilterConcept
dependencies: 1
inputs: private not-for-profit educational institution
function: Find
inputs: Kim Cattrall
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: private not-for-profit educational institution
function: Or
dependencies: 2
5
function: Count
dependencies: 6