Simple Question (Direct)
Simple Question
Q6481956
P19
Q56061
USER
Which administrative territory is the place of birth of Lamine Fall ?
(Q6481956,P19,c(Q56061))
action filter_type
action find
entity Q6481956
relation P19
type Q56061
['Q6481956', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q6481956 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Lamine Fall
action filter_type
action find
entity Lamine Fall
relation place of birth
type administrative territorial entity
['Lamine Fall', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Lamine_Fall property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3718
SYSTEM
Dakar
Q3718
(Q6481956,P19,c(Q56061))
action filter_type
action find
entity Q6481956
relation P19
type Q56061
[ANSWER] is the place of birth of Lamine Fall
['Q6481956', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q6481956 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Dakar
Dakar is the place of birth of Lamine Fall
Dakar
action filter_type
action find
entity Lamine Fall
relation place of birth
type administrative territorial entity
['Lamine Fall', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Lamine_Fall property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6481956
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Lamine Fall ?
(Q6481956,P27,c(Q15617994))
action filter_type
action find
entity Q6481956
relation P27
type Q15617994
['Q6481956', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q6481956 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Lamine Fall
action filter_type
action find
entity Lamine Fall
relation country of citizenship
type designation for an administrative territorial entity
['Lamine Fall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lamine_Fall property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1041
SYSTEM
Senegal
Q1041
(Q6481956,P27,c(Q15617994))
action filter_type
action find
entity Q6481956
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Lamine Fall
['Q6481956', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q6481956 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Senegal
Senegal is the country of citizenship of Lamine Fall
Senegal
action filter_type
action find
entity Lamine Fall
relation country of citizenship
type designation for an administrative territorial entity
['Lamine Fall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lamine_Fall property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of more number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q1041
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2031291 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q1041 property:P495 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?k ) }
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Senegal
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:release } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Senegal property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?k ) }
[]
designation for an administrative territorial entity release
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q1041
relation P495
type Q15617994
[ANSWERS] are the countries of origin of more number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2031291 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q1041 property:P495 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?k ) }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Italy, Brazil and United States of America are the countries of origin of more number of releases than that administrative territory
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Senegal
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:release } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Senegal property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1041
P463
Q43229 Q56061
USER
How many organizations and administrative territories were Senegal a member of ?
(Q1041,P463,c(Q43229)) (Q1041,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q1041
relation P463
type Q43229
action filter_type
action find
entity Q1041
relation P463
type Q56061
['Q1041', 'P463', {'concept': 'Q43229'}] ['Q1041', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { resource:Q1041 property:P463 ?a . ?a rdf:type ontology:Q43229 } UNION { resource:Q1041 property:P463 ?a . ?a rdf:type ontology:Q56061 } }
Senegal
action count
action union
action filter_type
action find
entity Senegal
relation member of
type organization
action filter_type
action find
entity Senegal
relation member of
type administrative territorial entity
['Senegal', 'member of', {'concept': 'organization'}] ['Senegal', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { resource:Senegal property:member_of ?a . ?a rdf:type ontology:organization } UNION { resource:Senegal property:member_of ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]
organization administrative territorial entity
SYSTEM
6 organizations and 1 administrative territories
Q340195 Q191384 Q656801 Q899770 Q7825 Q7159 Q827525
(Q1041,P463,c(Q43229)) (Q1041,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q1041
relation P463
type Q43229
action filter_type
action find
entity Q1041
relation P463
type Q56061
[ANSWER]
['Q1041', 'P463', {'concept': 'Q43229'}] ['Q1041', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { resource:Q1041 property:P463 ?a . ?a rdf:type ontology:Q43229 } UNION { resource:Q1041 property:P463 ?a . ?a rdf:type ontology:Q56061 } }
African Development Bank International Bank for Reconstruction and Development International Finance Corporation International Centre for Settlement of Investment Disputes World Trade Organization African Union International Development Association
6 organizations and 1 administrative territories
action count
action union
action filter_type
action find
entity Senegal
relation member of
type organization
action filter_type
action find
entity Senegal
relation member of
type administrative territorial entity
['Senegal', 'member of', {'concept': 'organization'}] ['Senegal', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { resource:Senegal property:member_of ?a . ?a rdf:type ontology:organization } UNION { resource:Senegal property:member_of ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q795587
P37
Q5962346 Q34770 Q15617994
USER
Which administrative territories are greater number of classification schemes and languages the official language of than Escuintla ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q795587
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?w WHERE { VALUES ( ?b ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?z rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q795587 property:P37 ?j . { { ?j rdf:type ontology:Q34770 } UNION { ?j rdf:type ontology:Q5962346 } } } } . FILTER ( ?x > ?e ) }
Escuintla
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Escuintla
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?w WHERE { VALUES ( ?b ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?z rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Escuintla property:official_language ?j . { { ?j rdf:type ontology:language } UNION { ?j rdf:type ontology:classification_scheme } } } } . FILTER ( ?x > ?e ) }
[]
classification scheme language designation for an administrative territorial entity
Q29 Q750
SYSTEM
Spain, Bolivia
Q29 Q750
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q795587
relation P37
type Q5962346
type Q34770
[ANSWERS] are greater number of classification schemes and languages the official language of than Escuintla
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?w WHERE { VALUES ( ?b ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } . ?z rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q795587 property:P37 ?j . { { ?j rdf:type ontology:Q34770 } UNION { ?j rdf:type ontology:Q5962346 } } } } . FILTER ( ?x > ?e ) }
Spain Bolivia
Spain and Bolivia are greater number of classification schemes and languages the official language of than Escuintla
Spain Bolivia
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Escuintla
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?w WHERE { VALUES ( ?b ) { ( ontology:classification_scheme ) ( ontology:language ) } . ?z rdf:type ?b } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Escuintla property:official_language ?j . { { ?j rdf:type ontology:language } UNION { ?j rdf:type ontology:classification_scheme } } } } . FILTER ( ?x > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q889
P37
Q5962346 Q34770 Q15617994
USER
And also tell me about Afghanistan?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q889
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?p rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } . resource:Q889 property:P37 ?w } } . FILTER ( ?b > ?y ) }
Afghanistan
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Afghanistan
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?p rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:classification_scheme ) ( ontology:language ) } } . resource:Afghanistan property:official_language ?w } } . FILTER ( ?b > ?y ) }
[]
classification scheme language designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q889
relation P37
type Q5962346
type Q34770
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } . ?p rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } . resource:Q889 property:P37 ?w } } . FILTER ( ?b > ?y ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy Netherlands Zambia
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Afghanistan
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:language ) ( ontology:classification_scheme ) } . ?p rdf:type ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:classification_scheme ) ( ontology:language ) } } . resource:Afghanistan property:official_language ?w } } . FILTER ( ?b > ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P47
Q1048835 Q7275
USER
How many political territories or states are bordered by Italy ?
(Q38,P47,c(Q1048835)) (Q38,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q1048835
action filter_type
action find
entity Q38
relation P47
type Q7275
['Q38', 'P47', {'concept': 'Q1048835'}] ['Q38', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:Q1048835 . resource:Q38 property:P47 ?r } UNION { resource:Q38 property:P47 ?r . ?r rdf:type ontology:Q7275 } }
Italy
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type political territorial entity
action filter_type
action find
entity Italy
relation shares border with
type state
['Italy', 'shares border with', {'concept': 'political territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:political_territorial_entity . resource:Italy property:shares_border_with ?r } UNION { resource:Italy property:shares_border_with ?r . ?r rdf:type ontology:state } }
[]
political territorial entity state
SYSTEM
2
Q40 Q36704
(Q38,P47,c(Q1048835)) (Q38,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q1048835
action filter_type
action find
entity Q38
relation P47
type Q7275
[ANSWER]
['Q38', 'P47', {'concept': 'Q1048835'}] ['Q38', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:Q1048835 . resource:Q38 property:P47 ?r } UNION { resource:Q38 property:P47 ?r . ?r rdf:type ontology:Q7275 } }
Austria Yugoslavia
2
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type political territorial entity
action filter_type
action find
entity Italy
relation shares border with
type state
['Italy', 'shares border with', {'concept': 'political territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:political_territorial_entity . resource:Italy property:shares_border_with ?r } UNION { resource:Italy property:shares_border_with ?r . ?r rdf:type ontology:state } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q854
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Sri Lanka ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?x > ?e ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q854 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } }
Sri Lanka
action count
action greater
action find_reverse_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 Sri Lanka
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 ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?x > ?e ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Sri_Lanka property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?x > ?e ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Q854 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
action find_reverse_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 Sri Lanka
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 ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?x > ?e ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { resource:Sri_Lanka property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q414
P530
Q15617994 Q15617994
USER
And how about Argentina?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q414
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?l ) WHERE { ?u property:P530 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P530 resource:Q414 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?m ) }
Argentina
action count
action greater
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_reverse
entity Argentina
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 ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?l ) WHERE { ?u property:diplomatic_relation ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:diplomatic_relation resource:Argentina . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
17
Q801 Q805 Q668 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q30 Q38 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q414
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?l ) WHERE { ?u property:P530 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P530 resource:Q414 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?m ) }
Israel Yemen India France United Kingdom People's Republic of China Serbia Russia Turkey Brazil United States of America Italy Japan Egypt Libya Cape Verde Zambia
17
action count
action greater
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_reverse
entity Argentina
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 ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?l ) WHERE { ?u property:diplomatic_relation ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:diplomatic_relation resource:Argentina . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P27
Q39614 Q6619679
USER
How many cemeteries and fictional humanoids are a native of United States of America ?
(c(Q39614),P27,Q30) (c(Q6619679),P27,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P27
type Q39614
action filter_type
action find_reverse
entity Q30
relation P27
type Q6619679
[{'concept': 'Q39614'}, 'P27', 'Q30'] [{'concept': 'Q6619679'}, 'P27', 'Q30']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:P27 resource:Q30 . ?d rdf:type ontology:Q39614 } UNION { ?d rdf:type ontology:Q6619679 . ?d property:P27 resource:Q30 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type cemetery
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type fictional humanoid
[{'concept': 'cemetery'}, 'country of citizenship', 'United States of America'] [{'concept': 'fictional humanoid'}, 'country of citizenship', 'United States of America']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:country_of_citizenship resource:United_States_of_America . ?d rdf:type ontology:cemetery } UNION { ?d rdf:type ontology:fictional_humanoid . ?d property:country_of_citizenship resource:United_States_of_America } }
[]
cemetery fictional humanoid
SYSTEM
1 cemeteries and 847 fictional humanoids
Q166150 Q2622764 Q4696683 Q321663 Q2272543 Q3984993 Q2939535 Q12052420 Q2316151 Q739113 Q1038163 Q12052399 Q3218657 Q970236 Q2400233 Q2533281 Q2941571 Q5049237 Q2480288 Q928388 Q3018732 Q288814 Q26197229 Q3607699 Q3528642 Q18544997 Q2420061 Q8063841 Q51293 Q20645828 Q951317 Q2405147 Q7037896 Q2928640 Q2832379 Q2568029 Q2725188 Q12052413 Q7919235 Q1258261 Q15292457 Q923684 Q1062787 Q3229651 Q1918366 Q3897538 Q23895040 Q63918 Q6765649 Q768434 Q14916072 Q4023613 Q12052419 Q2725607 Q901902 Q5347597 Q7030237 Q3365464 Q6153302 Q2725594 Q2326044 Q3938366 Q392070 Q2896018 Q21233601 Q592358 Q5377357 Q3531813 Q2982631 Q898615 Q7879729 Q6355326 Q2349069 Q2537674 Q7544236 Q5270038 Q3052388 Q5387892 Q2731558 Q720235 Q3610734 Q2985943 Q5686895 Q988898 Q5877890 Q2456679 Q3109129 Q1504498 Q860234 Q3012327 Q2998614 Q5203064 Q5212861 Q2463141 Q3056715 Q2500105 Q4886732 Q3761876 Q23991694 Q2303060 Q6202837 Q2341392 Q2262619 Q249898 Q2293323 Q2463175 Q2479508 Q2435789 Q2959094 Q5037308 Q640871 Q25922643 Q3773572 Q3157335 Q1774100 Q1064680 Q3195727 Q7674240 Q2110637 Q2246369 Q6968018 Q10264872 Q1938855 Q1824049 Q3124833 Q6124828 Q3503663 Q903006 Q8071783 Q6177765 Q2337004 Q10546366 Q6361874 Q12052415 Q12052414 Q12052417 Q12052411 Q20047742 Q10383240 Q786051 Q2631344 Q3313307 Q2567153 Q3178473 Q6108851 Q589050 Q18545021 Q2226353 Q6163569 Q760823 Q6385996 Q4716904 Q5403000 Q3557477 Q1140947 Q5648799 Q282634 Q6524354 Q2326089 Q2885862 Q2577035 Q2907796 Q6375626 Q5531983 Q20880572 Q3302860 Q3607489 Q2340324 Q568896 Q5039948 Q965917 Q83719 Q430548 Q840368 Q3027480 Q2471248 Q1857816 Q10364629 Q4829179 Q5490991 Q7176705 Q12964820 Q5736273 Q4897469 Q2721597 Q3809610 Q5365858 Q3114290 Q2640712 Q3176650 Q2860154 Q716636 Q2317569 Q3307719 Q2436984 Q5092784 Q7321408 Q15427568 Q5234855 Q2556873 Q496085 Q695567 Q2962772 Q5387610 Q7976745 Q941827 Q2517339 Q629583 Q2500449 Q5148135 Q2367746 Q5489693 Q2857376 Q3574605 Q9286223 Q1981346 Q597213 Q15292510 Q7352765 Q7540567 Q2005691 Q3025532 Q3498140 Q4982251 Q24187426 Q23900437 Q7095542 Q1610689 Q7407118 Q4769385 Q5648920 Q225001 Q3453771 Q2221007 Q6388910 Q7821730 Q4766955 Q616633 Q2834992 Q7681211 Q6828838 Q8029795 Q3119786 Q6771900 Q1647226 Q7319155 Q6789283 Q3808560 Q3308575 Q860922 Q582651 Q4992308 Q2720745 Q10394324 Q6776969 Q3051515 Q5372962 Q17397741 Q902565 Q14920993 Q826055 Q7372441 Q2934121 Q5608790 Q3313624 Q4908691 Q21233680 Q480244 Q963186 Q3193045 Q3053363 Q15292509 Q2568818 Q2604250 Q3876068 Q12334421 Q3559533 Q2316828 Q22815752 Q3282221 Q3047158 Q2905994 Q1639574 Q726851 Q3051042 Q1153498 Q4902503 Q2996694 Q3301206 Q1078858 Q7354251 Q21015520 Q7168342 Q2714206 Q6685526 Q1622084 Q3189727 Q15292504 Q16988466 Q7843014 Q4820150 Q5234625 Q6767263 Q14329382 Q2346693 Q2911540 Q3127876 Q950345 Q6197806 Q2337703 Q14921965 Q1785006 Q2397174 Q2796243 Q1771228 Q5258117 Q3809728 Q1108652 Q2636135 Q15292556 Q7128221 Q22945637 Q629899 Q687999 Q601836 Q781068 Q1409866 Q277545 Q2193650 Q2086344 Q2669664 Q4936561 Q1504526 Q116857 Q4792188 Q6380491 Q10393654 Q3941579 Q20165662 Q7909135 Q5585931 Q568316 Q656143 Q1416312 Q3639189 Q5284828 Q7498132 Q716835 Q284262 Q1514450 Q6486313 Q2290414 Q2607112 Q1779558 Q3335847 Q2339290 Q2927521 Q6828705 Q2734051 Q3483137 Q2703860 Q3856283 Q5454702 Q12052406 Q3934789 Q944728 Q7816122 Q2463192 Q1426891 Q7597935 Q3808298 Q12052408 Q12052409 Q5433677 Q3023763 Q838560 Q5094273 Q2283843 Q1774891 Q2064366 Q7301775 Q22946315 Q7421051 Q1063148 Q17379228 Q2363179 Q3515231 Q379494 Q2609344 Q14630283 Q581031 Q496437 Q2630776 Q7375286 Q5220707 Q7150007 Q3193133 Q4739605 Q47352 Q2660482 Q3219652 Q21233494 Q3054493 Q5591214 Q14921631 Q2605062 Q931582 Q112609 Q21694294 Q496852 Q2458931 Q3430468 Q2591046 Q6788395 Q2474844 Q4766594 Q1610182 Q6489885 Q1638503 Q3058775 Q6127539 Q1775253 Q2449464 Q2632785 Q3056356 Q2426214 Q7111857 Q512382 Q7256193 Q20724361 Q3900793 Q14916129 Q2563379 Q14915624 Q3570193 Q27662636 Q2602422 Q3416093 Q2444720 Q2552938 Q1823052 Q2466726 Q6694746 Q1209223 Q727921 Q3026186 Q13416559 Q4935334 Q3230270 Q2708077 Q2112816 Q6950215 Q26254064 Q5364662 Q2731570 Q3610656 Q5595087 Q7801309 Q2536239 Q15292508 Q857012 Q1163861 Q3294956 Q2896082 Q751192 Q7537676 Q2312594 Q3177609 Q2871722 Q6174437 Q3356853 Q5073199 Q2722692 Q2263741 Q2456985 Q7855923 Q3036003 Q21233567 Q2721145 Q8047131 Q1513887 Q941961 Q845525 Q5534974 Q3035819 Q6725939 Q2527732 Q2467529 Q2746414 Q47788 Q769335 Q11271903 Q612720 Q429828 Q1010452 Q732939 Q1750877 Q1049580 Q5641584 Q7962731 Q3195240 Q1058601 Q7642554 Q1767436 Q15292432 Q3276776 Q2777013 Q3049515 Q4974428 Q5239822 Q18822150 Q2567137 Q3554452 Q3296877 Q2277618 Q2298557 Q4652094 Q1174116 Q2604808 Q1779543 Q2318143 Q1649955 Q3313525 Q14916118 Q4954353 Q3487121 Q1068314 Q3148680 Q784892 Q288944 Q6186437 Q2071077 Q1776723 Q10870658 Q2254504 Q3929793 Q745077 Q1411380 Q5363673 Q5703723 Q5043578 Q4572479 Q1258231 Q1984449 Q3300728 Q6491304 Q3336719 Q21727861 Q6829073 Q2978714 Q3133393 Q2569703 Q1141641 Q7069498 Q5592155 Q10337170 Q2414045 Q2742668 Q746277 Q14622172 Q2713404 Q7488265 Q10326368 Q1114441 Q5359078 Q2723839 Q6404474 Q2104757 Q3308018 Q5446177 Q7302741 Q7281912 Q611873 Q3171943 Q6194149 Q12006095 Q14916064 Q1996724 Q2825074 Q7495067 Q9013424 Q3045131 Q21233523 Q1503373 Q5646791 Q14916063 Q329466 Q7195639 Q6758557 Q640896 Q5209742 Q14921467 Q2718264 Q3195700 Q2345627 Q1152997 Q842949 Q11020382 Q14921661 Q7887981 Q4800336 Q3224463 Q3459134 Q2283086 Q17355047 Q3182871 Q15660517 Q3992925 Q16246740 Q5169195 Q2962576 Q7804169 Q18280341 Q26858001 Q1049471 Q2861136 Q3898780 Q12052402 Q3898184 Q6523499 Q2463185 Q2528340 Q3339669 Q2706542 Q27182859 Q1861390 Q3001885 Q15292572 Q16960966 Q898239 Q653748 Q5133978 Q2692448 Q10294234 Q3229557 Q256647 Q27664634 Q3109703 Q2720192 Q3931224 Q14921007 Q5338506 Q2720199 Q2604218 Q4018276 Q3056447 Q2383601 Q611993 Q3368555 Q3830247 Q3827138 Q5297794 Q2630009 Q194705 Q3826643 Q5398255 Q3141938 Q943048 Q1435927 Q21480646 Q21572989 Q14916067 Q5090105 Q14916061 Q5571472 Q5095352 Q2338941 Q14916141 Q3365458 Q751117 Q2412208 Q2566776 Q2554211 Q5491071 Q3365454 Q5219335 Q1070876 Q1317964 Q3476717 Q909506 Q675323 Q3177510 Q5457496 Q4997729 Q5173349 Q4411035 Q2501268 Q7685090 Q7611362 Q629034 Q1076932 Q2624951 Q3950359 Q6211130 Q3473445 Q9297207 Q5604293 Q4862889 Q27230321 Q3651432 Q3157393 Q6660379 Q13859489 Q633487 Q2284488 Q835154 Q1286779 Q2296453 Q2834309 Q6209929 Q623732 Q948405 Q3014621 Q26196929 Q15292534 Q2607675 Q7228879 Q47865 Q745957 Q3545090 Q6793293 Q6143931 Q2846779 Q2366096 Q16951285 Q1653903 Q7035196 Q3808548 Q3665706 Q19878369 Q1186288 Q4022919 Q3490915 Q6786481 Q7608412 Q8073250 Q6111347 Q5277500 Q6872830 Q5142008 Q3374172 Q7847290 Q26199133 Q3316504 Q7345288 Q7436120 Q1991039 Q2289535 Q7595876 Q7979260 Q1058591 Q3161189 Q23900446 Q5046271 Q1063118 Q1362487 Q3054521 Q20047757 Q19796729 Q2338081 Q3127510 Q2519837 Q5724909 Q4678841 Q10293636 Q10431845 Q10291559 Q21694302 Q3498581 Q3124253 Q2663841 Q4837642 Q2185012 Q5674193 Q6306713 Q5576788 Q3568900 Q255537 Q6054422 Q10290844 Q2224819 Q537309 Q12177503 Q7409772 Q4782765 Q2403686 Q6289125 Q1049347 Q748978 Q2335344 Q6680424 Q3189076 Q975229 Q3529127 Q2820065 Q4935401 Q5392948 Q2248590 Q7089745 Q22673676 Q3322144 Q6187538 Q4935569 Q4769347 Q3442316 Q25926461 Q1886308 Q2941276 Q2429447 Q18210216 Q3547709 Q3181369 Q20639760 Q7624009 Q2928603 Q2711181 Q5046244 Q2629742 Q6369838 Q1095612 Q1042390 Q516478 Q2722254 Q2657517 Q3811601 Q1152953 Q24573133 Q7520432 Q599546 Q2724526 Q1978403 Q1773624 Q6834640 Q2292469 Q2719854 Q27149988 Q2552714 Q4932810 Q3302757 Q26197056 Q7408735 Q7740785 Q22915321 Q2716514 Q6837262 Q772107 Q2345229 Q2829308
(c(Q39614),P27,Q30) (c(Q6619679),P27,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P27
type Q39614
action filter_type
action find_reverse
entity Q30
relation P27
type Q6619679
[ANSWER]
[{'concept': 'Q39614'}, 'P27', 'Q30'] [{'concept': 'Q6619679'}, 'P27', 'Q30']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:P27 resource:Q30 . ?d rdf:type ontology:Q39614 } UNION { ?d rdf:type ontology:Q6619679 . ?d property:P27 resource:Q30 } }
Damien Thorn April Kepner Aidan Devane Archie Bunker Kevin Volchok Tessa Noël Carlton Lassiter Juror n.12 B. A. Baracus Sara Sidle Phoenix Wright Juror n.1 Laura Avery Sumner Bette Porter Miranda Bailey Lorelai Gilmore Cat Grant Cassandra Foster Kearney Zzyzwicz Noah Mayer David Rossi Luke Snyder Mildred Finch Alan Eppes Tim Haspel Captain Peters Nate Archibald Zach Slater Jack Shephard Union Cane John Rambo Angus MacGyver Nina Cortlandt Gus Alec Hardison The Continental Op Richie Aprile Juror n.7 Velma Kelly Chris Taub Derek Bailey Shepherd John Sheppard Matt Parkman Leon Vance John Clark Pat Geary Jim Rhodes / War Machine Billie Jenkins Marissa Tasker Andrew Van de Kamp Ella Simms Zack Morris Juror n.11 Ralph Cifaretto Jax Teller John Cage Nicole des Jardins Wakefield Parker Lee Janet Dillon Tommy Vercetti Paulie Gualtieri Robert McCallister Craig Kennedy Benjamin Carrington Kelsey Peters Kyle Reese Enforcer Tony Manero Colin Mallory Max Payne (character) Matt McNamara Kamakura Addison Montgomery Biff Tannen Smash Williams Di Henry Emily Prentiss Erica Kane Patty Halliwell Holden Caulfield Alex Wilder John "Hannibal" Smith Hayley Vaughan Elizabeth Weir George Mason Meadow Soprano Gloria Parker-Simmons Fat Tony Charles Logan Dale Turner Cottonmouth D'Angelo Barksdale Damon Miller Junior Soprano James Heller Brandon Walsh Ben Wyatt Jinx Johnson Bucky Barnes / Winter Soldier Don Eppes Jinx Mike Nelson Alex Kelly David Palmer George O'Malley Jennifer Melfi Marissa Cooper Roger Murtaugh Charles Foster Kane Cara Castillo Angar the Screamer Ruby Gormogon Jack Twist Nora Walker Allison Cameron Supreme Allah Tad Martin Horatio Caine Jessica Fletcher Natalia Fowler Della Leiter Maia Skouris Aki Ross Mikaela Banes Jake Martin Summer Newman Dean Winchester Ziggy Sobotka Jenna Maroney Emmett Brown Carter McKay Kane family Juror n.9 Juror n.8 Juror n.10 Juror n.6 Commander Carter Toofer Spurlock María LaGuerta Tiffany Case Mike Franks Janice Soprano Jackie Burkhart JR Chandler Jack Woltz Sergeant Foster Aaron Pierce Jason Street Victor Newman Kelly Cramer Alex Devane Ethan Zobelle Adam Newman Rory Gilmore Hannah Britten Martin Riggs Leo du Pres Silvio Dante Bart Mancuso Janet Fraiser Bob Pinciotti Kate Martin General Joseph Colton Brother Mouzone Maxwell Sheffield Al Delvecchio Xander Harris Summer Roberts Carl Brutananadilewski Leland Stottlemeyer James Doakes Charles Gunn Jill Valentine Doctor Demonicus Mark Sloan Virgil Tracy Rosie Carver Avon Barksdale Frankie Hubbard Peter Rugg Human Cannonball Herc Beth Clemmons Claude Speed John Shaft Ellis Carver Chloe Armstrong Don Draper Jefferson Keane Archie Andrews Mr. Burns Vanessa Abrams Meyer Wolfshiem Kevin Walker Cheryl Tunt Rhone American Cemetery and Memorial Vincent Vega David Hayward John Stewart Robin Wood Amita Ramanujan Cherry Ames Eric Taylor Wayne Unser Sherry Palmer Julie Cooper Sheldon Cooper Silvermane Colonel James Braddock Andre Brandon Fields Frank Sobotka Antonio Nappa Zahir Arif Dr. Christmas Jones Ellie Woodcomb Dino Ortolani Liz Shepherd Robin Scorpio Slim Charles Steel Devon Woodcomb Stella Kowalski Bubbles Lorna Cole Senator Stern Opal Cortlandt Diana Fowley Sam Axe Annie McNamara Hannah Nichols Edgar Stiles Ryan Evans Teddy Altman Kendall Hart Tony "Duke" Evers Anna Devane Betty Ross Alfred Bester Tami Taylor Michael Britten Wolf Penny Halliwell Marlo Stanfield Piper Halliwell Rex Britten Matt Saracen Joanie Cunningham Michael Westen Zatanna Kitty Walker Nadia Yassir Harmony Kendall Sheriff J.W. Pepper Martin family Ellis Grey Emma Spool Dr. Kelly Brackett David « Tweener » Apolskis Kevin Carroll Daniel Jackson Roxie Hart Calleigh Duquesne Griffin Castillo Mikey Palmice Bill Dauterive Diana Trout Abby Sciuto Luke Duke Kareem Saïd Empowered Nancy Shepherd Marion Ravenwood Aloysius Pendergast Nicky Parsons Sam Hanna Vincent Chase Johnny Sack Lawrence Weaver Mallory Harlem Detective Blanche DuBois Phoebe Halliwell Lana Lang Eliot Spencer Eli "Weevil" Navarro Bianca Montgomery Cooter Davenport Holly Goodhead Leroy Jethro Gibbs Rock 'n Roll Farragut Peri Brown Andrew Wells Lou Grant Sam Trautman Juliet O'Hara Carolyn Shepherd Tyra Collette Trinity Wells Audrey Liddell David Hale Mark Dalton Effie Trinket Dirk Pitt Boss Hogg Harry Morgan Ethan Hunt Jim Rockford Dawn Summers Carl Webb Blair Waldorf Callie Torres Alan Tracy Shawn Spencer Dennis "Cutty" Wise Johnny Joestar Kimberly Shaw Al Bundy Susan Grey Palmer Cortlandt Barry Clayton Seth Cohen Cameron Mitchell Bree Van de Kamp Audrey Raines Donna Martin Jon Arbuckle Kyle Harmon Bill Buchanan Olivia Benson Bodie Broadus Comic Book Guy Wyatt Halliwell Arlene Vaughan Kaycee Nicole Willard Whyte Ross Marler Henry Mills Val Rhymin Gordon Tracy Brenda Leigh Johnson Allison Taylor Don Self Betty Draper Dixie Cooney Shipwreck Jacob Black Nina Myers Milhouse Van Houten Langley Wallingford Charlie Eppes Harry Bosch Irene Adler Naomi Clark Cristina Yang Buddy Michael Bluth Abby Lockhart Sidewinder Meryl Silverburgh Michael Tritter Raylan Givens Juror n.3 Richie Cunningham Lana Lang Tom Haverford Adriana La Cerva Michael Myers Stan Valchek James "Jim" Orenthal Juror n.4 Juror n.5 Fancy Crane Derek Morgan Timothy McGee Chev Chelios Mysterio Rita Bennett Cecilia Reyes Rebecca Howe Cathy Briscoe  Sapphire Veronica Donovan Lucy Mickey Haller Officer Tanner Kirsten Cohen Jonathan Levinson Dylan McAvoy Amanda Young Sarah Connor Eli Wallace Roz Doyle Danny Ocean Paul Cramer Karen Vick Amanda Dillon Eric Cartman Baxter Stockman Laurie Forman Lauren Heller Ennis Del Mar Grace Holloway Hal Gardner Chuck Bartowski Fredo Corleone Elizabeth Collins Stoddard Carrie Wells Thirteen Nino Schibetta Richard Ames Eric Forman Matt Brody Charlie Harper Ann O'Brien Donald Anderson Larry Appleton Crossfire The Boss (Metal Gear) Jamal Cudahy Tony Almeida Mercedes Jones Mike Hammer Eric Murphy Pussy Galore Outback Leonard Hofstadter Psyche-Out Dolly Branican Pete Campbell Ian Malcolm Benny Fazio Claire Underwood Wyatt Wingfoot Tobias C. Fornell Egon Spengler Rachel Gatina Scott Ghostface Betty Applewhite Peter Thornton Cyborg Lt. Falcon Oliver Oken Sean McNamara Diane Beckman Jeffrey King Bobby Maxwell Leroy Tidd Pete Ross Penny Parker Míster Danger Major Bill Cage Elle Greenaway Big Pussy Bonpensiero Alexandra DeWitt Grand Slam Tig Trager Jenny Calendar Kathleen Shepherd Caitlin Todd Marv Mars Blackmon Benjamin Gates Mark Hoffman Skye Chandler John Tracy Jesse Duke Augustus Hill Jeff Martin Orville Simpson Chaplain Tappman Duke Nukem Izzie Stevens Hank Landry Turner D. Century Father Callahan Liza Miller Bette Kane Yakko, Wakko, and Dot Courtney Whitmore Derek Shepherd Samantha Carter Geoffrey Wilder Don Lamb Mad Dog Mike Novick Lexie Grey Leo Wendy Testaburger Angela Montenegro Juice Ortiz Creeper Meredith Grey Gil Grissom Quincey Morris Prue Halliwell Tony Soprano Half-Sack Epps Wallace Kenny Wangler Lisa Cuddy Super Macho Man Walden Schmidt Zola Shepherd Maggie Beckett George Costanza Jennifer Jareau Brooke English David Sinclair Dick Tracy Livia Soprano Vance Duke Pam Bouvier Roy Focker Jess Mariano AJ Chandler Dick Casablancas Burt Hummel Felix Leiter Trey Atwood Scarlett O'Hara Mike S. Blueberry Chad Danforth Brad Whitaker Snake Plissken Jack Ryan Red Forman Howard Wolowitz Artie Bucco Jesse Hubbard Agent K Daisy Duke Lucky Luke Serena van der Woodsen Ralph Malph Vito Corleone Naomi Bennett Elizabeth Wakefield Helena Russell Carmen Sandiego Mason Verger Lawrence Kutner Greg Sanders Jack Wade Larry Wolek Nathan Ford Henry Hurt Michael Cambias Clay Morrow Penelope Garcia Strong Guy Randy Disher Number 2 Grady Wilson Noah Daniels Karen Hayes Evan Lorne Joey Tribbiani Tick Nancy Thompson Shane Scully Marilyn Bauer Gabriella Montez Elena Montero Anthony Soprano Kid Devil Katherine Chancellor Michael Baldwin Fez Recondo Rae Cummings Bo Duke Nellie Oleson Jim Chee Maggie Stone Kensi Blye Joey Quinn Adrianna Tate-Duncan Billie Keane Josh Bauer Natalie Teeger Josh Principal Skinner Hana Tsu-Vachel Jeanne Benoit Freddy Krueger Piney Winston Marcus Álvarez Richard Woolsey Daisy Lemay Keith Palmer Richard Webber Kevin Fisher Hal Jordan Wallace Fennel Miley Stewart Ken Masters Nicole Palmer Johnny Sasaki Arthur Spooner Gamesmaster Colonel Kurtz Veronica Mars Zoe Barnes Johnny "Drama" Chase The Dude Tommy Walker Namond Brice Copycat Chemistro Tim Riggins Chris Ravell Jenny Curran Adrian Shephard Ari Gold Peggy Olson Juror n.2 Paula Brooks Leo Carmela Soprano Taylor Townsend Nicholas Newman Julian Sark Rico Amonte Whitey Durham Coy Duke Laura Thompson Grey Liz Warner Jack Hodgins Raj Koothrappali Clint Lane Eric Delko Hector Salazar Leo Glynn Chloe O'Brian Ben Langdon Donna Pinciotti Fran Fine Rebecca Harper Mark DeSalvo Edith Bunker Valerie Cooper Lilian Celia "Lily" Bass Potsie Weber Erica Evans Kaitlin Cooper Green Arrow Pat Magnum Leo Getz Larry Fleinhardt Dorian Lord Captain Ahab Barbara Gordon Lance Sweets Domingo Chavez Hubert Bonisseur de La Bath Rick Deckard Fonzie Fish Mooney Emma Ross G. Callen Chelsea Lawson Rabbit Angstrom Gloria Stivic Chibs Telford Marty McFly Ellie Sattler Parker Black Lightning Wade Welles John Carter Monica Reyes Frankie Stone Parker Danielle Baptiste O-Ren Ishii Temperance "Bones" Brennan Sean Dillon James Palmer Alice Pieszecki Jerry Tumbler Flash Bunk Moreland Cortlandt/Cooney family Jean DeWolff Kitty Forman Tara Knowles Sterling Archer Tony Montana Nancy Drew Sarah Walker Sarah Walker Joe Martin Sarah MacKenzie Newman Greenlee Smythe Baron Von Porkchop Monty Brogan Camille Saroyan Jackie Cook Liza Colby Rayna Jaymes Diana Davis Keith Mars Michael Corleone Seeley Booth Connor Alexei Volkoff Joe Friday Philip Marlowe Duncan Kane Daniel Romalotti Terry Lake Molly Grey Thompson Apollo Creed Poot Carr Token Black Cindy "Mac" Mackenzie Templeton "Faceman" Peck Maurice Levy Thatcher Grey Ender Wiggin Brothers Grimm Megan Reeves Sonya Blade Nikki Betancourt Joan Holloway Chachi Arcola Lyla Garrity Jackson Stewart Yossarian Sophie Devereaux Mateo Santos Stephanie Tanner Zoe Jack Box Dimitri Marick Miranda Montgomery Colby Chandler Pee-wee Herman Trudy Monk Buck Winters Morris O'Brian Robert Harrison Blake Scott Chandler Jenny Schecter Rocky Balboa Stacey Sutton Wee-Bey Brice Eric Foreman James Johnson Howard Stark Carrie Anne Mathison D. L. Hawkins Robby Stewart Enos Strate Damian Falco Michelle Marita Covarrubias Harmon Rabb Bluto Henry Leyden Adam Chandler Hamilton Burger Bobby Smiles Griff Tannen Al Burns Stephen J. Bartowski Kate Brewster John Constantine Babe Carey Michael Kelso Hart Jessup Julia Santos Godot William Rawls Michelle Dessler Tom Lennox Graem Bauer Steven Hyde Jennifer Keller Nicholas Brody Sammy Jo Carrington Aquarius Warren Mears Josh Madden Kim Bauer Sue Ellen Ewing Christopher Moltisanti Loren Smith Julian Baker Spencer Reid Tina Kennard Aaron Hotchner Bobby Munson Ernest Darby Michael Knight Omar Little Ezra Kramer Phillip Bauer Jessica Wakefield Bobby Simone Annie Lavery Rosco P. Coltrane Joe Gallagher Scott Tracy Cassidy Casablancas Jade Billy Flynn Andrea Beaumont John Dortmunder Larry Sanders Stringer Bell Burr Redding Jackson Avery Carrie Heffernan Shane McCutcheon Karen MacKenzie Teri Bauer Leo Wyatt Poison Alex Krycek Alexx Woods Justin Walker Logan Echolls Tim Taylor Simone Torres Martha Logan Tony Blundetto Lauren Zizes Morgan Grimes Michael Stivic Cordelia Chase Wayne Palmer Elsa Mars Henry Jones Bob Hogan Maximillian Arturo Ian Edgerton Samantha Spade The Hubbard Family Joseph Rivera Aiden Ford Michelle Tanner Anthony DiNozzo Obsidian Al Calavicci
1 cemeteries and 847 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type cemetery
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type fictional humanoid
[{'concept': 'cemetery'}, 'country of citizenship', 'United States of America'] [{'concept': 'fictional humanoid'}, 'country of citizenship', 'United States of America']
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:country_of_citizenship resource:United_States_of_America . ?d rdf:type ontology:cemetery } UNION { ?d rdf:type ontology:fictional_humanoid . ?d property:country_of_citizenship resource:United_States_of_America } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18419
P291
Q56061 Q21114848 Q1002697
USER
Which administrative territories were greater number of magazine genres or periodical literatures published than Brooklyn ?
(c(Q21114848)|c(Q1002697),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q18419
relation P291
type Q21114848
type Q1002697
[[{'concept': 'Q21114848'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:Q56061 . ?y rdf:type ontology:Q21114848 . ?y property:P291 ?d } UNION { ?y property:P291 ?d . ?d rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1002697 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P291 resource:Q18419 . { { ?g rdf:type ontology:Q21114848 } UNION { ?g rdf:type ontology:Q1002697 } } } } . FILTER ( ?m > ?a ) }
Brooklyn
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Brooklyn
relation place of publication
type magazine genre
type periodical literature
[[{'concept': 'magazine genre'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:magazine_genre . ?y property:place_of_publication ?d } UNION { ?y property:place_of_publication ?d . ?d rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:periodical_literature } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:place_of_publication resource:Brooklyn . { { ?g rdf:type ontology:magazine_genre } UNION { ?g rdf:type ontology:periodical_literature } } } } . FILTER ( ?m > ?a ) }
[]
administrative territorial entity magazine genre periodical literature
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q38511 Q203619 Q1544563 Q3150 Q11974 Q10305 Q8692 Q2656 Q4581188 Q8851 Q15682 Q1757 Q1754 Q1022 Q99151 Q90 Q48329 Q3992 Q7880 Q949651 Q597 Q5831 Q5836 Q132572 Q12411 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q14323 Q14325 Q484799 Q576110 Q1489 Q8678 Q490 Q495 Q2044 Q576165 Q54217 Q23436 Q15093 Q162279 Q17151 Q239 Q16559 Q16554 Q486306 Q8686 Q994 Q1513 Q3130 Q1563 Q45412 Q84 Q40269 Q1741 Q71 Q37100 Q38022 Q270 Q60 Q15678 Q3183 Q1781 Q33935 Q582121 Q1861 Q14318 Q14314 Q5092 Q15090 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q2766547 Q2941325 Q12258 Q202158 Q1017331 Q2807 Q12225 Q220 Q342 Q10282 Q188304 Q617 Q472 Q6576 Q9580 Q8356 Q1726 Q11967 Q8717 Q64 Q159232 Q207891 Q61 Q5818 Q204382 Q27393 Q79990 Q6537 Q10313 Q641 Q193367 Q649 Q59169 Q204720 Q15699 Q485329 Q15696 Q985271 Q3366952 Q213898 Q8757 Q6441 Q125080 Q12303 Q40840 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q12233 Q646620 Q215277 Q8826 Q14336 Q34647 Q1085
(c(Q21114848)|c(Q1002697),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q18419
relation P291
type Q21114848
type Q1002697
[ANSWERS] were greater number of magazine genres or periodical literatures published than Brooklyn
[[{'concept': 'Q21114848'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:Q56061 . ?y rdf:type ontology:Q21114848 . ?y property:P291 ?d } UNION { ?y property:P291 ?d . ?d rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1002697 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P291 resource:Q18419 . { { ?g rdf:type ontology:Q21114848 } UNION { ?g rdf:type ontology:Q1002697 } } } } . FILTER ( ?m > ?a ) }
Turku Kemi Hellerup Jena Las Palmas de Gran Canaria Zaragoza Bilbao Palermo Straume Málaga Cádiz Helsinki Stockholm Stuttgart Ourense Paris Mariehamn Liège Toulouse Wilmington Lisbon Melilla Toledo Tiraspol Pontevedra Valencia Lugo Granada Elverum Alcones Mérida Logroño Marbella Nauvoo Mexico City Rio de Janeiro Milan Turin Florence Warsaw Norwalk Edinburgh Ciudad Real Kuopio Thessaloniki Brussels Austin Denver Pensacola Shanghai Tbilisi Nagpur Sydney Havana Coimbra London Porto Alegre Vienna Geneva Auckland St. Louis Warsaw New York City Cáceres Perth Budapest Tel Aviv Bradenton Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux 's-Hertogenbosch Corbin Sabadell Hämeenlinna Westport, County Mayo Madrid Murcia Rome Quimper Pamplona Sunderland Padua Sofia Irkutsk Burgos Valladolid Munich Huesca Seville Berlin Santa Cruz Kokkola Washington, D.C. Córdoba Kouvola Herning Christchurch Vicenza Donostia/San Sebastián Venice Porvoo Moscow Mo i Rana Hereford León Ferrol Zamora The Dalles Alta Preveza A Coruña Montpellier Vaasa Jerez de la Frontera Tampere Bergen Voronezh Belfast Imatra Lappeenranta Lille Santander Estella-Lizarra Jaffna Palma Teruel Johannesburg Prague
Prague, Moscow and Madrid were greater number of magazine genres or periodical literatures published than Brooklyn
Prague Moscow Madrid
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Brooklyn
relation place of publication
type magazine genre
type periodical literature
[[{'concept': 'magazine genre'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?d WHERE { { ?d rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:magazine_genre . ?y property:place_of_publication ?d } UNION { ?y property:place_of_publication ?d . ?d rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:periodical_literature } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:place_of_publication resource:Brooklyn . { { ?g rdf:type ontology:magazine_genre } UNION { ?g rdf:type ontology:periodical_literature } } } } . FILTER ( ?m > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q216
P291
Q56061 Q21114848 Q1002697
USER
And how about Vilnius?
(c(Q21114848)|c(Q1002697),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q216
relation P291
type Q21114848
type Q1002697
[[{'concept': 'Q21114848'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:Q1002697 ) ( ontology:Q21114848 ) } . ?e rdf:type ?v } . ?e property:P291 resource:Q216 } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:P291 ?r . ?r rdf:type ontology:Q56061 . ?w rdf:type ontology:Q21114848 } UNION { ?w property:P291 ?r . ?w rdf:type ontology:Q1002697 . ?r rdf:type ontology:Q56061 } } GROUP BY ?r } }
Vilnius
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Vilnius
relation place of publication
type magazine genre
type periodical literature
[[{'concept': 'magazine genre'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:periodical_literature ) ( ontology:magazine_genre ) } . ?e rdf:type ?v } . ?e property:place_of_publication resource:Vilnius } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:place_of_publication ?r . ?r rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:magazine_genre } UNION { ?w property:place_of_publication ?r . ?w rdf:type ontology:periodical_literature . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?r } }
[]
administrative territorial entity magazine genre periodical literature
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q38511 Q203619 Q1544563 Q3150 Q11974 Q10305 Q8692 Q2656 Q4581188 Q8851 Q15682 Q1757 Q1754 Q1022 Q99151 Q90 Q48329 Q3992 Q7880 Q949651 Q597 Q5831 Q5836 Q132572 Q12411 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q14323 Q14325 Q484799 Q576110 Q1489 Q8678 Q490 Q495 Q2044 Q576165 Q54217 Q23436 Q15093 Q162279 Q17151 Q239 Q16559 Q16554 Q486306 Q8686 Q994 Q1513 Q3130 Q1563 Q45412 Q84 Q40269 Q1741 Q71 Q37100 Q38022 Q270 Q60 Q15678 Q3183 Q1781 Q33935 Q582121 Q1861 Q14318 Q14314 Q5092 Q15090 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q2766547 Q2941325 Q12258 Q202158 Q1017331 Q2807 Q12225 Q220 Q342 Q10282 Q188304 Q617 Q472 Q6576 Q9580 Q8356 Q1726 Q11967 Q8717 Q64 Q159232 Q207891 Q61 Q5818 Q204382 Q27393 Q79990 Q6537 Q10313 Q641 Q193367 Q649 Q59169 Q204720 Q15699 Q485329 Q15696 Q985271 Q3366952 Q213898 Q8757 Q6441 Q125080 Q12303 Q40840 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q12233 Q646620 Q215277 Q8826 Q14336 Q34647 Q1085
(c(Q21114848)|c(Q1002697),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q216
relation P291
type Q21114848
type Q1002697
[ANSWERS]
[[{'concept': 'Q21114848'}, {'concept': 'Q1002697'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:Q1002697 ) ( ontology:Q21114848 ) } . ?e rdf:type ?v } . ?e property:P291 resource:Q216 } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:P291 ?r . ?r rdf:type ontology:Q56061 . ?w rdf:type ontology:Q21114848 } UNION { ?w property:P291 ?r . ?w rdf:type ontology:Q1002697 . ?r rdf:type ontology:Q56061 } } GROUP BY ?r } }
Turku Kemi Hellerup Jena Las Palmas de Gran Canaria Zaragoza Bilbao Palermo Straume Málaga Cádiz Helsinki Stockholm Stuttgart Ourense Paris Mariehamn Liège Toulouse Wilmington Lisbon Melilla Toledo Tiraspol Pontevedra Valencia Lugo Granada Elverum Alcones Mérida Logroño Marbella Nauvoo Mexico City Rio de Janeiro Milan Turin Florence Warsaw Norwalk Edinburgh Ciudad Real Kuopio Thessaloniki Brussels Austin Denver Pensacola Shanghai Tbilisi Nagpur Sydney Havana Coimbra London Porto Alegre Vienna Geneva Auckland St. Louis Warsaw New York City Cáceres Perth Budapest Tel Aviv Bradenton Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux 's-Hertogenbosch Corbin Sabadell Hämeenlinna Westport, County Mayo Madrid Murcia Rome Quimper Pamplona Sunderland Padua Sofia Irkutsk Burgos Valladolid Munich Huesca Seville Berlin Santa Cruz Kokkola Washington, D.C. Córdoba Kouvola Herning Christchurch Vicenza Donostia/San Sebastián Venice Porvoo Moscow Mo i Rana Hereford León Ferrol Zamora The Dalles Alta Preveza A Coruña Montpellier Vaasa Jerez de la Frontera Tampere Bergen Voronezh Belfast Imatra Lappeenranta Lille Santander Estella-Lizarra Jaffna Palma Teruel Johannesburg Prague
Prague Moscow Madrid
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Vilnius
relation place of publication
type magazine genre
type periodical literature
[[{'concept': 'magazine genre'}, {'concept': 'periodical literature'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:periodical_literature ) ( ontology:magazine_genre ) } . ?e rdf:type ?v } . ?e property:place_of_publication resource:Vilnius } } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:place_of_publication ?r . ?r rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:magazine_genre } UNION { ?w property:place_of_publication ?r . ?w rdf:type ontology:periodical_literature . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q211
P85
Q484692 Q7725634 Q15617994
USER
Which administrative territories have lesser number of hymns or literary works as their national anthem than Latvia ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q211
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?f ) WHERE { { ?o rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q484692 . ?o property:P85 ?k } UNION { ?o property:P85 ?k . ?k rdf:type ontology:Q7725634 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q211 property:P85 ?c . { VALUES ( ?e ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?c rdf:type ?e } } } . FILTER ( ?f < ?u ) }
Latvia
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Latvia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?f ) WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:hymn . ?o property:anthem ?k } UNION { ?o property:anthem ?k . ?k rdf:type ontology:literary_work . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Latvia property:anthem ?c . { VALUES ( ?e ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?c rdf:type ?e } } } . FILTER ( ?f < ?u ) }
[]
hymn literary work designation for an administrative territorial entity
Q142 Q1093 Q773
SYSTEM
France, Limburg, Overijssel
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q211
relation P85
type Q484692
type Q7725634
[ANSWERS] have lesser number of hymns or literary works as their national anthem than Latvia
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?f ) WHERE { { ?o rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q484692 . ?o property:P85 ?k } UNION { ?o property:P85 ?k . ?k rdf:type ontology:Q7725634 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q211 property:P85 ?c . { VALUES ( ?e ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?c rdf:type ?e } } } . FILTER ( ?f < ?u ) }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
France, Limburg and Overijssel have lesser number of hymns or literary works as their national anthem than Latvia
France Limburg Overijssel
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Latvia
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?f ) WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:hymn . ?o property:anthem ?k } UNION { ?o property:anthem ?k . ?k rdf:type ontology:literary_work . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Latvia property:anthem ?c . { VALUES ( ?e ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?c rdf:type ?e } } } . FILTER ( ?f < ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q28
P85
Q484692 Q7725634 Q15617994
USER
And how about Hungary?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q28
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?t WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q28 property:P85 ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?n < ?v ) }
Hungary
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Hungary
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?t WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Hungary property:anthem ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } . FILTER ( ?n < ?v ) }
[]
hymn literary work designation for an administrative territorial entity
Q142 Q1093 Q773
SYSTEM
France, Limburg, Overijssel
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q28
relation P85
type Q484692
type Q7725634
[ANSWERS]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?t WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q28 property:P85 ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?n < ?v ) }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
France Limburg Overijssel
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Hungary
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?t WHERE { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Hungary property:anthem ?b . { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:hymn ) ( ontology:literary_work ) } } } } . FILTER ( ?n < ?v ) }
[]