Question: How many TV genre works are in English or have over 3900 episodes?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television genre" .  { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "3900"^^xsd:double ) .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: FilterConcept
dependencies: 1
inputs: television genre
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
3900
>
function: FilterConcept
dependencies: 4
inputs: television genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2