Question: How many dramas are the genre of Pirates of the Caribbean: At World's End (whose duration is 162 minute) and have an IAB code of 642?
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> "drama" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Pirates of the Caribbean: At World's End" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "162"^^xsd:double .  ?e <IAB_code> ?pv_1 . ?pv_1 <pred:value> "642" .  }
Program:
function: Find
inputs: Pirates of the Caribbean: At World's End
function: FilterNum
dependencies: 0
inputs: duration
162 minute
=
function: Relate
dependencies: 1
inputs: genre
forward
function: FilterConcept
dependencies: 2
inputs: drama
function: FindAll
function: FilterStr
dependencies: 4
inputs: IAB code
642
function: FilterConcept
dependencies: 5
inputs: drama
function: And
dependencies: 3
6
function: Count
dependencies: 7
Answer: 0