Simple Question (Direct)
Simple Question
Q5051383
P136
Q1792379
USER
What can be considered as category for Space Invasion of Lapland ?
(Q5051383,P136,c(Q1792379))
action filter_type
action find
entity Q5051383
relation P136
type Q1792379
['Q5051383', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q5051383 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
Space Invasion of Lapland
action filter_type
action find
entity Space Invasion of Lapland
relation genre
type art genre
['Space Invasion of Lapland', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Space_Invasion_of_Lapland property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Q471839
SYSTEM
science fiction film
Q471839
(Q5051383,P136,c(Q1792379))
action filter_type
action find
entity Q5051383
relation P136
type Q1792379
[ANSWER] can be considered as category for Space Invasion of Lapland
['Q5051383', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q5051383 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
science fiction film
Science fiction film can be considered as category for Space Invasion of Lapland
science fiction film
action filter_type
action find
entity Space Invasion of Lapland
relation genre
type art genre
['Space Invasion of Lapland', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Space_Invasion_of_Lapland property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5051383
P344
Q502895
USER
Which person serves as the director of photography for Space Invasion of Lapland ?
(Q5051383,P344,c(Q502895))
action filter_type
action find
entity Q5051383
relation P344
type Q502895
['Q5051383', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q5051383 property:P344 ?e . ?e rdf:type ontology:Q502895 }
Space Invasion of Lapland
action filter_type
action find
entity Space Invasion of Lapland
relation director of photography
type common name
['Space Invasion of Lapland', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Space_Invasion_of_Lapland property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
common name
Q5578544
SYSTEM
Hilding Bladh
Q5578544
(Q5051383,P344,c(Q502895))
action filter_type
action find
entity Q5051383
relation P344
type Q502895
[ANSWER] serves as the director of photography for Space Invasion of Lapland
['Q5051383', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q5051383 property:P344 ?e . ?e rdf:type ontology:Q502895 }
Hilding Bladh
Hilding Bladh serves as the director of photography for Space Invasion of Lapland
Hilding Bladh
action filter_type
action find
entity Space Invasion of Lapland
relation director of photography
type common name
['Space Invasion of Lapland', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Space_Invasion_of_Lapland property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3819326
Q502895
USER
And also tell me about L'Infermiera?
(Q3819326,P344,c(Q502895))
action filter_type
action find
entity Q3819326
relation P344
type Q502895
['Q3819326', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3819326 property:P344 ?k . ?k rdf:type ontology:Q502895 }
L'Infermiera
action filter_type
action find
entity L'Infermiera
relation director of photography
type common name
["L'Infermiera", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:L'Infermiera property:director_of_photography ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3725485
SYSTEM
Ennio Guarnieri
Q3725485
(Q3819326,P344,c(Q502895))
action filter_type
action find
entity Q3819326
relation P344
type Q502895
[ANSWER]
['Q3819326', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3819326 property:P344 ?k . ?k rdf:type ontology:Q502895 }
Ennio Guarnieri
Ennio Guarnieri
action filter_type
action find
entity L'Infermiera
relation director of photography
type common name
["L'Infermiera", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:L'Infermiera property:director_of_photography ?k . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q380333 Q5051383
P27 P495
Q15617994
USER
Which administrative territories are the origins of Space Invasion of Lapland or are Bernard Allen a civilian of ?
OR((Q5051383,P495,c(Q15617994)), (Q380333,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5051383
relation P495
action find
entity Q380333
relation P27
type Q15617994
{'OR': [['Q5051383', 'P495', {'concept': 'Q15617994'}], ['Q380333', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q380333 property:P27 ?a } UNION { resource:Q5051383 property:P495 ?a } } . ?a rdf:type ontology:Q15617994 }
Bernard Allen Space Invasion of Lapland
action filter_type
action union
action find
entity Space Invasion of Lapland
relation country of origin
action find
entity Bernard Allen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Space Invasion of Lapland', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Bernard Allen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Bernard_Allen property:country_of_citizenship ?a } UNION { resource:Space_Invasion_of_Lapland property:country_of_origin ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q34 Q27
SYSTEM
United States of America, Sweden, Ireland
Q30 Q34 Q27
OR((Q5051383,P495,c(Q15617994)), (Q380333,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5051383
relation P495
action find
entity Q380333
relation P27
type Q15617994
[ANSWERS] are the origins of Space Invasion of Lapland or are Bernard Allen a civilian of
{'OR': [['Q5051383', 'P495', {'concept': 'Q15617994'}], ['Q380333', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q380333 property:P27 ?a } UNION { resource:Q5051383 property:P495 ?a } } . ?a rdf:type ontology:Q15617994 }
United States of America Sweden Ireland
United States of America, Sweden and Ireland are the origins of Space Invasion of Lapland or are Bernard Allen a civilian of
United States of America Sweden Ireland
action filter_type
action union
action find
entity Space Invasion of Lapland
relation country of origin
action find
entity Bernard Allen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Space Invasion of Lapland', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Bernard Allen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Bernard_Allen property:country_of_citizenship ?a } UNION { resource:Space_Invasion_of_Lapland property:country_of_origin ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic relations with those administrative territories ?
(Q183,P530,Q30) (Q183,P530,Q34) (Q183,P530,Q27)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q30'] ['Q183', 'P530', 'Q34'] ['Q183', 'P530', 'Q27']
ASK WHERE { VALUES ( ?o ) { ( resource:Q30 ) ( resource:Q34 ) ( resource:Q27 ) } . resource:Q183 property:P530 ?o }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'United States of America'] ['Germany', 'diplomatic relation', 'Sweden'] ['Germany', 'diplomatic relation', 'Ireland']
ASK WHERE { VALUES ( ?o ) { ( resource:United_States_of_America ) ( resource:Sweden ) ( resource:Ireland ) } . resource:Germany property:diplomatic_relation ?o }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q30) (Q183,P530,Q34) (Q183,P530,Q27)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q30'] ['Q183', 'P530', 'Q34'] ['Q183', 'P530', 'Q27']
ASK WHERE { VALUES ( ?o ) { ( resource:Q30 ) ( resource:Q34 ) ( resource:Q27 ) } . resource:Q183 property:P530 ?o }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'United States of America'] ['Germany', 'diplomatic relation', 'Sweden'] ['Germany', 'diplomatic relation', 'Ireland']
ASK WHERE { VALUES ( ?o ) { ( resource:United_States_of_America ) ( resource:Sweden ) ( resource:Ireland ) } . resource:Germany property:diplomatic_relation ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3725485 Q1483405
P27
Q15617994
USER
Is Ennio Guarnieri a civilian of Principality of Eichstätt ?
(Q3725485,P27,Q1483405)
action is_in
entity Q1483405
action find
entity Q3725485
relation P27
['Q3725485', 'P27', 'Q1483405']
ASK WHERE { resource:Q3725485 property:P27 resource:Q1483405 }
Ennio Guarnieri Principality of Eichstätt
action is_in
entity Principality of Eichstätt
action find
entity Ennio Guarnieri
relation country of citizenship
['Ennio Guarnieri', 'country of citizenship', 'Principality of Eichstätt']
ASK WHERE { resource:Ennio_Guarnieri property:country_of_citizenship resource:Principality_of_Eichstätt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3725485,P27,Q1483405)
action is_in
entity Q1483405
action find
entity Q3725485
relation P27
[ANSWER]
['Q3725485', 'P27', 'Q1483405']
ASK WHERE { resource:Q3725485 property:P27 resource:Q1483405 }
No
action is_in
entity Principality of Eichstätt
action find
entity Ennio Guarnieri
relation country of citizenship
['Ennio Guarnieri', 'country of citizenship', 'Principality of Eichstätt']
ASK WHERE { resource:Ennio_Guarnieri property:country_of_citizenship resource:Principality_of_Eichstätt }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with approximately 9 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?q = 9 ) }
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?q = 9 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q43 Q41 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[ANSWERS] hold diplomatic relationship with approximately 9 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?q = 9 ) }
Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Turkey Greece Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Georgia, Netherlands and Poland hold diplomatic relationship with approximately 9 administrative territories
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?q = 9 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q486972 Q56061
USER
How many administrative territories have exactly 1 human settlements or administrative territories as their county seat ?
(c(Q486972)|c(Q56061),P1376,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 1
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?o rdf:type ?x } GROUP BY ?t } . FILTER ( ?n = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 1
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?t WHERE { VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?o rdf:type ?x } GROUP BY ?t } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity human settlement administrative territorial entity
SYSTEM
336
Q804 Q801 Q800 Q1098820 Q419 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q252 Q398 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q611074 Q2007299 Q1254171 Q220249 Q979470 Q1270648 Q1899307 Q30675 Q983 Q730 Q734 Q1280 Q1282 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q189 Q184 Q1029 Q1028 Q1390630 Q1452 Q815731 Q31074 Q31075 Q96 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q34020 Q541589 Q760 Q14762300 Q3528124 Q2719360 Q1243 Q945 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q4450475 Q668 Q1093 Q1090684 Q1263830 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q45 Q43 Q792 Q1232680 Q231168 Q241 Q1965 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q37 Q36 Q34 Q3361 Q39 Q302479 Q2567535 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1101 Q1206596 Q3139 Q902 Q1036 Q1032 Q1033 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q2562901 Q31068 Q31067 Q31065 Q1773268 Q30835 Q574 Q1558632 Q191 Q79 Q77 Q3044651 Q3044715 Q30682 Q30683 Q2091235 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q492430 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3044781 Q712 Q710 Q3044777 Q12770 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q1508927 Q654849 Q2038939 Q311794 Q12661 Q20 Q28 Q1366860 Q148 Q227 Q30650 Q223 Q221 Q311668 Q229 Q1410315 Q1989 Q60011 Q965 Q967 Q2921370 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q2380910 Q1438 Q686 Q30832 Q891165 Q817 Q810 Q811 Q813 Q18046648 Q819 Q29 Q617646 Q12545 Q2309262 Q863 Q2023 Q869 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q2009 Q12820 Q265 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2003 Q2662372 Q686924 Q30669 Q30662 Q4628 Q455705 Q770 Q1856181 Q1077283 Q921 Q924 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1447 Q2360428 Q30656 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q30797 Q1904 Q30815 Q17 Q153402 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q244 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q8575586 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q486972)|c(Q56061),P1376,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 1
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?t WHERE { VALUES ( ?x ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?o rdf:type ?x } GROUP BY ?t } . FILTER ( ?n = 1 ) }
Panama Israel Costa Rica Gênes Peru Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Indonesia Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Mopani District Municipality OR Tambo District Municipality Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Umbria Lazio Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Iceland Belarus Mozambique Morocco Ourthe Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Niue Ems-Supérieur Saint Lucia single-tier municipality Tibre Duchy of Luxembourg Veneto Togo Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Talitsky District India Limburg Montserrat Frances Baard District Municipality Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Portugal Turkey El Salvador Ithaque Zuyderzée Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium Lithuania Poland Sweden Doubs Switzerland Ems-Occidental Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands North Brabant Deux-Nèthes Alpes-Maritimes Bangladesh Uganda Niger Nigeria Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen West Coast District Municipality Dakahlia Governorate Ismailia Governorate Qena Governorate ZF Mgcawu District Municipality Gharbia Governorate East Timor Rome Estonia Egypt Uruguay Louverture Ozama Matrouh Governorate Beni Suef Governorate Ugu District Municipality Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Bouches-de-l'Elbe Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Sud Fiji Kiribati Nord Somme Chad West Rand District Municipality 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 Cape Winelands District Municipality Duchy of Prussia Izabal Department Méditerranée Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Hungary Escaut People's Republic of China Azerbaijan New Valley Governorate Greenland Republic of Macedonia UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Burkina Faso Burundi Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Duchy of Zaslawye Campania Vanuatu Giza Governorate Bojanala Platinum District Municipality Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Spain Namakwa District Municipality Hérault Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Yukon Yvelines Uzbekistan Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Newfoundland and Labrador Principality of Minsk Mer-Égée Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Tanzania Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Apulia Tijuana Municipality Faiyum Governorate Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Luxor Governorate Ontario South Sinai Governorate Japan Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Umayyad Caliphate Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
336
action count
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 1
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) ?t WHERE { VALUES ( ?x ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?o rdf:type ?x } GROUP BY ?t } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q234460 Q2342494
USER
How many people illustrated exactly 2 texts and collectables ?
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 2
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } } GROUP BY ?w } . FILTER ( ?k = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 2
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:text ) ( ontology:collectable ) } } GROUP BY ?w } . FILTER ( ?k = 2 ) }
[]
common name text collectable
SYSTEM
89
Q7184812 Q6294209 Q892 Q7381538 Q982401 Q5056212 Q3245042 Q6788819 Q932944 Q5109897 Q6742320 Q5335618 Q5569216 Q8018893 Q1012900 Q2296116 Q7406676 Q704689 Q7325472 Q293162 Q775662 Q14766926 Q7150924 Q6396793 Q4795228 Q538533 Q6408013 Q6396491 Q3102425 Q525713 Q430718 Q5592199 Q5203723 Q324633 Q62073 Q4893728 Q6668251 Q7422331 Q4858829 Q5131341 Q7176300 Q3141534 Q937084 Q7362911 Q6175209 Q5230447 Q4990902 Q448205 Q2066520 Q41513 Q3159789 Q4867263 Q4898308 Q722831 Q6244178 Q7788214 Q7609286 Q102071 Q3423005 Q7787110 Q3047169 Q11571917 Q5668975 Q956879 Q561401 Q314938 Q7350689 Q1235813 Q1341813 Q5292635 Q6525835 Q2213570 Q7788145 Q325027 Q5107828 Q6386218 Q7174817 Q4924129 Q439404 Q2004726 Q5132945 Q780102 Q5665537 Q7279155 Q5415276 Q4793993 Q5668367 Q2910912 Q6557852
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 2
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } } GROUP BY ?w } . FILTER ( ?k = 2 ) }
Philippe Dupasquier José Villarrubia J. R. R. Tolkien Russell H. Tandy Edward Gorey Cecil Mary Leslie Darrell K. Sweet Matt Howarth Larry Elmore Christian McGrath Malcolm Fraser Ed Young Glennray Tutor William Stout Wanda Gág Peter Laird Salvatore Murdocca Christian Wilhelm Allers Richard Egielski Ilon Wikland Peter Sís Anne Yvonne Gilbert Paul Goble Kevin Long Arnold Roth John Lockwood Kipling Kilmeny Niland Kevin Henkes Georges Cain Howard Pyle H. A. Rey Graeme Base D. M. Cornish George Evans Walter Moers Bernard Waber Lois Ehlert Sarah Gibb Barbara Cooney Clement Hurd Peter Parnall Howard Chandler Christy Philip Reeve Romas Kukalis Jeff Vespa David A. Cherry Margot Zemach Frank Frazetta William Nicholson William Blake Jacques Poirier Basil Temple Blackwood Betsy Lewin Nonny Hogrogian John Lawrence Thomas Canty Stephen Gammell Tove Jansson Reed Crandall Thomas Aquinas Maguire Ed Emshwiller Gen'ichirō Inokuma Harry Furniss Gerald Brom Spike Milligan Arthur Rackham Robert W. Hines James Sowerby Feodor Stepanovich Rojankovsky Don Freeman Leonard Weisgard Rei Izumi Thomas C. Lea III Richard Doyle Chris Raschka Kelly Murphy Peter I. Chang Blair Lent Lalla Ward Vaughn Bodē Clifford Geary Wyndham Lewis Harrison Cady Rachel Berman Evaline Ness Armstrong Sperry Kęstutis Kasparavičius Boris Artzybasheff Lisa Brown
89
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 2
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:text ) ( ontology:collectable ) } } GROUP BY ?w } . FILTER ( ?k = 2 ) }
[]