Simple Question (Direct)
Simple Question
Q1967151
P106
Q12737077
USER
Which occupation is the profession of Jean François de Bette, Marquis of Lede ?
(Q1967151,P106,c(Q12737077))
action filter_type
action find
entity Q1967151
relation P106
type Q12737077
['Q1967151', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1967151 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Jean François de Bette, Marquis of Lede
action filter_type
action find
entity Jean François de Bette, Marquis of Lede
relation occupation
type occupation
['Jean François de Bette, Marquis of Lede', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Jean_François_de_Bette,_Marquis_of_Lede property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q193391
SYSTEM
diplomat
Q193391
(Q1967151,P106,c(Q12737077))
action filter_type
action find
entity Q1967151
relation P106
type Q12737077
The [ANSWER] is the profession of Jean François de Bette, Marquis of Lede
['Q1967151', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1967151 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
diplomat
The diplomat is the profession of Jean François de Bette, Marquis of Lede
diplomat
action filter_type
action find
entity Jean François de Bette, Marquis of Lede
relation occupation
type occupation
['Jean François de Bette, Marquis of Lede', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Jean_François_de_Bette,_Marquis_of_Lede property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1967151
P166
Q2003221
USER
Which chivalric order was received by that person ?
(Q193391,P166,c(Q2003221))
action filter_type
action find
entity Q1967151
relation P166
type Q2003221
['Q193391', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?f WHERE { resource:Q1967151 property:P166 ?f . ?f rdf:type ontology:Q2003221 }
Jean François de Bette, Marquis of Lede
action filter_type
action find
entity Jean François de Bette, Marquis of Lede
relation award received
type chivalric order
['diplomat', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?f WHERE { resource:Jean_François_de_Bette,_Marquis_of_Lede property:award_received ?f . ?f rdf:type ontology:chivalric_order }
[]
chivalric order
Q15117228
SYSTEM
Knight of the Order of the Golden Fleece
Q15117228
(Q193391,P166,c(Q2003221))
action filter_type
action find
entity Q1967151
relation P166
type Q2003221
[ANSWER] was received by that person
['Q193391', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?f WHERE { resource:Q1967151 property:P166 ?f . ?f rdf:type ontology:Q2003221 }
Knight of the Order of the Golden Fleece
Knight of the Order of the Golden Fleece was received by that person
Knight of the Order of the Golden Fleece
action filter_type
action find
entity Jean François de Bette, Marquis of Lede
relation award received
type chivalric order
['diplomat', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?f WHERE { resource:Jean_François_de_Bette,_Marquis_of_Lede property:award_received ?f . ?f rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1967151
P27
Q15617994
USER
Which administrative territories are Jean François de Bette, Marquis of Lede a civilian of ?
(Q1967151,P27,c(Q15617994))
action filter_type
action find
entity Q1967151
relation P27
type Q15617994
['Q1967151', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1967151 property:P27 ?s }
Jean François de Bette, Marquis of Lede
action filter_type
action find
entity Jean François de Bette, Marquis of Lede
relation country of citizenship
type designation for an administrative territorial entity
['Jean François de Bette, Marquis of Lede', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_François_de_Bette,_Marquis_of_Lede property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
Q29 Q31
SYSTEM
Spain, Belgium
Q29 Q31
(Q1967151,P27,c(Q15617994))
action filter_type
action find
entity Q1967151
relation P27
type Q15617994
[ANSWERS] are Jean François de Bette, Marquis of Lede a civilian of
['Q1967151', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1967151 property:P27 ?s }
Spain Belgium
Spain and Belgium are Jean François de Bette, Marquis of Lede a civilian of
Spain Belgium
action filter_type
action find
entity Jean François de Bette, Marquis of Lede
relation country of citizenship
type designation for an administrative territorial entity
['Jean François de Bette, Marquis of Lede', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_François_de_Bette,_Marquis_of_Lede property:country_of_citizenship ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1603298
Q15617994
USER
And what about Omer Letorey?
(Q1603298,P27,c(Q15617994))
action filter_type
action find
entity Q1603298
relation P27
type Q15617994
['Q1603298', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1603298 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Omer Letorey
action filter_type
action find
entity Omer Letorey
relation country of citizenship
type designation for an administrative territorial entity
['Omer Letorey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Omer_Letorey property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1603298,P27,c(Q15617994))
action filter_type
action find
entity Q1603298
relation P27
type Q15617994
[ANSWER]
['Q1603298', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1603298 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Omer Letorey
relation country of citizenship
type designation for an administrative territorial entity
['Omer Letorey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Omer_Letorey property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q15416 Q2342494
USER
Which administrative territories are approximately 27 television programs or collectables set in ?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 27
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15416 } UNION { ?e property:P840 ?c . ?e rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?c } . FILTER ( ?j = 27 ) }
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 27
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:television_program } UNION { ?e property:narrative_location ?c . ?e rdf:type ontology:collectable . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . FILTER ( ?j = 27 ) }
[]
designation for an administrative territorial entity television program collectable
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q55 Q258 Q43 Q155 Q796 Q794 Q889 Q881 Q33 Q30 Q38 Q843 Q79
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 27
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15416 } UNION { ?e property:P840 ?c . ?e rdf:type ontology:Q2342494 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?c } . FILTER ( ?j = 27 ) }
Netherlands South Africa Turkey Brazil Iraq Iran Afghanistan Vietnam Finland United States of America Italy Pakistan Egypt
Italy Brazil United States of America
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 27
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?j ) WHERE { { ?e property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:television_program } UNION { ?e property:narrative_location ?c . ?e rdf:type ontology:collectable . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . FILTER ( ?j = 27 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163700
P180
Q838948
USER
Which work of art depicts Legion of Honour ?
(c(Q838948),P180,Q163700)
action filter_type
action find_reverse
entity Q163700
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q163700']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q163700 . ?w rdf:type ontology:Q838948 }
Legion of Honour
action filter_type
action find_reverse
entity Legion of Honour
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Legion of Honour']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Legion_of_Honour . ?w rdf:type ontology:work_of_art }
[]
work of art
Q19257736
SYSTEM
Napoleon I in Coronation Robes
Q19257736
(c(Q838948),P180,Q163700)
action filter_type
action find_reverse
entity Q163700
relation P180
type Q838948
[ANSWER] depicts Legion of Honour
[{'concept': 'Q838948'}, 'P180', 'Q163700']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q163700 . ?w rdf:type ontology:Q838948 }
Napoleon I in Coronation Robes
Napoleon I in Coronation Robes depicts Legion of Honour
Napoleon I in Coronation Robes
action filter_type
action find_reverse
entity Legion of Honour
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Legion of Honour']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Legion_of_Honour . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P137
Q811979
USER
Which architectural structure is the administrator of United States of America ?
(c(Q811979),P137,Q30)
action filter_type
action find_reverse
entity Q30
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q30']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q30 . ?p rdf:type ontology:Q811979 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'United States of America']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:United_States_of_America . ?p rdf:type ontology:architectural_structure }
[]
architectural structure
Q5164573
SYSTEM
Consulate General of the United States, Hamburg
Q5164573
(c(Q811979),P137,Q30)
action filter_type
action find_reverse
entity Q30
relation P137
type Q811979
[ANSWER] is the administrator of United States of America
[{'concept': 'Q811979'}, 'P137', 'Q30']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q30 . ?p rdf:type ontology:Q811979 }
Consulate General of the United States, Hamburg
Consulate General of the United States, Hamburg is the administrator of United States of America
Consulate General of the United States, Hamburg
action filter_type
action find_reverse
entity United States of America
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'United States of America']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:United_States_of_America . ?p rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P136
Q2342494
USER
Which collectable has that administrative territory as genre ?
(c(Q2342494),P136,Q5164573)
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q5164573']
SELECT DISTINCT ?h WHERE { ?h property:P136 resource:Q30 . ?h rdf:type ontology:Q2342494 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'Consulate General of the United States, Hamburg']
SELECT DISTINCT ?h WHERE { ?h property:genre resource:United_States_of_America . ?h rdf:type ontology:collectable }
[]
collectable
Q7979149
SYSTEM
Wedge: The Secret War between the FBI and CIA
Q7979149
(c(Q2342494),P136,Q5164573)
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
[ANSWER] has that administrative territory as genre
[{'concept': 'Q2342494'}, 'P136', 'Q5164573']
SELECT DISTINCT ?h WHERE { ?h property:P136 resource:Q30 . ?h rdf:type ontology:Q2342494 }
Wedge: The Secret War between the FBI and CIA
Wedge: The Secret War between the FBI and CIA has that administrative territory as genre
Wedge: The Secret War between the FBI and CIA
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'Consulate General of the United States, Hamburg']
SELECT DISTINCT ?h WHERE { ?h property:genre resource:United_States_of_America . ?h rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3564819
P36
Q486972 Q515 Q15617994
USER
Which administrative territories have around the same number of human settlements and cities as their administrative centre as Hamadoni District ?
(c(Q15617994),P36,c(Q486972)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q3564819
relation P36
type Q486972
type Q515
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q3564819 property:P36 ?g . { { ?g rdf:type ontology:Q515 } UNION { ?g rdf:type ontology:Q486972 } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?a WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?a } }
Hamadoni District
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Hamadoni District
relation capital
type human settlement
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Hamadoni_District property:capital ?g . { { ?g rdf:type ontology:city } UNION { ?g rdf:type ontology:human_settlement } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?a WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?a } }
[]
human settlement city designation for an administrative territorial entity
Q38 Q30 Q230
SYSTEM
Italy, United States of America, Georgia
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q2998020 Q4308116 Q17301635 Q3044731 Q398 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q1742192 Q3093 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q3259 Q684030 Q1270648 Q3563282 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q12798 Q1280 Q1282 Q12792 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q12569 Q1270638 Q1788988 Q12574 Q239502 Q1544445 Q466061 Q1515346 Q12642 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q3216 Q3194 Q34020 Q891165 Q12804 Q12808 Q1961264 Q3326 Q3286 Q3528124 Q2719360 Q12589 Q1243 Q945 Q3266 Q3105 Q3564819 Q3500767 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q598193 Q174280 Q1232680 Q12576 Q1452646 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q3148 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q1763301 Q12584 Q12580 Q1101 Q1206596 Q511806 Q3131 Q12788 Q27495866 Q12784 Q3139 Q12782 Q3118738 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q220249 Q31067 Q31065 Q2039306 Q654849 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q12816 Q30682 Q30683 Q2006764 Q1952 Q4854468 Q2528268 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q1480778 Q2567507 Q3278 Q3044623 Q651394 Q3646838 Q2391254 Q3184 Q3044781 Q9073753 Q2371735 Q712 Q710 Q3044777 Q2900529 Q12770 Q2465553 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q1999970 Q155019 Q2348751 Q1974486 Q153091 Q107426 Q693658 Q769680 Q1508927 Q511365 Q1270568 Q30805 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q30650 Q223 Q30656 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q967 Q962 Q2921370 Q2344833 Q3125 Q3120 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q3509886 Q2380910 Q1438 Q3110307 Q686 Q30832 Q760 Q12722 Q2039314 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q2093352 Q30946 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q2344570 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q3083 Q2003 Q2662372 Q3249 Q3164 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1338277 Q224 Q1447 Q2360428 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q1984191 Q2996404 Q30797 Q1904 Q12578 Q12679 Q30815 Q1429761 Q153402 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q12789 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q15617994),P36,c(Q486972)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q3564819
relation P36
type Q486972
type Q515
[ANSWERS] have around the same number of human settlements and cities as their administrative centre as Hamadoni District
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q3564819 property:P36 ?g . { { ?g rdf:type ontology:Q515 } UNION { ?g rdf:type ontology:Q486972 } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?a WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?a } }
Yemen Panama Znaur Israel Costa Rica Gênes Meuse Peru Essonne Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Corse Murmansk Okrug Orihuela Governorate Guyane Bahrain Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Aisne Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Cantal Principality of Serbia Sieg Rumi District Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Vendée Umbria Lazio Vaucluse Abruzzo Molise John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Belarus Mozambique Morocco Dhaka District Ems-Oriental Ourthe Calabria Basilicata Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Loire Rhine Trasimène Loiret Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Aveyron Aube Niue Bojanala Platinum District Municipality Vienne Haute-Vienne Tecámac Municipality Corrèze Cher Tibre Duchy of Luxembourg Manche Veneto Togo Charente Vosges Hamadoni District Norak District Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Apennins San Juan de Jinotega Ithaque Lot Montenotte Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Ardèche Guadalupe Municipality Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Barisal District Maine-et-Loire Lozère North Brabant Deux-Nèthes North Slope Borough Alpes-de-Haute-Provence Val-de-Marne Corse Val-d'Oise Alpes-Maritimes Territoire de Belfort Guanentá Province Duchy of Amalfi Bangladesh Uganda Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Indre-et-Loire East Timor Rome Bremen-Verden Bouches-de-la-Meuse Estonia Turkmenistan Egypt Uruguay Almohad Tepic, Nayarit (municipality) Louverture Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Yonne Matrouh Governorate Beni Suef Governorate Xhariep District Municipality Nova Scotia Bandava Mont-Blanc Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Comilla District Arno Charente-Maritime Cibao Ramensky District Los Guayos Municipality Farkhor District Ariège Sud San Vicente Tancuayalab municipality Saky municipality Fiji Kiribati Nord Bezirk Lothringen Somme Shapsugsky National District Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Magyaróvár District Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Kurigram District Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Bornholm Méditerranée Arvika Municipality Ems Cairo Governorate iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burundi Benin Bouches-de-l'Èbre-Montserrat Kishoreganj District Hautes-Alpes Jura Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Sègre-Ter Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Saint Lucia Haut-Rhin Sherpur District Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Sylhet District Kafr el-Sheikh Governorate Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Rangpur District Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Ain Newfoundland and Labrador Principality of Minsk Calvados Ardennes Vose' District Mer-Égée Mymensingh District Principality of Polotsk Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Croatia Apulia Tijuana Municipality Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Ngaka Modiri Molema District Municipality Alushta municipality Luxor Governorate Ontario Lot-et-Garonne Orne South Sinai Governorate Patuakhali District Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Quebec Ayn Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Clipperton Island Barbados Khartsyzk Municipality Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Var Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy, United States of America and Georgia have around the same number of human settlements and cities as their administrative centre as Hamadoni District
Italy United States of America Georgia
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Hamadoni District
relation capital
type human settlement
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Hamadoni_District property:capital ?g . { { ?g rdf:type ontology:city } UNION { ?g rdf:type ontology:human_settlement } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?a WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?a } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2226837
P36
Q486972 Q515 Q15617994
USER
And how about Umzinyathi District Municipality?
(c(Q15617994),P36,c(Q486972)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q2226837
relation P36
type Q486972
type Q515
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?h } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Q2226837 property:P36 ?m . { { ?m rdf:type ontology:Q486972 } UNION { ?m rdf:type ontology:Q515 } } } } }
Umzinyathi District Municipality
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Umzinyathi District Municipality
relation capital
type human settlement
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?h } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Umzinyathi_District_Municipality property:capital ?m . { { ?m rdf:type ontology:human_settlement } UNION { ?m rdf:type ontology:city } } } } }
[]
human settlement city designation for an administrative territorial entity
Q38 Q30 Q230
SYSTEM
Italy, United States of America, Georgia
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q12631 Q419 Q3368 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q2998020 Q4308116 Q17301635 Q3044731 Q398 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q1742192 Q3093 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q3259 Q684030 Q1270648 Q3563282 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q12798 Q1280 Q1282 Q12792 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q12175285 Q2629701 Q311803 Q29937 Q117 Q30786 Q12569 Q1270638 Q1788988 Q12574 Q239502 Q1544445 Q466061 Q1515346 Q12642 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q3216 Q3194 Q34020 Q891165 Q12804 Q12808 Q1961264 Q3326 Q3286 Q3528124 Q2719360 Q12589 Q1243 Q945 Q3266 Q3105 Q3564819 Q3500767 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q598193 Q174280 Q1232680 Q12576 Q1452646 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q3148 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q1763301 Q12584 Q12580 Q1101 Q1206596 Q511806 Q3131 Q12788 Q27495866 Q12784 Q3139 Q12782 Q3118738 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q220249 Q31067 Q31065 Q2039306 Q654849 Q1773268 Q12657 Q30835 Q12652 Q12556 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q2001115 Q3044651 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q12816 Q30682 Q30683 Q2006764 Q1952 Q4854468 Q2528268 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q1480778 Q2567507 Q3278 Q3044623 Q651394 Q3646838 Q2391254 Q3184 Q3044781 Q9073753 Q2371735 Q712 Q710 Q3044777 Q2900529 Q12770 Q2465553 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q1999970 Q155019 Q2348751 Q1974486 Q153091 Q107426 Q693658 Q769680 Q1508927 Q511365 Q1270568 Q30805 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q30650 Q223 Q30656 Q221 Q1270623 Q311668 Q229 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q967 Q962 Q2921370 Q2344833 Q3125 Q3120 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q3509886 Q2380910 Q1438 Q3110307 Q686 Q30832 Q760 Q12722 Q2039314 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q12620 Q12626 Q29 Q12543 Q617646 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q2093352 Q30946 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q2344570 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q3083 Q2003 Q2662372 Q3249 Q3164 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1338277 Q224 Q1447 Q2360428 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q1984191 Q2996404 Q30797 Q1904 Q12578 Q12679 Q30815 Q1429761 Q153402 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q12789 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q15617994),P36,c(Q486972)|c(Q515))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q515
action count
action filter_multi_types
action find
entity Q2226837
relation P36
type Q486972
type Q515
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?h } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Q2226837 property:P36 ?m . { { ?m rdf:type ontology:Q486972 } UNION { ?m rdf:type ontology:Q515 } } } } }
Yemen Panama Znaur Israel Costa Rica Gênes Meuse Peru Essonne Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Corse Murmansk Okrug Orihuela Governorate Guyane Bahrain Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Aisne Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Cantal Principality of Serbia Sieg Rumi District Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Vendée Umbria Lazio Vaucluse Abruzzo Molise John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Belarus Mozambique Morocco Dhaka District Ems-Oriental Ourthe Calabria Basilicata Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Loire Rhine Trasimène Loiret Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Aveyron Aube Niue Bojanala Platinum District Municipality Vienne Haute-Vienne Tecámac Municipality Corrèze Cher Tibre Duchy of Luxembourg Manche Veneto Togo Charente Vosges Hamadoni District Norak District Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Apennins San Juan de Jinotega Ithaque Lot Montenotte Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Ardèche Guadalupe Municipality Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Barisal District Maine-et-Loire Lozère North Brabant Deux-Nèthes North Slope Borough Alpes-de-Haute-Provence Val-de-Marne Corse Val-d'Oise Alpes-Maritimes Territoire de Belfort Guanentá Province Duchy of Amalfi Bangladesh Uganda Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Indre-et-Loire East Timor Rome Bremen-Verden Bouches-de-la-Meuse Estonia Turkmenistan Egypt Uruguay Almohad Tepic, Nayarit (municipality) Louverture Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Yonne Matrouh Governorate Beni Suef Governorate Xhariep District Municipality Nova Scotia Bandava Mont-Blanc Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Comilla District Arno Charente-Maritime Cibao Ramensky District Los Guayos Municipality Farkhor District Ariège Sud San Vicente Tancuayalab municipality Saky municipality Fiji Kiribati Nord Bezirk Lothringen Somme Shapsugsky National District Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Magyaróvár District Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Kurigram District Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Bornholm Méditerranée Arvika Municipality Ems Cairo Governorate iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Meurthe UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burundi Benin Bouches-de-l'Èbre-Montserrat Kishoreganj District Hautes-Alpes Jura Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Sègre-Ter Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Saint Lucia Haut-Rhin Sherpur District Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Sylhet District Kafr el-Sheikh Governorate Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Rangpur District Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Ain Newfoundland and Labrador Principality of Minsk Calvados Ardennes Vose' District Mer-Égée Mymensingh District Principality of Polotsk Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Croatia Apulia Tijuana Municipality Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Ngaka Modiri Molema District Municipality Alushta municipality Luxor Governorate Ontario Lot-et-Garonne Orne South Sinai Governorate Patuakhali District Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Quebec Ayn Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Clipperton Island Barbados Khartsyzk Municipality Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Var Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy United States of America Georgia
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find
entity Umzinyathi District Municipality
relation capital
type human settlement
type city
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?h } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { resource:Umzinyathi_District_Municipality property:capital ?m . { { ?m rdf:type ontology:human_settlement } UNION { ?m rdf:type ontology:city } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with max number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?f ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?f = ?v ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?z ) WHERE { ?d property:P530 ?t . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?d } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?f ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?f = ?v ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?z ) WHERE { ?d property:diplomatic_relation ?t . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic associations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?f ) WHERE { ?h property:P530 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?f = ?v ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?z ) WHERE { ?d property:P530 ?t . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?d } } }
Georgia
Georgia have diplomatic associations with max number of administrative territories
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?f ) WHERE { ?h property:diplomatic_relation ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?f = ?v ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?z ) WHERE { ?d property:diplomatic_relation ?t . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q953
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with less number of administrative territories than Zambia ?
(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 Q953
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?n < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q953 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?n ) WHERE { ?o property:P530 ?v . ?o rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?o } }
Zambia
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 Zambia
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 ?o WHERE { FILTER ( ?n < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Zambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?n ) WHERE { ?o property:diplomatic_relation ?v . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 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 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 Q953
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with less number of administrative territories than Zambia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?n < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q953 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?n ) WHERE { ?o property:P530 ?v . ?o rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?o } }
Federated States of Micronesia Panama Israel 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 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 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, Russia and Netherlands have diplomatic associations with less number of administrative territories than Zambia
United States of America Russia Netherlands
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 Zambia
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 ?o WHERE { FILTER ( ?n < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Zambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?n ) WHERE { ?o property:diplomatic_relation ?v . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1016
P530
Q15617994 Q15617994
USER
And also tell me about Libya?
(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 Q1016
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?o < ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q1016 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { ?d property:P530 ?p . ?d rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?d } }
Libya
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 Libya
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 ?d WHERE { FILTER ( ?o < ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Libya property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { ?d property:diplomatic_relation ?p . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q96
SYSTEM
Netherlands, Poland, Mexico
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 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 Q1016
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?o < ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q1016 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { ?d property:P530 ?p . ?d rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?d } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden 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 Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia 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 Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Netherlands Poland Mexico
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 Libya
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 ?d WHERE { FILTER ( ?o < ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Libya property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?o ) WHERE { ?d property:diplomatic_relation ?p . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]