Question: How many studio albums are released in the United Kingdom or have Led Zeppelin (whose beginning date is in 1968) as a performer?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" .  { ?e <place_of_publication> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } UNION { ?e <performer> ?e_1 . ?e_1 <pred:name> "Led Zeppelin" . ?e_1 <inception> ?pv . ?pv <pred:year> 1968 .  } }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: place of publication
backward
function: FilterConcept
dependencies: 1
inputs: studio album
function: Find
inputs: Led Zeppelin
function: FilterYear
dependencies: 3
inputs: inception
1968
=
function: Relate
dependencies: 4
inputs: performer
backward
function: FilterConcept
dependencies: 5
inputs: studio album
function: Or
dependencies: 2
6
function: Count
dependencies: 7