Simple Question (Direct)
Simple Question
Q444253
P27
Q15617994
USER
Which administrative territory is Benjamin Watson a civilian of ?
(Q444253,P27,c(Q15617994))
action filter_type
action find
entity Q444253
relation P27
type Q15617994
['Q444253', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q444253 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Benjamin Watson
action filter_type
action find
entity Benjamin Watson
relation country of citizenship
type designation for an administrative territorial entity
['Benjamin Watson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Benjamin_Watson property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q444253,P27,c(Q15617994))
action filter_type
action find
entity Q444253
relation P27
type Q15617994
Which administrative territory is Benjamin Watson a civilian of
['Q444253', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q444253 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Benjamin Watson a civilian of
United States of America
action filter_type
action find
entity Benjamin Watson
relation country of citizenship
type designation for an administrative territorial entity
['Benjamin Watson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Benjamin_Watson property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P610
Q14524493
USER
Which is the zenith of that administrative territory ?
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P610 ?w . ?w rdf:type ontology:Q14524493 }
United States of America
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:highest_point ?w . ?w rdf:type ontology:terrain }
[]
terrain
Q130018
SYSTEM
Denali
Q130018
(Q30,P610,c(Q14524493))
action filter_type
action find
entity Q30
relation P610
type Q14524493
The zenith of that administrative territory is the [ANSWER]
['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P610 ?w . ?w rdf:type ontology:Q14524493 }
Denali
The zenith of that administrative territory is the Denali
Denali
action filter_type
action find
entity United States of America
relation highest point
type terrain
['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:highest_point ?w . ?w rdf:type ontology:terrain }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1028
P1001
Q15617994 Q1292279 Q820655
USER
How many administrative territories come under the supervision of less number of political borders and statutes than Morocco ?
(c(Q1292279)|c(Q820655),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q1028
relation P1001
type Q1292279
type Q820655
[[{'concept': 'Q1292279'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1292279 ) ( ontology:Q820655 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P1001 resource:Q1028 . { { ?i rdf:type ontology:Q1292279 } UNION { ?i rdf:type ontology:Q820655 } } } } . FILTER ( ?s < ?e ) }
Morocco
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Morocco
relation applies to jurisdiction
type political border
type statute
[[{'concept': 'political border'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:political_border ) ( ontology:statute ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:applies_to_jurisdiction resource:Morocco . { { ?i rdf:type ontology:political_border } UNION { ?i rdf:type ontology:statute } } } } . FILTER ( ?s < ?e ) }
[]
designation for an administrative territorial entity political border statute
SYSTEM
112
Q701 Q804 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q24764 Q2742 Q711 Q837 Q443815 Q50198 Q187035 Q22274206 Q1462 Q6465 Q1979 Q45 Q4628 Q7688 Q3097 Q158893 Q2942 Q1965 Q11340 Q11343 Q1142326 Q1974 Q2899 Q2758 Q1952 Q921 Q4712 Q155019 Q3389 Q423 Q854 Q163966 Q769680 Q3068 Q1013 Q11323 Q1948 Q1093 Q238 Q119284 Q3403547 Q27 Q2667658 Q1027 Q2009 Q2007 Q1101 Q2003 Q1904 Q228 Q3462133 Q223 Q347 Q1050 Q1989 Q2838 Q902 Q697 Q694 Q752 Q22274534 Q11337 Q11331 Q217 Q12642 Q154547 Q1216 Q12753 Q2805 Q917 Q2107 Q1007 Q1005 Q1951 Q1438 Q34020 Q2380910 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q775 Q776 Q770 Q773 Q772 Q158083 Q1243 Q72449 Q12549 Q22273285 Q129003 Q176 Q33788 Q1267638 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q1292279)|c(Q820655),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q1028
relation P1001
type Q1292279
type Q820655
[ANSWER]
[[{'concept': 'Q1292279'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1292279 ) ( ontology:Q820655 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P1001 resource:Q1028 . { { ?i rdf:type ontology:Q1292279 } UNION { ?i rdf:type ontology:Q820655 } } } } . FILTER ( ?s < ?e ) }
North Holland Panama Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen municipality of the Philippines Münster Mongolia Nepal Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia department of France Prince Edward Island Portugal Faroe Islands raion Remscheid Friedrichshain-Kreuzberg Solingen New Brunswick Sprockhövel Wetter (Ruhr) Seine British Columbia Mülheim an der Ruhr Mönchengladbach Nova Scotia Brunei Duchy of Burgundy Duchy of Lorraine Finistère North Korea Sri Lanka Mitte Bornholm Loire-Atlantique Lesotho Breckerfeld Manitoba Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Mauritius Yukon Northwest Territories North Brabant Newfoundland and Labrador Ontario Andorra Saxe-Coburg and Gotha Greenland Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Nauru South Holland Groningen Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Morbihan duchy Piedmont Seine-et-Marne Krefeld Bhutan Wuppertal Guinea-Bissau Gambia Alberta Campania Niue Duchy of Zaslawye East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay Gelderland Utrecht Friesland Overijssel Drenthe Spandau Veneto Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Quebec New Caledonia Beloostrov Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
112
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Morocco
relation applies to jurisdiction
type political border
type statute
[[{'concept': 'political border'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?f . VALUES ( ?f ) { ( ontology:political_border ) ( ontology:statute ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:applies_to_jurisdiction resource:Morocco . { { ?i rdf:type ontology:political_border } UNION { ?i rdf:type ontology:statute } } } } . FILTER ( ?s < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1036
P1001
Q15617994 Q1292279 Q820655
USER
And also tell me about Uganda?
(c(Q1292279)|c(Q820655),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q1036
relation P1001
type Q1292279
type Q820655
[[{'concept': 'Q1292279'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?s < ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P1001 resource:Q1036 . { VALUES ( ?f ) { ( ontology:Q1292279 ) ( ontology:Q820655 ) } . ?w rdf:type ?f } } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?s ) WHERE { { ?k property:P1001 ?c . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1292279 } UNION { ?k property:P1001 ?c . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q820655 } } GROUP BY ?c } }
Uganda
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Uganda
relation applies to jurisdiction
type political border
type statute
[[{'concept': 'political border'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?s < ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:applies_to_jurisdiction resource:Uganda . { VALUES ( ?f ) { ( ontology:political_border ) ( ontology:statute ) } . ?w rdf:type ?f } } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?s ) WHERE { { ?k property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_border } UNION { ?k property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:statute } } GROUP BY ?c } }
[]
designation for an administrative territorial entity political border statute
SYSTEM
197
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q22273061 Q55 Q2871 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q711 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q6465 Q1979 Q45 Q792 Q4628 Q954 Q884 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q33 Q921 Q4712 Q155019 Q3389 Q986 Q423 Q983 Q733 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q27 Q2667658 Q1025 Q1027 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q2003 Q736 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q223 Q221 Q96 Q347 Q1050 Q1989 Q2838 Q902 Q1037 Q1033 Q1030 Q191 Q967 Q962 Q963 Q697 Q694 Q695 Q117 Q754 Q752 Q750 Q22274534 Q11337 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q2805 Q917 Q916 Q2107 Q1007 Q1005 Q977 Q1951 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q1231 Q1237
(c(Q1292279)|c(Q820655),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q1036
relation P1001
type Q1292279
type Q820655
[ANSWER]
[[{'concept': 'Q1292279'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?s < ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P1001 resource:Q1036 . { VALUES ( ?f ) { ( ontology:Q1292279 ) ( ontology:Q820655 ) } . ?w rdf:type ?f } } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?s ) WHERE { { ?k property:P1001 ?c . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1292279 } UNION { ?k property:P1001 ?c . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q820655 } } GROUP BY ?c } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Duchy of Nemours Netherlands Hagen Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Mongolia Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia department of France Prince Edward Island Portugal El Salvador Faroe Islands Zimbabwe South Korea raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Finland Brunei Duchy of Burgundy Duchy of Lorraine Finistère Eritrea North Korea Equatorial Guinea Paraguay Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Mauritania Mauritius Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Newfoundland and Labrador Ecuador Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Greenland Republic of Macedonia Mexico Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Rwanda Nigeria Namibia Estonia Burundi Benin Botswana Nauru South Holland Palau Ghana Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Krefeld Bhutan Angola Wuppertal Guinea-Bissau Gambia Djibouti Alberta Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
197
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Uganda
relation applies to jurisdiction
type political border
type statute
[[{'concept': 'political border'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { FILTER ( ?s < ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:applies_to_jurisdiction resource:Uganda . { VALUES ( ?f ) { ( ontology:political_border ) ( ontology:statute ) } . ?w rdf:type ?f } } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?s ) WHERE { { ?k property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_border } UNION { ?k property:applies_to_jurisdiction ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:statute } } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P17
Q15617994
USER
Which administrative territory is United States of America a part of ?
(Q30,P17,c(Q15617994))
action filter_type
action find
entity Q30
relation P17
type Q15617994
['Q30', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q30 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q30,P17,c(Q15617994))
action filter_type
action find
entity Q30
relation P17
type Q15617994
[ANSWER] is [ANSWER] a part of
['Q30', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q30 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America is United States of America a part of
United States of America
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P6
Q502895
USER
Who are the heads of the government of that administrative territory ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q30 property:P6 ?z . ?z rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
The heads of the government of that administrative territory are President [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q30 property:P6 ?z . ?z rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
The heads of the government of that administrative territory are President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:United_States_of_America property:head_of_government ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P710
Q1190554
USER
What event were that administrative territory a participant of ?
(c(Q1190554),P710,Q76) (c(Q1190554),P710,Q9916) (c(Q1190554),P710,Q22686)
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q76'] [{'concept': 'Q1190554'}, 'P710', 'Q9916'] [{'concept': 'Q1190554'}, 'P710', 'Q22686']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q30 . ?w rdf:type ontology:Q1190554 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'Barack Obama'] [{'concept': 'event'}, 'participant', 'Dwight D. Eisenhower'] [{'concept': 'event'}, 'participant', 'Donald Trump']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:United_States_of_America . ?w rdf:type ontology:event }
[]
event
Q218678 Q16470 Q750567
SYSTEM
North African Campaign, Normandy landings, Spring Offensive
Q4871186 Q4872216 Q3354826 Q4872357 Q4870748 Q4870881 Q3636553 Q218678 Q1402530 Q714223 Q504347 Q1634629 Q610048 Q2237268 Q1063735 Q1141380 Q856168 Q327052 Q128160 Q2889960 Q2888379 Q4871421 Q609030 Q1934591 Q2026308 Q16470 Q4870165 Q750567 Q1638488 Q214456 Q2888122 Q4872463 Q41894 Q22894201 Q3636251
(c(Q1190554),P710,Q76) (c(Q1190554),P710,Q9916) (c(Q1190554),P710,Q22686)
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
That administrative territory were the [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q76'] [{'concept': 'Q1190554'}, 'P710', 'Q9916'] [{'concept': 'Q1190554'}, 'P710', 'Q22686']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q30 . ?w rdf:type ontology:Q1190554 }
Battle of Hampden Battle of Rumaila Operation Red Wings Battle of Setauket Battle of Cieneguilla Battle of Do Ab Battle of Norfolk North African Campaign Battle of 73 Easting Battle for Brest Battle of the Philippine Sea Battle of Medina Ridge Battle of Balikpapan Battle of Umm Qasr Second Battle of the Somme Battle of Wake Island Pastry War Battle of Aachen Cuban Missile Crisis Battle of Shewan Battle of Dahaneh Battle of Khaz Oruzgan Battle of Peleliu Battle of North Borneo Operation Praying Mantis Normandy landings Battle for Jalibah Airfield Spring Offensive Battle of Monmouth Philippine–American War Battle of Basra Battle of Sunset Pass Battle of New Orleans Al-Shaddadi offensive (2016) Battle of Wadi Al-Batin
That administrative territory were the North African Campaign, Normandy landings and Spring Offensive
North African Campaign Normandy landings Spring Offensive
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'Barack Obama'] [{'concept': 'event'}, 'participant', 'Dwight D. Eisenhower'] [{'concept': 'event'}, 'participant', 'Donald Trump']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:United_States_of_America . ?w rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q8680 Q30
P710
Q1190554
USER
Or British Empire?
OR((c(Q1190554),P710,Q30), (c(Q1190554),P710,Q8680))
action filter_type
action union
action find_reverse
entity Q30
relation P710
action find_reverse
entity Q8680
relation P710
type Q1190554
{'OR': [[{'concept': 'Q1190554'}, 'P710', 'Q30'], [{'concept': 'Q1190554'}, 'P710', 'Q8680']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1190554 . { ?p property:P710 ?j . VALUES ( ?j ) { ( resource:Q30 ) ( resource:Q8680 ) } } }
British Empire United States of America
action filter_type
action union
action find_reverse
entity United States of America
relation participant
action find_reverse
entity British Empire
relation participant
type event
{'OR': [[{'concept': 'event'}, 'participant', 'United States of America'], [{'concept': 'event'}, 'participant', 'British Empire']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:event . { ?p property:participant ?j . VALUES ( ?j ) { ( resource:United_States_of_America ) ( resource:British_Empire ) } } }
[]
event
Q750567 Q22894201 Q2026308 Q2665626 Q2888122 Q218678 Q504347 Q4872357 Q16470 Q610048
SYSTEM
Some of them are Spring Offensive, Al-Shaddadi offensive (2016), Operation Praying Mantis, Battle of Beersheba, Battle of Basra, North African Campaign, Battle of the Philippine Sea, Battle of Setauket, Normandy landings, Battle of Balikpapan
Q2665626 Q4871186 Q4873010 Q4872216 Q3354826 Q4872357 Q4870748 Q170850 Q4870881 Q3636553 Q1063735 Q1130507 Q218678 Q239255 Q1402530 Q714223 Q504347 Q1634629 Q610048 Q2237268 Q254106 Q1141380 Q856168 Q327052 Q1096151 Q128160 Q2888379 Q4871421 Q609030 Q911448 Q1934591 Q2026308 Q16470 Q41894 Q4870165 Q22894201 Q2888122 Q1638488 Q214456 Q2889960 Q4872463 Q1780536 Q750567 Q3636251
OR((c(Q1190554),P710,Q30), (c(Q1190554),P710,Q8680))
action filter_type
action union
action find_reverse
entity Q30
relation P710
action find_reverse
entity Q8680
relation P710
type Q1190554
[ANSWERS]
{'OR': [[{'concept': 'Q1190554'}, 'P710', 'Q30'], [{'concept': 'Q1190554'}, 'P710', 'Q8680']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1190554 . { ?p property:P710 ?j . VALUES ( ?j ) { ( resource:Q30 ) ( resource:Q8680 ) } } }
Battle of Beersheba Battle of Hampden Battle of the Scarpe Battle of Rumaila Operation Red Wings Battle of Setauket Battle of Cieneguilla Anglo-Zanzibar War Battle of Do Ab Battle of Norfolk Second Battle of the Somme Hundred Days Offensive North African Campaign Battle of Arras Battle of 73 Easting Battle for Brest Battle of the Philippine Sea Battle of Medina Ridge Battle of Balikpapan Battle of Umm Qasr Crimean War Battle of Wake Island Pastry War Battle of Aachen Battle of Delville Wood Cuban Missile Crisis Battle of Dahaneh Battle of Khaz Oruzgan Battle of Peleliu Battle of Amiens Battle of North Borneo Operation Praying Mantis Normandy landings Battle of New Orleans Battle for Jalibah Airfield Al-Shaddadi offensive (2016) Battle of Basra Battle of Monmouth Philippine–American War Battle of Shewan Battle of Sunset Pass Battle of Hill 60 Spring Offensive Battle of Wadi Al-Batin
Spring Offensive Al-Shaddadi offensive (2016) Operation Praying Mantis Battle of Beersheba Battle of Basra North African Campaign Battle of the Philippine Sea Battle of Setauket Normandy landings Battle of Balikpapan
action filter_type
action union
action find_reverse
entity United States of America
relation participant
action find_reverse
entity British Empire
relation participant
type event
{'OR': [[{'concept': 'event'}, 'participant', 'United States of America'], [{'concept': 'event'}, 'participant', 'British Empire']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:event . { ?p property:participant ?j . VALUES ( ?j ) { ( resource:United_States_of_America ) ( resource:British_Empire ) } } }
[]