Question: What is the number of museums whose Twitter username is TowerOfLondon or collection/exhibition volume is not 8700 drawings?
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> "museum" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "TowerOfLondon" .  } UNION { ?e <collection_or_exhibition_size> ?pv . ?pv <pred:unit> "drawing" . ?pv <pred:value> ?v . FILTER ( ?v != "8700"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
TowerOfLondon
function: FilterConcept
dependencies: 1
inputs: museum
function: FindAll
function: FilterNum
dependencies: 3
inputs: collection or exhibition size
8700 drawing
!=
function: FilterConcept
dependencies: 4
inputs: museum
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2