Simple Question (Direct)
Simple Question
Q15836853
P512
Q3412758
USER
Which qualification does Nikolai Jakowlewitsch Matjuchin hold ?
(Q15836853,P512,c(Q3412758))
action filter_type
action find
entity Q15836853
relation P512
type Q3412758
['Q15836853', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?k WHERE { resource:Q15836853 property:P512 ?k . ?k rdf:type ontology:Q3412758 }
Nikolai Jakowlewitsch Matjuchin
action filter_type
action find
entity Nikolai Jakowlewitsch Matjuchin
relation academic degree
type qualification
['Nikolai Jakowlewitsch Matjuchin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?k WHERE { resource:Nikolai_Jakowlewitsch_Matjuchin property:academic_degree ?k . ?k rdf:type ontology:qualification }
[]
qualification
Q17281125
SYSTEM
Doktor Nauk in Engineering
Q17281125
(Q15836853,P512,c(Q3412758))
action filter_type
action find
entity Q15836853
relation P512
type Q3412758
Nikolai Jakowlewitsch Matjuchin holds the [ANSWER]
['Q15836853', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?k WHERE { resource:Q15836853 property:P512 ?k . ?k rdf:type ontology:Q3412758 }
Doktor Nauk in Engineering
Nikolai Jakowlewitsch Matjuchin holds the Doktor Nauk in Engineering
Doktor Nauk in Engineering
action filter_type
action find
entity Nikolai Jakowlewitsch Matjuchin
relation academic degree
type qualification
['Nikolai Jakowlewitsch Matjuchin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?k WHERE { resource:Nikolai_Jakowlewitsch_Matjuchin property:academic_degree ?k . ?k rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17281125
P17
Q15617994
USER
Which administrative territories are that qualification present in ?
(Q17281125,P17,c(Q15617994))
action filter_type
action find
entity Q17281125
relation P17
type Q15617994
['Q17281125', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q17281125 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Doktor Nauk in Engineering
action filter_type
action find
entity Doktor Nauk in Engineering
relation country
type designation for an administrative territorial entity
['Doktor Nauk in Engineering', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Doktor_Nauk_in_Engineering property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q159
SYSTEM
Ukraine, Russia
Q212 Q159
(Q17281125,P17,c(Q15617994))
action filter_type
action find
entity Q17281125
relation P17
type Q15617994
That qualification are in [ANSWERS]
['Q17281125', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q17281125 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Ukraine Russia
That qualification are in Ukraine and Russia
Ukraine Russia
action filter_type
action find
entity Doktor Nauk in Engineering
relation country
type designation for an administrative territorial entity
['Doktor Nauk in Engineering', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Doktor_Nauk_in_Engineering property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11925212
P27
Q502895
USER
Are Hans Hellermann a native of those administrative territories ?
(Q11925212,P27,Q212) (Q11925212,P27,Q159)
action is_in
entity prev_answer
action find
entity Q11925212
relation P27
['Q11925212', 'P27', 'Q212'] ['Q11925212', 'P27', 'Q159']
ASK WHERE { resource:Q11925212 property:P27 ?v . VALUES ( ?v ) { ( resource:Q212 ) ( resource:Q159 ) } }
Hans Hellermann
action is_in
entity prev_answer
action find
entity Hans Hellermann
relation country of citizenship
['Hans Hellermann', 'country of citizenship', 'Ukraine'] ['Hans Hellermann', 'country of citizenship', 'Russia']
ASK WHERE { resource:Hans_Hellermann property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:Ukraine ) ( resource:Russia ) } }
[]
common name
SYSTEM
NO
(Q11925212,P27,Q212) (Q11925212,P27,Q159)
action is_in
entity prev_answer
action find
entity Q11925212
relation P27
[ANSWER]
['Q11925212', 'P27', 'Q212'] ['Q11925212', 'P27', 'Q159']
ASK WHERE { resource:Q11925212 property:P27 ?v . VALUES ( ?v ) { ( resource:Q212 ) ( resource:Q159 ) } }
No
action is_in
entity prev_answer
action find
entity Hans Hellermann
relation country of citizenship
['Hans Hellermann', 'country of citizenship', 'Ukraine'] ['Hans Hellermann', 'country of citizenship', 'Russia']
ASK WHERE { resource:Hans_Hellermann property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:Ukraine ) ( resource:Russia ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q525864
P361
Q811979 Q874405 Q15617994
USER
Which administrative territories are parts of more number of architectural structures or social groups than Höttingen ?
(c(Q15617994),P361,c(Q811979)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action count
action filter_multi_types
action find
entity Q525864
relation P361
type Q811979
type Q874405
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) ?c WHERE { VALUES ( ?f ) { ( ontology:Q811979 ) ( ontology:Q874405 ) } . ?r rdf:type ?f } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { { ?e rdf:type ontology:Q811979 } UNION { ?e rdf:type ontology:Q874405 } } . resource:Q525864 property:P361 ?e } } . FILTER ( ?h > ?d ) }
Höttingen
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find
entity Höttingen
relation part of
type architectural structure
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'social group'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) ?c WHERE { VALUES ( ?f ) { ( ontology:architectural_structure ) ( ontology:social_group ) } . ?r rdf:type ?f } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { { ?e rdf:type ontology:architectural_structure } UNION { ?e rdf:type ontology:social_group } } . resource:Höttingen property:part_of ?e } } . FILTER ( ?h > ?d ) }
[]
architectural structure social group designation for an administrative territorial entity
Q57857 Q697685
SYSTEM
Zschorlau, House of Nassau-Weilburg
Q57857 Q697685
(c(Q15617994),P361,c(Q811979)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action count
action filter_multi_types
action find
entity Q525864
relation P361
type Q811979
type Q874405
[ANSWERS] are parts of more number of architectural structures or social groups than Höttingen
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) ?c WHERE { VALUES ( ?f ) { ( ontology:Q811979 ) ( ontology:Q874405 ) } . ?r rdf:type ?f } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { { ?e rdf:type ontology:Q811979 } UNION { ?e rdf:type ontology:Q874405 } } . resource:Q525864 property:P361 ?e } } . FILTER ( ?h > ?d ) }
Zschorlau House of Nassau-Weilburg
Zschorlau and House of Nassau-Weilburg are parts of more number of architectural structures or social groups than Höttingen
Zschorlau House of Nassau-Weilburg
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find
entity Höttingen
relation part of
type architectural structure
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'social group'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) ?c WHERE { VALUES ( ?f ) { ( ontology:architectural_structure ) ( ontology:social_group ) } . ?r rdf:type ?f } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { { ?e rdf:type ontology:architectural_structure } UNION { ?e rdf:type ontology:social_group } } . resource:Höttingen property:part_of ?e } } . FILTER ( ?h > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12631
P36
Q20667921 Q486972 Q15617994
USER
Which administrative territories are around the same number of french administrative divisions and human settlements the capital of as Meuse ?
(c(Q15617994),P36,c(Q20667921)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q12631
relation P36
type Q20667921
type Q486972
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?n WHERE { VALUES ( ?u ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?a rdf:type ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q12631 property:P36 ?p . { ?p rdf:type ?l . VALUES ( ?l ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } } } . FILTER ( ?i = ?k ) }
Meuse
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Meuse
relation capital
type type of french administrative division
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?n WHERE { VALUES ( ?u ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?a rdf:type ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Meuse property:capital ?p . { ?p rdf:type ?l . VALUES ( ?l ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } } } . FILTER ( ?i = ?k ) }
[]
type of french administrative division human settlement designation for an administrative territorial entity
Q965 Q12753 Q12584
SYSTEM
Burkina Faso, Seine-et-Marne, Maine-et-Loire
Q12631 Q2991354 Q3368 Q1111401 Q3044731 Q12689 Q3377 Q3372 Q3093 Q12594 Q16628524 Q12792 Q12700 Q12709 Q12574 Q12642 Q3216 Q3194 Q541589 Q12804 Q12808 Q3326 Q3286 Q12589 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q12576 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12736 Q662056 Q12657 Q12652 Q12556 Q12816 Q2528268 Q3353 Q3357 Q492437 Q492430 Q3184 Q2900529 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q965 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q12761 Q12765 Q3334 Q12572 Q12578 Q12679 Q3846423 Q3113 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q20667921)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q12631
relation P36
type Q20667921
type Q486972
[ANSWERS] are around the same number of french administrative divisions and human settlements the capital of as Meuse
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?n WHERE { VALUES ( ?u ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?a rdf:type ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q12631 property:P36 ?p . { ?p rdf:type ?l . VALUES ( ?l ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } } } . FILTER ( ?i = ?k ) }
Meuse Aquiles Serdán Municipality Essonne Kispest District Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Marne San Salvador el Verde municipality Vaucluse Hautes-Pyrénées Pyrénées-Orientales Loiret Morbihan Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Corrèze Cher Manche Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Lot Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Saône-et-Loire Cushamen Department Nièvre Moselle Indre-et-Loire Yonne Mont-Blanc Creuse Dordogne Bouches-du-Weser Bouches-de-l'Elbe Ariège Bezirk Lothringen Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Burkina Faso Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot-et-Garonne Orne Viesca Municipality Allier Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Burkina Faso, Seine-et-Marne and Maine-et-Loire are around the same number of french administrative divisions and human settlements the capital of as Meuse
Burkina Faso Seine-et-Marne Maine-et-Loire
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Meuse
relation capital
type type of french administrative division
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?n WHERE { VALUES ( ?u ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?a rdf:type ?u } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Meuse property:capital ?p . { ?p rdf:type ?l . VALUES ( ?l ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } } } . FILTER ( ?i = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1036
P36
Q20667921 Q486972 Q15617994
USER
And also tell me about Uganda?
(c(Q15617994),P36,c(Q20667921)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q1036
relation P36
type Q20667921
type Q486972
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?m WHERE { { ?m property:P36 ?b . ?b rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P36 ?b . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q486972 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q1036 property:P36 ?f . { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } } } . FILTER ( ?n = ?w ) }
Uganda
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Uganda
relation capital
type type of french administrative division
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?m WHERE { { ?m property:capital ?b . ?b rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:capital ?b . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:human_settlement } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Uganda property:capital ?f . { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } } } . FILTER ( ?n = ?w ) }
[]
type of french administrative division human settlement designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q419 Q414 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q4308116 Q17301635 Q252 Q399 Q398 Q258 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1742192 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q684030 Q1270648 Q3563282 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q1280 Q1282 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q815731 Q31074 Q31075 Q96 Q1050 Q12175285 Q2629701 Q311803 Q12717 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q239502 Q1544445 Q466061 Q1515346 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q34020 Q891165 Q1961264 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q3564819 Q3500767 Q731547 Q855327 Q328134 Q1268811 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q1090684 Q1263830 Q833 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q790 Q598193 Q796 Q794 Q174280 Q1232680 Q889 Q884 Q1452646 Q881 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1763301 Q1101 Q1206596 Q511806 Q27495866 Q3139 Q3118738 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q220249 Q31067 Q31065 Q2039306 Q654849 Q1773268 Q30835 Q30831 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q2001115 Q3044651 Q3044714 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q30682 Q30683 Q1951 Q2236821 Q2006764 Q1952 Q4854468 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q1480778 Q2567507 Q3044623 Q651394 Q3646838 Q2391254 Q3044781 Q9073753 Q2371735 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q2465553 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q2348751 Q1974486 Q153091 Q693658 Q769680 Q1508927 Q1948 Q511365 Q1270568 Q30805 Q311794 Q20 Q27 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q225 Q30650 Q223 Q30656 Q221 Q47261 Q311668 Q229 Q347 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q967 Q962 Q963 Q2921370 Q2344833 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q3509886 Q2380910 Q1438 Q686 Q30832 Q760 Q2039314 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q2093352 Q30946 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q2344570 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q2003 Q2662372 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1338277 Q224 Q1447 Q2360428 Q222 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q1984191 Q2996404 Q30797 Q1904 Q228 Q3462133 Q30815 Q17 Q1429761 Q153402 Q3207 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q15617994),P36,c(Q20667921)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action count
action filter_multi_types
action find
entity Q1036
relation P36
type Q20667921
type Q486972
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?m WHERE { { ?m property:P36 ?b . ?b rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P36 ?b . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q486972 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q1036 property:P36 ?f . { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } } } } . FILTER ( ?n = ?w ) }
Yemen Panama Znaur Israel Costa Rica Gênes Peru Argentina Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Murmansk Okrug Orihuela Governorate Indonesia Armenia Bahrain South Africa Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Stura Wied Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Principality of Serbia Sieg Rumi District Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Umbria Lazio Abruzzo Molise John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Dhaka District Ems-Oriental Ourthe Calabria Basilicata Principality of Lippe Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Bas-Rhin Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Niue Bojanala Platinum District Municipality Tecámac Municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Hamadoni District Norak District Lippe Kouilou Department 6th of October Governorate Dyle Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Montserrat Frances Baard District Municipality Malaysia Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Haiti Apennins Iraq Iran San Juan de Jinotega Ithaque Afghanistan South Korea Montenotte Vietnam Zuyderzée Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle 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 French Southern and Antarctic Lands Barisal District North Brabant Deux-Nèthes North Slope Borough Corse Alpes-Maritimes Guanentá Province Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Bremen-Verden Bouches-de-la-Meuse Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Tepic, Nayarit (municipality) Louverture Ouest Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Matrouh Governorate Beni Suef Governorate Alberta Rhône-et-Loire Xhariep District Municipality Nova Scotia Bandava Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Comilla District Arno Cibao Ramensky District Los Guayos Municipality Farkhor District Sud San Vicente Tancuayalab municipality Saky municipality Fiji Mongolia Kiribati Venezuela Nord Somme Shapsugsky National District 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 Kurigram District Cape Winelands District Municipality Duchy of Prussia Izabal Department Bornholm Méditerranée Manitoba Arvika Municipality Ems Cairo Governorate iLembe District Municipality Norway Ireland Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Duchy of Bavaria UThungulu District Municipality Cyprus Liechtenstein Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Kishoreganj District Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Sègre-Ter Duchy of Zaslawye Campania Vanuatu Giza Governorate Saint Lucia Sherpur District Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand Sylhet District Kafr el-Sheikh Governorate Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Rangpur District Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Newfoundland and Labrador Principality of Minsk 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 Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Croatia Apulia Tijuana Municipality Albania Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Ngaka Modiri Molema District Municipality Alushta municipality Luxor Governorate Ontario Andorra Saxe-Coburg and Gotha South Sinai Governorate Japan Patuakhali District Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Quebec Ayn Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Clipperton Island Barbados Khartsyzk Municipality Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Uganda
relation capital
type type of french administrative division
type human settlement
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?m WHERE { { ?m property:capital ?b . ?b rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:capital ?b . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:human_settlement } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Uganda property:capital ?f . { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } } } } . FILTER ( ?n = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q47505
P180
Q15617994 Q340169 Q11060274
USER
Which administrative territories are depicted in less number of medias or prints than Dolo ?
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47505
relation P180
type Q340169
type Q11060274
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?o WHERE { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?d rdf:type ?w } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P180 resource:Q47505 . { { ?p rdf:type ontology:Q340169 } UNION { ?p rdf:type ontology:Q11060274 } } } } . FILTER ( ?v < ?j ) }
Dolo
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Dolo
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?o WHERE { VALUES ( ?w ) { ( ontology:media ) ( ontology:print ) } . ?d rdf:type ?w } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:depicts resource:Dolo . { { ?p rdf:type ontology:media } UNION { ?p rdf:type ontology:print } } } } . FILTER ( ?v < ?j ) }
[]
designation for an administrative territorial entity media print
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47505
relation P180
type Q340169
type Q11060274
[ANSWERS] are depicted in less number of medias or prints than Dolo
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?o WHERE { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?d rdf:type ?w } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P180 resource:Q47505 . { { ?p rdf:type ontology:Q340169 } UNION { ?p rdf:type ontology:Q11060274 } } } } . FILTER ( ?v < ?j ) }
Catanzaro Liguria Sardinia Ariccia India France Netherlands People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy, Brazil and Russia are depicted in less number of medias or prints than Dolo
Italy Brazil Russia
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Dolo
relation depicts
type media
type print
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?o WHERE { VALUES ( ?w ) { ( ontology:media ) ( ontology:print ) } . ?d rdf:type ?w } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:depicts resource:Dolo . { { ?p rdf:type ontology:media } UNION { ?p rdf:type ontology:print } } } } . FILTER ( ?v < ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1598861 Q155
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with Brazil or are Heinrich Schütte a civilian of ?
OR((Q155,P530,c(Q1048835)), (Q1598861,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q155
relation P530
action find
entity Q1598861
relation P27
type Q1048835
{'OR': [['Q155', 'P530', {'concept': 'Q1048835'}], ['Q1598861', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1598861 property:P27 ?d } UNION { resource:Q155 property:P530 ?d } } . ?d rdf:type ontology:Q1048835 }
Heinrich Schütte Brazil
action filter_type
action union
action find
entity Brazil
relation diplomatic relation
action find
entity Heinrich Schütte
relation country of citizenship
type political territorial entity
{'OR': [['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Heinrich Schütte', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Heinrich_Schütte property:country_of_citizenship ?d } UNION { resource:Brazil property:diplomatic_relation ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408 Q766 Q183 Q35
SYSTEM
Canada, Australia, Jamaica, Germany, Denmark
Q16 Q408 Q766 Q183 Q35
OR((Q155,P530,c(Q1048835)), (Q1598861,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q155
relation P530
action find
entity Q1598861
relation P27
type Q1048835
[ANSWERS] hold diplomatic relationship with Brazil or are Heinrich Schütte a civilian of
{'OR': [['Q155', 'P530', {'concept': 'Q1048835'}], ['Q1598861', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1598861 property:P27 ?d } UNION { resource:Q155 property:P530 ?d } } . ?d rdf:type ontology:Q1048835 }
Canada Australia Jamaica Germany Denmark
Canada, Australia, Jamaica, Germany and Denmark hold diplomatic relationship with Brazil or are Heinrich Schütte a civilian of
Canada Australia Jamaica Germany Denmark
action filter_type
action union
action find
entity Brazil
relation diplomatic relation
action find
entity Heinrich Schütte
relation country of citizenship
type political territorial entity
{'OR': [['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Heinrich Schütte', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Heinrich_Schütte property:country_of_citizenship ?d } UNION { resource:Brazil property:diplomatic_relation ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q953
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of political territories as Zambia ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?a ) WHERE { ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 . ?x property:P530 ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q953 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?c ) }
Zambia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political 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': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?a ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Zambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?c ) }
[]
political territorial entity designation for an administrative territorial entity
Q155 Q30 Q159
SYSTEM
Brazil, United States of America, Russia
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of political territories as Zambia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?a ) WHERE { ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 . ?x property:P530 ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q953 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?c ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Brazil, United States of America and Russia have diplomatic relations with around the same number of political territories as Zambia
Brazil United States of America Russia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political 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': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?a ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?e } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Zambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q347
P530
Q1048835 Q15617994
USER
And how about Liechtenstein?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q347 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?d ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?x } }
Liechtenstein
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Liechtenstein
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Liechtenstein property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?d ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 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 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q347 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?d ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?x } }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador 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 Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America Russia Netherlands
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Liechtenstein
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Liechtenstein property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?d ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with approximately 24 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 24
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?h = 24 ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?h ) WHERE { ?d property:P530 ?y . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?h = 24 ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?h ) WHERE { ?d property:diplomatic_relation ?y . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
9
Q801 Q805 Q142 Q159 Q30 Q929 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 24
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?h = 24 ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?h ) WHERE { ?d property:P530 ?y . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } }
Israel Yemen France Russia United States of America Central African Republic Kenya Syria Zambia
9
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { FILTER ( ?h = 24 ) . { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?h ) WHERE { ?d property:diplomatic_relation ?y . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q10559
P740
Q2088357
USER
How many musical ensembles originated at Canada or Lower Bavaria ?
(c(Q2088357),P740,Q16) (c(Q2088357),P740,Q10559)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q10559
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q16'] [{'concept': 'Q2088357'}, 'P740', 'Q10559']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { ?z property:P740 resource:Q16 . ?z rdf:type ontology:Q2088357 } UNION { ?z property:P740 resource:Q10559 . ?z rdf:type ontology:Q2088357 } }
Canada Lower Bavaria
action count
action union
action filter_type
action find_reverse
entity Canada
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Lower Bavaria
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Canada'] [{'concept': 'musical ensemble'}, 'location of formation', 'Lower Bavaria']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { ?z property:location_of_formation resource:Canada . ?z rdf:type ontology:musical_ensemble } UNION { ?z property:location_of_formation resource:Lower_Bavaria . ?z rdf:type ontology:musical_ensemble } }
[]
musical ensemble
SYSTEM
18
Q4774737 Q16246665 Q4038594 Q1129210 Q2862265 Q15052646 Q2902193 Q2956509 Q4942105 Q19873573 Q7765071 Q261352 Q902700 Q4827153 Q5063576 Q1793559 Q4686957 Q5195308
(c(Q2088357),P740,Q16) (c(Q2088357),P740,Q10559)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q10559
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q16'] [{'concept': 'Q2088357'}, 'P740', 'Q10559']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { ?z property:P740 resource:Q16 . ?z rdf:type ontology:Q2088357 } UNION { ?z property:P740 resource:Q10559 . ?z rdf:type ontology:Q2088357 } }
Antigen Shift Backburner Fake Shark – Real Zombie! controller.controller Armistice The Battle of Santiago Big Dirty Band Chapeaumelon Bonjour Brumaire Blitz//Berlin The Social Icons Da Huawa, da Meier und I Jakalope Autumn Hill CerAmony RaHoWa Ad·ver·sary Cursed
18
action count
action union
action filter_type
action find_reverse
entity Canada
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Lower Bavaria
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Canada'] [{'concept': 'musical ensemble'}, 'location of formation', 'Lower Bavaria']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { ?z property:location_of_formation resource:Canada . ?z rdf:type ontology:musical_ensemble } UNION { ?z property:location_of_formation resource:Lower_Bavaria . ?z rdf:type ontology:musical_ensemble } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P159
Q43229
USER
Which organizations have the principal seat at Brazil ?
(c(Q43229),P159,Q155)
action filter_type
action find_reverse
entity Q155
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q155']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q155 . ?d rdf:type ontology:Q43229 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Brazil . ?d rdf:type ontology:organization }
[]
organization
Q7517463 Q18477328 Q7690719
SYSTEM
Simca do Brasil, Nasajon Sistemas, TeRespondo
Q18477328 Q7517463 Q7690719 Q4115001
(c(Q43229),P159,Q155)
action filter_type
action find_reverse
entity Q155
relation P159
type Q43229
[ANSWERS] have the principal seat at Brazil
[{'concept': 'Q43229'}, 'P159', 'Q155']
SELECT DISTINCT ?d WHERE { ?d property:P159 resource:Q155 . ?d rdf:type ontology:Q43229 }
Nasajon Sistemas Simca do Brasil TeRespondo Seara Foods
Simca do Brasil, Nasajon Sistemas and TeRespondo have the principal seat at Brazil
Simca do Brasil Nasajon Sistemas TeRespondo
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ?d WHERE { ?d property:headquarters_location resource:Brazil . ?d rdf:type ontology:organization }
[]