Question: How many science fiction entities serve as the genre for Star Trek: The Animated Series or that is the genre of Nastassja Kinski ?
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> "science fiction" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Star Trek: The Animated Series" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Nastassja Kinski" .  } }
Program:
function: Find
inputs: Star Trek: The Animated Series
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: science fiction
function: Find
inputs: Nastassja Kinski
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: science fiction
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1