Question: How many bowed string instruments are famously associated with Benjamin Britten or Flea?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "bowed string instrument" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Benjamin Britten" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Flea" .  } }
Program:
function: Find
inputs: Benjamin Britten
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: bowed string instrument
function: Find
inputs: Flea
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: bowed string instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2