Question: How many programming languages influenced the language with the Twitter username of java?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "programming language" . ?e_1 <influenced_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "programming language" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "java" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
java
function: FilterConcept
dependencies: 1
inputs: programming language
function: Relate
dependencies: 2
inputs: influenced by
forward
function: FilterConcept
dependencies: 3
inputs: programming language
function: Count
dependencies: 4