Simple Question (Direct)
Simple Question
Q547821
P937
Q56061
USER
What is the work location of Janina David ?
(Q547821,P937,c(Q56061))
action filter_type
action find
entity Q547821
relation P937
type Q56061
['Q547821', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q547821 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Janina David
action filter_type
action find
entity Janina David
relation work location
type administrative territorial entity
['Janina David', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Janina_David property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q547821,P937,c(Q56061))
action filter_type
action find
entity Q547821
relation P937
type Q56061
The work location of Janina David is in [ANSWER]
['Q547821', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q547821 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Warsaw
The work location of Janina David is in Warsaw
Warsaw
action filter_type
action find
entity Janina David
relation work location
type administrative territorial entity
['Janina David', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Janina_David property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270
P36
Q15617994
USER
Which administrative territory has that administrative territory as its capital ?
(c(Q15617994),P36,Q270)
action filter_type
action find_reverse
entity Q270
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q270']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . ?b property:P36 resource:Q270 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Warsaw']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:capital resource:Warsaw }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(c(Q15617994),P36,Q270)
action filter_type
action find_reverse
entity Q270
relation P36
type Q15617994
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q270']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . ?b property:P36 resource:Q270 }
Poland
Poland has that administrative territory as its capital
Poland
action filter_type
action find_reverse
entity Warsaw
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Warsaw']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:capital resource:Warsaw }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36 Q4978108
P27
Q502895
USER
Is Ewelina Sętowska-Dryk a citizen of that administrative territory ?
(Q4978108,P27,Q36)
action is_in
entity Q36
action find
entity Q4978108
relation P27
['Q4978108', 'P27', 'Q36']
ASK WHERE { resource:Q4978108 property:P27 resource:Q36 }
Poland Ewelina Sętowska-Dryk
action is_in
entity Poland
action find
entity Ewelina Sętowska-Dryk
relation country of citizenship
['Ewelina Sętowska-Dryk', 'country of citizenship', 'Poland']
ASK WHERE { resource:Ewelina_Sętowska-Dryk property:country_of_citizenship resource:Poland }
[]
common name
SYSTEM
YES
(Q4978108,P27,Q36)
action is_in
entity Q36
action find
entity Q4978108
relation P27
[ANSWER]
['Q4978108', 'P27', 'Q36']
ASK WHERE { resource:Q4978108 property:P27 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Ewelina Sętowska-Dryk
relation country of citizenship
['Ewelina Sętowska-Dryk', 'country of citizenship', 'Poland']
ASK WHERE { resource:Ewelina_Sętowska-Dryk property:country_of_citizenship resource:Poland }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q270 Q36 Q3164
P1376
Q15617994
USER
Is Warsaw the capital of Poland and Ardennes ?
(Q270,P1376,Q36) (Q270,P1376,Q3164)
action is_in
entity Q270
action intersection
action find_reverse
entity Q36
relation P1376
action find_reverse
entity Q3164
relation P1376
['Q270', 'P1376', 'Q36'] ['Q270', 'P1376', 'Q3164']
ASK WHERE { resource:Q270 property:P1376 resource:Q36 . resource:Q270 property:P1376 resource:Q3164 }
Warsaw Poland Ardennes
action is_in
entity Warsaw
action intersection
action find_reverse
entity Poland
relation capital of
action find_reverse
entity Ardennes
relation capital of
['Warsaw', 'capital of', 'Poland'] ['Warsaw', 'capital of', 'Ardennes']
ASK WHERE { resource:Warsaw property:capital_of resource:Poland . resource:Warsaw property:capital_of resource:Ardennes }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q270,P1376,Q36) (Q270,P1376,Q3164)
action is_in
entity Q270
action intersection
action find_reverse
entity Q36
relation P1376
action find_reverse
entity Q3164
relation P1376
[ANSWER]
['Q270', 'P1376', 'Q36'] ['Q270', 'P1376', 'Q3164']
ASK WHERE { resource:Q270 property:P1376 resource:Q36 . resource:Q270 property:P1376 resource:Q3164 }
YES and NO respectively
action is_in
entity Warsaw
action intersection
action find_reverse
entity Poland
relation capital of
action find_reverse
entity Ardennes
relation capital of
['Warsaw', 'capital of', 'Poland'] ['Warsaw', 'capital of', 'Ardennes']
ASK WHERE { resource:Warsaw property:capital_of resource:Poland . resource:Warsaw property:capital_of resource:Ardennes }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1049
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with lesser number of administrative territories than Sudan ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?b ) WHERE { ?n property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q1049 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?l ) }
Sudan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?b ) WHERE { ?n property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Sudan property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with lesser number of administrative territories than Sudan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?b ) WHERE { ?n property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q1049 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?l ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have ambassadorial relations with lesser number of administrative territories than Sudan
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?b ) WHERE { ?n property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Sudan property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q159
P530
Q15617994 Q15617994
USER
And how about Russia?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?o ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q159 property:P530 ?e } } . FILTER ( ?o < ?j ) }
Russia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?o ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Russia property:diplomatic_relation ?e } } . FILTER ( ?o < ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q55 Q142
SYSTEM
United States of America, Netherlands, France
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?o ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q159 property:P530 ?e } } . FILTER ( ?o < ?j ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America Netherlands France
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?o ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Russia property:diplomatic_relation ?e } } . FILTER ( ?o < ?j ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q55 Q142
P6
Q502895
USER
Which people do United States of America, Netherlands and France serve as the head of government for ?
(Q30,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q142,P6,c(Q502895))
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q55
relation P6
type Q502895
action filter_type
action find
entity Q142
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { resource:Q30 property:P6 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q55 property:P6 ?e . ?e rdf:type ontology:Q502895 } }
United States of America Netherlands France
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity Netherlands
relation head of government
type common name
action filter_type
action find
entity France
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { resource:United_States_of_America property:head_of_government ?e . ?e rdf:type ontology:common_name } UNION { resource:Netherlands property:head_of_government ?e . ?e 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 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891 Q693053 Q686476 Q159840 Q133386 Q57792 Q345481 Q471204 Q983186 Q380970 Q951705 Q781813 Q736026 Q221411 Q634025 Q719701 Q735519 Q318320 Q318334 Q12769 Q10287 Q7711
(Q30,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q142,P6,c(Q502895))
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q55
relation P6
type Q502895
action filter_type
action find
entity Q142
relation P6
type Q502895
United States of America , Netherlands and France serve as the head of government for President [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { resource:Q30 property:P6 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q55 property:P6 ?e . ?e rdf:type ontology:Q502895 } }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover 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 McKinley 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 Dirk Jan de Geer Hendrikus Colijn Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Charles Ruijs de Beerenbrouck Jelle Zijlstra Pieter Sjoerds Gerbrandy Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Louis Beel Joop den Uyl Dries van Agt Willem Drees Manuel Valls Jean-Marc Ayrault
United States of America , Netherlands and France serve as the head of government for President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity Netherlands
relation head of government
type common name
action filter_type
action find
entity France
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { resource:United_States_of_America property:head_of_government ?e . ?e rdf:type ontology:common_name } UNION { resource:Netherlands property:head_of_government ?e . ?e rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270
P119
Q502895
USER
Which people have Warsaw as place of burial ?
(c(Q502895),P119,Q270)
action filter_type
action find_reverse
entity Q270
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q270']
SELECT DISTINCT ?y WHERE { ?y property:P119 resource:Q270 . ?y rdf:type ontology:Q502895 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Warsaw']
SELECT DISTINCT ?y WHERE { ?y property:place_of_burial resource:Warsaw . ?y rdf:type ontology:common_name }
[]
common name
Q16532899 Q20973595 Q16584054
SYSTEM
Bolesław Gierych, Wanda Leopold, Olgierd Wołczek
Q16532899 Q20973595 Q16584054 Q9343433 Q9199012 Q11725782
(c(Q502895),P119,Q270)
action filter_type
action find_reverse
entity Q270
relation P119
type Q502895
[ANSWERS] have Warsaw as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q270']
SELECT DISTINCT ?y WHERE { ?y property:P119 resource:Q270 . ?y rdf:type ontology:Q502895 }
Bolesław Gierych Wanda Leopold Olgierd Wołczek Stanisław Zalewski Czesław Bajer Jerzy Ślaski
Bolesław Gierych, Wanda Leopold and Olgierd Wołczek have Warsaw as place of burial
Bolesław Gierych Wanda Leopold Olgierd Wołczek
action filter_type
action find_reverse
entity Warsaw
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Warsaw']
SELECT DISTINCT ?y WHERE { ?y property:place_of_burial resource:Warsaw . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16532899
P20
Q56061
USER
Where did the expiration of Bolesław Gierych occur ?
(Q16532899,P20,c(Q56061))
action filter_type
action find
entity Q16532899
relation P20
type Q56061
['Q16532899', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q16532899 property:P20 ?s }
Bolesław Gierych
action filter_type
action find
entity Bolesław Gierych
relation place of death
type administrative territorial entity
['Bolesław Gierych', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Bolesław_Gierych property:place_of_death ?s }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q16532899,P20,c(Q56061))
action filter_type
action find
entity Q16532899
relation P20
type Q56061
The expiration of Bolesław Gierych occurred in [ANSWER]
['Q16532899', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q16532899 property:P20 ?s }
Warsaw
The expiration of Bolesław Gierych occurred in Warsaw
Warsaw
action filter_type
action find
entity Bolesław Gierych
relation place of death
type administrative territorial entity
['Bolesław Gierych', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Bolesław_Gierych property:place_of_death ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16532899
P19
Q486972
USER
Which human settlement was Bolesław Gierych born in ?
(Q16532899,P19,c(Q486972))
action filter_type
action find
entity Q16532899
relation P19
type Q486972
['Q16532899', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q16532899 property:P19 ?s . ?s rdf:type ontology:Q486972 }
Bolesław Gierych
action filter_type
action find
entity Bolesław Gierych
relation place of birth
type human settlement
['Bolesław Gierych', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Bolesław_Gierych property:place_of_birth ?s . ?s rdf:type ontology:human_settlement }
[]
human settlement
Q48256
SYSTEM
Dnipro
Q48256
(Q16532899,P19,c(Q486972))
action filter_type
action find
entity Q16532899
relation P19
type Q486972
Bolesław Gierych was born in [ANSWER]
['Q16532899', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q16532899 property:P19 ?s . ?s rdf:type ontology:Q486972 }
Dnipro
Bolesław Gierych was born in Dnipro
Dnipro
action filter_type
action find
entity Bolesław Gierych
relation place of birth
type human settlement
['Bolesław Gierych', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Bolesław_Gierych property:place_of_birth ?s . ?s rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6476941
Q486972
USER
And what about Gisela Habermalz?
(Q6476941,P19,c(Q486972))
action filter_type
action find
entity Q6476941
relation P19
type Q486972
['Q6476941', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q6476941 property:P19 ?s . ?s rdf:type ontology:Q486972 }
Gisela Habermalz
action filter_type
action find
entity Gisela Habermalz
relation place of birth
type human settlement
['Gisela Habermalz', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Gisela_Habermalz property:place_of_birth ?s . ?s rdf:type ontology:human_settlement }
[]
human settlement
Q883208
SYSTEM
Sterkrade
Q883208
(Q6476941,P19,c(Q486972))
action filter_type
action find
entity Q6476941
relation P19
type Q486972
[ANSWER]
['Q6476941', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { resource:Q6476941 property:P19 ?s . ?s rdf:type ontology:Q486972 }
Sterkrade
Sterkrade
action filter_type
action find
entity Gisela Habermalz
relation place of birth
type human settlement
['Gisela Habermalz', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { resource:Gisela_Habermalz property:place_of_birth ?s . ?s rdf:type ontology:human_settlement }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q222390
P88
Q502895 Q340169 Q57821
USER
Which people commissioned greater number of medias and fortifications than David Garrick ?
(c(Q340169)|c(Q57821),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P88
type Q502895
type Q57821
action count
action filter_multi_types
action find_reverse
entity Q222390
relation P88
type Q340169
type Q57821
[[{'concept': 'Q340169'}, {'concept': 'Q57821'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?v WHERE { VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q57821 ) } . ?n rdf:type ?q } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P88 resource:Q222390 . { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q340169 ) ( ontology:Q57821 ) } } } } . FILTER ( ?l > ?g ) }
David Garrick
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type media
action find_reverse_tuple_counts
relation commissioned by
type common name
type fortification
action count
action filter_multi_types
action find_reverse
entity David Garrick
relation commissioned by
type media
type fortification
[[{'concept': 'media'}, {'concept': 'fortification'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?v WHERE { VALUES ( ?q ) { ( ontology:media ) ( ontology:fortification ) } . ?n rdf:type ?q } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:commissioned_by resource:David_Garrick . { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:media ) ( ontology:fortification ) } } } } . FILTER ( ?l > ?g ) }
[]
common name media fortification
Q38370 Q153586 Q32500
SYSTEM
Henry VIII, Christian IV of Denmark, Charles V
Q37594 Q32500 Q38370 Q171185 Q5928444 Q153586
(c(Q340169)|c(Q57821),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P88
type Q502895
type Q57821
action count
action filter_multi_types
action find_reverse
entity Q222390
relation P88
type Q340169
type Q57821
[ANSWERS] commissioned greater number of medias and fortifications than David Garrick
[[{'concept': 'Q340169'}, {'concept': 'Q57821'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?v WHERE { VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q57821 ) } . ?n rdf:type ?q } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P88 resource:Q222390 . { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q340169 ) ( ontology:Q57821 ) } } } } . FILTER ( ?l > ?g ) }
William I of England Charles V Henry VIII Ivan III of Russia Robert John Thornton Christian IV of Denmark
Henry VIII, Christian IV of Denmark and Charles V commissioned greater number of medias and fortifications than David Garrick
Henry VIII Christian IV of Denmark Charles V
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type media
action find_reverse_tuple_counts
relation commissioned by
type common name
type fortification
action count
action filter_multi_types
action find_reverse
entity David Garrick
relation commissioned by
type media
type fortification
[[{'concept': 'media'}, {'concept': 'fortification'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?v WHERE { VALUES ( ?q ) { ( ontology:media ) ( ontology:fortification ) } . ?n rdf:type ?q } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:commissioned_by resource:David_Garrick . { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:media ) ( ontology:fortification ) } } } } . FILTER ( ?l > ?g ) }
[]