Question: How many national cuisines whose OSM tag or key is Tag:cuisine=french or whose country is the Philippines?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national cuisine" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:cuisine=french" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Philippines" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OSM tag or key
Tag:cuisine=french
function: FilterConcept
dependencies: 1
inputs: national cuisine
function: Find
inputs: Philippines
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: national cuisine
function: Or
dependencies: 2
5
function: Count
dependencies: 6