Question: How many television stations develop Tiny Toon Adventures (that is developed by Konami) or have a beginning date that is before 1943?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" .  { ?e_1 <developer> ?e . ?e_1 <pred:name> "Tiny Toon Adventures" . ?e_1 <developer> ?e_2 . ?e_2 <pred:name> "Konami" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1943 ) .  } }
Program:
function: Find
inputs: Konami
function: Relate
dependencies: 0
inputs: developer
backward
function: Find
inputs: Tiny Toon Adventures
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: developer
forward
function: FilterConcept
dependencies: 4
inputs: television station
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1943
<
function: FilterConcept
dependencies: 7
inputs: television station
function: Or
dependencies: 5
8
function: Count
dependencies: 9