Question: How many museums have the detail map PLAN OF THE TOWER OF LONDON.jpg and collect The Golden Compass (whose title is The Golden Compass)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "museum" . ?e <detail_map> ?pv . ?pv <pred:value> "PLAN OF THE TOWER OF LONDON.jpg" . ?e_1 <collection> ?e . ?e_1 <pred:name> "The Golden Compass" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "The Golden Compass" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: detail map
PLAN OF THE TOWER OF LONDON.jpg
function: FilterConcept
dependencies: 1
inputs: museum
function: Find
inputs: The Golden Compass
function: FilterStr
dependencies: 3
inputs: title
The Golden Compass
function: Relate
dependencies: 4
inputs: collection
forward
function: FilterConcept
dependencies: 5
inputs: museum
function: And
dependencies: 2
6
function: Count
dependencies: 7