Question: How many Winter Olympics were officially opened by Charles de Gaulle (the one whose birth name is Charles André Joseph de Gaulle Maillot) or began in a year other than 1972 ?
Choices: 13
14
15
16
17
18
19
20
21
22
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" .  { ?e <officially_opened_by> ?e_1 . ?e_1 <pred:name> "Charles de Gaulle" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Charles André Joseph de Gaulle Maillot" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1972 ) .  } }
Program:
function: Find
inputs: Charles de Gaulle
function: FilterStr
dependencies: 0
inputs: birth name
Charles André Joseph de Gaulle Maillot
function: Relate
dependencies: 1
inputs: officially opened by
backward
function: FilterConcept
dependencies: 2
inputs: Winter Olympic Games
function: FindAll
function: FilterYear
dependencies: 4
inputs: start time
1972
!=
function: FilterConcept
dependencies: 5
inputs: Winter Olympic Games
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 15