Simple Question (Direct)
Simple Question
Q466995
P102
Q7210356
USER
Which political organization is Lakhdar Brahimi a member of ?
(Q466995,P102,c(Q7210356))
action filter_type
action find
entity Q466995
relation P102
type Q7210356
['Q466995', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q466995 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Lakhdar Brahimi
action filter_type
action find
entity Lakhdar Brahimi
relation member of political party
type political organization
['Lakhdar Brahimi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Lakhdar_Brahimi property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q204543
SYSTEM
National Liberation Front
Q204543
(Q466995,P102,c(Q7210356))
action filter_type
action find
entity Q466995
relation P102
type Q7210356
Party [ANSWER] is Lakhdar Brahimi a member of
['Q466995', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q466995 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
National Liberation Front
Party National Liberation Front is Lakhdar Brahimi a member of
National Liberation Front
action filter_type
action find
entity Lakhdar Brahimi
relation member of political party
type political organization
['Lakhdar Brahimi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Lakhdar_Brahimi property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q466995
P735
Q82799
USER
Which name is Lakhdar Brahimi known by ?
(Q466995,P735,c(Q82799))
action filter_type
action find
entity Q466995
relation P735
type Q82799
['Q466995', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q466995 property:P735 ?p }
Lakhdar Brahimi
action filter_type
action find
entity Lakhdar Brahimi
relation given name
type name
['Lakhdar Brahimi', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Lakhdar_Brahimi property:given_name ?p }
[]
name
Q21923153
SYSTEM
Lakhdar
Q21923153
(Q466995,P735,c(Q82799))
action filter_type
action find
entity Q466995
relation P735
type Q82799
[ANSWER] Brahimi is known as [ANSWER]
['Q466995', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q466995 property:P735 ?p }
Lakhdar
Lakhdar Brahimi is known as Lakhdar
Lakhdar
action filter_type
action find
entity Lakhdar Brahimi
relation given name
type name
['Lakhdar Brahimi', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Lakhdar_Brahimi property:given_name ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21923153 Q466995
P735
Q502895
USER
Does Lakhdar Brahimi have that one as their given name ?
(Q466995,P735,Q21923153)
action is_in
entity Q21923153
action find
entity Q466995
relation P735
['Q466995', 'P735', 'Q21923153']
ASK WHERE { resource:Q466995 property:P735 resource:Q21923153 }
Lakhdar Lakhdar Brahimi
action is_in
entity Lakhdar
action find
entity Lakhdar Brahimi
relation given name
['Lakhdar Brahimi', 'given name', 'Lakhdar']
ASK WHERE { resource:Lakhdar_Brahimi property:given_name resource:Lakhdar }
[]
common name
SYSTEM
YES
(Q466995,P735,Q21923153)
action is_in
entity Q21923153
action find
entity Q466995
relation P735
[ANSWER]
['Q466995', 'P735', 'Q21923153']
ASK WHERE { resource:Q466995 property:P735 resource:Q21923153 }
Yes
action is_in
entity Lakhdar
action find
entity Lakhdar Brahimi
relation given name
['Lakhdar Brahimi', 'given name', 'Lakhdar']
ASK WHERE { resource:Lakhdar_Brahimi property:given_name resource:Lakhdar }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q204543
P21 P102
Q502895
USER
Which people are members of National Liberation Front and have the gender as male ?
AND((c(Q502895),P102,Q204543), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q204543
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q204543'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P102 resource:Q204543 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male National Liberation Front
action filter_type
action intersection
action find_reverse
entity National Liberation Front
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'National Liberation Front'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of_political_party resource:National_Liberation_Front . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q3303815 Q3126331 Q3318294 Q2843857 Q2923547 Q3079831 Q3469513 Q3217842 Q2841157 Q193043
SYSTEM
Some of them are Mebarek Boukaba, Hamana Bougadi, Mohamed Abdelkrim Benhakkoum, Amor Nezzar, Brahim Boulahia, Foudil Zeghouati, Salah Benharkat, Larbi Dahou, Amar Mokrane, Ferhat Abbas
Q3318571 Q3318573 Q3469513 Q2821165 Q3318624 Q2821104 Q15864901 Q57308 Q2841157 Q3219957 Q3474757 Q193043 Q3319092 Q310855 Q2836366 Q314691 Q3516438 Q57901 Q3318791 Q327414 Q2399573 Q327129 Q3319098 Q3474811 Q3319107 Q2827549 Q3318289 Q3126331 Q2841163 Q1622579 Q307857 Q2827669 Q2843857 Q3079831 Q3191718 Q3303815 Q466995 Q179908 Q2923547 Q2876417 Q3032869 Q2679301 Q2961742 Q3217842 Q3272340 Q2827534 Q2821093 Q327016 Q314688 Q3191744 Q2821095 Q3318294 Q3326186 Q317893 Q3306717 Q510018
AND((c(Q502895),P102,Q204543), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q204543
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are members of National Liberation Front and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q204543'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P102 resource:Q204543 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Mohamed Hadi Mohamed Hagni Salah Benharkat Abdelmadjid Mezouri Mohamed Kamel Rezgui Abdelkader Saadi Amar Saïdani Abdelaziz Bouteflika Amar Mokrane Layachi Chaïbi Saâd Aouissi Ferhat Abbas Mohand Belkacem Hacene Bahloul Houari Boumediene Ali Yahia Abdennour Mohamed Boudiaf Tayeb Saoudi Abdelmalek Sellal Mohamed Salah Mohammedi Rabah Bitat Slimane Hassani Ali Kafi Mohand Larbi Mezouari Saïd Lahdiri Mohand oul Mouhoub Mouhoubi Ahmed Fergag Mohamed Abdelaziz Hamana Bougadi Amar Sedaki Hocine Aït Ahmed Abdelaziz Belkhadem Ahmed Taleb Ibrahimi Amor Nezzar Foudil Zeghouati Kacem Kebier Mebarek Boukaba Lakhdar Brahimi Ahmed Ben Bella Brahim Boulahia Aïssa Kenzaï Djelloul Djilani Benyoucef Benkhedda Chawki Mostefaï Larbi Dahou M'hamed Merabti Ahmed Derias Abdelkader Klouch Ali Benflis Chadli Bendjedid Kada Marouf Abdelkader Mazouzi Mohamed Abdelkrim Benhakkoum Moussa Abdi Abderrahmane Farès Merzoug Fellah Mohammed Seddik Ben Yahia
Mebarek Boukaba, Hamana Bougadi, Mohamed Abdelkrim Benhakkoum, Amor Nezzar, Brahim Boulahia, Foudil Zeghouati, Salah Benharkat, Larbi Dahou, Amar Mokrane and Ferhat Abbas are members of National Liberation Front and have the gender as male
Mebarek Boukaba Hamana Bougadi Mohamed Abdelkrim Benhakkoum Amor Nezzar Brahim Boulahia Foudil Zeghouati Salah Benharkat Larbi Dahou Amar Mokrane Ferhat Abbas
action filter_type
action intersection
action find_reverse
entity National Liberation Front
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'National Liberation Front'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:member_of_political_party resource:National_Liberation_Front . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories do that person belong to ?
(Q3303815,P27,c(Q15617994))
['Q3303815', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3303815 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Mebarek Boukaba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mebarek_Boukaba property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q3079831
SYSTEM
Did you mean Foudil Zeghouati ?
(Q3303815,P27,c(Q15617994)) (Q3126331,P27,c(Q15617994)) (Q3318294,P27,c(Q15617994)) (Q2843857,P27,c(Q15617994)) (Q2923547,P27,c(Q15617994)) (Q3079831,P27,c(Q15617994)) (Q3469513,P27,c(Q15617994)) (Q3217842,P27,c(Q15617994)) (Q2841157,P27,c(Q15617994)) (Q193043,P27,c(Q15617994))
[ANSWER]
['Q3303815', 'P27', {'concept': 'Q15617994'}] ['Q3126331', 'P27', {'concept': 'Q15617994'}] ['Q3318294', 'P27', {'concept': 'Q15617994'}] ['Q2843857', 'P27', {'concept': 'Q15617994'}] ['Q2923547', 'P27', {'concept': 'Q15617994'}] ['Q3079831', 'P27', {'concept': 'Q15617994'}] ['Q3469513', 'P27', {'concept': 'Q15617994'}] ['Q3217842', 'P27', {'concept': 'Q15617994'}] ['Q2841157', 'P27', {'concept': 'Q15617994'}] ['Q193043', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3303815 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Foudil Zeghouati ?
Foudil Zeghouati
['Mebarek Boukaba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Hamana Bougadi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mohamed Abdelkrim Benhakkoum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Amor Nezzar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Brahim Boulahia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Foudil Zeghouati', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Salah Benharkat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Larbi Dahou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Amar Mokrane', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ferhat Abbas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mebarek_Boukaba property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Mebarek Boukaba. Could you tell me the answer for that?
(Q3303815,P27,c(Q15617994))
Q3303815
['Q3303815', 'P27', {'concept': 'Q15617994'}]
['Mebarek Boukaba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q262
(Q3303815,P27,c(Q15617994))
[ANSWER]
['Q3303815', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3303815 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Algeria
1
['Mebarek Boukaba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mebarek_Boukaba property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193043
P20
Q56061
USER
Where did the expiration of Ferhat Abbas occur ?
(Q193043,P20,c(Q56061))
action filter_type
action find
entity Q193043
relation P20
type Q56061
['Q193043', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q193043 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Ferhat Abbas
action filter_type
action find
entity Ferhat Abbas
relation place of death
type administrative territorial entity
['Ferhat Abbas', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ferhat_Abbas property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3561
SYSTEM
Algiers
Q3561
(Q193043,P20,c(Q56061))
action filter_type
action find
entity Q193043
relation P20
type Q56061
The expiration of Ferhat Abbas occurred in [ANSWER]
['Q193043', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q193043 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Algiers
The expiration of Ferhat Abbas occurred in Algiers
Algiers
action filter_type
action find
entity Ferhat Abbas
relation place of death
type administrative territorial entity
['Ferhat Abbas', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ferhat_Abbas property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193043
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q3561,P39,c(Q12737077))
action filter_type
action find
entity Q193043
relation P39
type Q12737077
['Q3561', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q193043 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Ferhat Abbas
action filter_type
action find
entity Ferhat Abbas
relation position held
type occupation
['Algiers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ferhat_Abbas property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3561,P39,c(Q12737077))
action filter_type
action find
entity Q193043
relation P39
type Q12737077
A member of the French National Assembly was a position for which that person was appointed
['Q3561', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q193043 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position for which that person was appointed
member of the French National Assembly
action filter_type
action find
entity Ferhat Abbas
relation position held
type occupation
['Algiers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ferhat_Abbas property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3044918 Q15969060
P39
Q502895
USER
Did Jean Théodore Durosier hold the position of that occupation ?
(Q15969060,P39,Q3044918)
action is_in
entity Q3044918
action find
entity Q15969060
relation P39
['Q15969060', 'P39', 'Q3044918']
ASK WHERE { resource:Q15969060 property:P39 resource:Q3044918 }
member of the French National Assembly Jean Théodore Durosier
action is_in
entity member of the French National Assembly
action find
entity Jean Théodore Durosier
relation position held
['Jean Théodore Durosier', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { resource:Jean_Théodore_Durosier property:position_held resource:member_of_the_French National_Assembly }
[]
common name
SYSTEM
YES
(Q15969060,P39,Q3044918)
action is_in
entity Q3044918
action find
entity Q15969060
relation P39
[ANSWER]
['Q15969060', 'P39', 'Q3044918']
ASK WHERE { resource:Q15969060 property:P39 resource:Q3044918 }
Yes
action is_in
entity member of the French National Assembly
action find
entity Jean Théodore Durosier
relation position held
['Jean Théodore Durosier', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { resource:Jean_Théodore_Durosier property:position_held resource:member_of_the_French National_Assembly }
[]