Question: How many anime television series either have the title of デジモンアドベンチャー or follow the 12 minute long The Town?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" .  { ?e <title> ?pv . ?pv <pred:value> "デジモンアドベンチャー" .  } UNION { ?e <follows> ?e_1 . ?e_1 <pred:name> "The Town" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "12"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
デジモンアドベンチャー
function: FilterConcept
dependencies: 1
inputs: anime television series
function: Find
inputs: The Town
function: FilterNum
dependencies: 3
inputs: duration
12 minute
=
function: Relate
dependencies: 4
inputs: follows
backward
function: FilterConcept
dependencies: 5
inputs: anime television series
function: Or
dependencies: 2
6
function: Count
dependencies: 7