Question: How many television programs are in the continent of Disneyland and whose narrative location is London (which is the narrative location of The Boat That Rocked)?
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> "television program" . ?e <continent> ?e_1 . ?e_1 <pred:name> "Disneyland" .  ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "London" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "The Boat That Rocked" .  }
Program:
function: Find
inputs: Disneyland
function: Relate
dependencies: 0
inputs: continent
backward
function: FilterConcept
dependencies: 1
inputs: television program
function: Find
inputs: The Boat That Rocked
function: Relate
dependencies: 3
inputs: narrative location
forward
function: Find
inputs: London
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
backward
function: FilterConcept
dependencies: 7
inputs: television program
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0