Simple Question (Direct)
Simple Question
Q3001844
P449
Q4830453
USER
Which business enterprise is the original network Covington Cross was aired on ?
(Q3001844,P449,c(Q4830453))
action filter_type
action find
entity Q3001844
relation P449
type Q4830453
['Q3001844', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?p WHERE { resource:Q3001844 property:P449 ?p . ?p rdf:type ontology:Q4830453 }
Covington Cross
action filter_type
action find
entity Covington Cross
relation original network
type business enterprise
['Covington Cross', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?p WHERE { resource:Covington_Cross property:original_network ?p . ?p rdf:type ontology:business_enterprise }
[]
business enterprise
Q169889
SYSTEM
American Broadcasting Company
Q169889
(Q3001844,P449,c(Q4830453))
action filter_type
action find
entity Q3001844
relation P449
type Q4830453
The [ANSWER] is the original network Covington Cross was aired on
['Q3001844', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?p WHERE { resource:Q3001844 property:P449 ?p . ?p rdf:type ontology:Q4830453 }
American Broadcasting Company
The American Broadcasting Company is the original network Covington Cross was aired on
American Broadcasting Company
action filter_type
action find
entity Covington Cross
relation original network
type business enterprise
['Covington Cross', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?p WHERE { resource:Covington_Cross property:original_network ?p . ?p rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q169889
P161
Q15416
USER
Which television program has that business enterprise as actor ?
(c(Q15416),P161,Q169889)
action filter_type
action find_reverse
entity Q169889
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q169889']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . ?j property:P161 resource:Q169889 }
American Broadcasting Company
action filter_type
action find_reverse
entity American Broadcasting Company
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'American Broadcasting Company']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . ?j property:cast_member resource:American_Broadcasting_Company }
[]
television program
Q612680
SYSTEM
Father Dowling Mysteries
Q612680
(c(Q15416),P161,Q169889)
action filter_type
action find_reverse
entity Q169889
relation P161
type Q15416
[ANSWER] has that business enterprise as actor
[{'concept': 'Q15416'}, 'P161', 'Q169889']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . ?j property:P161 resource:Q169889 }
Father Dowling Mysteries
Father Dowling Mysteries has that business enterprise as actor
Father Dowling Mysteries
action filter_type
action find_reverse
entity American Broadcasting Company
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'American Broadcasting Company']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . ?j property:cast_member resource:American_Broadcasting_Company }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q612680 Q4167029
P495
Q15617994
USER
Is Dorokhovo the origin of that television program ?
(Q612680,P495,Q4167029)
action is_in
entity Q4167029
action find
entity Q612680
relation P495
['Q612680', 'P495', 'Q4167029']
ASK WHERE { resource:Q612680 property:P495 resource:Q4167029 }
Father Dowling Mysteries Dorokhovo
action is_in
entity Dorokhovo
action find
entity Father Dowling Mysteries
relation country of origin
['Father Dowling Mysteries', 'country of origin', 'Dorokhovo']
ASK WHERE { resource:Father_Dowling_Mysteries property:country_of_origin resource:Dorokhovo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q612680,P495,Q4167029)
action is_in
entity Q4167029
action find
entity Q612680
relation P495
[ANSWER]
['Q612680', 'P495', 'Q4167029']
ASK WHERE { resource:Q612680 property:P495 resource:Q4167029 }
No
action is_in
entity Dorokhovo
action find
entity Father Dowling Mysteries
relation country of origin
['Father Dowling Mysteries', 'country of origin', 'Dorokhovo']
ASK WHERE { resource:Father_Dowling_Mysteries property:country_of_origin resource:Dorokhovo }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1127663 Q612680
P27 P495
Q15617994
USER
Which administrative territories did Father Dowling Mysteries originate or are the native countriesof Constancio Miranda Weckmann ?
OR((Q612680,P495,c(Q15617994)), (Q1127663,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q612680
relation P495
action find
entity Q1127663
relation P27
type Q15617994
{'OR': [['Q612680', 'P495', {'concept': 'Q15617994'}], ['Q1127663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q612680 property:P495 ?j } UNION { resource:Q1127663 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Constancio Miranda Weckmann Father Dowling Mysteries
action filter_type
action union
action find
entity Father Dowling Mysteries
relation country of origin
action find
entity Constancio Miranda Weckmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Father Dowling Mysteries', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Constancio Miranda Weckmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Father_Dowling_Mysteries property:country_of_origin ?j } UNION { resource:Constancio_Miranda_Weckmann property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q30
SYSTEM
Mexico, United States of America
Q96 Q30
OR((Q612680,P495,c(Q15617994)), (Q1127663,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q612680
relation P495
action find
entity Q1127663
relation P27
type Q15617994
Father Dowling Mysteries originated in [ANSWERS] or are the native countriesof Constancio Miranda Weckmann
{'OR': [['Q612680', 'P495', {'concept': 'Q15617994'}], ['Q1127663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q612680 property:P495 ?j } UNION { resource:Q1127663 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Mexico United States of America
Father Dowling Mysteries originated in Mexico and United States of America or are the native countriesof Constancio Miranda Weckmann
Mexico United States of America
action filter_type
action union
action find
entity Father Dowling Mysteries
relation country of origin
action find
entity Constancio Miranda Weckmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Father Dowling Mysteries', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Constancio Miranda Weckmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Father_Dowling_Mysteries property:country_of_origin ?j } UNION { resource:Constancio_Miranda_Weckmann property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q7725634
USER
Which administrative territories are the countries of origin of lesser number of collectables and literary works than that administrative territory ?
(c(Q2342494)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity collectable literary work
Comparative|More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q2342494)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean United States of America ?
United States of America
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
USER
No, I meant Mexico. Could you tell me the answer for that?
(c(Q2342494)|c(Q7725634),P495,c(Q15617994))
Q96
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q953 Q801 Q184
SYSTEM
Zambia, Israel, Belarus
Q805 Q804 Q801 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q7725634),P495,c(Q15617994))
[ANSWERS] are the countries of origin of lesser number of collectables and literary works than that administrative territory
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Yemen Panama Israel Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
Zambia, Israel and Belarus are the countries of origin of lesser number of collectables and literary works than that administrative territory
Zambia Israel Belarus
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q11060274 Q2342494
USER
How many administrative territories are expressed in atmost 2 prints or collectables ?
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 2
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?u WHERE { VALUES ( ?y ) { ( ontology:Q11060274 ) ( ontology:Q2342494 ) } . ?t rdf:type ?y } GROUP BY ?u } . FILTER ( ?b <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?u WHERE { VALUES ( ?y ) { ( ontology:print ) ( ontology:collectable ) } . ?t rdf:type ?y } GROUP BY ?u } . FILTER ( ?b <= 2 ) }
[]
designation for an administrative territorial entity print collectable
SYSTEM
93
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 2
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?u WHERE { VALUES ( ?y ) { ( ontology:Q11060274 ) ( ontology:Q2342494 ) } . ?t rdf:type ?y } GROUP BY ?u } . FILTER ( ?b <= 2 ) }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Asola Cap Norfeu
93
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?u WHERE { VALUES ( ?y ) { ( ontology:print ) ( ontology:collectable ) } . ?t rdf:type ?y } GROUP BY ?u } . FILTER ( ?b <= 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q221
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with approximately the same number of administrative territories as Republic of Macedonia ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q221 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?k ) WHERE { ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?v property:P530 ?p } GROUP BY ?v } }
Republic of Macedonia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Republic of Macedonia
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 ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?k ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?p } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 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(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with approximately the same number of administrative territories as Republic of Macedonia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q221 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?k ) WHERE { ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?v property:P530 ?p } GROUP BY ?v } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia 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
Netherlands, Poland and People's Republic of China have diplomatic associations with approximately the same number of administrative territories as Republic of Macedonia
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Republic of Macedonia
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 ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?k ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?p } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q219
P530
Q15617994 Q15617994
USER
And also tell me about Bulgaria?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:Q219 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
Bulgaria
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bulgaria
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 ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:Bulgaria property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 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(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:Q219 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia 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
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bulgaria
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 ?f WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:Bulgaria property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q15416 Q15707583 Q3895768
USER
Which television programs are min number of fictional taxons or fictional locations present in ?
(c(Q15707583)|c(Q3895768),P1441,c(Q15416))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q3895768
[[{'concept': 'Q15707583'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15707583 ) ( ontology:Q3895768 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?i WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15707583 ) ( ontology:Q3895768 ) } } GROUP BY ?i } . FILTER ( ?h = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type television program
type fictional location
[[{'concept': 'fictional taxon'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:fictional_taxon ) ( ontology:fictional_location ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?i WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:fictional_taxon ) ( ontology:fictional_location ) } } GROUP BY ?i } . FILTER ( ?h = ?w ) }
[]
television program fictional taxon fictional location
Q1145764 Q23628 Q1079
SYSTEM
Guiding Light, The Sopranos, Breaking Bad
Q1247575 Q640535 Q615944 Q18517153 Q1217700 Q33323 Q516453 Q1041885 Q2042834 Q239937 Q1324189 Q568201 Q951078 Q179666 Q1414656 Q2128714 Q390076 Q425628 Q389769 Q254689 Q23831 Q212156 Q19867876 Q927245 Q1971066 Q804565 Q6844152 Q501663 Q1053983 Q23647041 Q16977365 Q739780 Q4864886 Q445816 Q757148 Q326264 Q912467 Q18520155 Q2073894 Q18520152 Q1141741 Q82729 Q28537 Q10913555 Q15863577 Q204228 Q841080 Q1138359 Q7192659 Q2389359 Q16802124 Q2077391 Q1071394 Q2523064 Q1036094 Q23619 Q945030 Q219650 Q19866569 Q4507 Q17104828 Q1247732 Q1044635 Q2091659 Q212807 Q182056 Q245996 Q928007 Q4525 Q1241768 Q4384067 Q2068331 Q253205 Q19848664 Q18553975 Q2188675 Q3230279 Q682825 Q958123 Q19363670 Q207803 Q1304408 Q278375 Q695478 Q1199736 Q1249300 Q32450 Q1969978 Q4830745 Q310966 Q18558839 Q726735 Q3736971 Q7857634 Q2293964 Q426432 Q216792 Q697406 Q1138000 Q22272 Q1261578 Q48758 Q635352 Q304290 Q965409 Q244803 Q1784319 Q1744289 Q38497 Q18559016 Q23577 Q23572 Q266532 Q192015 Q32816 Q1591437 Q27664424 Q3273747 Q18575654 Q18819112 Q16290 Q250767 Q2704561 Q153561 Q8082055 Q1304415 Q6084 Q26186385 Q754197 Q614574 Q1030972 Q117396 Q715723 Q3783940 Q180228 Q276071 Q1192035 Q594402 Q4456 Q383914 Q11120862 Q757318 Q464123 Q665817 Q131758 Q387943 Q4887946 Q23628 Q18517163 Q18517162 Q18517161 Q223977 Q18517166 Q18517165 Q18517164 Q18517168 Q223320 Q1477859 Q14925221 Q4085932 Q1525645 Q15726959 Q472309 Q1156746 Q35791 Q4846058 Q4354146 Q1248320 Q984207 Q5433034 Q557020 Q680722 Q216919 Q155629 Q596962 Q671513 Q202141 Q272015 Q548531 Q189411 Q2410485 Q1773518 Q720473 Q24069296 Q1970043 Q708661 Q1145764 Q49019 Q3815 Q1045743 Q1241692 Q7752072 Q248972 Q1638282 Q1161822 Q2560903 Q212731 Q2016883 Q1048856 Q2117860 Q543203 Q2031748 Q11889740 Q7099650 Q18517186 Q309063 Q3139991 Q4307100 Q2275664 Q2152147 Q18517175 Q194427 Q478360 Q940655 Q16334727 Q732063 Q1571652 Q234386 Q18517171 Q7160103 Q2545719 Q15863567 Q663759 Q950535 Q16889073 Q79784 Q162371 Q203385 Q6899886 Q701947 Q2313956 Q2517477 Q590572 Q1078566 Q34316 Q1635530 Q7847400 Q18517167 Q559321 Q326180 Q2358690 Q244514 Q1201321 Q113700 Q25128 Q3683756 Q550555 Q1055728 Q1247858 Q17175515 Q321423 Q147235 Q1248395 Q123760 Q1247551 Q1144624 Q624611 Q4656490 Q1381883 Q2202089 Q11598 Q498438 Q168708 Q577752 Q776488 Q964264 Q1166225 Q550238 Q1971387 Q209878 Q27087 Q192259 Q1545694 Q17183708 Q948696 Q13100145 Q83401 Q250111 Q552314 Q482482 Q1026823 Q27732841 Q15090947 Q870490 Q137034 Q23567 Q130585 Q283393 Q732383 Q230506 Q16860023 Q17278086 Q7733188 Q868835 Q689114 Q849627 Q464009 Q80873 Q244511 Q1249108 Q1079 Q962161 Q513809 Q1077 Q711257 Q468257 Q460427 Q1767806 Q2790662 Q485668 Q1248045 Q9357747 Q390405 Q83978 Q3062917 Q130615 Q181321 Q461357 Q3340507 Q518589 Q18571935 Q18517176 Q18517177 Q18517170 Q369111 Q18517172 Q18517173 Q6296522 Q6296520 Q18517179 Q1534639 Q15270614 Q2648027 Q2817224 Q207627 Q205474 Q3824286 Q11490663 Q464865 Q4003668 Q640327 Q589187 Q609274 Q279189 Q9384627 Q971920 Q217246 Q207375 Q5935 Q1337212 Q617274 Q1218201 Q18643684 Q5844140 Q1366945 Q390120 Q912437 Q280325 Q319817 Q380519 Q23594 Q169074 Q13148212 Q564345 Q5765972 Q18008936 Q961 Q2414772 Q16685323 Q16889037 Q6516343 Q3223044 Q738660 Q607514 Q17635847 Q6669712 Q1247414 Q210819 Q647659 Q494202 Q23670 Q23673 Q2418937 Q370185 Q633432 Q210146 Q82226 Q4529 Q113110 Q208647 Q504023 Q826477 Q1111300 Q19399952 Q1035150 Q1585857 Q3832194 Q16756 Q202577 Q888841 Q578623 Q1248820 Q1969559 Q19570 Q366375 Q2482527 Q430369 Q2367132 Q2293 Q199853 Q922616 Q189350 Q1535208 Q386880 Q189068 Q804314 Q776262 Q1890400 Q80044 Q16943567 Q8539 Q15576983 Q1233919 Q7751721 Q3330940 Q23829 Q652724 Q833322 Q232246 Q23558 Q26233770 Q2352002 Q1071501 Q27732782 Q209282 Q1218971 Q2047663 Q537911 Q2668056 Q1968790 Q31915 Q18628934 Q23733 Q15067038 Q2353327 Q1969608 Q2629495 Q183513 Q723 Q2681486 Q1304597 Q278040 Q585758 Q214107 Q18577675 Q693268 Q386042 Q12751206 Q921922 Q18049213 Q23609 Q4906928 Q6296516 Q18517062 Q19626781 Q7716089 Q208072 Q156329 Q14422869 Q19011 Q630496 Q579554 Q715731 Q276528 Q120300 Q318649 Q2085 Q604202 Q33162 Q308700 Q117590 Q1894972 Q2689565 Q699760 Q260654 Q1146803 Q1215903 Q218567 Q1248019 Q1247158 Q2700347 Q584025 Q189267 Q108774 Q1344341 Q289537 Q210257 Q15627692 Q2610941 Q152178 Q16004491 Q391101 Q1946386 Q988037 Q221230 Q1215573 Q1066522 Q3222142 Q221237 Q126631 Q7752050 Q301345 Q210676 Q3357491 Q5306461 Q1438082 Q1136370 Q5902 Q438406 Q696236 Q53110 Q163851 Q5001203 Q1035145 Q232737 Q1271561 Q219610 Q56194 Q7983000 Q1130799
(c(Q15707583)|c(Q3895768),P1441,c(Q15416))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q3895768
[ANSWERS] are min number of fictional taxons or fictional locations present in
[[{'concept': 'Q15707583'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15707583 ) ( ontology:Q3895768 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?i WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15707583 ) ( ontology:Q3895768 ) } } GROUP BY ?i } . FILTER ( ?h = ?w ) }
Emmerdale Knots Landing The Mary Tyler Moore Show The Anonymous Venetian The Ten Commandments Everybody Hates Chris Spider Riders Wallander The Proud Family Movie Pokémon Home and Away The Thick of It Hellsing Wilsberg Radio Rebel Thuis Brothers & Sisters 'Allo 'Allo! The Almighty Johnsons Magnum, P.I. The Office Angel Damien Third Watch CentoVetrine Blue Heelers Mighty Man and Yukk Thomas and Friends Hope & Faith Class Daredevil Oz Barry Welsh is Coming Transporter: The Series Rocko's Modern Life Wege zum Glück The Golden Girls The Golden Egg It's Like, You Know... Beastly Things Gilligan's Island The Bold and the Beautiful The Vampire Diaries The Melancholy of Haruhi Suzumiya K-On!! The Mentalist Hustle Royal Pains Pierwsza miłość Gerry Anderson's New Captain Scarlet fourth season of Falling Skies The New Adventures of Tom and Jerry Cheyenne Lewis Hi Hi Puffy AmiYumi Queer as Folk Coronation Street V Quantico Friday Night Lights Sesamstraße Quincy Bewitched Butler Parker Alias Inuyasha Three's Company Lois & Clark: The New Adventures of Superman NCIS A Noble Radiance Code Geass Biker Mice from Mars Entourage StarTalk Soul Eater Tremors The 100 Lives of Black Jack Savage Burn Notice Fillmore! The Lion Guard Bones The Dukes of Hazzard A.N.T. Farm Gute Zeiten, schlechte Zeiten The Trial of the Incredible Hulk Gomer Pyle Pretty Little Liars Passions Ay María qué puntería SeaQuest DSV Soul Eater Not! Dallas Mary Poppins, Goodbye Twelve O'Clock High RIS Delitti Imperfetti Walker, Texas Ranger The L Word Medicopter 117 – Jedes Leben zählt The Middle Santa Barbara As the World Turns Psych Five Minutes of Heaven Rugrats Eli Stone Ally McBeal Wallander Klan Xena: Warrior Princess Berserk Dexter Game of Thrones The Addams Family Yu-Gi-Oh! The Sarah Jane Adventures Wire in the Blood Autumn Dreams Ganbare!! Robocon Trigun Agent Carter (season 1) Star Trek: The Next Generation The Brady Bunch Full Metal Panic? Fumoffu Verbotene Liebe Świat według Kiepskich The Dukes of Hazzard: The Beginning NCIS: Los Angeles Talking Tom and Friends JAG Eureka Sunset Beach CSI: Crime Scene Investigation Urusei Yatsura Heart of the City Smallville 90210 16 Wishes Casino Royale Rizzoli & Isles Darkwing Duck Spiff and Hercules According to Jim The A-Team G-Saviour Desperate Housewives Tiny Toon Adventures Benidorm The Sopranos Friends in High Places Death at La Fenice Fatal Remedies Mad Men Doctored Evidence Acqua alta – aka Death in High Water The Death of Faith – aka Quietly in Their Sleep Death in a Strange Country Baywatch Millennium Better Call Saul Possessed Scandal Gotham Princess of Thieves Southland Sex and the City Aquí no hay quien viva Pop Rocks Coach The Inspector Lynley Mysteries Family Affairs The Latest Buzz Spooks Six Feet Under Sesame Street The Time Tunnel Catweazle Criminal Minds Ranma ½ Sister, Sister CSI: Miami Sesamstraat Exiled: A Law & Order Movie Xiaolin Showdown Taken Port Charles Lindenstraße Guiding Light Blackadder Fringe Space: 1999 Donkey Kong Country The Monroes Tom and Jerry Kids Rugrats Pre-School Daze My So-Called Life The Kids in the Hall Fawlty Towers The Dukes of Hazzard: Reunion! All in the Family James Bond Jr. Chip 'n Dale Rescue Rangers Being Human Raid Orange Is the New Black Drawing Conclusions The Fresh Prince of Bel-Air Hondo The Originals Kim Possible: A Sitch in Time Red Widow Suffer the Little Children The O.C. The Wire UFO Zapped Cheers Dog with a Blog The 4400 Wilful Behaviour Pee-wee's Playhouse Love of Life K-On! Revenge Lemonade Mouth House of Shock Friends Charmed One Tree Hill Monica's Gang Dark Kingdom: The Dragon King Twelve Angry Men first season of Falling Skies Unforgettable Darker than Black: Ryūsei no Gemini Doctor Who Men in Trees True Detective Uniform Justice Miami Vice Skins You Wish! Twitches Too Kamen Rider Blade The Avengers Storm of Love Colt .45 Gravity Falls Law & Order: Criminal Intent Only Fools and Horses Camera Café Law & Order How I Met Your Mother Sanford and Son Voyage to the Bottom of the Sea Peyton Place Family Ties One Life to Live A Disney Halloween Plus belle la vie Familie Arrested Development The Americans Dallas Kamen Rider Series The Dukes of Hazzard: Hazzard in Hollywood! R.I.S. Roma – Delitti imperfetti Dark Shadows Melrose Place Un Posto al Sole Rome third season of Falling Skies CSI: NY Stromberg The 7D The Closer Betrayal Heroes Borgen Arrow K-On! Saved by the Bell Falling in Love Toy Story of Terror! 3rd Rock from the Sun The Fugitive Lost Supernatural Private Practice Yes Minister Quantum Leap Agent Carter Descendants The Fall Leverage Digimon Adventure The Young and the Restless Knight Rider Azumanga Daioh Twitches Naked City Breaking Bad Eureka Seven Mighty Morphin Power Rangers Star Trek: The Original Series Fullmetal Alchemist The District That's So Raven Wu Cheng'en and Journey to the West Big Brother Scrubs Good Times The Absent-Minded Professor Nikita Danny Phantom Strutter H₂O: Just Add Water Brookside Dawson's Creek Nicolas Le Floch Happy Days The Big O The Girl of His Dreams About Face A Sea of Troubles Mission: Impossible Blood from a Stone Through a Glass, Darkly Journey to the West Journey to the West A Question of Belief The Alaskans If Tomorrow Comes Ranczo The Pickwick Papers Happy Tree Friends All My Children The Sword of Merlin Hissatsu series The Nanny Teen Angel Are You Being Served? Sliders NYPD Blue A Pup Named Scooby-Doo Murder One All Grown Up! The Suite Life of Zack & Cody ER Numb3rs Home Improvement Charlie's Angels The Lone Gunmen Bloodline Tangle Father Ted Torchwood Damages Dallas: The Early Years Joey Star Trek: Enterprise Homeland 10 Things I Hate About You The Blacklist Person of Interest Chica vampiro Dr. Slump Stakes Larger Than Life ReBoot True Detective, season 1 Unbreakable Kimmy Schmidt Uti vår hage The New Breed The Colbys EastEnders K.C. Undercover Justice League Unlimited Law & Order: Trial by Jury Sekai Ninja Sen Jiraiya Dennis the Menace and Gnasher Shortland Street It's Always Sunny in Philadelphia Once Upon a Time Sports Night Suits The Emperor's New School Babylon 5 Ellen Veronica Mars All Saints Married... with Children 7th Heaven Without a Trace 8 Simple Rules Bhaabi Ji Ghar Par Hai! Captain Scarlet and the Mysterons Hollyoaks Life on Mars Modern Family Till Death Us Do Part Hannibal Dark Angel Petticoat Junction General Hospital: Night Shift The Good Wife Good Luck Charlie The Saddle Club The Critic Battlestar Galactica Chuck Gossip Girl Keeping Up Appearances 30 Rock Justified Castle Monk Blake's 7 Goede Tijden, Slechte Tijden Terry Pratchett's The Colour of Magic Prison Break Younger The Big Bang Theory The Sniffer Doctors The Missiles of October House of Cards The Office Everwood Murder, She Wrote Cowboy Bebop House Voices That Care In Case of Emergency Life on Mars By its Cover Frasier The Last Days of Pompeii Na dobre i na złe Agents of S.H.I.E.L.D. Blackadder II Sea Patrol White Collar Digimon Adventure tri. Seinfeld Duck Dynasty Journey to the West Grachi Life Is Ruff Buffy the Vampire Slayer Rookie Blue Spoed Perfect Strangers A Wrinkle in Time Boardwalk Empire DuckTales Darker than Black Disney's House of Mouse 12 Angry Men Državni posao Cadet Kelly Toy Story That Time Forgot Weeds Biggles Journey to the West Vendetta Preacher The Beat That '70s Show Star Trek: Voyager Black Box Aaron Stone Abraham Caprica Digimon Adventure 02 Ugly Betty Crayon Shin-chan Ghost Whisperer Twin Peaks Galactica 1980 Top Gear Shake It Up Beverly Hills, 90210 Mystery Science Theater 3000 F.C. De Kampioenen Saiyuki Joan of Arcadia Cuéntame cómo pasó The Incredible Hulk Returns Law & Order: Special Victims Unit Alice Homicide: Life on the Street second season of Falling Skies Dynasty Two and a Half Men Star Trek: Deep Space Nine Samantha Who? Lassie MacGyver The Last Ship Holby City Glee American Horror Story: Freak Show Agatha Christie's Poirot The Dukes Mork & Mindy Nip/Tuck The Proud Family So Random! The Monkey King Jericho Hannah Montana The Monkey King: Quest for the Sutra Northern Exposure Nashville Solsidan Dream Team Monarch of the Glen General Hospital Red Dwarf Grey's Anatomy Magic Knight Rayearth High School Musical 10-8: Officers on Duty Bus Stop Captain Video and His Video Rangers The Walking Dead Water Rats Shaman King 24 Wentworth The Colbert Report
Guiding Light, The Sopranos and Breaking Bad are min number of fictional taxons or fictional locations present in
Guiding Light The Sopranos Breaking Bad
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type television program
type fictional location
[[{'concept': 'fictional taxon'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?v WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:fictional_taxon ) ( ontology:fictional_location ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?i WHERE { ?x rdf:type ?l . VALUES ( ?l ) { ( ontology:fictional_taxon ) ( ontology:fictional_location ) } } GROUP BY ?i } . FILTER ( ?h = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q207395
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have approximately the same number of holidays or people as their patron saint as Montecopiolo ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q207395
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?i ) WHERE { { ?c property:P417 ?z . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1445650 } UNION { ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q502895 . ?c property:P417 ?z } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q207395 property:P417 ?w . { { ?w rdf:type ontology:Q1445650 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?i = ?v ) }
Montecopiolo
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Montecopiolo
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?i ) WHERE { { ?c property:patron_saint ?z . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:holiday } UNION { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:common_name . ?c property:patron_saint ?z } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Montecopiolo property:patron_saint ?w . { { ?w rdf:type ontology:holiday } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?i = ?v ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
296
Q51179 Q265483 Q18339 Q268902 Q124005 Q43005 Q43000 Q39633 Q56075 Q42950 Q386898 Q490936 Q20203 Q9525 Q9520 Q18022 Q18348 Q283857 Q112226 Q18029 Q206966 Q155 Q42896 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q267241 Q42974 Q390108 Q51202 Q54751 Q58890 Q51370 Q42110 Q224813 Q252343 Q103999 Q52624 Q50134 Q478277 Q17821 Q188499 Q54585 Q95069 Q19277 Q186538 Q294805 Q18075 Q283697 Q39263 Q100404 Q9569 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q39835 Q46357 Q111415 Q56048 Q490412 Q39910 Q22170 Q58719 Q490907 Q265588 Q244048 Q94779 Q53946 Q10234 Q10231 Q10339 Q53492 Q40336 Q53881 Q295289 Q53883 Q42300 Q13649 Q25175 Q53288 Q17811 Q50165 Q265498 Q18088 Q1465 Q270578 Q53835 Q478925 Q285110 Q430988 Q35220 Q91160 Q111602 Q242710 Q216853 Q58461 Q20353 Q9435 Q20056 Q20435 Q51442 Q117471 Q36471 Q53304 Q17350 Q53909 Q271011 Q53903 Q18382 Q20128 Q23285 Q52026 Q72272 Q42343 Q326968 Q42266 Q42260 Q10200 Q24896 Q53876 Q207395 Q103768 Q20244 Q46746 Q42744 Q100094 Q298424 Q20405 Q83083 Q493482 Q39912 Q22182 Q42512 Q52191 Q340908 Q34386 Q72732 Q101648 Q391349 Q51274 Q52132 Q54705 Q91228 Q53355 Q9447 Q52102 Q53957 Q54673 Q54672 Q42963 Q124979 Q218027 Q53686 Q200925 Q18394 Q72712 Q23706 Q20530 Q42318 Q39862 Q54516 Q17804 Q53511 Q20431 Q54685 Q20184 Q283554 Q477618 Q46673 Q51358 Q81151 Q39227 Q48092 Q42557 Q53995 Q56085 Q53260 Q17796 Q18388 Q41077 Q55054 Q80655 Q52146 Q53508 Q40913 Q25187 Q25189 Q168551 Q22216 Q101251 Q9493 Q286671 Q390646 Q82755 Q23592 Q52038 Q23178 Q288273 Q54643 Q496978 Q46968 Q10211 Q16337 Q326780 Q100070 Q34579 Q20503 Q267032 Q382482 Q55017 Q51360 Q43037 Q53212 Q185748 Q51460 Q20170 Q102781 Q52179 Q58549 Q51926 Q23232 Q42629 Q54636 Q496936 Q105325 Q46870 Q91243 Q51812 Q72708 Q270613 Q19937 Q42249 Q42367 Q54699 Q54591 Q20191 Q46833 Q42391 Q386350 Q17378 Q42565 Q47046 Q19944 Q13619 Q341096 Q382223 Q53397 Q42403 Q56091 Q56090 Q53159 Q53152 Q39070 Q54035 Q80851 Q54034 Q103297 Q43040 Q40964 Q112019 Q39933 Q224176 Q54723 Q477800 Q19915 Q46282 Q13320 Q53732 Q34791 Q20389 Q59269 Q59265 Q20585 Q42208 Q53824 Q9028 Q34638 Q40094 Q34703 Q23648 Q9187 Q111147 Q488240 Q49603 Q52953 Q20299 Q39849 Q50079 Q9428 Q9336
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q207395
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?i ) WHERE { { ?c property:P417 ?z . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1445650 } UNION { ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q502895 . ?c property:P417 ?z } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q207395 property:P417 ?w . { { ?w rdf:type ontology:Q1445650 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?i = ?v ) }
Altino, Abruzzo Campomorone Aisone Diano Castello Falconara Marittima Sesto San Giovanni Lomagna Cairate Monsampolo del Tronto San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Osasio Orio Canavese Bioglio Bagnasco Decimoputzu Vobarno Callabiana Gabicce Mare Brazil Albairate Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Favale di Malvaro Cesano Boscone Anela Castiglione Messer Marino Zaccanopoli Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Lampedusa e Linosa Eppan an der Weinstraße Chiari Noepoli Rocca di Botte Castiglione di Sicilia Mombaldone Castel del Piano Calanna Antegnate Cerignola Arzachena Gadoni Graglia Burcei Sernio Comun Nuovo Pianezza Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Bianzone Breganze Polpenazze del Garda Castorano Priolo Gargallo Azzio Cavaglio d'Agogna Mondragone Scillato Crocefieschi Argegno Castel San Pietro Terme Rende Rocca Canavese Rivoli Venaria Reale Andali Gravellona Lomellina Fiumefreddo Bruzio Noragugume Frascineto Comazzo Nuoro Postua Mortegliano Frinco Trasacco Ceranesi Mottalciata Feltre Calizzano Belmonte Calabro Trecastagni Seulo Alessandria della Rocca Montjovet Cetona Rezzato Guidonia Montecelio Camaiore Camigliano Piobesi d'Alba Lugnacco Frabosa Soprana Sale delle Langhe Colledara Trevi nel Lazio Pompei Pasian di Prato Cremolino Mangone Osiglia Malito Bra Magliano Alpi Cannero Riviera Montemesola Monte di Procida Guidizzolo Tenno, Trentino Cervignano d'Adda Montevecchia Porte Borgo d'Ale Domanico Montecopiolo Capriano del Colle Murello Susegana Spino d'Adda San Felice sul Panaro Pergine Valsugana Roascio Monte San Giusto Librizzi Usmate Velate Colazza Vizzolo Predabissi Sannicola Luogosanto Trebaseleghe Vico Equense Telgate Santa Maria Coghinas Roccamontepiano Collepasso Drapia Monteriggioni San Giorgio di Nogaro Lusigliè Subbiano San Cosmo Albanese Sinopoli Siderno Senna Lodigiana Serra San Quirico Zoagli San Floro Lona-Lases Canale Torre Annunziata Trasquera Verduno Terranova dei Passerini Menarola San Mauro Marchesato Cortiglione Conflenti Rossana Terranova Sappo Minulio Monasterolo Casotto Armungia Resuttano Spresiano Civitella Casanova Ogliastro Cilento Ronco Briantino Cologna Veneta Pandino Saracena Palmiano Flaibano Cisterna d'Asti Brossasco Lavena Ponte Tresa Mirabella Eclano Bellizzi Guagnano Cerva Caiolo Rimella Riva Valdobbia Caselle Landi Dormelletto Montello, Lombardy Monteu da Po Santadi Cargeghe Londa, Tuscany Gurro Statte Bisceglie Serrenti Roghudi Roccapalumba Noale Quagliuzzo Novi Ligure Strigno Montefiorino Arre Sommariva del Bosco Santo Stefano d'Aveto Aidomaggiore Casalbore Corvara Annone di Brianza Aiello del Friuli Sant'Elia a Pianisi Pietracamela Martiniana Po Gragnano Trebbiense Porto Cesareo Castel Campagnano Faeto Bannio Anzino Parabiago Platì Sciara Nuvolento Bardolino Monteroni d'Arbia Alberobello Terzigno Celle Ligure Cerretto Langhe Mulazzano Valera Fratta Brognaturo Caraffa del Bianco Monforte d'Alba Albettone Airuno Masullas Malvicino Oggiono Silea Ceva Cosenza Trinità d'Agultu e Vignola Romana, Sardinia Villa Vicentina Acquanegra Cremonese Venarotta Spinetoli Cavasso Nuovo Azzano Decimo Andalo Valtellino Verbicaro Celle di Bulgheria Vaccarizzo Albanese Vicopisano Secugnago Rogolo Sirmione Cadrezzate Longone Sabino Nardodipace Vallelunga Pratameno Castellino Tanaro Castel d'Azzano Savona Tiriolo Aymavilles Montemurlo Montelparo Montefalcone Appennino Villanova Mondovì Malagnino Alessandria del Carretto Balme Arquà Petrarca Morbegno Torreglia Montecrestese Carmagnola Carpineti Lentini Ponte Buggianese Alfonsine Paroldo Robbio Celano Locana Druento
296
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Montecopiolo
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?i ) WHERE { { ?c property:patron_saint ?z . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:holiday } UNION { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:common_name . ?c property:patron_saint ?z } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Montecopiolo property:patron_saint ?w . { { ?w rdf:type ontology:holiday } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?i = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q478703
P417
Q1445650 Q502895 Q15617994
USER
And how about Motta Sant'Anastasia?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q478703
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?p WHERE { { ?p property:P417 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1445650 } UNION { ?p property:P417 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q502895 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { VALUES ( ?b ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?h rdf:type ?b } . resource:Q478703 property:P417 ?h } } . FILTER ( ?x = ?o ) }
Motta Sant'Anastasia
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Motta Sant'Anastasia
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?p WHERE { { ?p property:patron_saint ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:holiday } UNION { ?p property:patron_saint ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:common_name } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { VALUES ( ?b ) { ( ontology:holiday ) ( ontology:common_name ) } . ?h rdf:type ?b } . resource:Motta_Sant'Anastasia property:patron_saint ?h } } . FILTER ( ?x = ?o ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
528
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q478703
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?p WHERE { { ?p property:P417 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1445650 } UNION { ?p property:P417 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q502895 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { VALUES ( ?b ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?h rdf:type ?b } . resource:Q478703 property:P417 ?h } } . FILTER ( ?x = ?o ) }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
528
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Motta Sant'Anastasia
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?p WHERE { { ?p property:patron_saint ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:holiday } UNION { ?p property:patron_saint ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:common_name } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { VALUES ( ?b ) { ( ontology:holiday ) ( ontology:common_name ) } . ?h rdf:type ?b } . resource:Motta_Sant'Anastasia property:patron_saint ?h } } . FILTER ( ?x = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55 Q222
P463
Q484652
USER
How many international organizations were Netherlands and Albania a member of ?
(Q55,P463,c(Q484652)) (Q222,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q222
relation P463
type Q484652
['Q55', 'P463', {'concept': 'Q484652'}] ['Q222', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q55 property:P463 ?w . ?w rdf:type ontology:Q484652 . ?w rdf:type ontology:Q484652 . resource:Q222 property:P463 ?w }
Netherlands Albania
action count
action intersection
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Albania
relation member of
type international organization
['Netherlands', 'member of', {'concept': 'international organization'}] ['Albania', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Netherlands property:member_of ?w . ?w rdf:type ontology:international_organization . ?w rdf:type ontology:international_organization . resource:Albania property:member_of ?w }
[]
international organization
SYSTEM
3
Q81299 Q7184 Q1043527
(Q55,P463,c(Q484652)) (Q222,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q222
relation P463
type Q484652
[ANSWER]
['Q55', 'P463', {'concept': 'Q484652'}] ['Q222', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q55 property:P463 ?w . ?w rdf:type ontology:Q484652 . ?w rdf:type ontology:Q484652 . resource:Q222 property:P463 ?w }
Organization for Security and Co-operation in Europe North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
3
action count
action intersection
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Albania
relation member of
type international organization
['Netherlands', 'member of', {'concept': 'international organization'}] ['Albania', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Netherlands property:member_of ?w . ?w rdf:type ontology:international_organization . ?w rdf:type ontology:international_organization . resource:Albania property:member_of ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q20667921 Q515
USER
How many administrative territories have atmost 1 french administrative divisions or cities have their first city ?
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 1
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { { ?d property:P1376 ?k . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q20667921 } UNION { ?d property:P1376 ?k . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q515 } } GROUP BY ?k } . FILTER ( ?m <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 1
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { { ?d property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:type_of_french_administrative_division } UNION { ?d property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:city } } GROUP BY ?k } . FILTER ( ?m <= 1 ) }
[]
designation for an administrative territorial entity type of french administrative division city
SYSTEM
516
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q414 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q3044731 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q12574 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q815731 Q31074 Q31075 Q96 Q12709 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q696651 Q3286 Q3528124 Q2719360 Q948 Q1243 Q945 Q3266 Q3105 Q639100 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q884 Q1452646 Q881 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q541095 Q3148 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q30831 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q12816 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q2900529 Q12770 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q1270623 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q72670 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q12717 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q347 Q3462133 Q12679 Q30815 Q17 Q153402 Q3207 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 1
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { { ?d property:P1376 ?k . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q20667921 } UNION { ?d property:P1376 ?k . ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q515 } } GROUP BY ?k } . FILTER ( ?m <= 1 ) }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Argentina Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Guyane Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Loiret Umbria Lazio Vaucluse Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Hautes-Pyrénées Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Ems-Supérieur Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Saxe-Eisenach Cher Tibre Duchy of Luxembourg Tunisia Veneto Togo Charente Vosges Principality of Reuss-Gera Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan South Korea Montenotte Vietnam Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Rhin-et-Moselle Ardèche Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort 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 Saône-et-Loire Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Red Sea Governorate Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Bezirk Lothringen Somme Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Apennins Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Albania Republic of Macedonia Duchy of Bavaria Meurthe UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Batumi Oblast Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy 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 Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Principality of Minsk Calvados Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres 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 Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Bas-Rhin Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne South Sinai Governorate Japan Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
516
action count
action atmost
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 1
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { { ?d property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:type_of_french_administrative_division } UNION { ?d property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:city } } GROUP BY ?k } . FILTER ( ?m <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q258
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have an anthem named lesser number of literary works and hymns than South Africa ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q258
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { { ?f rdf:type ontology:Q7725634 } UNION { ?f rdf:type ontology:Q484692 } } . resource:Q258 property:P85 ?f } } . FILTER ( ?h < ?n ) }
South Africa
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity South Africa
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { { ?f rdf:type ontology:literary_work } UNION { ?f rdf:type ontology:hymn } } . resource:South_Africa property:anthem ?f } } . FILTER ( ?h < ?n ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
8
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q258
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { { ?f rdf:type ontology:Q7725634 } UNION { ?f rdf:type ontology:Q484692 } } . resource:Q258 property:P85 ?f } } . FILTER ( ?h < ?n ) }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
8
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity South Africa
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?h ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:hymn ) ( ontology:literary_work ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { { ?f rdf:type ontology:literary_work } UNION { ?f rdf:type ontology:hymn } } . resource:South_Africa property:anthem ?f } } . FILTER ( ?h < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q792
P85
Q7725634 Q484692 Q15617994
USER
And also tell me about El Salvador?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q792
relation P85
type Q7725634
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q792 property:P85 ?x . { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?g WHERE { { ?g property:P85 ?p . ?g rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q7725634 } UNION { ?p rdf:type ontology:Q484692 . ?g rdf:type ontology:Q15617994 . ?g property:P85 ?p } } GROUP BY ?g } }
El Salvador
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity El Salvador
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:El_Salvador property:anthem ?x . { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:hymn ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?g WHERE { { ?g property:anthem ?p . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:literary_work } UNION { ?p rdf:type ontology:hymn . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:anthem ?p } } GROUP BY ?g } }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
8
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action count
action filter_multi_types
action find
entity Q792
relation P85
type Q7725634
type Q484692
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q792 property:P85 ?x . { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?g WHERE { { ?g property:P85 ?p . ?g rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q7725634 } UNION { ?p rdf:type ontology:Q484692 . ?g rdf:type ontology:Q15617994 . ?g property:P85 ?p } } GROUP BY ?g } }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
8
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action count
action filter_multi_types
action find
entity El Salvador
relation anthem
type literary work
type hymn
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:El_Salvador property:anthem ?x . { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:hymn ) } } } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?g WHERE { { ?g property:anthem ?p . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:literary_work } UNION { ?p rdf:type ontology:hymn . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:anthem ?p } } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P921
Q838948
USER
Which work of art has Netherlands as its main topic ?
(c(Q838948),P921,Q55)
action filter_type
action find_reverse
entity Q55
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q55']
SELECT DISTINCT ?n WHERE { ?n property:P921 resource:Q55 . ?n rdf:type ontology:Q838948 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Netherlands']
SELECT DISTINCT ?n WHERE { ?n property:main_subject resource:Netherlands . ?n rdf:type ontology:work_of_art }
[]
work of art
Q2579300
SYSTEM
The Human Dutch
Q2579300
(c(Q838948),P921,Q55)
action filter_type
action find_reverse
entity Q55
relation P921
type Q838948
[ANSWER] has Netherlands as its main topic
[{'concept': 'Q838948'}, 'P921', 'Q55']
SELECT DISTINCT ?n WHERE { ?n property:P921 resource:Q55 . ?n rdf:type ontology:Q838948 }
The Human Dutch
The Human Dutch has Netherlands as its main topic
The Human Dutch
action filter_type
action find_reverse
entity Netherlands
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Netherlands']
SELECT DISTINCT ?n WHERE { ?n property:main_subject resource:Netherlands . ?n rdf:type ontology:work_of_art }
[]