Question: What keyboard instrument originated from Jordan or was used by John Cale?
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> "Jordan" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> "John Cale" .  } }
Program:
function: Find
inputs: Jordan
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: keyboard instrument
function: Find
inputs: John Cale
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: keyboard instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2