Question: How many big cities either own the Athletic Club or are located in Europe?
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> "big city" .  { ?e_1 <owned_by> ?e . ?e_1 <pred:name> "Athletic Club" .  } UNION { ?e <continent> ?e_1 . ?e_1 <pred:name> "Europe" .  } }
Program:
function: Find
inputs: Athletic Club
function: Relate
dependencies: 0
inputs: owned by
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: Find
inputs: Europe
function: Relate
dependencies: 3
inputs: continent
backward
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 8