Question: How many Winter Olympic Games have a location of Innsbruck or in the country of Italy?
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> "Winter Olympic Games" .  { ?e <location> ?e_1 . ?e_1 <pred:name> "Innsbruck" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Italy" .  } }
Program:
function: Find
inputs: Innsbruck
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Find
inputs: Italy
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6