Question: How many industry computer languages are related to UNIX?
Choices: 16
17
18
19
20
21
22
23
24
25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e_1 <language_of_work_or_name> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "industry" . ?e_1 <relative> ?e_2 . ?e_2 <pred:name> "Unix" .   }
Program:
function: Find
inputs: Unix
function: Relate
dependencies: 0
inputs: relative
backward
function: FilterConcept
dependencies: 1
inputs: industry
function: Relate
dependencies: 2
inputs: language of work or name
forward
function: FilterConcept
dependencies: 3
inputs: language
function: Count
dependencies: 4
Answer: 21