Simple Question (Direct)
Simple Question
Q307231
P1196
Q1931388
USER
What manner did Abd al-Halim Abu Ghazala die ?
(Q307231,P1196,c(Q1931388))
action filter_type
action find
entity Q307231
relation P1196
type Q1931388
['Q307231', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?i WHERE { resource:Q307231 property:P1196 ?i . ?i rdf:type ontology:Q1931388 }
Abd al-Halim Abu Ghazala
action filter_type
action find
entity Abd al-Halim Abu Ghazala
relation manner of death
type cause of death
['Abd al-Halim Abu Ghazala', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?i WHERE { resource:Abd_al-Halim_Abu_Ghazala property:manner_of_death ?i . ?i rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q307231,P1196,c(Q1931388))
action filter_type
action find
entity Q307231
relation P1196
type Q1931388
Abd al-Halim Abu Ghazala died of [ANSWER]
['Q307231', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?i WHERE { resource:Q307231 property:P1196 ?i . ?i rdf:type ontology:Q1931388 }
natural causes
Abd al-Halim Abu Ghazala died of natural causes
natural causes
action filter_type
action find
entity Abd al-Halim Abu Ghazala
relation manner of death
type cause of death
['Abd al-Halim Abu Ghazala', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?i WHERE { resource:Abd_al-Halim_Abu_Ghazala property:manner_of_death ?i . ?i rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q307231
P20
Q56061
USER
Where did Abd al-Halim Abu Ghazala die ?
(Q307231,P20,c(Q56061))
action filter_type
action find
entity Q307231
relation P20
type Q56061
['Q307231', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q307231 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Abd al-Halim Abu Ghazala
action filter_type
action find
entity Abd al-Halim Abu Ghazala
relation place of death
type administrative territorial entity
['Abd al-Halim Abu Ghazala', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Abd_al-Halim_Abu_Ghazala property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q85
SYSTEM
Cairo
Q85
(Q307231,P20,c(Q56061))
action filter_type
action find
entity Q307231
relation P20
type Q56061
Abd al-Halim Abu Ghazala died in [ANSWER]
['Q307231', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q307231 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Cairo
Abd al-Halim Abu Ghazala died in Cairo
Cairo
action filter_type
action find
entity Abd al-Halim Abu Ghazala
relation place of death
type administrative territorial entity
['Abd al-Halim Abu Ghazala', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Abd_al-Halim_Abu_Ghazala property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q85
P206
Q355304
USER
Which watercourse is situated close to that administrative territory ?
(Q85,P206,c(Q355304))
action filter_type
action find
entity Q85
relation P206
type Q355304
['Q85', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { resource:Q85 property:P206 ?f . ?f rdf:type ontology:Q355304 }
Cairo
action filter_type
action find
entity Cairo
relation located next to body of water
type watercourse
['Cairo', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { resource:Cairo property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse }
[]
watercourse
Q3392
SYSTEM
Nile
Q3392
(Q85,P206,c(Q355304))
action filter_type
action find
entity Q85
relation P206
type Q355304
[ANSWER] is situated close to that administrative territory
['Q85', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { resource:Q85 property:P206 ?f . ?f rdf:type ontology:Q355304 }
Nile
Nile is situated close to that administrative territory
Nile
action filter_type
action find
entity Cairo
relation located next to body of water
type watercourse
['Cairo', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { resource:Cairo property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q355304 Q56061 Q355304
USER
How many watercourses are atleast 1 administrative territories or watercourses named after ?
(c(Q56061)|c(Q355304),P138,c(Q355304))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q56061
action find_reverse_tuple_counts
relation P138
type Q355304
type Q355304
value 1
[[{'concept': 'Q56061'}, {'concept': 'Q355304'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { { ?f property:P138 ?h . ?h rdf:type ontology:Q355304 . ?f rdf:type ontology:Q56061 } UNION { ?f property:P138 ?h . ?h rdf:type ontology:Q355304 . ?f rdf:type ontology:Q355304 } } GROUP BY ?h } . FILTER ( ?o >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type watercourse
type watercourse
value 1
[[{'concept': 'administrative territorial entity'}, {'concept': 'watercourse'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { { ?f property:named_after ?h . ?h rdf:type ontology:watercourse . ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f property:named_after ?h . ?h rdf:type ontology:watercourse . ?f rdf:type ontology:watercourse } } GROUP BY ?h } . FILTER ( ?o >= 1 ) }
[]
watercourse administrative territorial entity watercourse
SYSTEM
47
Q3242393 Q815650 Q5032534 Q7415265 Q19700 Q811658 Q1408983 Q952429 Q14369 Q185405 Q217818 Q2092438 Q2443900 Q649527 Q2126786 Q11892362 Q4696432 Q626 Q269407 Q1734676 Q1244595 Q1786479 Q175117 Q2338605 Q19600526 Q1825272 Q19721 Q4786924 Q633819 Q1233866 Q41986 Q2639341 Q905910 Q168696 Q2160 Q701645 Q661684 Q940488 Q3720655 Q702289 Q1785600 Q1127173 Q1201857 Q171649 Q1897253 Q1163315 Q22703709
(c(Q56061)|c(Q355304),P138,c(Q355304))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q56061
action find_reverse_tuple_counts
relation P138
type Q355304
type Q355304
value 1
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q355304'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { { ?f property:P138 ?h . ?h rdf:type ontology:Q355304 . ?f rdf:type ontology:Q56061 } UNION { ?f property:P138 ?h . ?h rdf:type ontology:Q355304 . ?f rdf:type ontology:Q355304 } } GROUP BY ?h } . FILTER ( ?o >= 1 ) }
River Fal Belize River Cann River San Saba River River Taff Bauna Mopan River Green River Inn Amstel IJssel Sokoto River Gulp River Samara River White River Sanginjoki Scharsterrijn Volga Dender Karuma Falls Ille Sluch River Moskva River Kaduna River Bishop Creek Lilongwe River Clyde Calabar River Arve Pineios Meuse Luhan River Brisbane River Nahe Vologda River Düssel Vilnia River St. Marys River Taradeya Wien River Farset Rance Yazoo River Ubangi River Vecht Mitta Mitta River Jean Marie River
47
action count
action atleast
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type watercourse
type watercourse
value 1
[[{'concept': 'administrative territorial entity'}, {'concept': 'watercourse'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { { ?f property:named_after ?h . ?h rdf:type ontology:watercourse . ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f property:named_after ?h . ?h rdf:type ontology:watercourse . ?f rdf:type ontology:watercourse } } GROUP BY ?h } . FILTER ( ?o >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q85
P30
Q2221906
USER
Where is Cairo located ?
(Q85,P30,c(Q2221906))
action filter_type
action find
entity Q85
relation P30
type Q2221906
['Q85', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q85 property:P30 ?h }
Cairo
action filter_type
action find
entity Cairo
relation continent
type geographic location
['Cairo', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:Cairo property:continent ?h }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q85,P30,c(Q2221906))
action filter_type
action find
entity Q85
relation P30
type Q2221906
Cairo is located in [ANSWER]
['Q85', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q85 property:P30 ?h }
Africa
Cairo is located in Africa
Africa
action filter_type
action find
entity Cairo
relation continent
type geographic location
['Cairo', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:Cairo property:continent ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P30
Q15617994
USER
How many administrative territories are included in that geographic location ?
(c(Q15617994),P30,Q15)
action count
action filter_type
action find_reverse
entity Q15
relation P30
type Q15617994
[{'concept': 'Q15617994'}, 'P30', 'Q15']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P30 resource:Q15 . ?u rdf:type ontology:Q15617994 }
action count
action filter_type
action find_reverse
entity Africa
relation continent
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'continent', 'Africa']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:continent resource:Africa . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
59
Q986 Q983 Q965 Q967 Q962 Q963 Q977 Q974 Q971 Q970 Q948 Q945 Q958 Q924 Q912 Q916 Q1027 Q1020 Q1029 Q1028 Q1036 Q1032 Q1033 Q1030 Q1039 Q1007 Q1006 Q1005 Q1009 Q1019 Q1016 Q1011 Q1013 Q657 Q1042 Q1041 Q1050 Q160307 Q262 Q258 Q12536 Q1025 Q142 Q1008 Q954 Q953 Q115 Q114 Q117 Q1014 Q929 Q8575586 Q129003 Q29 Q1037 Q79 Q1044 Q1045 Q1049
(c(Q15617994),P30,Q15)
action count
action filter_type
action find_reverse
entity Q15
relation P30
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P30', 'Q15']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P30 resource:Q15 . ?u rdf:type ontology:Q15617994 }
Eritrea Equatorial Guinea Burkina Faso Burundi Benin Botswana Djibouti Democratic Republic of the Congo Republic of the Congo Comoros Tunisia Togo South Sudan Tanzania Mali Angola Mauritius Malawi Mozambique Morocco Uganda Niger Nigeria Namibia Sao Tomé and Príncipe Guinea-Bissau Guinea Gambia Cameroon Madagascar Libya Cape Verde Lesotho Chad Seychelles Senegal Swaziland Fatimid caliphate Algeria South Africa Abbasid caliphate Mauritania France Côte d'Ivoire Zimbabwe Zambia Ethiopia Kenya Ghana Liberia Central African Republic Umayyad Caliphate French Southern and Antarctic Lands Spain Rwanda Egypt Sierra Leone Somalia Sudan
59
action count
action filter_type
action find_reverse
entity Africa
relation continent
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'continent', 'Africa']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:continent resource:Africa . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3392 Q8079027
P138
Q2235308
USER
How many ship types have Nile or Örskär as their namesake ?
(c(Q2235308),P138,Q3392) (c(Q2235308),P138,Q8079027)
action count
action union
action filter_type
action find_reverse
entity Q3392
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q8079027
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q3392'] [{'concept': 'Q2235308'}, 'P138', 'Q8079027']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:P138 resource:Q3392 . ?k rdf:type ontology:Q2235308 } UNION { ?k property:P138 resource:Q8079027 . ?k rdf:type ontology:Q2235308 } }
Nile Örskär
action count
action union
action filter_type
action find_reverse
entity Nile
relation named after
type ship type
action filter_type
action find_reverse
entity Örskär
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Nile'] [{'concept': 'ship type'}, 'named after', 'Örskär']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:named_after resource:Nile . ?k rdf:type ontology:ship_type } UNION { ?k property:named_after resource:Örskär . ?k rdf:type ontology:ship_type } }
[]
ship type
SYSTEM
2
Q10515283 Q14876128
(c(Q2235308),P138,Q3392) (c(Q2235308),P138,Q8079027)
action count
action union
action filter_type
action find_reverse
entity Q3392
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q8079027
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P138', 'Q3392'] [{'concept': 'Q2235308'}, 'P138', 'Q8079027']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:P138 resource:Q3392 . ?k rdf:type ontology:Q2235308 } UNION { ?k property:P138 resource:Q8079027 . ?k rdf:type ontology:Q2235308 } }
HMS Örskär HMS Örskär
2
action count
action union
action filter_type
action find_reverse
entity Nile
relation named after
type ship type
action filter_type
action find_reverse
entity Örskär
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Nile'] [{'concept': 'ship type'}, 'named after', 'Örskär']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:named_after resource:Nile . ?k rdf:type ontology:ship_type } UNION { ?k property:named_after resource:Örskär . ?k rdf:type ontology:ship_type } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3392
P403
Q355304
USER
Which watercourses have Nile as their outlet ?
(c(Q355304),P403,Q3392)
action filter_type
action find_reverse
entity Q3392
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q3392']
SELECT DISTINCT ?z WHERE { ?z property:P403 resource:Q3392 . ?z rdf:type ontology:Q355304 }
Nile
action filter_type
action find_reverse
entity Nile
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Nile']
SELECT DISTINCT ?z WHERE { ?z property:mouth_of_the_watercourse resource:Nile . ?z rdf:type ontology:watercourse }
[]
watercourse
Q4814791 Q882739 Q753897
SYSTEM
White Nile, Blue Nile, Atbarah River
Q753897 Q1479250 Q882739 Q4814791
(c(Q355304),P403,Q3392)
action filter_type
action find_reverse
entity Q3392
relation P403
type Q355304
[ANSWERS] have Nile as their outlet
[{'concept': 'Q355304'}, 'P403', 'Q3392']
SELECT DISTINCT ?z WHERE { ?z property:P403 resource:Q3392 . ?z rdf:type ontology:Q355304 }
Atbarah River Wadi Hammamat Blue Nile White Nile
White Nile, Blue Nile and Atbarah River have Nile as their outlet
White Nile Blue Nile Atbarah River
action filter_type
action find_reverse
entity Nile
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Nile']
SELECT DISTINCT ?z WHERE { ?z property:mouth_of_the_watercourse resource:Nile . ?z rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4814791 Q882739 Q753897
P403
Q355304
USER
Which watercourses flows into those ones ?
(c(Q355304),P403,Q4814791) (c(Q355304),P403,Q882739) (c(Q355304),P403,Q753897)
action filter_type
action find_reverse
entity prev_answer
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q4814791'] [{'concept': 'Q355304'}, 'P403', 'Q882739'] [{'concept': 'Q355304'}, 'P403', 'Q753897']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q355304 . ?m property:P403 ?p . VALUES ( ?p ) { ( resource:Q753897 ) ( resource:Q1479250 ) ( resource:Q882739 ) } }
White Nile Blue Nile Atbarah River
action filter_type
action find_reverse
entity prev_answer
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'White Nile'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Blue Nile'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Atbarah River']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:watercourse . ?m property:mouth_of_the_watercourse ?p . VALUES ( ?p ) { ( resource:Atbarah_River ) ( resource:Wadi_Hammamat ) ( resource:Blue_Nile ) } }
[]
watercourse
Q843308 Q2034078 Q821911
SYSTEM
Tekezé River, Achwa, Sobat River
Q2034078 Q821911 Q4680801 Q4788736 Q1112393 Q803634 Q4790384 Q4783953 Q4783777 Q586209 Q1067130 Q4783782 Q4783797 Q4783658 Q3944988 Q1070291 Q4783885 Q2604961 Q2480948 Q843308 Q4783932
(c(Q355304),P403,Q4814791) (c(Q355304),P403,Q882739) (c(Q355304),P403,Q753897)
action filter_type
action find_reverse
entity prev_answer
relation P403
type Q355304
[ANSWERS] flow into those ones
[{'concept': 'Q355304'}, 'P403', 'Q4814791'] [{'concept': 'Q355304'}, 'P403', 'Q882739'] [{'concept': 'Q355304'}, 'P403', 'Q753897']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q355304 . ?m property:P403 ?p . VALUES ( ?p ) { ( resource:Q753897 ) ( resource:Q1479250 ) ( resource:Q882739 ) } }
Achwa Sobat River Adar River Kidepo River Bahr el Zeraf Bahr el Ghazal River Ora River Walaqa River Guder River Didessa River Bashilo River Gulla Jamma River Beles River Dabus River Rahad River Muger River Dinder River Angereb River Tekezé River Shinfa River
Tekezé River, Achwa and Sobat River flow into those ones
Tekezé River Achwa Sobat River
action filter_type
action find_reverse
entity prev_answer
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'White Nile'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Blue Nile'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Atbarah River']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:watercourse . ?m property:mouth_of_the_watercourse ?p . VALUES ( ?p ) { ( resource:Atbarah_River ) ( resource:Wadi_Hammamat ) ( resource:Blue_Nile ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q843308 Q2034078 Q821911
P17
Q15617994
USER
Which administrative territories are those watercourses situated in ?
(Q843308,P17,c(Q15617994)) (Q2034078,P17,c(Q15617994)) (Q821911,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q843308', 'P17', {'concept': 'Q15617994'}] ['Q2034078', 'P17', {'concept': 'Q15617994'}] ['Q821911', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?i ) { ( resource:Q2034078 ) ( resource:Q821911 ) ( resource:Q4680801 ) } . ?i property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Tekezé River Achwa Sobat River
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Tekezé River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Achwa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sobat River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?i ) { ( resource:Achwa ) ( resource:Sobat_River ) ( resource:Adar_River ) } . ?i property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1049 Q115 Q1036
SYSTEM
Sudan, Ethiopia, Uganda
Q986 Q115 Q1049 Q1036 Q958 Q958
(Q843308,P17,c(Q15617994)) (Q2034078,P17,c(Q15617994)) (Q821911,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those watercourses are situated in [ANSWERS]
['Q843308', 'P17', {'concept': 'Q15617994'}] ['Q2034078', 'P17', {'concept': 'Q15617994'}] ['Q821911', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?i ) { ( resource:Q2034078 ) ( resource:Q821911 ) ( resource:Q4680801 ) } . ?i property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Eritrea Ethiopia Sudan Uganda South Sudan South Sudan
Those watercourses are situated in Sudan, Ethiopia and Uganda
Sudan Ethiopia Uganda
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Tekezé River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Achwa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sobat River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?i ) { ( resource:Achwa ) ( resource:Sobat_River ) ( resource:Adar_River ) } . ?i property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1049 Q115 Q1036
P163
Q14660
USER
Which flags are associated with those administrative territories ?
(Q1049,P163,c(Q14660)) (Q115,P163,c(Q14660)) (Q1036,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
['Q1049', 'P163', {'concept': 'Q14660'}] ['Q115', 'P163', {'concept': 'Q14660'}] ['Q1036', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { ?a property:P163 ?b . ?b rdf:type ontology:Q14660 . VALUES ( ?a ) { ( resource:Q986 ) ( resource:Q115 ) ( resource:Q1049 ) } }
Sudan Ethiopia Uganda
action filter_type
action find
entity prev_answer
relation flag
type flag
['Sudan', 'flag', {'concept': 'flag'}] ['Ethiopia', 'flag', {'concept': 'flag'}] ['Uganda', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { ?a property:flag ?b . ?b rdf:type ontology:flag . VALUES ( ?a ) { ( resource:Eritrea ) ( resource:Ethiopia ) ( resource:Sudan ) } }
[]
flag
Q102198 Q162068 Q103037
SYSTEM
Flag of Sudan, Flag of Ethiopia, Flag of Uganda
Q102198 Q162068 Q103037
(Q1049,P163,c(Q14660)) (Q115,P163,c(Q14660)) (Q1036,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
[ANSWERS] are associated with those administrative territories
['Q1049', 'P163', {'concept': 'Q14660'}] ['Q115', 'P163', {'concept': 'Q14660'}] ['Q1036', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { ?a property:P163 ?b . ?b rdf:type ontology:Q14660 . VALUES ( ?a ) { ( resource:Q986 ) ( resource:Q115 ) ( resource:Q1049 ) } }
Flag of Sudan Flag of Ethiopia Flag of Uganda
Flag of Sudan, Flag of Ethiopia and Flag of Uganda are associated with those administrative territories
Flag of Sudan Flag of Ethiopia Flag of Uganda
action filter_type
action find
entity prev_answer
relation flag
type flag
['Sudan', 'flag', {'concept': 'flag'}] ['Ethiopia', 'flag', {'concept': 'flag'}] ['Uganda', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { ?a property:flag ?b . ?b rdf:type ontology:flag . VALUES ( ?a ) { ( resource:Eritrea ) ( resource:Ethiopia ) ( resource:Sudan ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q102198 Q162068 Q103037
P1001
Q15617994
USER
Which administrative territories belong to jurisdiction of those flags ?
(Q102198,P1001,c(Q15617994)) (Q162068,P1001,c(Q15617994)) (Q103037,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
['Q102198', 'P1001', {'concept': 'Q15617994'}] ['Q162068', 'P1001', {'concept': 'Q15617994'}] ['Q103037', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . ?r property:P1001 ?p . VALUES ( ?r ) { ( resource:Q102198 ) ( resource:Q162068 ) ( resource:Q103037 ) } }
Flag of Sudan Flag of Ethiopia Flag of Uganda
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Sudan', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Ethiopia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Uganda', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:applies_to_jurisdiction ?p . VALUES ( ?r ) { ( resource:Flag_of_Sudan ) ( resource:Flag_of_Ethiopia ) ( resource:Flag_of_Uganda ) } }
[]
designation for an administrative territorial entity
Q1049 Q115 Q1036
SYSTEM
Sudan, Ethiopia, Uganda
Q1049 Q115 Q1036
(Q102198,P1001,c(Q15617994)) (Q162068,P1001,c(Q15617994)) (Q103037,P1001,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1001
type Q15617994
[ANSWERS] belong to jurisdiction of those flags
['Q102198', 'P1001', {'concept': 'Q15617994'}] ['Q162068', 'P1001', {'concept': 'Q15617994'}] ['Q103037', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . ?r property:P1001 ?p . VALUES ( ?r ) { ( resource:Q102198 ) ( resource:Q162068 ) ( resource:Q103037 ) } }
Sudan Ethiopia Uganda
Sudan, Ethiopia and Uganda belong to jurisdiction of those flags
Sudan Ethiopia Uganda
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Sudan', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Ethiopia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Uganda', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:applies_to_jurisdiction ?p . VALUES ( ?r ) { ( resource:Flag_of_Sudan ) ( resource:Flag_of_Ethiopia ) ( resource:Flag_of_Uganda ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1049
P1376
Q56061
USER
What is the capital of that administrative territory ?
(c(Q56061),P1376,Q1049)
action filter_type
action find_reverse
entity Q1049
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q1049']
SELECT DISTINCT ?y WHERE { ?y property:P1376 resource:Q1049 . ?y rdf:type ontology:Q56061 }
Sudan
action filter_type
action find_reverse
entity Sudan
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Sudan']
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Sudan . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q115
SYSTEM
Did you mean Ethiopia ?
Q1049 Q115 Q1036
(c(Q56061),P1376,Q1049) (c(Q56061),P1376,Q115) (c(Q56061),P1376,Q1036)
[ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q1049'] [{'concept': 'Q56061'}, 'P1376', 'Q115'] [{'concept': 'Q56061'}, 'P1376', 'Q1036']
SELECT DISTINCT ?y WHERE { ?y property:P1376 resource:Q1049 . ?y rdf:type ontology:Q56061 }
Sudan Ethiopia Uganda
Did you mean Ethiopia ?
Ethiopia
[{'concept': 'administrative territorial entity'}, 'capital of', 'Sudan'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Ethiopia'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Uganda']
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Sudan . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Sudan. Could you tell me the answer for that?
(c(Q56061),P1376,Q1049)
Q1049
[{'concept': 'Q56061'}, 'P1376', 'Q1049']
[{'concept': 'administrative territorial entity'}, 'capital of', 'Sudan']
[]
Q1963
SYSTEM
Khartoum
Q1963
(c(Q56061),P1376,Q1049)
action filter_type
action find_reverse
entity Q1049
relation P1376
type Q56061
The capital of that administrative territory is the [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q1049']
SELECT DISTINCT ?y WHERE { ?y property:P1376 resource:Q1049 . ?y rdf:type ontology:Q56061 }
Khartoum
The capital of that administrative territory is the Khartoum
Khartoum
action filter_type
action find_reverse
entity Sudan
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Sudan']
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Sudan . ?y rdf:type ontology:administrative_territorial_entity }
[]