Question: How many Winter Olympic Games included country of Bhutan or have an end time after 1968?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Bhutan" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1968 ) .  } }
Program:
function: Find
inputs: Bhutan
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
1968
>
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6