Question: How many science fiction pieces, are there with IAB code 652 and the genre of Stargate Atlantis ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "science fiction" . ?e <IAB_code> ?pv . ?pv <pred:value> "652" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Stargate Atlantis" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
652
function: FilterConcept
dependencies: 1
inputs: science fiction
function: Find
inputs: Stargate Atlantis
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: science fiction
function: And
dependencies: 2
5
function: Count
dependencies: 6