Question: How many woodwind instruments include famous people Joshua Redman or have a Hornbostel-Sachs classification of 422.212-71?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "woodwind instrument" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Joshua Redman" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "422.212-71" .  } }
Program:
function: Find
inputs: Joshua Redman
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: woodwind instrument
function: FindAll
function: FilterStr
dependencies: 3
inputs: Hornbostel-Sachs classification
422.212-71
function: FilterConcept
dependencies: 4
inputs: woodwind instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6