Simple Question (Direct)
Simple Question
Q6381442
P27
Q1048835
USER
Which political territory does Moe Lemay belong to ?
(Q6381442,P27,c(Q1048835))
action filter_type
action find
entity Q6381442
relation P27
type Q1048835
['Q6381442', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q6381442 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Moe Lemay
action filter_type
action find
entity Moe Lemay
relation country of citizenship
type political territorial entity
['Moe Lemay', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Moe_Lemay property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6381442,P27,c(Q1048835))
action filter_type
action find
entity Q6381442
relation P27
type Q1048835
Moe Lemay belongs to [ANSWER]
['Q6381442', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q6381442 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Canada
Moe Lemay belongs to Canada
Canada
action filter_type
action find
entity Moe Lemay
relation country of citizenship
type political territorial entity
['Moe Lemay', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Moe_Lemay property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P206
Q17519152
USER
Which group of objects is situated in the neighbourhood of that political territory ?
(Q16,P206,c(Q17519152))
action filter_type
action find
entity Q16
relation P206
type Q17519152
['Q16', 'P206', {'concept': 'Q17519152'}]
SELECT DISTINCT ?i WHERE { resource:Q16 property:P206 ?i . ?i rdf:type ontology:Q17519152 }
Canada
action filter_type
action find
entity Canada
relation located next to body of water
type group of objects
['Canada', 'located next to body of water', {'concept': 'group of objects'}]
SELECT DISTINCT ?i WHERE { resource:Canada property:located_next_to_body_of_water ?i . ?i rdf:type ontology:group_of_objects }
[]
group of objects
Q7347
SYSTEM
Great Lakes
Q7347
(Q16,P206,c(Q17519152))
action filter_type
action find
entity Q16
relation P206
type Q17519152
[ANSWER] is situated in the neighbourhood of that political territory
['Q16', 'P206', {'concept': 'Q17519152'}]
SELECT DISTINCT ?i WHERE { resource:Q16 property:P206 ?i . ?i rdf:type ontology:Q17519152 }
Great Lakes
Great Lakes is situated in the neighbourhood of that political territory
Great Lakes
action filter_type
action find
entity Canada
relation located next to body of water
type group of objects
['Canada', 'located next to body of water', {'concept': 'group of objects'}]
SELECT DISTINCT ?i WHERE { resource:Canada property:located_next_to_body_of_water ?i . ?i rdf:type ontology:group_of_objects }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that political territory ?
(Q7347,P1313,c(Q12737077))
action filter_type
action find
entity Q16
relation P1313
type Q12737077
['Q7347', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16 property:P1313 ?d . ?d rdf:type ontology:Q12737077 }
Canada
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
['Great Lakes', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Canada property:office_held_by_head_of_government ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q839078
SYSTEM
Prime Minister of Canada
Q839078
(Q7347,P1313,c(Q12737077))
action filter_type
action find
entity Q16
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that political territory
['Q7347', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16 property:P1313 ?d . ?d rdf:type ontology:Q12737077 }
Prime Minister of Canada
The Prime Minister of Canada serves as the political office that is fulfilled by the head of the government of that political territory
Prime Minister of Canada
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
['Great Lakes', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Canada property:office_held_by_head_of_government ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q839078
P39
Q502895
USER
Which people held the position of that occupation ?
(c(Q502895),P39,Q839078)
action filter_type
action find_reverse
entity Q839078
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q839078']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q839078 . ?r rdf:type ontology:Q502895 }
Prime Minister of Canada
action filter_type
action find_reverse
entity Prime Minister of Canada
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Canada']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:Prime_Minister_of_Canada . ?r rdf:type ontology:common_name }
[]
common name
Q8619 Q128604 Q128543
SYSTEM
Pierre Trudeau, Lester B. Pearson, Jean Chrétien
Q128563 Q128626 Q128568 Q128604 Q128686 Q128529 Q128641 Q3099714 Q128664 Q128645 Q128633 Q206 Q128543 Q128655 Q128574 Q128553 Q128696 Q128614 Q128702 Q128677 Q128708 Q128672 Q8619
(c(Q502895),P39,Q839078)
action filter_type
action find_reverse
entity Q839078
relation P39
type Q502895
[ANSWERS] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q839078']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q839078 . ?r rdf:type ontology:Q502895 }
Brian Mulroney Louis St. Laurent John Turner Lester B. Pearson John Sparrow David Thompson Paul Martin R. B. Bennett Justin Trudeau Wilfrid Laurier Arthur Meighen William Lyon Mackenzie King Stephen Harper Jean Chrétien Robert Borden Joe Clark Kim Campbell John Abbott John Diefenbaker John A. Macdonald Mackenzie Bowell Alexander Mackenzie Charles Tupper Pierre Trudeau
Pierre Trudeau, Lester B. Pearson and Jean Chrétien held the position of that occupation
Pierre Trudeau Lester B. Pearson Jean Chrétien
action filter_type
action find_reverse
entity Prime Minister of Canada
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Canada']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:Prime_Minister_of_Canada . ?r rdf:type ontology:common_name }
[]