Question: How many films are there whose title is Spy Kids 3-D: Game Over or whose soundtrack album is Twin Peaks: Fire Walk with Me (followed by The City of Lost Children)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" .  { ?e <title> ?pv . ?pv <pred:value> "Spy Kids 3-D: Game Over" .  } UNION { ?e <soundtrack_album> ?e_1 . ?e_1 <pred:name> "Twin Peaks: Fire Walk with Me" . ?e_1 <followed_by> ?e_2 . ?e_2 <pred:name> "The City of Lost Children" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Spy Kids 3-D: Game Over
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: The City of Lost Children
function: Relate
dependencies: 3
inputs: followed by
backward
function: Find
inputs: Twin Peaks: Fire Walk with Me
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: soundtrack album
backward
function: FilterConcept
dependencies: 7
inputs: film
function: Or
dependencies: 2
8
function: Count
dependencies: 9