Question: How many woodwind instruments have the Hornbostel-Sachs classification of 422.212-71 or have the famous person, Tom Scott (the one that is famous for smooth jazz)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "woodwind instrument" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "422.212-71" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Tom Scott" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "smooth jazz" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
422.212-71
function: FilterConcept
dependencies: 1
inputs: woodwind instrument
function: Find
inputs: smooth jazz
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: Tom Scott
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: woodwind instrument
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 4