Question: How many programming languages are there whose media type is application/x-httpd-php-source, or, whose time of creation happened before 1995 ?
Choices: 3
4
5
6
7
8
9
10
11
12
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> "application/x-httpd-php-source" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: media type
application/x-httpd-php-source
function: FilterConcept
dependencies: 1
inputs: programming language
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1995
<
function: FilterConcept
dependencies: 4
inputs: programming language
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 6