Simple Question (Direct)
Simple Question
Q21529403
P27
Q15617994
USER
Which administrative territory is Albert Bernard an inhabitant of ?
(Q21529403,P27,c(Q15617994))
action filter_type
action find
entity Q21529403
relation P27
type Q15617994
['Q21529403', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q21529403 property:P27 ?m }
Albert Bernard
action filter_type
action find
entity Albert Bernard
relation country of citizenship
type designation for an administrative territorial entity
['Albert Bernard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Albert_Bernard property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q21529403,P27,c(Q15617994))
action filter_type
action find
entity Q21529403
relation P27
type Q15617994
The [ANSWER] is Albert Bernard an inhabitant of
['Q21529403', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q21529403 property:P27 ?m }
France
The France is Albert Bernard an inhabitant of
France
action filter_type
action find
entity Albert Bernard
relation country of citizenship
type designation for an administrative territorial entity
['Albert Bernard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Albert_Bernard property:country_of_citizenship ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21529403
P734
Q82799
USER
Which name is associated with that person ?
(Q142,P734,c(Q82799))
action filter_type
action find
entity Q21529403
relation P734
type Q82799
['Q142', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q21529403 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Albert Bernard
action filter_type
action find
entity Albert Bernard
relation family name
type name
['France', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Albert_Bernard property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q18402175
SYSTEM
Bernard
Q18402175
(Q142,P734,c(Q82799))
action filter_type
action find
entity Q21529403
relation P734
type Q82799
[ANSWER] is associated with that person
['Q142', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q21529403 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Bernard
Bernard is associated with that person
Bernard
action filter_type
action find
entity Albert Bernard
relation family name
type name
['France', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Albert_Bernard property:family_name ?a . ?a rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q707
P1001
Q15617994 Q4164871 Q14660
USER
Which administrative territories come under the supervision of around the same number of positions and flags as Flevoland ?
(c(Q4164871)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q707
relation P1001
type Q4164871
type Q14660
[[{'concept': 'Q4164871'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P1001 resource:Q707 . { { ?l rdf:type ontology:Q4164871 } UNION { ?l rdf:type ontology:Q14660 } } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { { ?d property:P1001 ?v . ?d rdf:type ontology:Q4164871 . ?v rdf:type ontology:Q15617994 } UNION { ?d property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q14660 } } GROUP BY ?v } }
Flevoland
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Flevoland
relation applies to jurisdiction
type position
type flag
[[{'concept': 'position'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:applies_to_jurisdiction resource:Flevoland . { { ?l rdf:type ontology:position } UNION { ?l rdf:type ontology:flag } } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { { ?d property:applies_to_jurisdiction ?v . ?d rdf:type ontology:position . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:flag } } GROUP BY ?v } }
[]
designation for an administrative territorial entity position flag
Q155 Q230 Q55
SYSTEM
Brazil, Georgia, Netherlands
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q784 Q265 Q24764 Q2742 Q842 Q398 Q874 Q712 Q711 Q710 Q717 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q6465 Q1979 Q43 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q921 Q4712 Q924 Q34 Q928 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q1101 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q22274534 Q11337 Q11331 Q217 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q4164871)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q707
relation P1001
type Q4164871
type Q14660
[ANSWERS] come under the supervision of around the same number of positions and flags as Flevoland
[[{'concept': 'Q4164871'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P1001 resource:Q707 . { { ?l rdf:type ontology:Q4164871 } UNION { ?l rdf:type ontology:Q14660 } } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { { ?d property:P1001 ?v . ?d rdf:type ontology:Q4164871 . ?v rdf:type ontology:Q15617994 } UNION { ?d property:P1001 ?v . ?v rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q14660 } } GROUP BY ?v } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria Dominica Uzbekistan municipality of the Philippines Münster Oman Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad department of France Prince Edward Island Turkey Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Brunei Duchy of Burgundy Tanzania Sweden Philippines Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil, Georgia and Netherlands come under the supervision of around the same number of positions and flags as Flevoland
Brazil Georgia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Flevoland
relation applies to jurisdiction
type position
type flag
[[{'concept': 'position'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:applies_to_jurisdiction resource:Flevoland . { { ?l rdf:type ontology:position } UNION { ?l rdf:type ontology:flag } } } } . FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?v WHERE { { ?d property:applies_to_jurisdiction ?v . ?d rdf:type ontology:position . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:flag } } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q347
P1001
Q15617994 Q4164871 Q14660
USER
And what about Liechtenstein?
(c(Q4164871)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q347
relation P1001
type Q4164871
type Q14660
[[{'concept': 'Q4164871'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?o WHERE { VALUES ( ?n ) { ( ontology:Q4164871 ) ( ontology:Q14660 ) } . ?e rdf:type ?n } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P1001 resource:Q347 . { { ?t rdf:type ontology:Q4164871 } UNION { ?t rdf:type ontology:Q14660 } } } } . FILTER ( ?h = ?j ) }
Liechtenstein
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Liechtenstein
relation applies to jurisdiction
type position
type flag
[[{'concept': 'position'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?o WHERE { VALUES ( ?n ) { ( ontology:position ) ( ontology:flag ) } . ?e rdf:type ?n } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:applies_to_jurisdiction resource:Liechtenstein . { { ?t rdf:type ontology:position } UNION { ?t rdf:type ontology:flag } } } } . FILTER ( ?h = ?j ) }
[]
designation for an administrative territorial entity position flag
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q265 Q24764 Q2742 Q842 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q6465 Q1979 Q159 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q921 Q4712 Q30 Q924 Q34 Q928 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q4164871)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action count
action filter_multi_types
action find_reverse
entity Q347
relation P1001
type Q4164871
type Q14660
[ANSWERS]
[[{'concept': 'Q4164871'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?o WHERE { VALUES ( ?n ) { ( ontology:Q4164871 ) ( ontology:Q14660 ) } . ?e rdf:type ?n } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P1001 resource:Q347 . { { ?t rdf:type ontology:Q4164871 } UNION { ?t rdf:type ontology:Q14660 } } } } . FILTER ( ?h = ?j ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Uzbekistan municipality of the Philippines Münster Oman Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad department of France Prince Edward Island Russia Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Brunei Duchy of Burgundy United States of America Tanzania Sweden Philippines Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon 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 Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil United States of America Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action count
action filter_multi_types
action find_reverse
entity Liechtenstein
relation applies to jurisdiction
type position
type flag
[[{'concept': 'position'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?o WHERE { VALUES ( ?n ) { ( ontology:position ) ( ontology:flag ) } . ?e rdf:type ?n } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:applies_to_jurisdiction resource:Liechtenstein . { { ?t rdf:type ontology:position } UNION { ?t rdf:type ontology:flag } } } } . FILTER ( ?h = ?j ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30 Q230
P30
Q2221906
USER
Where are Brazil, United States of America and Georgia located ?
(Q155,P30,c(Q2221906)) (Q30,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action union
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q230
relation P30
type Q2221906
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q30', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q155 ) } . ?p property:P30 ?b }
Brazil United States of America Georgia
action union
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity Georgia
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['United States of America', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:Brazil ) } . ?p property:continent ?b }
[]
geographic location
Q46 Q18 Q49
SYSTEM
Europe, South America, North America
Q18 Q538 Q49 Q46 Q5401
(Q155,P30,c(Q2221906)) (Q30,P30,c(Q2221906)) (Q230,P30,c(Q2221906))
action union
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q30
relation P30
type Q2221906
action filter_type
action find
entity Q230
relation P30
type Q2221906
Brazil , United States of America and Georgia located in [ANSWERS] are
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q30', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q155 ) } . ?p property:P30 ?b }
South America Oceania North America Europe Eurasia
Brazil , United States of America and Georgia located in Europe, South America and North America are
Europe South America North America
action union
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity United States of America
relation continent
type geographic location
action filter_type
action find
entity Georgia
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['United States of America', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:Brazil ) } . ?p property:continent ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46 Q18 Q49
P138
Q12280
USER
Which bridges come from those geographic locations ?
(c(Q12280),P138,Q46) (c(Q12280),P138,Q18) (c(Q12280),P138,Q49)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q12280
[{'concept': 'Q12280'}, 'P138', 'Q46'] [{'concept': 'Q12280'}, 'P138', 'Q18'] [{'concept': 'Q12280'}, 'P138', 'Q49']
SELECT DISTINCT ?s WHERE { ?s property:P138 ?p . ?s rdf:type ontology:Q12280 . VALUES ( ?p ) { ( resource:Q18 ) ( resource:Q538 ) ( resource:Q49 ) } }
Europe South America North America
action filter_type
action find_reverse
entity prev_answer
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Europe'] [{'concept': 'bridge'}, 'named after', 'South America'] [{'concept': 'bridge'}, 'named after', 'North America']
SELECT DISTINCT ?s WHERE { ?s property:named_after ?p . ?s rdf:type ontology:bridge . VALUES ( ?p ) { ( resource:South_America ) ( resource:Oceania ) ( resource:North_America ) } }
[]
bridge
Q520543 Q216061 Q216061
SYSTEM
Bridge of the Americas for 2nd, 3rd, Europabrücke for 1st
Q520543 Q216061 Q216061
(c(Q12280),P138,Q46) (c(Q12280),P138,Q18) (c(Q12280),P138,Q49)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q12280
[ANSWERS]
[{'concept': 'Q12280'}, 'P138', 'Q46'] [{'concept': 'Q12280'}, 'P138', 'Q18'] [{'concept': 'Q12280'}, 'P138', 'Q49']
SELECT DISTINCT ?s WHERE { ?s property:P138 ?p . ?s rdf:type ontology:Q12280 . VALUES ( ?p ) { ( resource:Q18 ) ( resource:Q538 ) ( resource:Q49 ) } }
Europabrücke Bridge of the Americas Bridge of the Americas
Europabrücke, Bridge of the Americas and Bridge of the Americas come from those geographic locations
Europabrücke Bridge of the Americas Bridge of the Americas
action filter_type
action find_reverse
entity prev_answer
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Europe'] [{'concept': 'bridge'}, 'named after', 'South America'] [{'concept': 'bridge'}, 'named after', 'North America']
SELECT DISTINCT ?s WHERE { ?s property:named_after ?p . ?s rdf:type ontology:bridge . VALUES ( ?p ) { ( resource:South_America ) ( resource:Oceania ) ( resource:North_America ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q216061
P177
Q355304
USER
Which watercourse is over/under that bridge ?
(Q216061,P177,c(Q355304))
action filter_type
action find
entity Q216061
relation P177
type Q355304
['Q216061', 'P177', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q216061 property:P177 ?c . ?c rdf:type ontology:Q355304 }
Bridge of the Americas
action filter_type
action find
entity Bridge of the Americas
relation crosses
type watercourse
['Bridge of the Americas', 'crosses', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Bridge_of_the_Americas property:crosses ?c . ?c rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q216061
SYSTEM
Did you mean Bridge of the Americas ?
Q520543 Q216061 Q216061
(Q520543,P177,c(Q355304)) (Q216061,P177,c(Q355304)) (Q216061,P177,c(Q355304))
[ANSWER]
['Q520543', 'P177', {'concept': 'Q355304'}] ['Q216061', 'P177', {'concept': 'Q355304'}] ['Q216061', 'P177', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q216061 property:P177 ?c . ?c rdf:type ontology:Q355304 }
Europabrücke Bridge of the Americas Bridge of the Americas
Did you mean Bridge of the Americas ?
Bridge of the Americas
['Europabrücke', 'crosses', {'concept': 'watercourse'}] ['Bridge of the Americas', 'crosses', {'concept': 'watercourse'}] ['Bridge of the Americas', 'crosses', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Bridge_of_the_Americas property:crosses ?c . ?c rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
Yes
(Q216061,P177,c(Q355304))
['Q216061', 'P177', {'concept': 'Q355304'}]
['Bridge of the Americas', 'crosses', {'concept': 'watercourse'}]
[]
Q7350
SYSTEM
Panama Canal
Q7350
(Q216061,P177,c(Q355304))
action filter_type
action find
entity Q216061
relation P177
type Q355304
[ANSWER] is over/under that bridge
['Q216061', 'P177', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q216061 property:P177 ?c . ?c rdf:type ontology:Q355304 }
Panama Canal
Panama Canal is over/under that bridge
Panama Canal
action filter_type
action find
entity Bridge of the Americas
relation crosses
type watercourse
['Bridge of the Americas', 'crosses', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Bridge_of_the_Americas property:crosses ?c . ?c rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7350 Q552129
P17
Q15617994
USER
Is that watercourse a part of Hirschbach ?
(Q7350,P17,Q552129)
action is_in
entity Q552129
action find
entity Q7350
relation P17
['Q7350', 'P17', 'Q552129']
ASK WHERE { resource:Q7350 property:P17 resource:Q552129 }
Panama Canal Hirschbach
action is_in
entity Hirschbach
action find
entity Panama Canal
relation country
['Panama Canal', 'country', 'Hirschbach']
ASK WHERE { resource:Panama_Canal property:country resource:Hirschbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7350,P17,Q552129)
action is_in
entity Q552129
action find
entity Q7350
relation P17
[ANSWER]
['Q7350', 'P17', 'Q552129']
ASK WHERE { resource:Q7350 property:P17 resource:Q552129 }
No
action is_in
entity Hirschbach
action find
entity Panama Canal
relation country
['Panama Canal', 'country', 'Hirschbach']
ASK WHERE { resource:Panama_Canal property:country resource:Hirschbach }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1043510
P403
Q15324 Q355304
USER
Which bodies of water do more number of watercourses flow into than Carmarthen Bay ?
(c(Q355304),P403,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q1043510
relation P403
type Q15324
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P403 ?f . ?f rdf:type ontology:Q15324 . ?v rdf:type ontology:Q355304 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ontology:Q15324 . resource:Q1043510 property:P403 ?a } } . FILTER ( ?n > ?d ) }
Carmarthen Bay
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Carmarthen Bay
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:mouth_of_the_watercourse ?f . ?f rdf:type ontology:body_of_water . ?v rdf:type ontology:watercourse } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ontology:body_of_water . resource:Carmarthen_Bay property:mouth_of_the_watercourse ?a } } . FILTER ( ?n > ?d ) }
[]
body of water watercourse
Q37660 Q35827 Q3040
SYSTEM
South China Sea, Río de la Plata, Hudson Bay
Q41430 Q12630 Q3040 Q1866414 Q5578622 Q1782677 Q876470 Q2090594 Q11875916 Q1693 Q35827 Q1635853 Q673264 Q159252 Q224101 Q192738 Q2879685 Q35000 Q795608 Q1247 Q1314643 Q213517 Q132811 Q44725 Q128880 Q1059534 Q131274 Q7231877 Q33254 Q47632 Q14935920 Q174731 Q1974744 Q13234218 Q58705 Q209682 Q5605 Q37495 Q231312 Q697092 Q844003 Q1362310 Q1134573 Q1419628 Q1201023 Q42820 Q49364 Q2026815 Q41735 Q2066982 Q37660 Q1165951 Q23406 Q1368308 Q82931 Q195413 Q38882 Q13924 Q2750104 Q844799 Q37960 Q676154 Q131217 Q502233 Q45341 Q1365066 Q216868 Q1323629 Q999031 Q223810 Q122574 Q6940354 Q131418 Q1059646 Q14686 Q163434 Q913418 Q1747324 Q1432730 Q34575 Q489472 Q34675 Q33629 Q545 Q1324526 Q917872 Q27698 Q27092 Q41573 Q38684 Q148621 Q934883 Q999162 Q15262475 Q2304586 Q867460 Q140290 Q81499 Q1512616 Q7988 Q1360927 Q1726244 Q1144680 Q1254743 Q1947589 Q181857 Q1129590 Q8026651 Q188203 Q2211837 Q23883 Q141017 Q3059074
(c(Q355304),P403,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q1043510
relation P403
type Q15324
[ANSWERS] more number of watercourses flow into than Carmarthen Bay
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P403 ?f . ?f rdf:type ontology:Q15324 . ?v rdf:type ontology:Q355304 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ontology:Q15324 . resource:Q1043510 property:P403 ?a } } . FILTER ( ?n > ?d ) }
Gulf of Guinea Gulf of Mexico Hudson Bay Morecambe Bay Gold Coast Broadwater Pegasus Bay Gulf of Maine Cantabrian Sea Liminka Bay North Sea Río de la Plata Western Port Hawke Bay Chukchi Sea Guanabara Bay Gulf of Taranto Pensacola Bay Sea of Azov Gulf of Honduras Caribbean Sea Lough Foyle Gironde estuary Gulf of California Bering Sea Arafura Sea Tampa Bay Beaufort Sea Portland Bay Tasman Sea Andaman Sea Vasse-Wonnerup Estuary Gulf of Riga Amundsen Gulf Bothnian Bay Arabian Sea Gulf of Corinth Vistula Lagoon Ionian Sea Seto Inland Sea Hokianga Gulf of Gonâve Tasman Bay Coronation Gulf Firth of Thames Suruga Bay Ligurian Sea Java Sea Gulf of Kalamita Irish Sea Peel-Harvey Estuary South China Sea Ungava Bay Red Sea Ise Bay Coral Sea Solway Firth Tyrrhenian Sea Adriatic Sea Shannon Estuary Gulf of Paria Yellow Sea Manila Bay Gulf of Thailand Southampton Water East China Sea Karamea Bight Chesapeake Bay Gulf St Vincent Bight of Bonny James Bay Gulf of Bothnia Muscongus Bay Timor Sea Chaleur Bay Gulf of Finland East Siberian Sea Thermaic Gulf Tauranga Harbour North Taranaki Bight Aegean Sea Toyama Bay Persian Gulf Kara Sea Baltic Sea Port Phillip Bay Bristol Bay Neva Bay Sea of Japan Bay of Biscay Bay of Bengal Dublin Bay Gulf of Patras Osaka Bay Nornalup Inlet South Taranaki Bight Long Island Sound Bay of Plenty Celtic Sea Golden Bay Laptev Sea Moray Firth Rangaunu Harbour Gulf of Morbihan Gulf of Papua Moreton Bay Bay of Fundy Cook Inlet Winyah Bay Bristol Channel Saginaw Bay Dead Sea Tokyo Bay estuary of the St. Lawrence
South China Sea, Río de la Plata and Hudson Bay more number of watercourses flow into than Carmarthen Bay
South China Sea Río de la Plata Hudson Bay
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Carmarthen Bay
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:mouth_of_the_watercourse ?f . ?f rdf:type ontology:body_of_water . ?v rdf:type ontology:watercourse } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ontology:body_of_water . resource:Carmarthen_Bay property:mouth_of_the_watercourse ?a } } . FILTER ( ?n > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7990619
P403
Q15324 Q355304
USER
And also tell me about Whangape Harbour?
(c(Q355304),P403,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q7990619
relation P403
type Q15324
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q7990619 property:P403 ?s . ?s rdf:type ontology:Q15324 } } . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P403 ?k . ?k rdf:type ontology:Q15324 . ?o rdf:type ontology:Q355304 } GROUP BY ?k } }
Whangape Harbour
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Whangape Harbour
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Whangape_Harbour property:mouth_of_the_watercourse ?s . ?s rdf:type ontology:body_of_water } } . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:mouth_of_the_watercourse ?k . ?k rdf:type ontology:body_of_water . ?o rdf:type ontology:watercourse } GROUP BY ?k } }
[]
body of water watercourse
Q37660 Q213367 Q35827
SYSTEM
South China Sea, Gdańsk Bay, Río de la Plata
Q41430 Q12630 Q3040 Q1544796 Q217487 Q3215249 Q1866414 Q5578622 Q1882990 Q5048261 Q181969 Q1782677 Q876470 Q2090594 Q11875916 Q12058281 Q5401013 Q1693 Q2837927 Q35827 Q1635853 Q63767 Q199436 Q7963133 Q673264 Q2166147 Q159252 Q224101 Q161591 Q192738 Q2879685 Q52059 Q7230817 Q35000 Q2879708 Q795608 Q1247 Q1314643 Q213517 Q1064776 Q645271 Q132811 Q44725 Q1544353 Q3359189 Q128880 Q1059534 Q131274 Q810737 Q7231877 Q7990618 Q6075063 Q947086 Q894564 Q33254 Q1441345 Q19960979 Q47632 Q2560406 Q14935920 Q174731 Q1974744 Q13234218 Q1215321 Q58705 Q747189 Q3354785 Q209682 Q3032 Q700024 Q5605 Q37495 Q1043510 Q1509253 Q1127599 Q231312 Q697092 Q5595169 Q479030 Q844003 Q1137498 Q1362310 Q7452698 Q1134573 Q6530294 Q1419628 Q2731872 Q1201023 Q42820 Q49364 Q2026815 Q41735 Q2066982 Q37660 Q1165951 Q1503116 Q23406 Q1368308 Q82931 Q195413 Q38882 Q13924 Q2750104 Q844799 Q37960 Q481734 Q4176307 Q7990623 Q676154 Q131217 Q502233 Q45341 Q159183 Q1365066 Q182137 Q4905044 Q216868 Q2879476 Q1323629 Q999031 Q223810 Q186733 Q122574 Q6940354 Q894682 Q1978769 Q131418 Q1059646 Q14686 Q379063 Q1267413 Q163434 Q35367 Q913418 Q1747324 Q1432730 Q34575 Q489472 Q34675 Q738808 Q33629 Q545 Q18395243 Q915250 Q117157 Q213367 Q1324526 Q917872 Q27698 Q1474634 Q27092 Q41573 Q1359524 Q38684 Q148621 Q934883 Q999162 Q810532 Q49557 Q15262475 Q1502095 Q2304586 Q47530 Q7205810 Q867460 Q4334869 Q4443093 Q140290 Q1631968 Q81499 Q1512616 Q912692 Q284841 Q7988 Q1360927 Q1726244 Q1144680 Q1254743 Q2621939 Q1947589 Q181857 Q667456 Q2879691 Q8023100 Q1129590 Q8026651 Q188203 Q2211837 Q23883 Q141017 Q74269 Q2033236 Q3059074
(c(Q355304),P403,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find
entity Q7990619
relation P403
type Q15324
[ANSWERS]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q7990619 property:P403 ?s . ?s rdf:type ontology:Q15324 } } . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P403 ?k . ?k rdf:type ontology:Q15324 . ?o rdf:type ontology:Q355304 } GROUP BY ?k } }
Gulf of Guinea Gulf of Mexico Hudson Bay Mobile Bay Shark Bay Tuggerah Lake Morecambe Bay Gold Coast Broadwater Macquarie Harbour Casco Bay Bohai Sea Pegasus Bay Gulf of Maine Cantabrian Sea Liminka Bay Tallinn Bay Estero Bay North Sea Ortigueira estuary Río de la Plata Western Port Haifa Bay Bismarck Sea Wallis Lake Hawke Bay Sasyk Lagoon Chukchi Sea Guanabara Bay Kola Bay Gulf of Taranto Pensacola Bay Korea Bay Port Musgrave Sea of Azov Bay of Quinte Gulf of Honduras Caribbean Sea Lough Foyle Gironde estuary Upper New York Bay Sea of Sardinia Gulf of California Bering Sea Great South Bay Oyster Harbour Arafura Sea Tampa Bay Beaufort Sea Batchawana Bay Portland Bay Whangapoua Harbour Irwin Inlet Green Bay Boston Harbor Tasman Sea Albemarle Sound Salluit Fjord Andaman Sea Galveston Bay Vasse-Wonnerup Estuary Gulf of Riga Amundsen Gulf Bothnian Bay Apalachee Bay Arabian Sea Cardigan Bay Stockholms ström Gulf of Corinth Darwin Harbour Hangzhou Bay Vistula Lagoon Ionian Sea Carmarthen Bay Gulf of Nicoya Galway Bay Seto Inland Sea Hokianga Grand Traverse Bay Port Stephens Gulf of Gonâve Kandalaksha Gulf Tasman Bay Serangoon Harbour Coronation Gulf Leschenault Estuary Firth of Thames Estuary of Bilbao Suruga Bay Ligurian Sea Java Sea Gulf of Kalamita Irish Sea Peel-Harvey Estuary South China Sea Ungava Bay Geographe Bay Red Sea Ise Bay Coral Sea Solway Firth Tyrrhenian Sea Adriatic Sea Shannon Estuary Gulf of Paria Yellow Sea Amur Bay Saltsjön Whangarei Harbour Manila Bay Gulf of Thailand Southampton Water East China Sea Philippine Sea Karamea Bight Lake Maracaibo Big Bay de Noc Chesapeake Bay Missisquoi Bay Gulf St Vincent Bight of Bonny James Bay Great Australian Bight Gulf of Bothnia Muscongus Bay Botany Bay Sukhyi Liman Timor Sea Chaleur Bay Gulf of Finland Thracian Sea Georgian Bay East Siberian Sea Sea of Marmara Thermaic Gulf Tauranga Harbour North Taranaki Bight Aegean Sea Toyama Bay Persian Gulf Delaware Bay Kara Sea Baltic Sea Wohoa Bay Chaunskaya Bay Gulf of Cádiz Gdańsk Bay Port Phillip Bay Bristol Bay Neva Bay Messenian Gulf Sea of Japan Bay of Biscay Bay of Bangkok Bay of Bengal Dublin Bay Gulf of Patras Osaka Bay Arcachon Bay Ariake Sea Nornalup Inlet Wellington Harbour South Taranaki Bight Bight of Benin Plymouth Harbor Long Island Sound Onemen Bay Storm Bay Bay of Plenty Howe Sound Celtic Sea Golden Bay Palliser Bay Ambracian Gulf Laptev Sea Moray Firth Rangaunu Harbour Gulf of Morbihan Gulf of Papua Whangaroa Harbour Moreton Bay Bay of Fundy Oslofjord Passamaquoddy Bay Wilson Inlet Cook Inlet Winyah Bay Bristol Channel Saginaw Bay Dead Sea Tokyo Bay Hamoaze Pamlico Sound estuary of the St. Lawrence
South China Sea Gdańsk Bay Río de la Plata
action greater
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find
entity Whangape Harbour
relation mouth of the watercourse
type body of water
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Whangape_Harbour property:mouth_of_the_watercourse ?s . ?s rdf:type ontology:body_of_water } } . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:mouth_of_the_watercourse ?k . ?k rdf:type ontology:body_of_water . ?o rdf:type ontology:watercourse } GROUP BY ?k } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P206
Q15324 Q123705
USER
How many bodies of water are located next to more number of neighborhoods than that body of water ?
(c(Q123705),P206,c(Q15324))
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q123705 . ?y rdf:type ontology:Q15324 }
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:neighborhood . ?y rdf:type ontology:body_of_water }
[]
body of water neighborhood
Comparative|Count over More/Less|Single entity type|Clarification
Q35827
SYSTEM
Did you mean Río de la Plata ?
(c(Q123705),P206,c(Q15324))
[ANSWER]
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q123705 . ?y rdf:type ontology:Q15324 }
Did you mean Río de la Plata ?
Río de la Plata
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:neighborhood . ?y rdf:type ontology:body_of_water }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Gdańsk Bay. Could you tell me the answer for that?
(c(Q123705),P206,c(Q15324))
Q213367
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q15324'}]
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'body of water'}]
[]
SYSTEM
1
Q14686
(c(Q123705),P206,c(Q15324))
[ANSWER]
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q123705 . ?y rdf:type ontology:Q15324 }
Gulf of Finland
1
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:neighborhood . ?y rdf:type ontology:body_of_water }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q213367 Q2449490
P17
Q15617994
USER
How many administrative territories are Gdańsk Bay or SeaWorld Orlando located in ?
(Q213367,P17,c(Q15617994)) (Q2449490,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q213367
relation P17
type Q15617994
action filter_type
action find
entity Q2449490
relation P17
type Q15617994
['Q213367', 'P17', {'concept': 'Q15617994'}] ['Q2449490', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Q213367 property:P17 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q2449490 property:P17 ?w . ?w rdf:type ontology:Q15617994 } }
Gdańsk Bay SeaWorld Orlando
action count
action union
action filter_type
action find
entity Gdańsk Bay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity SeaWorld Orlando
relation country
type designation for an administrative territorial entity
['Gdańsk Bay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['SeaWorld Orlando', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Gdańsk_Bay property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:SeaWorld_Orlando property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q36
(Q213367,P17,c(Q15617994)) (Q2449490,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q213367
relation P17
type Q15617994
action filter_type
action find
entity Q2449490
relation P17
type Q15617994
[ANSWER]
['Q213367', 'P17', {'concept': 'Q15617994'}] ['Q2449490', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Q213367 property:P17 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q2449490 property:P17 ?w . ?w rdf:type ontology:Q15617994 } }
United States of America Poland
2
action count
action union
action filter_type
action find
entity Gdańsk Bay
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity SeaWorld Orlando
relation country
type designation for an administrative territorial entity
['Gdańsk Bay', 'country', {'concept': 'designation for an administrative territorial entity'}] ['SeaWorld Orlando', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Gdańsk_Bay property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:SeaWorld_Orlando property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q82794 Q15324
USER
Which geographic regions are min number of bodies of water located on ?
(c(Q15324),P706,Q2866905)
action argmin
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15324
[{'concept': 'Q15324'}, 'P706', 'Q2866905']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P706 ?b . ?b rdf:type ontology:Q82794 . ?m rdf:type ontology:Q15324 } GROUP BY ?b } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P706 ?t . ?t rdf:type ontology:Q82794 . ?x rdf:type ontology:Q15324 } GROUP BY ?t } . FILTER ( ?j = ?h ) }
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', 'Aspé Valley']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_region . ?m rdf:type ontology:body_of_water } GROUP BY ?b } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?x rdf:type ontology:body_of_water } GROUP BY ?t } . FILTER ( ?j = ?h ) }
[]
geographic region body of water
Q2887520 Q20925112 Q20906226
SYSTEM
Vistula basin, Bug Basin, Narew Basin
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q192273 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q39061 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q690127 Q207388 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1471257 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q15324),P706,Q2866905)
action argmin
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15324
Located The [ANSWERS]
[{'concept': 'Q15324'}, 'P706', 'Q2866905']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P706 ?b . ?b rdf:type ontology:Q82794 . ?m rdf:type ontology:Q15324 } GROUP BY ?b } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P706 ?t . ?t rdf:type ontology:Q82794 . ?x rdf:type ontology:Q15324 } GROUP BY ?t } . FILTER ( ?j = ?h ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Karelia Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Northern Hemisphere Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Fertile Crescent Franconian Keuper-Lias Plains Pregolya Basin Val Müstair Siebenmühlental Bessarabia Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Located The Vistula basin, Bug Basin and Narew Basin
Vistula basin Bug Basin Narew Basin
action argmin
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', 'Aspé Valley']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_region . ?m rdf:type ontology:body_of_water } GROUP BY ?b } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?x rdf:type ontology:body_of_water } GROUP BY ?t } . FILTER ( ?j = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P710
Q645883
USER
What event did United States of America particiate in ?
(c(Q645883),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q645883
[{'concept': 'Q645883'}, 'P710', 'Q30']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q645883 . ?h property:P710 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation participant
type military operation
[{'concept': 'military operation'}, 'participant', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:military_operation . ?h property:participant resource:United_States_of_America }
[]
military operation
Q2994973 Q2156895
SYSTEM
Cambodian Campaign, Borneo campaign
Q2994973 Q2156895
(c(Q645883),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q645883
United States of America particiated in [ANSWERS]
[{'concept': 'Q645883'}, 'P710', 'Q30']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q645883 . ?h property:P710 resource:Q30 }
Cambodian Campaign Borneo campaign
United States of America particiated in Cambodian Campaign and Borneo campaign
Cambodian Campaign Borneo campaign
action filter_type
action find_reverse
entity United States of America
relation participant
type military operation
[{'concept': 'military operation'}, 'participant', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:military_operation . ?h property:participant resource:United_States_of_America }
[]