Question: How many big cities are located in the continent of Europe or whose postal code is 70173?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" .  { ?e <continent> ?e_1 . ?e_1 <pred:name> "Europe" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "70173" .  } }
Program:
function: Find
inputs: Europe
function: Relate
dependencies: 0
inputs: continent
backward
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
70173
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9