Question: How many musicians are the occupation of Herbie Hancock or of BT?
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> "musician" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Herbie Hancock" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> "BT" .  } }
Program:
function: Find
inputs: Herbie Hancock
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: musician
function: Find
inputs: BT
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: musician
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2