Question: How many rock bands are performers of Led Zeppelin (the one whose official website is http://discography.ledzeppelin.com/disc_lz1.html) or have ISNI 0000 0001 0939 7559?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" .  { ?e_1 <performer> ?e . ?e_1 <pred:name> "Led Zeppelin" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://discography.ledzeppelin.com/disc_lz1.html" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 0939 7559" .  } }
Program:
function: Find
inputs: Led Zeppelin
function: FilterStr
dependencies: 0
inputs: official website
http://discography.ledzeppelin.com/disc_lz1.html
function: Relate
dependencies: 1
inputs: performer
forward
function: FilterConcept
dependencies: 2
inputs: rock band
function: FindAll
function: FilterStr
dependencies: 4
inputs: ISNI
0000 0001 0939 7559
function: FilterConcept
dependencies: 5
inputs: rock band
function: Or
dependencies: 3
6
function: Count
dependencies: 7