Question: How many programming languages are designed by Sun Microsystems and whose license is GNU General Public License?
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> "programming language" . ?e <designed_by> ?e_1 . ?e_1 <pred:name> "Sun Microsystems" .  ?e <license> ?e_2 . ?e_2 <pred:name> "GNU General Public License" .  }
Program:
function: Find
inputs: Sun Microsystems
function: Relate
dependencies: 0
inputs: designed by
backward
function: FilterConcept
dependencies: 1
inputs: programming language
function: Find
inputs: GNU General Public License
function: Relate
dependencies: 3
inputs: license
backward
function: FilterConcept
dependencies: 4
inputs: programming language
function: And
dependencies: 2
5
function: Count
dependencies: 6