Simple Question (Direct)
Simple Question
Q3380949
P27
Q15617994
USER
Which administrative territory is Philippe de Gunzbourg an inhabitant of ?
(Q3380949,P27,c(Q15617994))
action filter_type
action find
entity Q3380949
relation P27
type Q15617994
['Q3380949', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3380949 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Philippe de Gunzbourg
action filter_type
action find
entity Philippe de Gunzbourg
relation country of citizenship
type designation for an administrative territorial entity
['Philippe de Gunzbourg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Philippe_de_Gunzbourg property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3380949,P27,c(Q15617994))
action filter_type
action find
entity Q3380949
relation P27
type Q15617994
[ANSWER] is Philippe de Gunzbourg an inhabitant of
['Q3380949', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3380949 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
France
France is Philippe de Gunzbourg an inhabitant of
France
action filter_type
action find
entity Philippe de Gunzbourg
relation country of citizenship
type designation for an administrative territorial entity
['Philippe de Gunzbourg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Philippe_de_Gunzbourg property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3380949
P21
Q290
USER
Which sex does that person belong to ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3380949
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3380949 property:P21 ?n . ?n rdf:type ontology:Q290 }
Philippe de Gunzbourg
action filter_type
action find
entity Philippe de Gunzbourg
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Philippe_de_Gunzbourg property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3380949
relation P21
type Q290
That person belongs to [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3380949 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Philippe de Gunzbourg
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Philippe_de_Gunzbourg property:gender ?n . ?n rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3130721 Q3380949
P166
Q618779
USER
Which awards were Philippe de Gunzbourg and Henri Bouquillard awarded with ?
AND((Q3380949,P166,c(Q618779)), (Q3130721,P166,c(Q618779)))
action filter_type
action intersection
action find
entity Q3380949
relation P166
action find
entity Q3130721
relation P166
type Q618779
{'AND': [['Q3380949', 'P166', {'concept': 'Q618779'}], ['Q3130721', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?i WHERE { resource:Q3380949 property:P166 ?i . resource:Q3130721 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Henri Bouquillard Philippe de Gunzbourg
action filter_type
action intersection
action find
entity Philippe de Gunzbourg
relation award received
action find
entity Henri Bouquillard
relation award received
type award
{'AND': [['Philippe de Gunzbourg', 'award received', {'concept': 'award'}], ['Henri Bouquillard', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?i WHERE { resource:Philippe_de_Gunzbourg property:award_received ?i . resource:Henri_Bouquillard property:award_received ?i . ?i rdf:type ontology:award }
[]
award
Q2547676 Q670473 Q10855271
SYSTEM
Croix de guerre 1939–1945, Médaille de la Résistance, Knight of the Legion of Honour
Q2547676 Q670473 Q10855271
AND((Q3380949,P166,c(Q618779)), (Q3130721,P166,c(Q618779)))
action filter_type
action intersection
action find
entity Q3380949
relation P166
action find
entity Q3130721
relation P166
type Q618779
Philippe de Gunzbourg and Henri Bouquillard were awarded the [ANSWERS]
{'AND': [['Q3380949', 'P166', {'concept': 'Q618779'}], ['Q3130721', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?i WHERE { resource:Q3380949 property:P166 ?i . resource:Q3130721 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Croix de guerre 1939–1945 Médaille de la Résistance Knight of the Legion of Honour
Philippe de Gunzbourg and Henri Bouquillard were awarded the Croix de guerre 1939–1945, Médaille de la Résistance and Knight of the Legion of Honour
Croix de guerre 1939–1945 Médaille de la Résistance Knight of the Legion of Honour
action filter_type
action intersection
action find
entity Philippe de Gunzbourg
relation award received
action find
entity Henri Bouquillard
relation award received
type award
{'AND': [['Philippe de Gunzbourg', 'award received', {'concept': 'award'}], ['Henri Bouquillard', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?i WHERE { resource:Philippe_de_Gunzbourg property:award_received ?i . resource:Henri_Bouquillard property:award_received ?i . ?i rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q515633
P166
Q502895
USER
Did Jean Cavaillès receive the award titled those ones ?
(Q515633,P166,Q2547676) (Q515633,P166,Q670473) (Q515633,P166,Q10855271)
action is_in
entity prev_answer
action find
entity Q515633
relation P166
['Q515633', 'P166', 'Q2547676'] ['Q515633', 'P166', 'Q670473'] ['Q515633', 'P166', 'Q10855271']
ASK WHERE { resource:Q515633 property:P166 ?s . VALUES ( ?s ) { ( resource:Q2547676 ) ( resource:Q670473 ) ( resource:Q10855271 ) } }
Jean Cavaillès
action is_in
entity prev_answer
action find
entity Jean Cavaillès
relation award received
['Jean Cavaillès', 'award received', 'Croix de guerre 1939–1945'] ['Jean Cavaillès', 'award received', 'Médaille de la Résistance'] ['Jean Cavaillès', 'award received', 'Knight of the Legion of Honour']
ASK WHERE { resource:Jean_Cavaillès property:award_received ?s . VALUES ( ?s ) { ( resource:Croix_de_guerre_1939–1945 ) ( resource:Médaille_de_la_Résistance ) ( resource:Knight_of_the_Legion_of_Honour ) } }
[]
common name
SYSTEM
YES
(Q515633,P166,Q2547676) (Q515633,P166,Q670473) (Q515633,P166,Q10855271)
action is_in
entity prev_answer
action find
entity Q515633
relation P166
[ANSWER]
['Q515633', 'P166', 'Q2547676'] ['Q515633', 'P166', 'Q670473'] ['Q515633', 'P166', 'Q10855271']
ASK WHERE { resource:Q515633 property:P166 ?s . VALUES ( ?s ) { ( resource:Q2547676 ) ( resource:Q670473 ) ( resource:Q10855271 ) } }
Yes
action is_in
entity prev_answer
action find
entity Jean Cavaillès
relation award received
['Jean Cavaillès', 'award received', 'Croix de guerre 1939–1945'] ['Jean Cavaillès', 'award received', 'Médaille de la Résistance'] ['Jean Cavaillès', 'award received', 'Knight of the Legion of Honour']
ASK WHERE { resource:Jean_Cavaillès property:award_received ?s . VALUES ( ?s ) { ( resource:Croix_de_guerre_1939–1945 ) ( resource:Médaille_de_la_Résistance ) ( resource:Knight_of_the_Legion_of_Honour ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q1011 Q23055454
P530
Q15617994
USER
Does France have tactful political relations with Cape Verde and Alpes-Maritimes ?
(Q142,P530,Q1011) (Q142,P530,Q23055454)
action is_in
entity Q142
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q23055454
relation P530
['Q142', 'P530', 'Q1011'] ['Q142', 'P530', 'Q23055454']
ASK WHERE { resource:Q142 property:P530 resource:Q1011 . resource:Q142 property:P530 resource:Q23055454 }
France Cape Verde Alpes-Maritimes
action is_in
entity France
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity Alpes-Maritimes
relation diplomatic relation
['France', 'diplomatic relation', 'Cape Verde'] ['France', 'diplomatic relation', 'Alpes-Maritimes']
ASK WHERE { resource:France property:diplomatic_relation resource:Cape_Verde . resource:France property:diplomatic_relation resource:Alpes-Maritimes }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q1011) (Q142,P530,Q23055454)
action is_in
entity Q142
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q23055454
relation P530
[ANSWER]
['Q142', 'P530', 'Q1011'] ['Q142', 'P530', 'Q23055454']
ASK WHERE { resource:Q142 property:P530 resource:Q1011 . resource:Q142 property:P530 resource:Q23055454 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity Alpes-Maritimes
relation diplomatic relation
['France', 'diplomatic relation', 'Cape Verde'] ['France', 'diplomatic relation', 'Alpes-Maritimes']
ASK WHERE { resource:France property:diplomatic_relation resource:Cape_Verde . resource:France property:diplomatic_relation resource:Alpes-Maritimes }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2547676 Q1267097
P361
Q198
USER
Is Croix de guerre 1939–1945 a part of First War of Villmergen ?
(Q2547676,P361,Q1267097)
action is_in
entity Q1267097
action find
entity Q2547676
relation P361
['Q2547676', 'P361', 'Q1267097']
ASK WHERE { resource:Q2547676 property:P361 resource:Q1267097 }
Croix de guerre 1939–1945 First War of Villmergen
action is_in
entity First War of Villmergen
action find
entity Croix de guerre 1939–1945
relation part of
['Croix de guerre 1939–1945', 'part of', 'First War of Villmergen']
ASK WHERE { resource:Croix_de_guerre_1939–1945 property:part_of resource:First_War_of_Villmergen }
[]
war
SYSTEM
NO
(Q2547676,P361,Q1267097)
action is_in
entity Q1267097
action find
entity Q2547676
relation P361
[ANSWER]
['Q2547676', 'P361', 'Q1267097']
ASK WHERE { resource:Q2547676 property:P361 resource:Q1267097 }
No
action is_in
entity First War of Villmergen
action find
entity Croix de guerre 1939–1945
relation part of
['Croix de guerre 1939–1945', 'part of', 'First War of Villmergen']
ASK WHERE { resource:Croix_de_guerre_1939–1945 property:part_of resource:First_War_of_Villmergen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q31 Q730
P47
Q15617994
USER
Does France share border with Belgium and Suriname ?
(Q142,P47,Q31) (Q142,P47,Q730)
action is_in
entity Q142
action intersection
action find_reverse
entity Q31
relation P47
action find_reverse
entity Q730
relation P47
['Q142', 'P47', 'Q31'] ['Q142', 'P47', 'Q730']
ASK WHERE { resource:Q142 property:P47 resource:Q31 . resource:Q142 property:P47 resource:Q730 }
France Belgium Suriname
action is_in
entity France
action intersection
action find_reverse
entity Belgium
relation shares border with
action find_reverse
entity Suriname
relation shares border with
['France', 'shares border with', 'Belgium'] ['France', 'shares border with', 'Suriname']
ASK WHERE { resource:France property:shares_border_with resource:Belgium . resource:France property:shares_border_with resource:Suriname }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P47,Q31) (Q142,P47,Q730)
action is_in
entity Q142
action intersection
action find_reverse
entity Q31
relation P47
action find_reverse
entity Q730
relation P47
[ANSWER]
['Q142', 'P47', 'Q31'] ['Q142', 'P47', 'Q730']
ASK WHERE { resource:Q142 property:P47 resource:Q31 . resource:Q142 property:P47 resource:Q730 }
Yes
action is_in
entity France
action intersection
action find_reverse
entity Belgium
relation shares border with
action find_reverse
entity Suriname
relation shares border with
['France', 'shares border with', 'Belgium'] ['France', 'shares border with', 'Suriname']
ASK WHERE { resource:France property:shares_border_with resource:Belgium . resource:France property:shares_border_with resource:Suriname }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3380949
P106
Q12737077
USER
What is the profession of Philippe de Gunzbourg ?
(Q3380949,P106,c(Q12737077))
action filter_type
action find
entity Q3380949
relation P106
type Q12737077
['Q3380949', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3380949 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Philippe de Gunzbourg
action filter_type
action find
entity Philippe de Gunzbourg
relation occupation
type occupation
['Philippe de Gunzbourg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Philippe_de_Gunzbourg property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q9352089
SYSTEM
spy
Q9352089
(Q3380949,P106,c(Q12737077))
action filter_type
action find
entity Q3380949
relation P106
type Q12737077
The profession of Philippe de Gunzbourg is a [ANSWER]
['Q3380949', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3380949 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
spy
The profession of Philippe de Gunzbourg is a spy
spy
action filter_type
action find
entity Philippe de Gunzbourg
relation occupation
type occupation
['Philippe de Gunzbourg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Philippe_de_Gunzbourg property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27589866
Q12737077
USER
And what about Roy Jennings?
(Q27589866,P106,c(Q12737077))
action filter_type
action find
entity Q27589866
relation P106
type Q12737077
['Q27589866', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q27589866 property:P106 ?r }
Roy Jennings
action filter_type
action find
entity Roy Jennings
relation occupation
type occupation
['Roy Jennings', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Roy_Jennings property:occupation ?r }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q27589866,P106,c(Q12737077))
action filter_type
action find
entity Q27589866
relation P106
type Q12737077
[ANSWER]
['Q27589866', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q27589866 property:P106 ?r }
association football player
association football player
action filter_type
action find
entity Roy Jennings
relation occupation
type occupation
['Roy Jennings', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Roy_Jennings property:occupation ?r }
[]