Question: How many fictional universes are there in Annie (the one with Alan Cumming as a cast member)?
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 <fictional_universe_described_in> ?e_1 . ?e_1 <pred:name> "Annie" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Alan Cumming" .   }
Program:
function: Find
inputs: Alan Cumming
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Annie
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: fictional universe described in
backward
function: FilterConcept
dependencies: 4
inputs: fictional universe
function: Count
dependencies: 5
Answer: 0