Question: How many fictional universes belong to Doctor Who's fictional universe (subreddit doctorwho) or  the fictional universes of Rogue (Rogue in native language)?
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 <subreddit> ?pv . ?pv <pred:value> "doctorwho" .  } UNION { ?e_1 <from_fictional_universe> ?e . ?e_1 <pred:name> "Rogue" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Rogue" .  } }
Program:
function: Find
inputs: Doctor Who
function: FilterStr
dependencies: 0
inputs: subreddit
doctorwho
function: Relate
dependencies: 1
inputs: takes place in fictional universe
forward
function: FilterConcept
dependencies: 2
inputs: fictional universe
function: Find
inputs: Rogue
function: FilterStr
dependencies: 4
inputs: name in native language
Rogue
function: Relate
dependencies: 5
inputs: from fictional universe
forward
function: FilterConcept
dependencies: 6
inputs: fictional universe
function: Or
dependencies: 3
7
function: Count
dependencies: 8
Answer: 2