Question: How many computer programming languages use a file extension of "js" or are influenced by Perl?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "computer programming" .  { ?e <file_extension> ?pv . ?pv <pred:value> "js" .  } UNION { ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "Perl" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: file extension
js
function: FilterConcept
dependencies: 1
inputs: computer programming
function: Find
inputs: Perl
function: Relate
dependencies: 3
inputs: influenced by
backward
function: FilterConcept
dependencies: 4
inputs: computer programming
function: Or
dependencies: 2
5
function: Count
dependencies: 6