Question: What is the programming language whose media type is text/x-java-source and was created before 2000?
Choices:
C#
C
PHP
Regis Philbin
C++
Java
Perl
Julia
Python
Lisp
Answer: Java
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "programming language" . ?e <media_type> ?pv . ?pv <pred:value> "text/x-java-source" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2000 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: media type
text/x-java-source
function: FilterConcept
dependencies: 1
inputs: programming language
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
2000
<
function: FilterConcept
dependencies: 4
inputs: programming language
function: And
dependencies: 2
5
function: What
dependencies: 6