Simple Question (Direct)
Simple Question
Q1825821
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Lincoln Wolfenstein ?
(Q1825821,P27,c(Q15617994))
action filter_type
action find
entity Q1825821
relation P27
type Q15617994
['Q1825821', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1825821 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Lincoln Wolfenstein
action filter_type
action find
entity Lincoln Wolfenstein
relation country of citizenship
type designation for an administrative territorial entity
['Lincoln Wolfenstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Lincoln_Wolfenstein property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1825821,P27,c(Q15617994))
action filter_type
action find
entity Q1825821
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of Lincoln Wolfenstein
['Q1825821', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1825821 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of Lincoln Wolfenstein
United States of America
action filter_type
action find
entity Lincoln Wolfenstein
relation country of citizenship
type designation for an administrative territorial entity
['Lincoln Wolfenstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Lincoln_Wolfenstein property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1825821
P21
Q290
USER
Which sex does that person have ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q1825821
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1825821 property:P21 ?b . ?b rdf:type ontology:Q290 }
Lincoln Wolfenstein
action filter_type
action find
entity Lincoln Wolfenstein
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Lincoln_Wolfenstein property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q30,P21,c(Q290))
action filter_type
action find
entity Q1825821
relation P21
type Q290
That person has a [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1825821 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Lincoln Wolfenstein
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Lincoln_Wolfenstein property:gender ?b . ?b rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P159
Q431289 Q167270
USER
How many brands or trademarks have HQ at United States of America ?
(c(Q431289),P159,Q30) (c(Q167270),P159,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P159
type Q431289
action filter_type
action find_reverse
entity Q30
relation P159
type Q167270
[{'concept': 'Q431289'}, 'P159', 'Q30'] [{'concept': 'Q167270'}, 'P159', 'Q30']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:P159 resource:Q30 . ?n rdf:type ontology:Q167270 } UNION { ?n property:P159 resource:Q30 . ?n rdf:type ontology:Q431289 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type brand
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type trademark
[{'concept': 'brand'}, 'headquarters location', 'United States of America'] [{'concept': 'trademark'}, 'headquarters location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:headquarters_location resource:United_States_of_America . ?n rdf:type ontology:trademark } UNION { ?n property:headquarters_location resource:United_States_of_America . ?n rdf:type ontology:brand } }
[]
brand trademark
SYSTEM
2
Q3250375 Q16851394
(c(Q431289),P159,Q30) (c(Q167270),P159,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P159
type Q431289
action filter_type
action find_reverse
entity Q30
relation P159
type Q167270
[ANSWER]
[{'concept': 'Q431289'}, 'P159', 'Q30'] [{'concept': 'Q167270'}, 'P159', 'Q30']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:P159 resource:Q30 . ?n rdf:type ontology:Q167270 } UNION { ?n property:P159 resource:Q30 . ?n rdf:type ontology:Q431289 } }
Regent Hotels & Resorts J.Lo by Jennifer Lopez
2
action count
action union
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type brand
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type trademark
[{'concept': 'brand'}, 'headquarters location', 'United States of America'] [{'concept': 'trademark'}, 'headquarters location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:headquarters_location resource:United_States_of_America . ?n rdf:type ontology:trademark } UNION { ?n property:headquarters_location resource:United_States_of_America . ?n rdf:type ontology:brand } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1825821
P106
Q12737077
USER
What are the professions of Lincoln Wolfenstein ?
(Q1825821,P106,c(Q12737077))
action filter_type
action find
entity Q1825821
relation P106
type Q12737077
['Q1825821', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1825821 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Lincoln Wolfenstein
action filter_type
action find
entity Lincoln Wolfenstein
relation occupation
type occupation
['Lincoln Wolfenstein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Lincoln_Wolfenstein property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q169470 Q1622272
SYSTEM
physicist, university teacher
Q169470 Q1622272
(Q1825821,P106,c(Q12737077))
action filter_type
action find
entity Q1825821
relation P106
type Q12737077
The professions of Lincoln Wolfenstein are a [ANSWERS]
['Q1825821', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1825821 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
physicist university teacher
The professions of Lincoln Wolfenstein are a physicist and university teacher
physicist university teacher
action filter_type
action find
entity Lincoln Wolfenstein
relation occupation
type occupation
['Lincoln Wolfenstein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Lincoln_Wolfenstein property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1825821
P19
Q56061
USER
Which administrative territory is the birthplace of Lincoln Wolfenstein ?
(Q1825821,P19,c(Q56061))
action filter_type
action find
entity Q1825821
relation P19
type Q56061
['Q1825821', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1825821 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Lincoln Wolfenstein
action filter_type
action find
entity Lincoln Wolfenstein
relation place of birth
type administrative territorial entity
['Lincoln Wolfenstein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Lincoln_Wolfenstein property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37320
SYSTEM
Cleveland
Q37320
(Q1825821,P19,c(Q56061))
action filter_type
action find
entity Q1825821
relation P19
type Q56061
[ANSWER] is the birthplace of Lincoln Wolfenstein
['Q1825821', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1825821 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Cleveland
Cleveland is the birthplace of Lincoln Wolfenstein
Cleveland
action filter_type
action find
entity Lincoln Wolfenstein
relation place of birth
type administrative territorial entity
['Lincoln Wolfenstein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Lincoln_Wolfenstein property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3181737
Q56061
USER
And also tell me about John Henry Godfrey?
(Q3181737,P19,c(Q56061))
action filter_type
action find
entity Q3181737
relation P19
type Q56061
['Q3181737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3181737 property:P19 ?q . ?q rdf:type ontology:Q56061 }
John Henry Godfrey
action filter_type
action find
entity John Henry Godfrey
relation place of birth
type administrative territorial entity
['John Henry Godfrey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_Henry_Godfrey property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5647672
SYSTEM
Handsworth
Q5647672
(Q3181737,P19,c(Q56061))
action filter_type
action find
entity Q3181737
relation P19
type Q56061
[ANSWER]
['Q3181737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3181737 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Handsworth
Handsworth
action filter_type
action find
entity John Henry Godfrey
relation place of birth
type administrative territorial entity
['John Henry Godfrey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_Henry_Godfrey property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6777905 Q30
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America and are Maruf a part of ?
AND((Q30,P530,c(Q15617994)), (Q6777905,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q6777905
relation P17
type Q15617994
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q6777905', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q30 property:P530 ?e . resource:Q6777905 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Maruf United States of America
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Maruf
relation country
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Maruf', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:United_States_of_America property:diplomatic_relation ?e . resource:Maruf property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q889
SYSTEM
Afghanistan
Q889
AND((Q30,P530,c(Q15617994)), (Q6777905,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q6777905
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with United States of America and are Maruf a part of
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q6777905', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q30 property:P530 ?e . resource:Q6777905 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Afghanistan
Afghanistan have diplomatic relationships with United States of America and are Maruf a part of
Afghanistan
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Maruf
relation country
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Maruf', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:United_States_of_America property:diplomatic_relation ?e . resource:Maruf property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q889 Q2402778
P17
Q15617994
USER
Is that one a part of San Rafael Pie de la Cuesta ?
(Q889,P17,Q2402778)
action is_in
entity Q2402778
action find
entity Q889
relation P17
['Q889', 'P17', 'Q2402778']
ASK WHERE { resource:Q889 property:P17 resource:Q2402778 }
Afghanistan San Rafael Pie de la Cuesta
action is_in
entity San Rafael Pie de la Cuesta
action find
entity Afghanistan
relation country
['Afghanistan', 'country', 'San Rafael Pie de la Cuesta']
ASK WHERE { resource:Afghanistan property:country resource:San_Rafael_Pie_de_la_Cuesta }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q889,P17,Q2402778)
action is_in
entity Q2402778
action find
entity Q889
relation P17
[ANSWER]
['Q889', 'P17', 'Q2402778']
ASK WHERE { resource:Q889 property:P17 resource:Q2402778 }
No
action is_in
entity San Rafael Pie de la Cuesta
action find
entity Afghanistan
relation country
['Afghanistan', 'country', 'San Rafael Pie de la Cuesta']
ASK WHERE { resource:Afghanistan property:country resource:San_Rafael_Pie_de_la_Cuesta }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q889
P1532
Q1194951 Q6979593
USER
How many national sports teams and national association football teams play for Afghanistan ?
(c(Q1194951),P1532,Q889) (c(Q6979593),P1532,Q889)
action count
action union
action filter_type
action find_reverse
entity Q889
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q889
relation P1532
type Q6979593
[{'concept': 'Q1194951'}, 'P1532', 'Q889'] [{'concept': 'Q6979593'}, 'P1532', 'Q889']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:P1532 resource:Q889 . ?a rdf:type ontology:Q1194951 } UNION { ?a property:P1532 resource:Q889 . ?a rdf:type ontology:Q6979593 } }
Afghanistan
action count
action union
action filter_type
action find_reverse
entity Afghanistan
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Afghanistan
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Afghanistan'] [{'concept': 'national association football team'}, 'country for sport', 'Afghanistan']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:country_for_sport resource:Afghanistan . ?a rdf:type ontology:national_sports_team } UNION { ?a property:country_for_sport resource:Afghanistan . ?a rdf:type ontology:national_association_football_team } }
[]
national sports team national association football team
SYSTEM
1 national sports teams and 1 national association football teams
Q3277091 Q192966
(c(Q1194951),P1532,Q889) (c(Q6979593),P1532,Q889)
action count
action union
action filter_type
action find_reverse
entity Q889
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q889
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q889'] [{'concept': 'Q6979593'}, 'P1532', 'Q889']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:P1532 resource:Q889 . ?a rdf:type ontology:Q1194951 } UNION { ?a property:P1532 resource:Q889 . ?a rdf:type ontology:Q6979593 } }
Afghanistan women's national football team Afghanistan national football team
1 national sports teams and 1 national association football teams
action count
action union
action filter_type
action find_reverse
entity Afghanistan
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Afghanistan
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Afghanistan'] [{'concept': 'national association football team'}, 'country for sport', 'Afghanistan']
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { ?a property:country_for_sport resource:Afghanistan . ?a rdf:type ontology:national_sports_team } UNION { ?a property:country_for_sport resource:Afghanistan . ?a rdf:type ontology:national_association_football_team } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q889
P793
Q820655
USER
Which statute is a significant event associated with Afghanistan ?
(Q889,P793,c(Q820655))
action filter_type
action find
entity Q889
relation P793
type Q820655
['Q889', 'P793', {'concept': 'Q820655'}]
SELECT DISTINCT ?d WHERE { resource:Q889 property:P793 ?d . ?d rdf:type ontology:Q820655 }
Afghanistan
action filter_type
action find
entity Afghanistan
relation significant event
type statute
['Afghanistan', 'significant event', {'concept': 'statute'}]
SELECT DISTINCT ?d WHERE { resource:Afghanistan property:significant_event ?d . ?d rdf:type ontology:statute }
[]
statute
Q1456454
SYSTEM
Anglo-Afghan Treaty of 1919
Q1456454
(Q889,P793,c(Q820655))
action filter_type
action find
entity Q889
relation P793
type Q820655
[ANSWER] is a significant event associated with Afghanistan
['Q889', 'P793', {'concept': 'Q820655'}]
SELECT DISTINCT ?d WHERE { resource:Q889 property:P793 ?d . ?d rdf:type ontology:Q820655 }
Anglo-Afghan Treaty of 1919
Anglo-Afghan Treaty of 1919 is a significant event associated with Afghanistan
Anglo-Afghan Treaty of 1919
action filter_type
action find
entity Afghanistan
relation significant event
type statute
['Afghanistan', 'significant event', {'concept': 'statute'}]
SELECT DISTINCT ?d WHERE { resource:Afghanistan property:significant_event ?d . ?d rdf:type ontology:statute }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q889
P138
Q7946
USER
Which mineral has Afghanistan as its toponym ?
(c(Q7946),P138,Q889)
action filter_type
action find_reverse
entity Q889
relation P138
type Q7946
[{'concept': 'Q7946'}, 'P138', 'Q889']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7946 . ?h property:P138 resource:Q889 }
Afghanistan
action filter_type
action find_reverse
entity Afghanistan
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'Afghanistan']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:mineral . ?h property:named_after resource:Afghanistan }
[]
mineral
Q978346
SYSTEM
afghanite
Q978346
(c(Q7946),P138,Q889)
action filter_type
action find_reverse
entity Q889
relation P138
type Q7946
[ANSWER] has Afghanistan as its toponym
[{'concept': 'Q7946'}, 'P138', 'Q889']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7946 . ?h property:P138 resource:Q889 }
afghanite
Afghanite has Afghanistan as its toponym
afghanite
action filter_type
action find_reverse
entity Afghanistan
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'Afghanistan']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:mineral . ?h property:named_after resource:Afghanistan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q889
P463
Q484652
USER
Which organizations were Afghanistan a member of ?
(Q889,P463,c(Q484652))
action filter_type
action find
entity Q889
relation P463
type Q484652
['Q889', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?s WHERE { resource:Q889 property:P463 ?s . ?s rdf:type ontology:Q484652 }
Afghanistan
action filter_type
action find
entity Afghanistan
relation member of
type international organization
['Afghanistan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?s WHERE { resource:Afghanistan property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
international organization
Q1065 Q188822 Q1043527
SYSTEM
United Nations, Asian Development Bank, Multilateral Investment Guarantee Agency
Q1065 Q188822 Q1043527
(Q889,P463,c(Q484652))
action filter_type
action find
entity Q889
relation P463
type Q484652
Afghanistan were the [ANSWERS]
['Q889', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?s WHERE { resource:Q889 property:P463 ?s . ?s rdf:type ontology:Q484652 }
United Nations Asian Development Bank Multilateral Investment Guarantee Agency
Afghanistan were the United Nations, Asian Development Bank and Multilateral Investment Guarantee Agency
United Nations Asian Development Bank Multilateral Investment Guarantee Agency
action filter_type
action find
entity Afghanistan
relation member of
type international organization
['Afghanistan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?s WHERE { resource:Afghanistan property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q889
P35
Q502895
USER
Which people are the heads of state of Afghanistan ?
(Q889,P35,c(Q502895))
action filter_type
action find
entity Q889
relation P35
type Q502895
['Q889', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q889 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Afghanistan
action filter_type
action find
entity Afghanistan
relation head of state
type common name
['Afghanistan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Afghanistan property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]
common name
Q152265 Q207728 Q172388
SYSTEM
Mohammed Zahir Shah, Mohammad Najibullah, Ashraf Ghani Ahmadzai
Q188667 Q172388 Q153620 Q355610 Q207728 Q471037 Q473247 Q310247 Q152265
(Q889,P35,c(Q502895))
action filter_type
action find
entity Q889
relation P35
type Q502895
[ANSWERS] are the heads of state of Afghanistan
['Q889', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q889 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Burhanuddin Rabbani Ashraf Ghani Ahmadzai Amānullāh Khān Mohammed Nadir Shah Mohammad Najibullah Inayatullah Khan Habibullāh Kalakāni Mohammed Daoud Khan Mohammed Zahir Shah
Mohammed Zahir Shah, Mohammad Najibullah and Ashraf Ghani Ahmadzai are the heads of state of Afghanistan
Mohammed Zahir Shah Mohammad Najibullah Ashraf Ghani Ahmadzai
action filter_type
action find
entity Afghanistan
relation head of state
type common name
['Afghanistan', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Afghanistan property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]