Question: What Winter Olympic Games' edition number is 15 and ending date is before 2008?
Choices:
1998 Winter Olympics
2010 Winter Olympics
1976 Winter Olympics
1952 Summer Olympics
1968 Winter Olympics
2002 Winter Olympics
1952 Winter Olympics
2006 Winter Olympics
1988 Winter Olympics
1960 Winter Olympics
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: edition number
15
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
2008
<
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" . ?e <edition_number> ?pv . ?pv <pred:value> "15" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2008 ) .  }
Answer: 1988 Winter Olympics