Question: How many entertainments were released for Mac OS X?
Choices:
14
15
16
17
18
19
20
21
22
23
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" . ?e <platform> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "proprietary software" . ?e_1 <official_name> ?pv . ?pv <pred:value> "Mac OS X" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Mac OS X
function: FilterConcept
dependencies: 1
inputs: proprietary software
function: Relate
dependencies: 2
inputs: platform
backward
function: FilterConcept
dependencies: 3
inputs: entertainment
function: Count
dependencies: 4