Simple Question (Direct)
Simple Question
Q4287299
P607
Q198
USER
What was the war that Nikifor Vasilevich Medvedev took part in
(Q4287299,P607,c(Q198))
action filter_type
action find
entity Q4287299
relation P607
type Q198
['Q4287299', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q4287299 property:P607 ?v . ?v rdf:type ontology:Q198 }
Nikifor Vasilevich Medvedev
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation conflict
type war
['Nikifor Vasilevich Medvedev', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Nikifor_Vasilevich_Medvedev property:conflict ?v . ?v rdf:type ontology:war }
[]
war
Q79911
SYSTEM
Russian Civil War
Q79911
(Q4287299,P607,c(Q198))
action filter_type
action find
entity Q4287299
relation P607
type Q198
The war that Nikifor Vasilevich Medvedev took part in was the [ANSWER]
['Q4287299', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { resource:Q4287299 property:P607 ?v . ?v rdf:type ontology:Q198 }
Russian Civil War
The war that Nikifor Vasilevich Medvedev took part in was the Russian Civil War
Russian Civil War
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation conflict
type war
['Nikifor Vasilevich Medvedev', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { resource:Nikifor_Vasilevich_Medvedev property:conflict ?v . ?v rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4287299
P102
Q7278
USER
Which political party is that person a member of ?
(Q79911,P102,c(Q7278))
action filter_type
action find
entity Q4287299
relation P102
type Q7278
['Q79911', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?d WHERE { resource:Q4287299 property:P102 ?d . ?d rdf:type ontology:Q7278 }
Nikifor Vasilevich Medvedev
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation member of political party
type political party
['Russian Civil War', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?d WHERE { resource:Nikifor_Vasilevich_Medvedev property:member_of_political_party ?d . ?d rdf:type ontology:political_party }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q79911,P102,c(Q7278))
action filter_type
action find
entity Q4287299
relation P102
type Q7278
The [ANSWER] is that person a member of
['Q79911', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?d WHERE { resource:Q4287299 property:P102 ?d . ?d rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
The Communist Party of the Soviet Union is that person a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation member of political party
type political party
['Russian Civil War', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?d WHERE { resource:Nikifor_Vasilevich_Medvedev property:member_of_political_party ?d . ?d rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q79854 Q7369659
P102
Q502895
USER
Is Ross Thornton affiliated to that political party ?
(Q7369659,P102,Q79854)
action is_in
entity Q7369659
action find
entity Q79854
relation P102
['Q7369659', 'P102', 'Q79854']
ASK WHERE { resource:Q79854 property:P102 resource:Q7369659 }
Communist Party of the Soviet Union Ross Thornton
action is_in
entity Ross Thornton
action find
entity Communist Party of the Soviet Union
relation member of political party
['Ross Thornton', 'member of political party', 'Communist Party of the Soviet Union']
ASK WHERE { resource:Communist_Party_of_the_Soviet_Union property:member_of_political_party resource:Ross_Thornton }
[]
common name
SYSTEM
NO
(Q7369659,P102,Q79854)
action is_in
entity Q7369659
action find
entity Q79854
relation P102
[ANSWER]
['Q7369659', 'P102', 'Q79854']
ASK WHERE { resource:Q79854 property:P102 resource:Q7369659 }
No
action is_in
entity Ross Thornton
action find
entity Communist Party of the Soviet Union
relation member of political party
['Ross Thornton', 'member of political party', 'Communist Party of the Soviet Union']
ASK WHERE { resource:Communist_Party_of_the_Soviet_Union property:member_of_political_party resource:Ross_Thornton }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q179975
P607
Q198 Q502895 Q2235308
USER
How many wars were lesser number of people and ship types a part of than Chinese Civil War ?
(c(Q502895)|c(Q2235308),P607,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q179975
relation P607
type Q502895
type Q2235308
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } } GROUP BY ?j } . FILTER ( ?o < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:P607 resource:Q179975 . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q2235308 } } } } }
Chinese Civil War
action count
action less
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action count
action filter_multi_types
action find_reverse
entity Chinese Civil War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:ship_type ) } } GROUP BY ?j } . FILTER ( ?o < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:conflict resource:Chinese_Civil_War . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:ship_type } } } } }
[]
war common name ship type
SYSTEM
38
Q211855 Q1006311 Q795269 Q3067868 Q3778746 Q920894 Q81545 Q18121212 Q1021160 Q15860072 Q17984356 Q1072889 Q1980081 Q633862 Q209297 Q2105495 Q2658255 Q16954835 Q208484 Q4971401 Q2086498 Q75984 Q1021172 Q1021175 Q1122110 Q43378 Q1127302 Q1052332 Q1070890 Q188972 Q12302518 Q475678 Q17183365 Q17507684 Q18159629 Q2672972 Q243620 Q142529
(c(Q502895)|c(Q2235308),P607,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q179975
relation P607
type Q502895
type Q2235308
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } } GROUP BY ?j } . FILTER ( ?o < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:P607 resource:Q179975 . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q2235308 } } } } }
Finnish Civil War war of national liberation Sierra Leone Civil War Colombian Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War American-led intervention in Syria Armagnac–Burgundian Civil War 2014–16 Russian military intervention in Ukraine Iraqi Civil War Chilean War of Independence Civil war in Afghanistan Cold War Farroupilha Revolution 1383-85 Portuguese Interregnum Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War British military intervention in the Sierra Leone Civil War First Barons' War Dirty War Republic of the Congo Civil War First Ivorian Civil War Civil war in Tajikistan Thousand Days' War Estonian War of Independence War in Somalia Georgian Civil War Greek Civil War Civil war in Afghanistan Mexican Drug War Sectarian violence in Iraq (2006–07) military intervention against ISIL American-led intervention in Iraq Uruguayan Civil War Somali Civil War Algerian Civil War
38
action count
action less
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action count
action filter_multi_types
action find_reverse
entity Chinese Civil War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:ship_type ) } } GROUP BY ?j } . FILTER ( ?o < ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:conflict resource:Chinese_Civil_War . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:ship_type } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q163883
P607
Q198 Q502895 Q2235308
USER
And also tell me about Ten-Day War?
(c(Q502895)|c(Q2235308),P607,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q163883
relation P607
type Q502895
type Q2235308
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?h WHERE { { ?q rdf:type ontology:Q2235308 . ?h rdf:type ontology:Q198 . ?q property:P607 ?h } UNION { ?q property:P607 ?h . ?h rdf:type ontology:Q198 . ?q rdf:type ontology:Q502895 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P607 resource:Q163883 . { { ?o rdf:type ontology:Q502895 } UNION { ?o rdf:type ontology:Q2235308 } } } } . FILTER ( ?w < ?r ) }
Ten-Day War
action count
action less
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action count
action filter_multi_types
action find_reverse
entity Ten-Day War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?h WHERE { { ?q rdf:type ontology:ship_type . ?h rdf:type ontology:war . ?q property:conflict ?h } UNION { ?q property:conflict ?h . ?h rdf:type ontology:war . ?q rdf:type ontology:common_name } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:conflict resource:Ten-Day_War . { { ?o rdf:type ontology:common_name } UNION { ?o rdf:type ontology:ship_type } } } } . FILTER ( ?w < ?r ) }
[]
war common name ship type
SYSTEM
43
Q211855 Q1006311 Q795269 Q3067868 Q3778746 Q920894 Q81545 Q18121212 Q1021160 Q15860072 Q17984356 Q1072889 Q1980081 Q633862 Q209297 Q242352 Q2105495 Q178810 Q2658255 Q16954835 Q208484 Q4971401 Q2086498 Q1049945 Q75984 Q1021172 Q1021175 Q1122110 Q43378 Q1127302 Q1052332 Q1070890 Q188972 Q12302518 Q475678 Q213394 Q17183365 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q142529
(c(Q502895)|c(Q2235308),P607,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q163883
relation P607
type Q502895
type Q2235308
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?h WHERE { { ?q rdf:type ontology:Q2235308 . ?h rdf:type ontology:Q198 . ?q property:P607 ?h } UNION { ?q property:P607 ?h . ?h rdf:type ontology:Q198 . ?q rdf:type ontology:Q502895 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P607 resource:Q163883 . { { ?o rdf:type ontology:Q502895 } UNION { ?o rdf:type ontology:Q2235308 } } } } . FILTER ( ?w < ?r ) }
Finnish Civil War war of national liberation Sierra Leone Civil War Colombian Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War American-led intervention in Syria Armagnac–Burgundian Civil War 2014–16 Russian military intervention in Ukraine Iraqi Civil War Chilean War of Independence Civil war in Afghanistan Cold War Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Syrian Civil War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War British military intervention in the Sierra Leone Civil War First Barons' War Jacobite rising of 1745 Dirty War Republic of the Congo Civil War First Ivorian Civil War Civil war in Tajikistan Thousand Days' War Estonian War of Independence War in Somalia Georgian Civil War Greek Civil War Civil war in Afghanistan Mexican Drug War Sri Lankan Civil War Sectarian violence in Iraq (2006–07) military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Algerian Civil War
43
action count
action less
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action count
action filter_multi_types
action find_reverse
entity Ten-Day War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?h WHERE { { ?q rdf:type ontology:ship_type . ?h rdf:type ontology:war . ?q property:conflict ?h } UNION { ?q property:conflict ?h . ?h rdf:type ontology:war . ?q rdf:type ontology:common_name } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:conflict resource:Ten-Day_War . { { ?o rdf:type ontology:common_name } UNION { ?o rdf:type ontology:ship_type } } } } . FILTER ( ?w < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4287299
P21
Q290
USER
What is the sex of Nikifor Vasilevich Medvedev ?
(Q4287299,P21,c(Q290))
action filter_type
action find
entity Q4287299
relation P21
type Q290
['Q4287299', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4287299 property:P21 ?f . ?f rdf:type ontology:Q290 }
Nikifor Vasilevich Medvedev
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation gender
type sex
['Nikifor Vasilevich Medvedev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Nikifor_Vasilevich_Medvedev property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4287299,P21,c(Q290))
action filter_type
action find
entity Q4287299
relation P21
type Q290
The sex of Nikifor Vasilevich Medvedev is the [ANSWER]
['Q4287299', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4287299 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Nikifor Vasilevich Medvedev is the male
male
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation gender
type sex
['Nikifor Vasilevich Medvedev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Nikifor_Vasilevich_Medvedev property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4287299
P166
Q618779
USER
What were won by Nikifor Vasilevich Medvedev ?
(Q4287299,P166,c(Q618779))
action filter_type
action find
entity Q4287299
relation P166
type Q618779
['Q4287299', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q4287299 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Nikifor Vasilevich Medvedev
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation award received
type award
['Nikifor Vasilevich Medvedev', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Nikifor_Vasilevich_Medvedev property:award_received ?d . ?d rdf:type ontology:award }
[]
award
Q337463 Q185493 Q18080149
SYSTEM
Order of the Red Banner, Order of Lenin, Order of the Patriotic War 1st class
Q337463 Q185493 Q18080149
(Q4287299,P166,c(Q618779))
action filter_type
action find
entity Q4287299
relation P166
type Q618779
[ANSWERS] were won by Nikifor Vasilevich Medvedev
['Q4287299', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q4287299 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Order of the Red Banner Order of Lenin Order of the Patriotic War 1st class
Order of the Red Banner, Order of Lenin and Order of the Patriotic War 1st class were won by Nikifor Vasilevich Medvedev
Order of the Red Banner Order of Lenin Order of the Patriotic War 1st class
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation award received
type award
['Nikifor Vasilevich Medvedev', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Nikifor_Vasilevich_Medvedev property:award_received ?d . ?d rdf:type ontology:award }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q4287299
Q1788716
USER
And which military decoration?
(Q4287299,P166,c(Q1788716))
action filter_type
action find
entity Q4287299
relation P166
type Q1788716
['Q4287299', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1788716 . resource:Q4287299 property:P166 ?e }
Nikifor Vasilevich Medvedev
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation award received
type military decoration
['Nikifor Vasilevich Medvedev', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:military_decoration . resource:Nikifor_Vasilevich_Medvedev property:award_received ?e }
[]
military decoration
Q278798 Q21292816
SYSTEM
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945", Order of Kutuzov, 1st class
Q278798 Q21292816
(Q4287299,P166,c(Q1788716))
action filter_type
action find
entity Q4287299
relation P166
type Q1788716
[ANSWERS]
['Q4287299', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1788716 . resource:Q4287299 property:P166 ?e }
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" Order of Kutuzov, 1st class
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" Order of Kutuzov, 1st class
action filter_type
action find
entity Nikifor Vasilevich Medvedev
relation award received
type military decoration
['Nikifor Vasilevich Medvedev', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:military_decoration . resource:Nikifor_Vasilevich_Medvedev property:award_received ?e }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7750127 Q4287299
P840 P20
Q56061
USER
Which administrative territories did the demise of Nikifor Vasilevich Medvedev occur or are the narrative locations of The Man with My Face ?
OR((Q4287299,P20,c(Q56061)), (Q7750127,P840,c(Q56061)))
action filter_type
action union
action find
entity Q4287299
relation P20
action find
entity Q7750127
relation P840
type Q56061
{'OR': [['Q4287299', 'P20', {'concept': 'Q56061'}], ['Q7750127', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4287299 property:P20 ?o } UNION { resource:Q7750127 property:P840 ?o } } . ?o rdf:type ontology:Q56061 }
The Man with My Face Nikifor Vasilevich Medvedev
action filter_type
action union
action find
entity Nikifor Vasilevich Medvedev
relation place of death
action find
entity The Man with My Face
relation narrative location
type administrative territorial entity
{'OR': [['Nikifor Vasilevich Medvedev', 'place of death', {'concept': 'administrative territorial entity'}], ['The Man with My Face', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Nikifor_Vasilevich_Medvedev property:place_of_death ?o } UNION { resource:The_Man_with_My_Face property:narrative_location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1183 Q649
SYSTEM
Puerto Rico, Moscow
Q1183 Q649
OR((Q4287299,P20,c(Q56061)), (Q7750127,P840,c(Q56061)))
action filter_type
action union
action find
entity Q4287299
relation P20
action find
entity Q7750127
relation P840
type Q56061
The demise of Nikifor Vasilevich Medvedev occurred in [ANSWERS] or are the narrative locations of The Man with My Face
{'OR': [['Q4287299', 'P20', {'concept': 'Q56061'}], ['Q7750127', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4287299 property:P20 ?o } UNION { resource:Q7750127 property:P840 ?o } } . ?o rdf:type ontology:Q56061 }
Puerto Rico Moscow
The demise of Nikifor Vasilevich Medvedev occurred in Puerto Rico and Moscow or are the narrative locations of The Man with My Face
Puerto Rico Moscow
action filter_type
action union
action find
entity Nikifor Vasilevich Medvedev
relation place of death
action find
entity The Man with My Face
relation narrative location
type administrative territorial entity
{'OR': [['Nikifor Vasilevich Medvedev', 'place of death', {'concept': 'administrative territorial entity'}], ['The Man with My Face', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Nikifor_Vasilevich_Medvedev property:place_of_death ?o } UNION { resource:The_Man_with_My_Face property:narrative_location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1183 Q649
P17
Q15617994
USER
Which administrative territories are Puerto Rico and Moscow present in ?
(Q1183,P17,c(Q15617994)) (Q649,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1183
relation P17
type Q15617994
action filter_type
action find
entity Q649
relation P17
type Q15617994
['Q1183', 'P17', {'concept': 'Q15617994'}] ['Q649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q1183 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q649 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
Puerto Rico Moscow
action union
action filter_type
action find
entity Puerto Rico
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Puerto Rico', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Puerto_Rico property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Moscow property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q159
SYSTEM
United States of America, Russia
Q30 Q159
(Q1183,P17,c(Q15617994)) (Q649,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1183
relation P17
type Q15617994
action filter_type
action find
entity Q649
relation P17
type Q15617994
[ANSWERS]
['Q1183', 'P17', {'concept': 'Q15617994'}] ['Q649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q1183 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q649 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
United States of America Russia
Which administrative territories are Puerto Rico and Moscow present in
United States of America Russia
action union
action filter_type
action find
entity Puerto Rico
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Puerto Rico', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Puerto_Rico property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Moscow property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q159
P194
Q11204
USER
What legislatures are the legislative bodies for those administrative territories ?
(Q30,P194,c(Q11204)) (Q159,P194,c(Q11204))
action filter_type
action find
entity prev_answer
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}] ['Q159', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?a WHERE { ?g property:P194 ?a . ?a rdf:type ontology:Q11204 . VALUES ( ?g ) { ( resource:Q30 ) ( resource:Q159 ) } }
United States of America Russia
action filter_type
action find
entity prev_answer
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}] ['Russia', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?a WHERE { ?g property:legislative_body ?a . ?a rdf:type ontology:legislature . VALUES ( ?g ) { ( resource:United_States_of_America ) ( resource:Russia ) } }
[]
legislature
Q11268 Q457869
SYSTEM
United States Congress, Federal Assembly of the Russian Federation
Q11268 Q457869
(Q30,P194,c(Q11204)) (Q159,P194,c(Q11204))
action filter_type
action find
entity prev_answer
relation P194
type Q11204
The legislative bodies for those administrative territories are the [ANSWERS]
['Q30', 'P194', {'concept': 'Q11204'}] ['Q159', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?a WHERE { ?g property:P194 ?a . ?a rdf:type ontology:Q11204 . VALUES ( ?g ) { ( resource:Q30 ) ( resource:Q159 ) } }
United States Congress Federal Assembly of the Russian Federation
The legislative bodies for those administrative territories are the United States Congress and Federal Assembly of the Russian Federation
United States Congress Federal Assembly of the Russian Federation
action filter_type
action find
entity prev_answer
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}] ['Russia', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?a WHERE { ?g property:legislative_body ?a . ?a rdf:type ontology:legislature . VALUES ( ?g ) { ( resource:United_States_of_America ) ( resource:Russia ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q11268 Q457869
P17
Q15617994
USER
Which administrative territories do United States Congress and Federal Assembly of the Russian Federation belong to ?
(Q11268,P17,c(Q15617994)) (Q457869,P17,c(Q15617994))
action union
action filter_type
action find
entity Q11268
relation P17
type Q15617994
action filter_type
action find
entity Q457869
relation P17
type Q15617994
['Q11268', 'P17', {'concept': 'Q15617994'}] ['Q457869', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q15617994 . resource:Q457869 property:P17 ?q } UNION { ?q rdf:type ontology:Q15617994 . resource:Q11268 property:P17 ?q } }
United States Congress Federal Assembly of the Russian Federation
action union
action filter_type
action find
entity United States Congress
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Federal Assembly of the Russian Federation
relation country
type designation for an administrative territorial entity
['United States Congress', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Federal Assembly of the Russian Federation', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Federal_Assembly_of_the_Russian_Federation property:country ?q } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_Congress property:country ?q } }
[]
designation for an administrative territorial entity
Q30 Q159
SYSTEM
United States of America, Russia
Q30 Q159
(Q11268,P17,c(Q15617994)) (Q457869,P17,c(Q15617994))
action union
action filter_type
action find
entity Q11268
relation P17
type Q15617994
action filter_type
action find
entity Q457869
relation P17
type Q15617994
[ANSWERS] United States Congress and Federal Assembly of the Russian Federation belong to
['Q11268', 'P17', {'concept': 'Q15617994'}] ['Q457869', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q15617994 . resource:Q457869 property:P17 ?q } UNION { ?q rdf:type ontology:Q15617994 . resource:Q11268 property:P17 ?q } }
United States of America Russia
United States of America and Russia United States Congress and Federal Assembly of the Russian Federation belong to
United States of America Russia
action union
action filter_type
action find
entity United States Congress
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Federal Assembly of the Russian Federation
relation country
type designation for an administrative territorial entity
['United States Congress', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Federal Assembly of the Russian Federation', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Federal_Assembly_of_the_Russian_Federation property:country ?q } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_Congress property:country ?q } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q159
P30
Q2221906
USER
Which geographic locations are United States of America and Russia situated in ?
(Q30,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action union
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q159
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { { resource:Q30 property:P30 ?i . ?i rdf:type ontology:Q2221906 } UNION { resource:Q159 property:P30 ?i . ?i rdf:type ontology:Q2221906 } }
United States of America Russia
action union
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity Russia
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { { resource:United_States_of_America property:continent ?i . ?i rdf:type ontology:geographic_location } UNION { resource:Russia property:continent ?i . ?i rdf:type ontology:geographic_location } }
[]
geographic location
Q48 Q46 Q49
SYSTEM
Asia, Europe, North America
Q538 Q49 Q46 Q5401 Q48
(Q30,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action union
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q159
relation P30
type Q2221906
United States of America and Russia are situated in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { { resource:Q30 property:P30 ?i . ?i rdf:type ontology:Q2221906 } UNION { resource:Q159 property:P30 ?i . ?i rdf:type ontology:Q2221906 } }
Oceania North America Europe Eurasia Asia
United States of America and Russia are situated in Asia, Europe and North America
Asia Europe North America
action union
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity Russia
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { { resource:United_States_of_America property:continent ?i . ?i rdf:type ontology:geographic_location } UNION { resource:Russia property:continent ?i . ?i rdf:type ontology:geographic_location } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q48 Q46 Q49
P30
Q34763
USER
Which peninsulas are included in those geographic locations ?
(c(Q34763),P30,Q48) (c(Q34763),P30,Q46) (c(Q34763),P30,Q49)
action filter_type
action find_reverse
entity prev_answer
relation P30
type Q34763
[{'concept': 'Q34763'}, 'P30', 'Q48'] [{'concept': 'Q34763'}, 'P30', 'Q46'] [{'concept': 'Q34763'}, 'P30', 'Q49']
SELECT DISTINCT ?i WHERE { ?i property:P30 ?k . ?i rdf:type ontology:Q34763 . VALUES ( ?k ) { ( resource:Q538 ) ( resource:Q49 ) ( resource:Q46 ) } }
Asia Europe North America
action filter_type
action find_reverse
entity prev_answer
relation continent
type peninsula
[{'concept': 'peninsula'}, 'continent', 'Asia'] [{'concept': 'peninsula'}, 'continent', 'Europe'] [{'concept': 'peninsula'}, 'continent', 'North America']
SELECT DISTINCT ?i WHERE { ?i property:continent ?k . ?i rdf:type ontology:peninsula . VALUES ( ?k ) { ( resource:Oceania ) ( resource:North_America ) ( resource:Europe ) } }
[]
peninsula
Q5314679 Q3127925 Q4309465
SYSTEM
Duncans Point, Gamova, Mys Astaf’yeva
Q3127925 Q4309473 Q4309465 Q16533503 Q4309489 Q5034894 Q4921478 Q5314679
(c(Q34763),P30,Q48) (c(Q34763),P30,Q46) (c(Q34763),P30,Q49)
action filter_type
action find_reverse
entity prev_answer
relation P30
type Q34763
[ANSWERS] are included in those geographic locations
[{'concept': 'Q34763'}, 'P30', 'Q48'] [{'concept': 'Q34763'}, 'P30', 'Q46'] [{'concept': 'Q34763'}, 'P30', 'Q49']
SELECT DISTINCT ?i WHERE { ?i property:P30 ?k . ?i rdf:type ontology:Q34763 . VALUES ( ?k ) { ( resource:Q538 ) ( resource:Q49 ) ( resource:Q46 ) } }
Gamova Mys Goldobina Mys Astaf’yeva Aleut Tigrovyy Cape Langeron Black Point Duncans Point
Duncans Point, Gamova and Mys Astaf’yeva are included in those geographic locations
Duncans Point Gamova Mys Astaf’yeva
action filter_type
action find_reverse
entity prev_answer
relation continent
type peninsula
[{'concept': 'peninsula'}, 'continent', 'Asia'] [{'concept': 'peninsula'}, 'continent', 'Europe'] [{'concept': 'peninsula'}, 'continent', 'North America']
SELECT DISTINCT ?i WHERE { ?i property:continent ?k . ?i rdf:type ontology:peninsula . VALUES ( ?k ) { ( resource:Oceania ) ( resource:North_America ) ( resource:Europe ) } }
[]