Question: How many fictional universes are depicted in Doctor Who (produced by BBC)?
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> "fictional universe" . ?e_1 <takes_place_in_fictional_universe> ?e . ?e_1 <pred:name> "Doctor Who" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> "BBC" .   }
Program:
function: Find
inputs: BBC
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Doctor Who
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: takes place in fictional universe
forward
function: FilterConcept
dependencies: 4
inputs: fictional universe
function: Count
dependencies: 5
Answer: 1