Question: How many national cuisines are the main subject of Julie & Julia or have an OSM tag or key of Tag:cuisine=italian?
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_1 <main_subject> ?e . ?e_1 <pred:name> "Julie & Julia" .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:cuisine=italian" .  } }
Program:
function: Find
inputs: Julie & Julia
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: national cuisine
function: FindAll
function: FilterStr
dependencies: 3
inputs: OSM tag or key
Tag:cuisine=italian
function: FilterConcept
dependencies: 4
inputs: national cuisine
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2