Question: The Android which uses the C programming language uses how many total programming languages?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "programming language" . ?e_1 <programming_language> ?e . ?e_1 <pred:name> "Android" . ?e_1 <programming_language> ?e_2 . ?e_2 <pred:name> "C" .   }
Program:
function: Find
inputs: C
function: Relate
dependencies: 0
inputs: programming language
backward
function: Find
inputs: Android
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: programming language
forward
function: FilterConcept
dependencies: 4
inputs: programming language
function: Count
dependencies: 5