Simple Question (Direct)
Simple Question
Q4210647
P27
Q15617994
USER
Which administrative territory does Vilen Kalyuta belong to ?
(Q4210647,P27,c(Q15617994))
action filter_type
action find
entity Q4210647
relation P27
type Q15617994
['Q4210647', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q4210647 property:P27 ?m }
Vilen Kalyuta
action filter_type
action find
entity Vilen Kalyuta
relation country of citizenship
type designation for an administrative territorial entity
['Vilen Kalyuta', '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:Vilen_Kalyuta property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q4210647,P27,c(Q15617994))
action filter_type
action find
entity Q4210647
relation P27
type Q15617994
Vilen Kalyuta belongs to [ANSWER]
['Q4210647', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q4210647 property:P27 ?m }
Ukraine
Vilen Kalyuta belongs to Ukraine
Ukraine
action filter_type
action find
entity Vilen Kalyuta
relation country of citizenship
type designation for an administrative territorial entity
['Vilen Kalyuta', '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:Vilen_Kalyuta property:country_of_citizenship ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P85
Q484692
USER
Which hymn is the anthem for that administrative territory ?
(Q212,P85,c(Q484692))
action filter_type
action find
entity Q212
relation P85
type Q484692
['Q212', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?e WHERE { resource:Q212 property:P85 ?e . ?e rdf:type ontology:Q484692 }
Ukraine
action filter_type
action find
entity Ukraine
relation anthem
type hymn
['Ukraine', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?e WHERE { resource:Ukraine property:anthem ?e . ?e rdf:type ontology:hymn }
[]
hymn
Q161744
SYSTEM
Shche ne vmerla Ukraina
Q161744
(Q212,P85,c(Q484692))
action filter_type
action find
entity Q212
relation P85
type Q484692
[ANSWER] is the anthem for that administrative territory
['Q212', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?e WHERE { resource:Q212 property:P85 ?e . ?e rdf:type ontology:Q484692 }
Shche ne vmerla Ukraina
Shche ne vmerla Ukraina is the anthem for that administrative territory
Shche ne vmerla Ukraina
action filter_type
action find
entity Ukraine
relation anthem
type hymn
['Ukraine', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?e WHERE { resource:Ukraine property:anthem ?e . ?e rdf:type ontology:hymn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q212
P47
Q15617994
USER
How many administrative territories share the border with Ukraine ?
(Q212,P47,c(Q15617994))
action count
action filter_type
action find
entity Q212
relation P47
type Q15617994
['Q212', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q212 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Ukraine
action count
action filter_type
action find
entity Ukraine
relation shares border with
type designation for an administrative territorial entity
['Ukraine', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Ukraine property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
7
Q159 Q217 Q214 Q184 Q36 Q28 Q218
(Q212,P47,c(Q15617994))
action count
action filter_type
action find
entity Q212
relation P47
type Q15617994
[ANSWER]
['Q212', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q212 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Russia Republic of Moldova Slovakia Belarus Poland Hungary Romania
7
action count
action filter_type
action find
entity Ukraine
relation shares border with
type designation for an administrative territorial entity
['Ukraine', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Ukraine property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17375
Q15617994
USER
And what about Isola Sant'Antonio?
(Q17375,P47,c(Q15617994))
action count
action filter_type
action find
entity Q17375
relation P47
type Q15617994
['Q17375', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q17375 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Isola Sant'Antonio
action count
action filter_type
action find
entity Isola Sant'Antonio
relation shares border with
type designation for an administrative territorial entity
["Isola Sant'Antonio", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Isola_Sant'Antonio property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
11
(Q17375,P47,c(Q15617994))
action count
action filter_type
action find
entity Q17375
relation P47
type Q15617994
[ANSWER]
['Q17375', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q17375 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
11
action count
action filter_type
action find
entity Isola Sant'Antonio
relation shares border with
type designation for an administrative territorial entity
["Isola Sant'Antonio", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Isola_Sant'Antonio property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q2342494 Q838948
USER
How many administrative territories are atmost 193 collectables or works of art set in ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 193
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?t rdf:type ?e } GROUP BY ?r } . FILTER ( ?d <= 193 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 193
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?t rdf:type ?e } GROUP BY ?r } . FILTER ( ?d <= 193 ) }
[]
designation for an administrative territorial entity collectable work of art
SYSTEM
154
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q55 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q159 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q96 Q17 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
value 193
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?t rdf:type ?e } GROUP BY ?r } . FILTER ( ?d <= 193 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Netherlands Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Russia Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Mexico Japan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
154
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
value 193
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?t rdf:type ?e } GROUP BY ?r } . FILTER ( ?d <= 193 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with approximately 45 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 45
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?t ) WHERE { ?w property:P530 ?y . ?w rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?t = 45 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?t ) WHERE { ?w property:diplomatic_relation ?y . ?w rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?t = 45 ) }
[]
political territorial entity designation for an administrative territorial entity
Q40 Q35 Q16
SYSTEM
Austria, Denmark, Canada
Q40 Q35 Q16
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 45
[ANSWERS] hold diplomatic relationship with approximately 45 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?t ) WHERE { ?w property:P530 ?y . ?w rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?t = 45 ) }
Austria Denmark Canada
Austria, Denmark and Canada hold diplomatic relationship with approximately 45 administrative territories
Austria Denmark Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?t ) WHERE { ?w property:diplomatic_relation ?y . ?w rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?t = 45 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with atmost 3 political territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?x <= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?d } }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?x <= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 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 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?x <= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } GROUP BY ?d } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia 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 Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { FILTER ( ?x <= 3 ) . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?d } }
[]