Question: How many national cuisines are either indigenous to Indonesia or to Italy?
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> "national cuisine" .  { ?e <indigenous_to> ?e_1 . ?e_1 <pred:name> "Indonesia" .  } UNION { ?e <indigenous_to> ?e_1 . ?e_1 <pred:name> "Italy" .  } }
Program:
function: Find
inputs: Indonesia
function: Relate
dependencies: 0
inputs: indigenous to
backward
function: FilterConcept
dependencies: 1
inputs: national cuisine
function: Find
inputs: Italy
function: Relate
dependencies: 3
inputs: indigenous to
backward
function: FilterConcept
dependencies: 4
inputs: national cuisine
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1