Simple Question (Direct)
Simple Question
Q1281308
P21
Q290
USER
Which sex does Philippe de Gaulle possess ?
(Q1281308,P21,c(Q290))
action filter_type
action find
entity Q1281308
relation P21
type Q290
['Q1281308', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1281308 property:P21 ?n . ?n rdf:type ontology:Q290 }
Philippe de Gaulle
action filter_type
action find
entity Philippe de Gaulle
relation gender
type sex
['Philippe de Gaulle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Philippe_de_Gaulle property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1281308,P21,c(Q290))
action filter_type
action find
entity Q1281308
relation P21
type Q290
Philippe de Gaulle possesses un [ANSWER]
['Q1281308', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1281308 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Philippe de Gaulle possesses un male
male
action filter_type
action find
entity Philippe de Gaulle
relation gender
type sex
['Philippe de Gaulle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Philippe_de_Gaulle property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1281308
P7
Q502895
USER
Which people have Philippe de Gaulle as their brother ?
(c(Q502895),P7,Q1281308)
action filter_type
action find_reverse
entity Q1281308
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q1281308']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q1281308 . ?j rdf:type ontology:Q502895 }
Philippe de Gaulle
action filter_type
action find_reverse
entity Philippe de Gaulle
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Philippe de Gaulle']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:Philippe_de_Gaulle . ?j rdf:type ontology:common_name }
[]
common name
Q2851348 Q15407086
SYSTEM
Anne de Gaulle, Élisabeth de Gaulle
Q2851348 Q15407086
(c(Q502895),P7,Q1281308)
action filter_type
action find_reverse
entity Q1281308
relation P7
type Q502895
And [ANSWERS] have Philippe de Gaulle as their brother
[{'concept': 'Q502895'}, 'P7', 'Q1281308']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q1281308 . ?j rdf:type ontology:Q502895 }
Anne de Gaulle Élisabeth de Gaulle
And Anne de Gaulle and Élisabeth de Gaulle have Philippe de Gaulle as their brother
Anne de Gaulle Élisabeth de Gaulle
action filter_type
action find_reverse
entity Philippe de Gaulle
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Philippe de Gaulle']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:Philippe_de_Gaulle . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2851348 Q15407086
P22
Q502895
USER
Who were the father of those ones ?
(Q2851348,P22,c(Q502895)) (Q15407086,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
['Q2851348', 'P22', {'concept': 'Q502895'}] ['Q15407086', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q2851348 ) ( resource:Q15407086 ) } . ?i property:P22 ?d }
Anne de Gaulle Élisabeth de Gaulle
action filter_type
action find
entity prev_answer
relation father
type common name
['Anne de Gaulle', 'father', {'concept': 'common name'}] ['Élisabeth de Gaulle', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:Anne_de_Gaulle ) ( resource:Élisabeth_de_Gaulle ) } . ?i property:father ?d }
[]
common name
Q2042 Q2042
SYSTEM
Charles de Gaulle
Q2042 Q2042
(Q2851348,P22,c(Q502895)) (Q15407086,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
The father of those ones were both [ANSWER] and [ANSWER]
['Q2851348', 'P22', {'concept': 'Q502895'}] ['Q15407086', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q2851348 ) ( resource:Q15407086 ) } . ?i property:P22 ?d }
Charles de Gaulle Charles de Gaulle
The father of those ones were both Charles de Gaulle and Charles de Gaulle
Charles de Gaulle Charles de Gaulle
action filter_type
action find
entity prev_answer
relation father
type common name
['Anne de Gaulle', 'father', {'concept': 'common name'}] ['Élisabeth de Gaulle', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:Anne_de_Gaulle ) ( resource:Élisabeth_de_Gaulle ) } . ?i property:father ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2042
P53
Q874405
USER
What is the social group that Charles de Gaulle belongs to ?
(Q2042,P53,c(Q874405))
action filter_type
action find
entity Q2042
relation P53
type Q874405
['Q2042', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q2042 property:P53 ?h . ?h rdf:type ontology:Q874405 }
Charles de Gaulle
action filter_type
action find
entity Charles de Gaulle
relation noble family
type social group
['Charles de Gaulle', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Charles_de_Gaulle property:noble_family ?h . ?h rdf:type ontology:social_group }
[]
social group
Q3065794
SYSTEM
de Gaulle family
Q3065794
(Q2042,P53,c(Q874405))
action filter_type
action find
entity Q2042
relation P53
type Q874405
The social group that Charles de Gaulle belongs to is Charles [ANSWER]
['Q2042', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q2042 property:P53 ?h . ?h rdf:type ontology:Q874405 }
de Gaulle family
The social group that Charles de Gaulle belongs to is Charles de Gaulle family
de Gaulle family
action filter_type
action find
entity Charles de Gaulle
relation noble family
type social group
['Charles de Gaulle', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Charles_de_Gaulle property:noble_family ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2851348
P9
Q502895
USER
Who is the sister of Anne de Gaulle ?
(Q2851348,P9,c(Q502895))
action filter_type
action find
entity Q2851348
relation P9
type Q502895
['Q2851348', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2851348 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Anne de Gaulle
action filter_type
action find
entity Anne de Gaulle
relation sister
type common name
['Anne de Gaulle', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Anne_de_Gaulle property:sister ?s . ?s rdf:type ontology:common_name }
[]
common name
Q15407086
SYSTEM
Élisabeth de Gaulle
Q15407086
(Q2851348,P9,c(Q502895))
action filter_type
action find
entity Q2851348
relation P9
type Q502895
The sister of Anne de Gaulle is Marie [ANSWER]
['Q2851348', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2851348 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Élisabeth de Gaulle
The sister of Anne de Gaulle is Marie Élisabeth de Gaulle
Élisabeth de Gaulle
action filter_type
action find
entity Anne de Gaulle
relation sister
type common name
['Anne de Gaulle', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Anne_de_Gaulle property:sister ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15407086
P26
Q502895
USER
Who is married to that one ?
(Q15407086,P26,c(Q502895))
action filter_type
action find
entity Q15407086
relation P26
type Q502895
['Q15407086', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q15407086 property:P26 ?l }
Élisabeth de Gaulle
action filter_type
action find
entity Élisabeth de Gaulle
relation spouse
type common name
['Élisabeth de Gaulle', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Élisabeth_de_Gaulle property:spouse ?l }
[]
common name
Q369948
SYSTEM
Alain de Boissieu
Q369948
(Q15407086,P26,c(Q502895))
action filter_type
action find
entity Q15407086
relation P26
type Q502895
[ANSWER] is married to that one
['Q15407086', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q15407086 property:P26 ?l }
Alain de Boissieu
Alain de Boissieu is married to that one
Alain de Boissieu
action filter_type
action find
entity Élisabeth de Gaulle
relation spouse
type common name
['Élisabeth de Gaulle', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Élisabeth_de_Gaulle property:spouse ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q369948
P166
Q618779
USER
What were awarded to that person ?
(Q369948,P166,c(Q618779))
action filter_type
action find
entity Q369948
relation P166
type Q618779
['Q369948', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q618779 . resource:Q369948 property:P166 ?l }
Alain de Boissieu
action filter_type
action find
entity Alain de Boissieu
relation award received
type award
['Alain de Boissieu', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:award . resource:Alain_de_Boissieu property:award_received ?l }
[]
award
Q2547676 Q670473 Q13422143
SYSTEM
Croix de guerre 1939–1945, Médaille de la Résistance, Grand Cross of the National Order of Merit
Q2547676 Q670473 Q13422143
(Q369948,P166,c(Q618779))
action filter_type
action find
entity Q369948
relation P166
type Q618779
France [ANSWERS] were awarded to that person
['Q369948', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q618779 . resource:Q369948 property:P166 ?l }
Croix de guerre 1939–1945 Médaille de la Résistance Grand Cross of the National Order of Merit
France Croix de guerre 1939–1945, Médaille de la Résistance and Grand Cross of the National Order of Merit were awarded to that person
Croix de guerre 1939–1945 Médaille de la Résistance Grand Cross of the National Order of Merit
action filter_type
action find
entity Alain de Boissieu
relation award received
type award
['Alain de Boissieu', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:award . resource:Alain_de_Boissieu property:award_received ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13422143
P17
Q15617994
USER
Which administrative territory does that award belong to ?
(Q13422143,P17,c(Q15617994))
action filter_type
action find
entity Q13422143
relation P17
type Q15617994
['Q13422143', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q13422143 property:P17 ?k }
Grand Cross of the National Order of Merit
action filter_type
action find
entity Grand Cross of the National Order of Merit
relation country
type designation for an administrative territorial entity
['Grand Cross of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Grand_Cross_of_the_National_Order_of_Merit property:country ?k }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q13422143
SYSTEM
Did you mean Grand Cross of the National Order of Merit ?
Q2547676 Q670473 Q13422143
(Q2547676,P17,c(Q15617994)) (Q670473,P17,c(Q15617994)) (Q13422143,P17,c(Q15617994))
[ANSWER]
['Q2547676', 'P17', {'concept': 'Q15617994'}] ['Q670473', 'P17', {'concept': 'Q15617994'}] ['Q13422143', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q13422143 property:P17 ?k }
Croix de guerre 1939–1945 Médaille de la Résistance Grand Cross of the National Order of Merit
Did you mean Grand Cross of the National Order of Merit ?
Grand Cross of the National Order of Merit
['Croix de guerre 1939–1945', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Médaille de la Résistance', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Grand Cross of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Grand_Cross_of_the_National_Order_of_Merit property:country ?k }
[]
Simple Question (Coreferenced)
USER
Yes
(Q13422143,P17,c(Q15617994))
['Q13422143', 'P17', {'concept': 'Q15617994'}]
['Grand Cross of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q13422143,P17,c(Q15617994))
action filter_type
action find
entity Q13422143
relation P17
type Q15617994
That award belongs to [ANSWER]
['Q13422143', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q13422143 property:P17 ?k }
France
That award belongs to France
France
action filter_type
action find
entity Grand Cross of the National Order of Merit
relation country
type designation for an administrative territorial entity
['Grand Cross of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Grand_Cross_of_the_National_Order_of_Merit property:country ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q3066920
P27
Q502895
USER
Is Farin de Hautemer a citizen of that administrative territory ?
(Q3066920,P27,Q142)
action is_in
entity Q142
action find
entity Q3066920
relation P27
['Q3066920', 'P27', 'Q142']
ASK WHERE { resource:Q3066920 property:P27 resource:Q142 }
France Farin de Hautemer
action is_in
entity France
action find
entity Farin de Hautemer
relation country of citizenship
['Farin de Hautemer', 'country of citizenship', 'France']
ASK WHERE { resource:Farin_de_Hautemer property:country_of_citizenship resource:France }
[]
common name
SYSTEM
YES
(Q3066920,P27,Q142)
action is_in
entity Q142
action find
entity Q3066920
relation P27
[ANSWER]
['Q3066920', 'P27', 'Q142']
ASK WHERE { resource:Q3066920 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Farin de Hautemer
relation country of citizenship
['Farin de Hautemer', 'country of citizenship', 'France']
ASK WHERE { resource:Farin_de_Hautemer property:country_of_citizenship resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1281308 Q4855794
P19
Q56061
USER
Is Banissa the place of birth of Philippe de Gaulle ?
(Q1281308,P19,Q4855794)
action is_in
entity Q4855794
action find
entity Q1281308
relation P19
['Q1281308', 'P19', 'Q4855794']
ASK WHERE { resource:Q1281308 property:P19 resource:Q4855794 }
Philippe de Gaulle Banissa
action is_in
entity Banissa
action find
entity Philippe de Gaulle
relation place of birth
['Philippe de Gaulle', 'place of birth', 'Banissa']
ASK WHERE { resource:Philippe_de_Gaulle property:place_of_birth resource:Banissa }
[]
administrative territorial entity
SYSTEM
NO
(Q1281308,P19,Q4855794)
action is_in
entity Q4855794
action find
entity Q1281308
relation P19
[ANSWER]
['Q1281308', 'P19', 'Q4855794']
ASK WHERE { resource:Q1281308 property:P19 resource:Q4855794 }
No
action is_in
entity Banissa
action find
entity Philippe de Gaulle
relation place of birth
['Philippe de Gaulle', 'place of birth', 'Banissa']
ASK WHERE { resource:Philippe_de_Gaulle property:place_of_birth resource:Banissa }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1281308
P410
Q4189293
USER
Which title was the military rank held by that person ?
action filter_type
action find
entity Q1281308
relation P410
type Q4189293
SELECT DISTINCT ?h WHERE { resource:Q1281308 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
Philippe de Gaulle
action filter_type
action find
entity Philippe de Gaulle
relation military rank
type title
SELECT DISTINCT ?h WHERE { resource:Philippe_de_Gaulle property:military_rank ?h . ?h rdf:type ontology:title }
[]
title
Q22957305
SYSTEM
admiral
Q22957305
action filter_type
action find
entity Q1281308
relation P410
type Q4189293
[ANSWER] was the military rank held by that person
SELECT DISTINCT ?h WHERE { resource:Q1281308 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
admiral
Admiral was the military rank held by that person
admiral
action filter_type
action find
entity Philippe de Gaulle
relation military rank
type title
SELECT DISTINCT ?h WHERE { resource:Philippe_de_Gaulle property:military_rank ?h . ?h rdf:type ontology:title }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2897965 Q1281308
P410
Q4189293
USER
Or Bernard-Georges-François Frère?
OR((Q1281308,P410,c(Q4189293)), (Q2897965,P410,c(Q4189293)))
action filter_type
action union
action find
entity Q1281308
relation P410
action find
entity Q2897965
relation P410
type Q4189293
{'OR': [['Q1281308', 'P410', {'concept': 'Q4189293'}], ['Q2897965', 'P410', {'concept': 'Q4189293'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1281308 property:P410 ?l } UNION { resource:Q2897965 property:P410 ?l } } . ?l rdf:type ontology:Q4189293 }
Bernard-Georges-François Frère Philippe de Gaulle
action filter_type
action union
action find
entity Philippe de Gaulle
relation military rank
action find
entity Bernard-Georges-François Frère
relation military rank
type title
{'OR': [['Philippe de Gaulle', 'military rank', {'concept': 'title'}], ['Bernard-Georges-François Frère', 'military rank', {'concept': 'title'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Philippe_de_Gaulle property:military_rank ?l } UNION { resource:Bernard-Georges-François_Frère property:military_rank ?l } } . ?l rdf:type ontology:title }
[]
title
Q22957305 Q2487961
SYSTEM
admiral, divisional general
Q22957305 Q2487961
OR((Q1281308,P410,c(Q4189293)), (Q2897965,P410,c(Q4189293)))
action filter_type
action union
action find
entity Q1281308
relation P410
action find
entity Q2897965
relation P410
type Q4189293
[ANSWERS]
{'OR': [['Q1281308', 'P410', {'concept': 'Q4189293'}], ['Q2897965', 'P410', {'concept': 'Q4189293'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1281308 property:P410 ?l } UNION { resource:Q2897965 property:P410 ?l } } . ?l rdf:type ontology:Q4189293 }
admiral divisional general
admiral divisional general
action filter_type
action union
action find
entity Philippe de Gaulle
relation military rank
action find
entity Bernard-Georges-François Frère
relation military rank
type title
{'OR': [['Philippe de Gaulle', 'military rank', {'concept': 'title'}], ['Bernard-Georges-François Frère', 'military rank', {'concept': 'title'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Philippe_de_Gaulle property:military_rank ?l } UNION { resource:Bernard-Georges-François_Frère property:military_rank ?l } } . ?l rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15407086
P25
Q502895
USER
Which female person has a child named Élisabeth de Gaulle ?
(Q15407086,P25,c(Q502895))
action filter_type
action find
entity Q15407086
relation P25
type Q502895
['Q15407086', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q15407086 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Élisabeth de Gaulle
action filter_type
action find
entity Élisabeth de Gaulle
relation mother
type common name
['Élisabeth de Gaulle', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Élisabeth_de_Gaulle property:mother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q433393
SYSTEM
Yvonne de Gaulle
Q433393
(Q15407086,P25,c(Q502895))
action filter_type
action find
entity Q15407086
relation P25
type Q502895
And [ANSWER] has a child named Élisabeth de Gaulle
['Q15407086', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q15407086 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Yvonne de Gaulle
And Yvonne de Gaulle has a child named Élisabeth de Gaulle
Yvonne de Gaulle
action filter_type
action find
entity Élisabeth de Gaulle
relation mother
type common name
['Élisabeth de Gaulle', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Élisabeth_de_Gaulle property:mother ?r . ?r rdf:type ontology:common_name }
[]