Question: How many keyboard instruments are of Portugal or are played by Barry Pepper?
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> "keyboard instrument" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Portugal" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Barry Pepper" .  } }
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: keyboard instrument
function: Find
inputs: Barry Pepper
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: keyboard instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0