Question: How many anime television series follow Niagara Falls (directed by Roscoe Arbuckle) or started after 2000?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" .  { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Niagara Falls" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> "Roscoe Arbuckle" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2000 ) .  } }
Program:
function: Find
inputs: Roscoe Arbuckle
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Niagara Falls
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: anime television series
function: FindAll
function: FilterYear
dependencies: 6
inputs: start time
2000
>
function: FilterConcept
dependencies: 7
inputs: anime television series
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 2