Question: How many capitals whose demonym is Moskauerin or whose nighttime view is Panoramic view of Budapest 2014.jpg?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" .  { ?e <demonym> ?pv . ?pv <pred:value> "Moskauerin" .  } UNION { ?e <nighttime_view> ?pv . ?pv <pred:value> "Panoramic view of Budapest 2014.jpg" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Moskauerin
function: FilterConcept
dependencies: 1
inputs: capital
function: FindAll
function: FilterStr
dependencies: 3
inputs: nighttime view
Panoramic view of Budapest 2014.jpg
function: FilterConcept
dependencies: 4
inputs: capital
function: Or
dependencies: 2
5
function: Count
dependencies: 6