Question: How many bands have ISNI 0000 0001 1955 0043 or have Brian Wilson as a member (the one that is famous for baroque pop)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 1955 0043" .  } UNION { ?e_1 <member_of> ?e . ?e_1 <pred:name> "Brian Wilson" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "baroque pop" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 1955 0043
function: FilterConcept
dependencies: 1
inputs: band
function: Find
inputs: baroque pop
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: Brian Wilson
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of
forward
function: FilterConcept
dependencies: 7
inputs: band
function: Or
dependencies: 2
8
function: Count
dependencies: 9