Simple Question (Direct)
Simple Question
Q1532824
P20
Q56061
USER
Where did Pio Taofinu'u expire ?
(Q1532824,P20,c(Q56061))
action filter_type
action find
entity Q1532824
relation P20
type Q56061
['Q1532824', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1532824 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Pio Taofinu'u
action filter_type
action find
entity Pio Taofinu'u
relation place of death
type administrative territorial entity
["Pio Taofinu'u", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Pio_Taofinu'u property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36260
SYSTEM
Apia
Q36260
(Q1532824,P20,c(Q56061))
action filter_type
action find
entity Q1532824
relation P20
type Q56061
Pio Taofinu expired 'u ' [ANSWER]
['Q1532824', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1532824 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Apia
Pio Taofinu expired 'u ' Apia
Apia
action filter_type
action find
entity Pio Taofinu'u
relation place of death
type administrative territorial entity
["Pio Taofinu'u", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Pio_Taofinu'u property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36260
P190
Q56061
USER
Which administrative territory is twin town of that one ?
(Q36260,P190,c(Q56061))
action filter_type
action find
entity Q36260
relation P190
type Q56061
['Q36260', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q36260 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Apia
action filter_type
action find
entity Apia
relation sister city
type administrative territorial entity
['Apia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Apia property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q487119
SYSTEM
Compton
Q487119
(Q36260,P190,c(Q56061))
action filter_type
action find
entity Q36260
relation P190
type Q56061
[ANSWER] is twin town of that one
['Q36260', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q36260 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Compton
Compton is twin town of that one
Compton
action filter_type
action find
entity Apia
relation sister city
type administrative territorial entity
['Apia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Apia property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q487119
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q487119,P17,c(Q15617994))
action filter_type
action find
entity Q487119
relation P17
type Q15617994
['Q487119', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q487119 property:P17 ?f }
Compton
action filter_type
action find
entity Compton
relation country
type designation for an administrative territorial entity
['Compton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Compton property:country ?f }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q487119,P17,c(Q15617994))
action filter_type
action find
entity Q487119
relation P17
type Q15617994
That administrative territory is situated the [ANSWER]
['Q487119', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q487119 property:P17 ?f }
United States of America
That administrative territory is situated the United States of America
United States of America
action filter_type
action find
entity Compton
relation country
type designation for an administrative territorial entity
['Compton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Compton property:country ?f }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?r ) WHERE { ?z property:P530 ?d . ?z rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?z } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?h ) WHERE { ?q property:P530 ?x . ?q rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?h = ?p ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?r ) WHERE { ?z property:diplomatic_relation ?d . ?z rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?h ) WHERE { ?q property:diplomatic_relation ?x . ?q rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?h = ?p ) }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic associations with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?r ) WHERE { ?z property:P530 ?d . ?z rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?z } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?h ) WHERE { ?q property:P530 ?x . ?q rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?h = ?p ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea have diplomatic associations with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?p ) { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?r ) WHERE { ?z property:diplomatic_relation ?d . ?z rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?h ) WHERE { ?q property:diplomatic_relation ?x . ?q rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?h = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q691
P17
Q271669
USER
How many landforms are located in Papua New Guinea ?
(c(Q271669),P17,Q691)
action count
action filter_type
action find_reverse
entity Q691
relation P17
type Q271669
[{'concept': 'Q271669'}, 'P17', 'Q691']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P17 resource:Q691 . ?o rdf:type ontology:Q271669 }
Papua New Guinea
action count
action filter_type
action find_reverse
entity Papua New Guinea
relation country
type landform
[{'concept': 'landform'}, 'country', 'Papua New Guinea']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:country resource:Papua_New_Guinea . ?o rdf:type ontology:landform }
[]
landform
SYSTEM
111
Q4858203 Q7672912 Q616107 Q7447494 Q7129738 Q215089 Q16892148 Q858740 Q6544510 Q1938851 Q59125 Q7909037 Q3695601 Q1670773 Q6100255 Q16966510 Q6481506 Q118647 Q1796807 Q7199554 Q7128942 Q2122953 Q1532048 Q262035 Q16893742 Q758394 Q7145031 Q15265077 Q15272309 Q6735840 Q7849831 Q8060906 Q1771758 Q602106 Q15205233 Q5711287 Q640788 Q7687921 Q5225585 Q1405205 Q59771 Q6743083 Q2051661 Q7398192 Q7694617 Q1821616 Q4915438 Q1268601 Q40285 Q1350254 Q1266576 Q17054546 Q17054547 Q2114620 Q15199205 Q16904016 Q16901835 Q6750789 Q1277045 Q15195966 Q16902671 Q6695037 Q15242505 Q2197927 Q15243130 Q1264383 Q477164 Q15215294 Q707916 Q15265252 Q7958711 Q4931253 Q1233656 Q15242974 Q1187425 Q7195908 Q1500747 Q7899779 Q7067784 Q1589522 Q2002440 Q15222291 Q1401374 Q2624094 Q3695598 Q805832 Q783083 Q6347950 Q4088405 Q2580128 Q1859939 Q16252201 Q15256577 Q1304737 Q2485587 Q799818 Q1343504 Q7530584 Q2090435 Q7676249 Q4873437 Q2130110 Q1702791 Q17059149 Q860540 Q526776 Q1337856 Q7261656 Q1533441 Q7206469 Q16902424
(c(Q271669),P17,Q691)
action count
action filter_type
action find_reverse
entity Q691
relation P17
type Q271669
[ANSWER]
[{'concept': 'Q271669'}, 'P17', 'Q691']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P17 resource:Q691 . ?o rdf:type ontology:Q271669 }
Barahun Island Tabar Island Goodenough Island Selapiu Island Pana Tinani New Ireland Hastings Island (Papua New Guinea) Carteret Islands Lif Island Misima Island Willaumez Peninsula Vakuta Sanaroa Island Wuvulu Island Iwa Island East Island, Papua New Guinea Lambom Island Kitava Watom Island Pityilu Island Pam Islands Quessant Normanby Island New Hanover Island Kuwanak Island Aua Island Patio Island Pak Island Renard Islands Mailu Island Tsoilaunung Island Yule Island Kiriwina Manus Island Brumer Islands Hemenahei Island Nuguria Tatau Island Dart Reefs Lihir Island New Britain Malendok Island Parama Island Sae Island Tefa Island Lamassa Island Bipi Island Dyaul Island New Guinea Huon Peninsula Lolobau Island Panarairai Island Panatinane Island Madau Big Ndrova Island Yeina Island Tong Island, Papua New Guinea Manne Island Kiwai Island Bagaman Island Vial Island Luard Islands Little Ndrova Island Sideia Island Lunn Island Duke of York Island, Papua New Guinea Vanatinai Dugumenu Island Duke of York Islands Pana Wina Island Wabuda Island Boang Island Dobu Island Lou Island Daru Island Pinipel Island Vokeo Urara Island Nuakata Island Mussau Island Rossel Island Gulowa Island Western Islands, Papua New Guinea Luf Basilaki Island Baluan Island Fergusson Island Kaileuna Blup Blup Los Negros Island Simberi Island Auriora Island Motorina Island Woodlark Island Sohana Bagabag Nissan Island Sirot Island Ulu Taiof Island Baudisson Island Rambutyo Island Cape Gloucester Wagifa Island Buka Island Gazelle Peninsula Emirau Island Purutu Island Goaribari Island Pocklington Reef Utian Island
111
action count
action filter_type
action find_reverse
entity Papua New Guinea
relation country
type landform
[{'concept': 'landform'}, 'country', 'Papua New Guinea']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:country resource:Papua_New_Guinea . ?o rdf:type ontology:landform }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q423
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with lesser number of political territories than North Korea ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q423
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q423 property:P530 ?v } } . FILTER ( ?u < ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 . ?x property:P530 ?o } GROUP BY ?o } }
North Korea
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity North Korea
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:North_Korea property:diplomatic_relation ?v } } . FILTER ( ?u < ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?o } GROUP BY ?o } }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q55 Q148
SYSTEM
Georgia, Netherlands, People's Republic of China
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q423
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with lesser number of political territories than North Korea
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q423 property:P530 ?v } } . FILTER ( ?u < ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 . ?x property:P530 ?o } GROUP BY ?o } }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and People's Republic of China have diplomatic relations with lesser number of political territories than North Korea
Georgia Netherlands People's Republic of China
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity North Korea
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:North_Korea property:diplomatic_relation ?v } } . FILTER ( ?u < ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?o } GROUP BY ?o } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Are Germany known to have diplomatic connections with those administrative territories ?
(Q183,P530,Q230) (Q183,P530,Q55) (Q183,P530,Q148)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q230'] ['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q148']
ASK WHERE { resource:Q183 property:P530 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Georgia'] ['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Germany property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q230) (Q183,P530,Q55) (Q183,P530,Q148)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q230'] ['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q148']
ASK WHERE { resource:Q183 property:P530 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Georgia'] ['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Germany property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q230 Q7272883
P530
Q1048835
USER
Does Mykolaivka have diplomatic relationships with Georgia ?
(Q230,P530,Q7272883)
action is_in
entity Q7272883
action find
entity Q230
relation P530
['Q230', 'P530', 'Q7272883']
ASK WHERE { resource:Q230 property:P530 resource:Q7272883 }
Georgia Mykolaivka
action is_in
entity Mykolaivka
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Mykolaivka']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Mykolaivka }
[]
political territorial entity
SYSTEM
NO
(Q230,P530,Q7272883)
action is_in
entity Q7272883
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q7272883']
ASK WHERE { resource:Q230 property:P530 resource:Q7272883 }
No
action is_in
entity Mykolaivka
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Mykolaivka']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Mykolaivka }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12517084 Q7272883
P17
Q15617994
USER
Which administrative territories are Mykolaivka or Sukolilo located in ?
OR((Q7272883,P17,c(Q15617994)), (Q12517084,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7272883
relation P17
action find
entity Q12517084
relation P17
type Q15617994
{'OR': [['Q7272883', 'P17', {'concept': 'Q15617994'}], ['Q12517084', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q7272883 property:P17 ?b } UNION { resource:Q12517084 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Sukolilo Mykolaivka
action filter_type
action union
action find
entity Mykolaivka
relation country
action find
entity Sukolilo
relation country
type designation for an administrative territorial entity
{'OR': [['Mykolaivka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sukolilo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Mykolaivka property:country ?b } UNION { resource:Sukolilo property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q252
SYSTEM
Ukraine, Indonesia
Q212 Q252
OR((Q7272883,P17,c(Q15617994)), (Q12517084,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7272883
relation P17
action find
entity Q12517084
relation P17
type Q15617994
Mykolaivka or Sukolilo are located in [ANSWERS]
{'OR': [['Q7272883', 'P17', {'concept': 'Q15617994'}], ['Q12517084', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q7272883 property:P17 ?b } UNION { resource:Q12517084 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Ukraine Indonesia
Mykolaivka or Sukolilo are located in Ukraine and Indonesia
Ukraine Indonesia
action filter_type
action union
action find
entity Mykolaivka
relation country
action find
entity Sukolilo
relation country
type designation for an administrative territorial entity
{'OR': [['Mykolaivka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sukolilo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Mykolaivka property:country ?b } UNION { resource:Sukolilo property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P30
Q2221906
USER
Which geographic location is Ukraine situated in ?
(Q212,P30,c(Q2221906))
action filter_type
action find
entity Q212
relation P30
type Q2221906
['Q212', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q212 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
Ukraine
action filter_type
action find
entity Ukraine
relation continent
type geographic location
['Ukraine', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Ukraine property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q212,P30,c(Q2221906))
action filter_type
action find
entity Q212
relation P30
type Q2221906
Ukraine is situated in [ANSWER]
['Q212', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q212 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
Europe
Ukraine is situated in Europe
Europe
action filter_type
action find
entity Ukraine
relation continent
type geographic location
['Ukraine', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Ukraine property:continent ?b . ?b rdf:type ontology:geographic_location }
[]