Simple Question (Direct)
Simple Question
Q7942243
P119
Q43229
USER
Where is the place of burial for Władysław Jaxa-Rożen located ?
(Q7942243,P119,c(Q43229))
action filter_type
action find
entity Q7942243
relation P119
type Q43229
['Q7942243', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q7942243 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Władysław Jaxa-Rożen
action filter_type
action find
entity Władysław Jaxa-Rożen
relation place of burial
type organization
['Władysław Jaxa-Rożen', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Władysław_Jaxa-Rożen property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
organization
Q2790054
SYSTEM
Powązki Military Cemetery
Q2790054
(Q7942243,P119,c(Q43229))
action filter_type
action find
entity Q7942243
relation P119
type Q43229
Located The [ANSWER] is the place of burial for Władysław Jaxa-Rożen
['Q7942243', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q7942243 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Powązki Military Cemetery
Located The Powązki Military Cemetery is the place of burial for Władysław Jaxa-Rożen
Powązki Military Cemetery
action filter_type
action find
entity Władysław Jaxa-Rożen
relation place of burial
type organization
['Władysław Jaxa-Rożen', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Władysław_Jaxa-Rożen property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7942243
P20
Q56061
USER
Where did Władysław Jaxa-Rożen expire ?
(Q7942243,P20,c(Q56061))
action filter_type
action find
entity Q7942243
relation P20
type Q56061
['Q7942243', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q7942243 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Władysław Jaxa-Rożen
action filter_type
action find
entity Władysław Jaxa-Rożen
relation place of death
type administrative territorial entity
['Władysław Jaxa-Rożen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Władysław_Jaxa-Rożen property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q7942243,P20,c(Q56061))
action filter_type
action find
entity Q7942243
relation P20
type Q56061
Władysław Jaxa-Rożen expired in [ANSWER]
['Q7942243', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q7942243 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Warsaw
Władysław Jaxa-Rożen expired in Warsaw
Warsaw
action filter_type
action find
entity Władysław Jaxa-Rożen
relation place of death
type administrative territorial entity
['Władysław Jaxa-Rożen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Władysław_Jaxa-Rożen property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7942243
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q270,P106,c(Q12737077))
action filter_type
action find
entity Q7942243
relation P106
type Q12737077
['Q270', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q7942243 property:P106 ?p }
Władysław Jaxa-Rożen
action filter_type
action find
entity Władysław Jaxa-Rożen
relation occupation
type occupation
['Warsaw', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Władysław_Jaxa-Rożen property:occupation ?p }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q270,P106,c(Q12737077))
action filter_type
action find
entity Q7942243
relation P106
type Q12737077
[ANSWER] is the profession of that person
['Q270', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q7942243 property:P106 ?p }
officer
Officer is the profession of that person
officer
action filter_type
action find
entity Władysław Jaxa-Rożen
relation occupation
type occupation
['Warsaw', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Władysław_Jaxa-Rożen property:occupation ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2790054
P17
Q15617994
USER
Which administrative territory does Powązki Military Cemetery belong to ?
(Q2790054,P17,c(Q15617994))
action filter_type
action find
entity Q2790054
relation P17
type Q15617994
['Q2790054', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q2790054 property:P17 ?d }
Powązki Military Cemetery
action filter_type
action find
entity Powązki Military Cemetery
relation country
type designation for an administrative territorial entity
['Powązki Military Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Powązki_Military_Cemetery property:country ?d }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q2790054,P17,c(Q15617994))
action filter_type
action find
entity Q2790054
relation P17
type Q15617994
Powązki Military Cemetery belongs to [ANSWER]
['Q2790054', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q2790054 property:P17 ?d }
Poland
Powązki Military Cemetery belongs to Poland
Poland
action filter_type
action find
entity Powązki Military Cemetery
relation country
type designation for an administrative territorial entity
['Powązki Military Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Powązki_Military_Cemetery property:country ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P35
Q502895
USER
Who are the chiefs of state of that administrative territory ?
(Q36,P35,c(Q502895))
action filter_type
action find
entity Q36
relation P35
type Q502895
['Q36', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q36 property:P35 ?x }
Poland
action filter_type
action find
entity Poland
relation head of state
type common name
['Poland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Poland property:head_of_state ?x }
[]
common name
Q444 Q55758 Q2757
SYSTEM
Lech Wałęsa, Aleksander Kwaśniewski, Lech Kaczyński
Q2757 Q444 Q9151911 Q55758
(Q36,P35,c(Q502895))
action filter_type
action find
entity Q36
relation P35
type Q502895
The chiefs of state of that administrative territory are [ANSWERS]
['Q36', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q36 property:P35 ?x }
Lech Kaczyński Lech Wałęsa Andrzej Duda Aleksander Kwaśniewski
The chiefs of state of that administrative territory are Lech Wałęsa, Aleksander Kwaśniewski and Lech Kaczyński
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
action filter_type
action find
entity Poland
relation head of state
type common name
['Poland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Poland property:head_of_state ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q444 Q55758 Q2757
P26
Q502895
USER
Who are the spouses of those ones ?
(Q444,P26,c(Q502895)) (Q55758,P26,c(Q502895)) (Q2757,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
['Q444', 'P26', {'concept': 'Q502895'}] ['Q55758', 'P26', {'concept': 'Q502895'}] ['Q2757', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?s property:P26 ?e . ?e rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q2757 ) ( resource:Q444 ) ( resource:Q9151911 ) } }
Lech Wałęsa Aleksander Kwaśniewski Lech Kaczyński
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Lech Wałęsa', 'spouse', {'concept': 'common name'}] ['Aleksander Kwaśniewski', 'spouse', {'concept': 'common name'}] ['Lech Kaczyński', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?s property:spouse ?e . ?e rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:Lech_Kaczyński ) ( resource:Lech_Wałęsa ) ( resource:Andrzej_Duda ) } }
[]
common name
Q468844 Q55756 Q215342
SYSTEM
Danuta Wałęsa, Jolanta Kwaśniewska, Maria Kaczyńska
Q468844 Q55756 Q215342
(Q444,P26,c(Q502895)) (Q55758,P26,c(Q502895)) (Q2757,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
The spouses of those ones are [ANSWERS]
['Q444', 'P26', {'concept': 'Q502895'}] ['Q55758', 'P26', {'concept': 'Q502895'}] ['Q2757', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?s property:P26 ?e . ?e rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q2757 ) ( resource:Q444 ) ( resource:Q9151911 ) } }
Danuta Wałęsa Jolanta Kwaśniewska Maria Kaczyńska
The spouses of those ones are Danuta Wałęsa, Jolanta Kwaśniewska and Maria Kaczyńska
Danuta Wałęsa Jolanta Kwaśniewska Maria Kaczyńska
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Lech Wałęsa', 'spouse', {'concept': 'common name'}] ['Aleksander Kwaśniewski', 'spouse', {'concept': 'common name'}] ['Lech Kaczyński', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?s property:spouse ?e . ?e rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:Lech_Kaczyński ) ( resource:Lech_Wałęsa ) ( resource:Andrzej_Duda ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Poland ?
(Q36,P1313,c(Q12737077))
action filter_type
action find
entity Q36
relation P1313
type Q12737077
['Q36', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q36 property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
Poland
action filter_type
action find
entity Poland
relation office held by head of government
type occupation
['Poland', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Poland property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q1054799
SYSTEM
President of Poland
Q1054799
(Q36,P1313,c(Q12737077))
action filter_type
action find
entity Q36
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Poland
['Q36', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q36 property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
President of Poland
The President of Poland serves as the political office that is fulfilled by the head of the government of Poland
President of Poland
action filter_type
action find
entity Poland
relation office held by head of government
type occupation
['Poland', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Poland property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P276
Q645883
USER
Which military operation is located at Poland ?
(c(Q645883),P276,Q36)
action filter_type
action find_reverse
entity Q36
relation P276
type Q645883
[{'concept': 'Q645883'}, 'P276', 'Q36']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q36 . ?f rdf:type ontology:Q645883 }
Poland
action filter_type
action find_reverse
entity Poland
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'Poland']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Poland . ?f rdf:type ontology:military_operation }
[]
military operation
Q150812
SYSTEM
Invasion of Poland
Q150812
(c(Q645883),P276,Q36)
action filter_type
action find_reverse
entity Q36
relation P276
type Q645883
The [ANSWER] is located at Poland
[{'concept': 'Q645883'}, 'P276', 'Q36']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q36 . ?f rdf:type ontology:Q645883 }
Invasion of Poland
The Invasion of Poland is located at Poland
Invasion of Poland
action filter_type
action find_reverse
entity Poland
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'Poland']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Poland . ?f rdf:type ontology:military_operation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q150812
P793
Q502895
USER
Which people are that military operation a significant event of ?
(c(Q502895),P793,Q150812)
action filter_type
action find_reverse
entity Q150812
relation P793
type Q502895
[{'concept': 'Q502895'}, 'P793', 'Q150812']
SELECT DISTINCT ?t WHERE { ?t property:P793 resource:Q150812 . ?t rdf:type ontology:Q502895 }
Invasion of Poland
action filter_type
action find_reverse
entity Invasion of Poland
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'Invasion of Poland']
SELECT DISTINCT ?t WHERE { ?t property:significant_event resource:Invasion_of_Poland . ?t rdf:type ontology:common_name }
[]
common name
Q22574794 Q21131332 Q160817
SYSTEM
Janina Altman, Władysław Klimek, Marek Edelman
Q2378261 Q21028983 Q3701176 Q9351995 Q21131332 Q21155593 Q15438426 Q1635365 Q160817 Q22574794
(c(Q502895),P793,Q150812)
action filter_type
action find_reverse
entity Q150812
relation P793
type Q502895
[ANSWERS] are that military operation a significant event of
[{'concept': 'Q502895'}, 'P793', 'Q150812']
SELECT DISTINCT ?t WHERE { ?t property:P793 resource:Q150812 . ?t rdf:type ontology:Q502895 }
Kurt Obitz Henryk Klimek Anna Morawska Szmuel Bresław Władysław Klimek Józef Klimek Ludwig Klimek Jurek Błones Marek Edelman Janina Altman
Janina Altman, Władysław Klimek and Marek Edelman are that military operation a significant event of
Janina Altman Władysław Klimek Marek Edelman
action filter_type
action find_reverse
entity Invasion of Poland
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'Invasion of Poland']
SELECT DISTINCT ?t WHERE { ?t property:significant_event resource:Invasion_of_Poland . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q150812
P361
Q198
USER
What is Invasion of Poland a portion of ?
(Q150812,P361,c(Q198))
action filter_type
action find
entity Q150812
relation P361
type Q198
['Q150812', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q150812 property:P361 ?c . ?c rdf:type ontology:Q198 }
Invasion of Poland
action filter_type
action find
entity Invasion of Poland
relation part of
type war
['Invasion of Poland', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Invasion_of_Poland property:part_of ?c . ?c rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q150812,P361,c(Q198))
action filter_type
action find
entity Q150812
relation P361
type Q198
Invasion of Poland a portion of is in [ANSWER]
['Q150812', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q150812 property:P361 ?c . ?c rdf:type ontology:Q198 }
World War II
Invasion of Poland a portion of is in World War II
World War II
action filter_type
action find
entity Invasion of Poland
relation part of
type war
['Invasion of Poland', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Invasion_of_Poland property:part_of ?c . ?c rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3950658
Q198
USER
And how about Battle of Siping?
(Q3950658,P361,c(Q198))
action filter_type
action find
entity Q3950658
relation P361
type Q198
['Q3950658', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q3950658 property:P361 ?x . ?x rdf:type ontology:Q198 }
Battle of Siping
action filter_type
action find
entity Battle of Siping
relation part of
type war
['Battle of Siping', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Siping property:part_of ?x . ?x rdf:type ontology:war }
[]
war
Q179975
SYSTEM
Chinese Civil War
Q179975
(Q3950658,P361,c(Q198))
action filter_type
action find
entity Q3950658
relation P361
type Q198
[ANSWER]
['Q3950658', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q3950658 property:P361 ?x . ?x rdf:type ontology:Q198 }
Chinese Civil War
Chinese Civil War
action filter_type
action find
entity Battle of Siping
relation part of
type war
['Battle of Siping', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Siping property:part_of ?x . ?x rdf:type ontology:war }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P361
Q198 Q176799
USER
Which wars are approximately the same number of military units a portion of as that war ?
(c(Q176799),P361,c(Q198))
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find
entity Q179975
relation P361
type Q198
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P361 ?g . ?g rdf:type ontology:Q198 . ?s rdf:type ontology:Q176799 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q179975 property:P361 ?t . ?t rdf:type ontology:Q198 } } . FILTER ( ?j = ?n ) }
action approx
action find_reverse_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find
entity Chinese Civil War
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:part_of ?g . ?g rdf:type ontology:war . ?s rdf:type ontology:military_unit } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Chinese_Civil_War property:part_of ?t . ?t rdf:type ontology:war } } . FILTER ( ?j = ?n ) }
[]
war military unit
Q545449 Q17984356 Q17507684
SYSTEM
Iraq War, Iraqi Civil War, military intervention against ISIL
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q362 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629 Q2672972 Q243620
(c(Q176799),P361,c(Q198))
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find
entity Q179975
relation P361
type Q198
[ANSWERS] are approximately the same number of military units a portion of as that war
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P361 ?g . ?g rdf:type ontology:Q198 . ?s rdf:type ontology:Q176799 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q179975 property:P361 ?t . ?t rdf:type ontology:Q198 } } . FILTER ( ?j = ?n ) }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War World War II American-led intervention in Syria World War I Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Iran–Israel proxy conflict Jacobite rising of 1745 American Civil War Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War
Iraq War, Iraqi Civil War and military intervention against ISIL are approximately the same number of military units a portion of as that war
Iraq War Iraqi Civil War military intervention against ISIL
action approx
action find_reverse_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find
entity Chinese Civil War
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:part_of ?g . ?g rdf:type ontology:war . ?s rdf:type ontology:military_unit } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Chinese_Civil_War property:part_of ?t . ?t rdf:type ontology:war } } . FILTER ( ?j = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P206
Q15324
USER
Which body of water is located next to Poland ?
(Q36,P206,c(Q15324))
action filter_type
action find
entity Q36
relation P206
type Q15324
['Q36', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q36 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Poland
action filter_type
action find
entity Poland
relation located next to body of water
type body of water
['Poland', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Poland property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
body of water
Q545
SYSTEM
Baltic Sea
Q545
(Q36,P206,c(Q15324))
action filter_type
action find
entity Q36
relation P206
type Q15324
Poland [ANSWER] is located next to Poland
['Q36', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q36 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Baltic Sea
Poland Baltic Sea is located next to Poland
Baltic Sea
action filter_type
action find
entity Poland
relation located next to body of water
type body of water
['Poland', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Poland property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]