Question: How many programming languages are named after Amtrak and have a media type of text/x-java-source?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: media type
text/x-java-source
function: FilterConcept
dependencies: 1
inputs: programming language
function: Find
inputs: Amtrak
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: programming language
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "programming language" . ?e <media_type> ?pv . ?pv <pred:value> "text/x-java-source" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Amtrak" .  }
Answer: 0