Simple Question (Direct)
Simple Question
Q21044355
P840
Q56061
USER
Which administrative territory is the narrative location of Hidden Away ?
(Q21044355,P840,c(Q56061))
action filter_type
action find
entity Q21044355
relation P840
type Q56061
['Q21044355', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q21044355 property:P840 ?d . ?d rdf:type ontology:Q56061 }
Hidden Away
action filter_type
action find
entity Hidden Away
relation narrative location
type administrative territorial entity
['Hidden Away', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Hidden_Away property:narrative_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8692
SYSTEM
Bilbao
Q8692
(Q21044355,P840,c(Q56061))
action filter_type
action find
entity Q21044355
relation P840
type Q56061
[ANSWER] is the narrative location of Hidden Away
['Q21044355', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q21044355 property:P840 ?d . ?d rdf:type ontology:Q56061 }
Bilbao
Bilbao is the narrative location of Hidden Away
Bilbao
action filter_type
action find
entity Hidden Away
relation narrative location
type administrative territorial entity
['Hidden Away', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Hidden_Away property:narrative_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8692
P159
Q43229
USER
Which organizations have headquarters located at that administrative territory ?
(c(Q43229),P159,Q8692)
action filter_type
action find_reverse
entity Q8692
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q8692']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q8692 . ?f rdf:type ontology:Q43229 }
Bilbao
action filter_type
action find_reverse
entity Bilbao
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Bilbao']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Bilbao . ?f rdf:type ontology:organization }
[]
organization
Q1437502 Q666869 Q1252846
SYSTEM
Iberdrola, Panda Security, Euskalduna
Q5011660 Q1252846 Q25119446 Q1437502 Q466086 Q5340833 Q666869 Q3752442 Q27628183
(c(Q43229),P159,Q8692)
action filter_type
action find_reverse
entity Q8692
relation P159
type Q43229
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q8692']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q8692 . ?f rdf:type ontology:Q43229 }
CIE Automotive Euskalduna Papelera Española Iberdrola Aceralia Educaedu Panda Security Bilbao Bizkaia Kutxa Naviera Sota y Aznar
Iberdrola, Panda Security and Euskalduna have headquarters located at that administrative territory
Iberdrola Panda Security Euskalduna
action filter_type
action find_reverse
entity Bilbao
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Bilbao']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Bilbao . ?f rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1437502 Q666869 Q1252846
P159
Q56061
USER
Where are the head office for those organizations located ?
(Q1437502,P159,c(Q56061)) (Q666869,P159,c(Q56061)) (Q1252846,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
['Q1437502', 'P159', {'concept': 'Q56061'}] ['Q666869', 'P159', {'concept': 'Q56061'}] ['Q1252846', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . VALUES ( ?a ) { ( resource:Q5011660 ) ( resource:Q1252846 ) ( resource:Q25119446 ) } . ?a property:P159 ?y }
Iberdrola Panda Security Euskalduna
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Iberdrola', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Panda Security', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Euskalduna', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . VALUES ( ?a ) { ( resource:CIE_Automotive ) ( resource:Euskalduna ) ( resource:Papelera_Española ) } . ?a property:headquarters_location ?y }
[]
administrative territorial entity
Q8692 Q8692 Q8692
SYSTEM
Bilbao
Q8692 Q8692 Q8692
(Q1437502,P159,c(Q56061)) (Q666869,P159,c(Q56061)) (Q1252846,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
Are the head office for those organizations located in [ANSWER], [ANSWER] and [ANSWER]
['Q1437502', 'P159', {'concept': 'Q56061'}] ['Q666869', 'P159', {'concept': 'Q56061'}] ['Q1252846', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . VALUES ( ?a ) { ( resource:Q5011660 ) ( resource:Q1252846 ) ( resource:Q25119446 ) } . ?a property:P159 ?y }
Bilbao Bilbao Bilbao
Are the head office for those organizations located in Bilbao, Bilbao and Bilbao
Bilbao Bilbao Bilbao
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Iberdrola', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Panda Security', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Euskalduna', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . VALUES ( ?a ) { ( resource:CIE_Automotive ) ( resource:Euskalduna ) ( resource:Papelera_Española ) } . ?a property:headquarters_location ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8692
P17
Q15617994
USER
Which administrative territory is Bilbao present in ?
(Q8692,P17,c(Q15617994))
action filter_type
action find
entity Q8692
relation P17
type Q15617994
['Q8692', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q8692 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Bilbao
action filter_type
action find
entity Bilbao
relation country
type designation for an administrative territorial entity
['Bilbao', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bilbao property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q8692,P17,c(Q15617994))
action filter_type
action find
entity Q8692
relation P17
type Q15617994
Bilbao is in [ANSWER]
['Q8692', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q8692 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Spain
Bilbao is in Spain
Spain
action filter_type
action find
entity Bilbao
relation country
type designation for an administrative territorial entity
['Bilbao', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bilbao property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origins of approximately the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q29
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q29 property:P495 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2031291 } GROUP BY ?v } }
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Spain
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Spain property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:release } GROUP BY ?v } }
[]
designation for an administrative territorial entity release
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 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 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q29
relation P495
type Q15617994
[ANSWERS] are the origins of approximately the same number of releases as that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q29 property:P495 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2031291 } GROUP BY ?v } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of approximately the same number of releases as that administrative territory
Italy Brazil Georgia
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Spain
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Spain property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?n ) . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:release } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q19728810
P123
Q43229 Q21114848 Q2342494
USER
How many organizations released lesser number of magazine genres or collectables than George W. Jacobs & Co. ?
(c(Q21114848)|c(Q2342494),P123,c(Q43229))
action count
action less
action union
action find_reverse_tuple_counts
relation P123
type Q43229
type Q21114848
action find_reverse_tuple_counts
relation P123
type Q43229
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19728810
relation P123
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q21114848 ) } . ?x rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P123 resource:Q19728810 . { { ?y rdf:type ontology:Q21114848 } UNION { ?y rdf:type ontology:Q2342494 } } } } . FILTER ( ?k < ?e ) }
George W. Jacobs & Co.
action count
action less
action union
action find_reverse_tuple_counts
relation publisher
type organization
type magazine genre
action find_reverse_tuple_counts
relation publisher
type organization
type collectable
action count
action filter_multi_types
action find_reverse
entity George W. Jacobs & Co.
relation publisher
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:magazine_genre ) } . ?x rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:publisher resource:George_W._Jacobs_&_Co. . { { ?y rdf:type ontology:magazine_genre } UNION { ?y rdf:type ontology:collectable } } } } . FILTER ( ?k < ?e ) }
[]
organization magazine genre collectable
SYSTEM
674
Q12886330 Q3611907 Q19604517 Q4479397 Q23657139 Q219203 Q998470 Q2861280 Q2191408 Q11827675 Q1335998 Q636926 Q5618753 Q19016714 Q6544791 Q4929669 Q297303 Q2077322 Q21010246 Q7642339 Q2820129 Q1582074 Q4045625 Q17238705 Q55672 Q4035073 Q2546118 Q4038447 Q6839179 Q1036845 Q212405 Q586564 Q3357579 Q10931299 Q17781287 Q1045778 Q2083237 Q6417992 Q771469 Q4817235 Q5267669 Q7114879 Q1395742 Q6518563 Q1147088 Q3341895 Q180003 Q3273897 Q2529982 Q5519987 Q2390168 Q1125649 Q3566404 Q262292 Q6042562 Q15915611 Q468581 Q5378382 Q963101 Q4809216 Q2447732 Q2039722 Q5519813 Q7303612 Q7072538 Q1486288 Q596139 Q2869434 Q1663147 Q81307 Q11864511 Q7296896 Q3293839 Q1361716 Q1140726 Q174891 Q11428059 Q5357928 Q1574191 Q17050709 Q11631624 Q11631626 Q11631627 Q907871 Q7259502 Q21869922 Q2071905 Q7390114 Q149947 Q180 Q17050725 Q3441266 Q11722814 Q866171 Q3046067 Q2264873 Q3028965 Q7028380 Q3627870 Q2630418 Q258101 Q23825860 Q7709515 Q4827147 Q11363393 Q5378593 Q7847095 Q11508838 Q4748798 Q1073880 Q6003289 Q7411426 Q7131061 Q4942460 Q3069583 Q2492131 Q4051591 Q5381780 Q6008719 Q2068881 Q2662047 Q5163431 Q2379416 Q2362517 Q1087780 Q4732637 Q9197236 Q5205510 Q11553514 Q7937481 Q7197729 Q1156046 Q1821429 Q7554197 Q634677 Q166400 Q481536 Q7663678 Q20973435 Q482767 Q1900088 Q7855903 Q1386529 Q5523201 Q554198 Q5520031 Q6458989 Q6033042 Q11320256 Q5639164 Q697493 Q5020736 Q10855553 Q6774218 Q4346386 Q7841484 Q5150442 Q6805413 Q2687460 Q1029276 Q5561425 Q837335 Q501476 Q5941010 Q3107204 Q3817092 Q41187 Q7230397 Q3149807 Q5204120 Q8045013 Q847101 Q1136242 Q3576011 Q6839448 Q10322323 Q6002593 Q4042038 Q1538810 Q11502957 Q3028255 Q1339044 Q7130437 Q1885456 Q1347787 Q3648801 Q3206072 Q11575035 Q6029762 Q2339813 Q18786914 Q5587655 Q4816734 Q5912978 Q186012 Q1184680 Q3359107 Q1648355 Q25796063 Q7119120 Q5434166 Q2317766 Q5012265 Q3030458 Q11869158 Q15726956 Q4037348 Q2654839 Q8022 Q18161770 Q5210780 Q333718 Q1357695 Q7092366 Q1274252 Q16844706 Q37033 Q2251870 Q2981309 Q248 Q3064637 Q7865507 Q7708592 Q1521910 Q5514050 Q851966 Q11217566 Q7355138 Q7338225 Q6111534 Q7562488 Q20718 Q164484 Q6926811 Q1268871 Q4401085 Q2095106 Q1563542 Q7554222 Q7602608 Q3356176 Q2737049 Q7821535 Q724759 Q263655 Q5610309 Q6795851 Q15477330 Q7135322 Q7240 Q11365091 Q3497261 Q750414 Q5357363 Q7575168 Q5463408 Q208305 Q339228 Q2700879 Q5980677 Q4043403 Q4957770 Q4982198 Q5510935 Q7557166 Q579796 Q4851974 Q16998733 Q28255 Q5319120 Q5302578 Q7915854 Q4229560 Q23906526 Q3334409 Q461964 Q21999417 Q3123991 Q6432835 Q742561 Q23811230 Q656229 Q6840327 Q7796279 Q11871056 Q7577588 Q5469870 Q860842 Q20926529 Q1177836 Q628652 Q7688290 Q2866046 Q485593 Q8963096 Q7562508 Q16950174 Q1365227 Q4906978 Q1816526 Q1131147 Q11402778 Q6808925 Q1165843 Q2583533 Q1351484 Q7687954 Q490424 Q762201 Q326276 Q7918048 Q2288948 Q5203542 Q3146794 Q1056839 Q3316179 Q2642863 Q23903424 Q4840587 Q12427844 Q1742154 Q3116102 Q3796545 Q5275797 Q5174029 Q3212232 Q2477285 Q4921169 Q1806630 Q696625 Q5139870 Q1154544 Q4681127 Q2074161 Q1540740 Q2664679 Q6517241 Q5607341 Q6777262 Q215901 Q882160 Q930354 Q3879935 Q7157653 Q18680164 Q3120829 Q5361915 Q5514040 Q7819139 Q7248442 Q12018412 Q4019803 Q5519804 Q135742 Q2984363 Q884708 Q5340348 Q464633 Q1019662 Q142765 Q2150493 Q3503752 Q7880421 Q685596 Q47099 Q1983591 Q17275459 Q1122074 Q4752572 Q5595537 Q790101 Q3579315 Q7864546 Q2822030 Q19000363 Q2364677 Q19376784 Q2564885 Q5366830 Q5614104 Q1172285 Q928726 Q8045974 Q4890858 Q17716971 Q14619003 Q1812986 Q1469961 Q2070328 Q7941914 Q539425 Q3516982 Q7561227 Q4263222 Q6499202 Q1705063 Q3800760 Q2375623 Q21200464 Q495088 Q632218 Q17042519 Q18356743 Q16989144 Q20065243 Q5603155 Q151991 Q5595542 Q17049422 Q940646 Q2166491 Q11504942 Q11504944 Q7779 Q8044346 Q1505654 Q217082 Q3326460 Q1660544 Q2043869 Q15915597 Q4348557 Q18694341 Q7069782 Q3041974 Q412826 Q214346 Q1327874 Q921159 Q7333578 Q1054486 Q19926241 Q6535056 Q3498776 Q3781094 Q4736235 Q9287164 Q795397 Q6805559 Q3445709 Q954877 Q8075461 Q859575 Q4048333 Q5769368 Q1816614 Q1027472 Q466853 Q11498878 Q8042484 Q4923391 Q633812 Q5197841 Q2123113 Q4040478 Q3601009 Q2645693 Q8075428 Q444649 Q2747690 Q881984 Q2061879 Q1734721 Q4800837 Q26251764 Q593734 Q7503423 Q555273 Q193326 Q6986300 Q914171 Q1076724 Q3735591 Q1457205 Q1391304 Q556308 Q7924439 Q86853 Q23067914 Q883799 Q1759373 Q806252 Q7039137 Q6083391 Q7562511 Q4221349 Q6785541 Q1770535 Q16998932 Q374677 Q233015 Q1148541 Q1993220 Q3822507 Q2309266 Q15139437 Q7943492 Q10934832 Q919983 Q207770 Q2165419 Q6918555 Q4288088 Q5368983 Q5322133 Q16625595 Q6998830 Q132358 Q7077816 Q3153086 Q1438774 Q1501379 Q1784237 Q23872817 Q3046564 Q3492619 Q16827428 Q1495819 Q362844 Q16684409 Q1155260 Q6822516 Q2450081 Q648403 Q7880629 Q855479 Q199296 Q5375522 Q760096 Q18680155 Q1323594 Q7554190 Q1657624 Q312 Q3759492 Q5380509 Q218038 Q1049502 Q5511912 Q2228575 Q2526471 Q20057503 Q4039243 Q5047992 Q1481820 Q1096013 Q7689500 Q6481914 Q2946291 Q338583 Q133445 Q7671959 Q23810851 Q2740401 Q3006985 Q2934754 Q6715746 Q7268976 Q4824089 Q5598052 Q845918 Q2579061 Q11402787 Q1615297 Q5227451 Q869106 Q2903998 Q4358070 Q4803367 Q6324466 Q4826391 Q7876511 Q2073284 Q4686510 Q4905698 Q4834850 Q95 Q2880788 Q5533272 Q2067115 Q2632192 Q630670 Q11315251 Q287560 Q4035914 Q4905858 Q7329009 Q170416 Q3569281 Q954124 Q3478007 Q916365 Q2698092 Q623459 Q979198 Q5350499 Q2166710 Q5507476 Q16746911 Q3080183 Q1972036 Q489247 Q1426524 Q3135129 Q6002901 Q5058814 Q2578454 Q6760009 Q485897 Q1151411 Q5358893 Q16958089 Q5764967 Q7696177 Q5381814 Q3777306 Q4736479 Q176691 Q1135607 Q3492217 Q7514940 Q874168 Q311474 Q1141129 Q4043674 Q2279731 Q474153 Q23946163 Q11335705 Q3133362 Q5463519 Q3569933 Q2401222 Q2994389 Q2858431 Q13407941 Q2068658 Q4897372 Q3088127 Q5428249 Q1423789 Q5069648 Q2832284 Q10594791 Q3406094 Q2857799 Q2289818 Q7111873 Q5519780 Q1023212 Q7072272 Q5197770 Q3486414 Q4696470 Q263700 Q202210 Q15646906 Q3030436 Q4943376 Q5557354 Q5901057 Q11262013 Q7115336 Q489566 Q5570754 Q375242 Q5517023 Q17042631 Q846484 Q1850424 Q27830689 Q11502364 Q7852902 Q19835706
(c(Q21114848)|c(Q2342494),P123,c(Q43229))
action count
action less
action union
action find_reverse_tuple_counts
relation P123
type Q43229
type Q21114848
action find_reverse_tuple_counts
relation P123
type Q43229
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19728810
relation P123
type Q21114848
type Q2342494
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q21114848 ) } . ?x rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P123 resource:Q19728810 . { { ?y rdf:type ontology:Q21114848 } UNION { ?y rdf:type ontology:Q2342494 } } } } . FILTER ( ?k < ?e ) }
Czech News Center All-American Publications R&P Electronic Media Uchitel Publishing House Laurie & Whittle NEC RELX Group Arika Vestel Dreadlocks Ltd Tomy Exidy GungHo Online Entertainment Parry Hall Life Fitness Blue Ribbon ASCII Peter Norton Computing Squad Super Fighter Team Abacus Kazé Oberon Media Playism Mozilla Foundation Beyond Software Shōnen Gahōsha Experimenter Publishing Micro Power Aquaplus Procter & Gamble Illusion Otavamedia Metro Trains Melbourne Kunos Simulazioni Esri PlayFirst Kitchen Table: Women of Color Press Ichijinsha Atomeka Press Devolver Digital Owlchemy Labs Sirius Software Lego Videogames Hoover Institution NimbleBit American National Standards Institute MacPlay The New York Times Company Gamecock Media Group UNOVIS Impresa Warren Publishing Appaloosa Interactive Intec, Inc. Radio-Science Publications American Society of International Law English Software Tata Steel DMG Media Tradewest G-Collections Game Retail Limited Red 5 Studios OGPlanet GOG.com Mattel Atlas Comics (1950s) Karl Dietz Verlag Berlin Greenpeace Ilkka-Yhtymä Raw Thrills Ideal Toy Company D3 Publisher Japan Electronic Industries Development Association dtp entertainment Hochi Shimbun Electro Brain Hanako Games Yojigen The Yomiuri Shimbun, Osaka The Yomiuri Shimbun, Tokyo The Yomiuri Shimbun, Seibu Leaf Pulltop Horizon Games, Inc. BBC Worldwide SG Interactive Midway Games Wikimedia Foundation Yonezawa PR21 Romstar Cenega Czech Kogado Studio ERE Informatique Vivendi Games Takara Nickelodeon Kids & Family Virtual Worlds Group Atari Corporation Média-Participations Fantasy Productions Sherwood & Co. Thalamus Ltd Autumn Games Chugoku Shimbun Company A-lehdet Tru Blu Entertainment Nikkei Inc. Amsoft SNK Corporation Imangi Studios Samuel French Ltd. Panic Bonnier Corporation Visco Corporation Ultra Games TopWare Interactive Eolith InChI Trust Penguin Software Independent News & Media Conspiracy Entertainment Le Lombard Davidson & Associates Chronic Logic Alligata CyberFront DK'Tronics Kahoku Shimpo Publishing Company Viva Media Piranha Interactive Publishing The Pokémon Company Radarsoft Software Dynamics Hewson Consultants European Broadcasting Union Gruner + Jahr System Sacom Harvey Comics Daewon C.I. Noordhoff Uitgevers Turner Broadcasting System FASA Gargoyle Games Bauer Media Group Gamelion Studios LLamasoft Ingram Entertainment Holdings Inc. DeNA Haikuo Soft Gamania Digital Entertainment California Pacific Computer Company Argo Martech Tokyo Shoseki Triffix Entertainment Com2uS MediaQuest Holdings, Inc. Rising Star Games Fantasy Flight Games Gilberton Ecma International Hasbro, Inc. HummingBirdSoft Playboy Enterprises Real Sociedad Geográfica de España Sony Porsche Club of America Inca production D4 Enterprise Xseed Games Prototype TDK Mediactive IndiePub Microdeal MC2 France Imagination Games Kaga Create Nexton The Niigata Nippo Co. Dinamic Software Aldus Panda Entertainment Digital Sky Technologies Epyx CMX LJN Sankei Shimbun Co. Infinite Game Publishing Kana Edició de Premsa Periòdica Ara Got Game Entertainment Atlantis Software Houghton Mifflin Harcourt Learning Technology HTC Corporation Delphine Software International Oxygen Games Quality Comics FunPlus PF Magic Fantasoft Naked Sky Entertainment CJ E&M Film Division Disney Mobile Economia Treuttel et Würtz Digital Pictures Aksys Games Generalitat of Catalonia MC Lothlorien Daler-Rowney Johnson & Johnson Fujimi Shobo OneBigGame EC Comics HopeLab World Wide Web Consortium America's Best Comics Interlude Intel Shodensha UPL Teyon Hallmark Cards GOAT Store Front Wing Bohemia Interactive Simulations Rocket Science Games Riverhillsoft Tikkurila Oyj Sony Imagesoft Samsung Electronics Hornby Railways Movic Strategic Simulations, Inc. Russobit-M West End Games HESware Software Projects Startly Technologies Organization of American Historians Quest Corporation Tonkin House NBCUniversal Newgrounds Groove Games Maximum Games Thai Industrial Standards Institute Paramount Digital Entertainment Lockheed Martin Chunichi Shimbun Company Starwave Astragon Electric Dreams Software Spectral Associates Flying Edge Commodore International Acclaim Entertainment Aeria Games and Entertainment iam8bit Minnesota Educational Computing Consortium Brash Entertainment Bubble Bus Software Fuuki Sold-Out Software Hasbro Interactive Bally Manufacturing New Generation Software cdv Software Entertainment Dynamo Sports Dovogame Varie Comix-ART Edwards & Knibb NG.DEV.TEAM VisiCorp Bicycle Quarterly Press MacSoft Games Koryo Tours Infocom Vernor & Hood Bushiroad Microsphere Thorn EMI Keski-Pohjanmaan Kirjapaino Spinnaker Software FormGen Interchannel America's Test Kitchen Davilex Games American Video Entertainment Tatsumi Universal Entertainment Corporation Red Hat Fundación de Investigaciones Marxistas Sony Pictures Digital Major League Baseball Advanced Media Iron Crown Enterprises Biglari Holdings Inc. Madman Entertainment Acclaim Games Hokkaido Shimbun Press Megatech Software Dargaud Windham Classics Tokyo Electron Tate Interactive Daewon Media Federation of American Scientists Wellcome Trust Veeam Seibu Kaihatsu D. C. Thomson & Co. IPC Media DirecTV Mirrorsoft Red Orb Entertainment William Potter & Co Badan Pengembangan dan Pembinaan Bahasa Rake In Grass Kingsoft GmbH Tokai Communications Image Works Digital Café Cosmi Corporation La Renaissance du livre Generalitat Valenciana Black Legend Silmarils JoWooD Entertainment Coconuts Japan Navel Addictive Games Kill Time Communication La Redoute Gakken Legacy Games Gremlin Industries Martinus Nijhoff Publishers JVC Schmidt Spiele GT Interactive Software Nutting Associates Peach Princess Sanoma Media Finland RedOctane Elite Gudz GN Software Tommo Inc. Programma International Grada Wildfire Games GameTek Treco Color Dreams Thalion Software Edu-Ware Bibliographisches Institut & F. A. Brockhaus Böhlau Starpath Milton Bradley Company Sun Media UltraVision Tamedia Televisa Renegade Software Heaven Sent Gaming CompuServe Ancestry.com Inc Grandslam Entertainment Avalon Hill Max Eschig UFO Interactive Games Absolute Entertainment Ganesh & Co. Elex Media Komputindo G. Robinson Kids Station DMM.com Guardians of Order Datasoft GMT Games YNK Interactive Last Day of Work Mikengreg Kobe Shimbun Co. Mitsui Fudosan ASC Games JAST USA Vortex Comics Home Entertainment Suppliers Koei Tecmo Games Songbird Productions Media Nusantara Citra Sears American Laser Games IntraCorp Synapse Software Sonatype Inc. Gamevil Archaeological Institute of America Magmic Sekai Project Data Age Degica Green Ronin Publishing European Southern Observatory Grandstand Vision Software Level 9 Computing DarXabre Nikkan Sports News Nikkan Sports News West Japan Commonwealth of Independent States Xicat Interactive Winning Moves Internet Engineering Task Force Dinamic Multimedia Playmates Toys PCM Uitgevers Teck Publications Microcabin Finnish Aeronautical Association Nunchuck Games Dynamic Planning Ajinomoto Viacom RealNetworks RTL Group Right Stuff Game Designers' Workshop Urban Development Institute Foundation Level Up! Games Stern Bottom Up Alten8 The Game Factory BAM! Entertainment Media Vision Roxor Games SETA Corporation Zuxxez Entertainment BigBen Interactive Ripcord Games Hirameki Leland Corporation Caltagirone Editore American Society of Cinematographers Kaizōsha XS Games Blackstone Audiobooks Archie Comics Cybersoft Quicksilva Headup Games ALcot Alfred Music Publishing Zushi Games Asahi Shimbun Company Softnyx ReLINE Software SimBin Studios VEB Polytechnik Artic Software Church Penitentiary Association Datel Shrapnel Games Koch Media Goldman Sachs Standard Comics Kaypro WildStorm Hämäläis-Osakunta Softdisk WOT Services Ankama Viacom International Linden Lab Institute on Religion and Public Life Blender Foundation Aller Media Bandai Visual Nintendo Australia Positech Games Sony Pictures Mobile Cyril and Methodius (company) Mastiff Visma Newsquest International Commission on Illumination Open Knowledge International Visual Art's Matrix Games FAES Norma Editorial NEXON Korea Vulcan Software Softstar Sammy Corporation Pirelli Wanadoo Motown Software Euro-Asian Council for Standardization, Metrology and Certification Gamepot E. S. & A. Robinson Red Barrels Netcomics Epoch Co. Odin Computer Graphics Interactive Magic Supercell Parker Brothers Spectravideo Hullmandel & Walton Eastern Color Printing Sonos bitcomposer Entertainment Gathering of Developers First Comics Éditions Odile Jacob Hakusensha Metagaming Concepts Glu Mobile European Committee for Standardization Ultrasoft TDK Ziff Davis Encore, Inc. Culture Brain Pop Media Walt Disney Studios Motion Pictures Software Creations UTV Ignition Entertainment Apple GTE Entex Industries RCA Hudson Soft G-Mode Waanders 5pb. Jan Melvil Publishing Game Factory Interactive Casady & Greene Virgin Interactive Fairchild Semiconductor Taxan Laminar Research Centuri FTL Games 2K Sports TTNET Vernor, Hood & Sharpe CipSoft dV Giochi Camerica MGM Interactive Quantum Axcess Australian Design Group Gravity Interactive Open Source Initiative Futabasha Hokkaido Nikkan Sports News Mastertronic Datamost EA Sports National Space Society Timely Comics Asahi Sonorama K2 Network Automata UK UbiWorkshop Seven Seas Entertainment Adventure International Big Five Software BBC Multimedia Google Fundación de Estudios Libertarios Anselmo Lorenzo Genius Products Yen Press Strategy First Magnavox SOFEL Gameforge Cases Computer Simulations Big Idea Entertainment Richard Shepherd Software Philips Windmill Software Coleco Sekkoïa Psikyo Gamigo AG Silicon Graphics ICOM Simulations Eklavya foundation RoseVeRte Fujisankei Communications International Nishinippon Shimbun Company Fox Feature Syndicate Buka Entertainment Naver Corporation Upper Deck Company Hi Tech Expressions Imagitec Design Cendant Office québécois de la langue française Margaret Weis Productions MAIET Entertainment Gottlieb The Mainichi Newspapers Co. Ninja Kiwi Himalaya Studios Telegames Eon Digital Entertainment GMV Alternative Software National Institute of Standards and Technology DreamCatcher Interactive SouthPeak Games Silicon Beach Software Queen Games Simon Wiesenthal Center CrossGen Manaccom Charlton Comics Economist Group Sturgis & Walton company PrincessSoft Her Interactive Flying Shine Working Designs Telarium Garena Apogee Software Grip Games 505 Games Betaworks Viacom Fabtek Tecmo Chambers Harrap Alderac Entertainment Group National Society for Road Safety Crestwood Publications Anuman Dell Comics Outblaze GameMill Publishing cdp.pl O3 Entertainment Cyberdreams SkyBox International AiT/Planet Lar Türk Telekom GameStop Kabam Disney Interactive Boom! Studios Ghostlight Hoplon Infotainment Ongakukan Oxford Games Andamiro Global VR Haksan Culture Company Gaijinworks NewKidCo Caisse des dépôts et consignations Microïds CN Invest Shinnihon Shuppansha Tundra Publishing The Norman, Remington Company
674
action count
action less
action union
action find_reverse_tuple_counts
relation publisher
type organization
type magazine genre
action find_reverse_tuple_counts
relation publisher
type organization
type collectable
action count
action filter_multi_types
action find_reverse
entity George W. Jacobs & Co.
relation publisher
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:magazine_genre ) } . ?x rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:publisher resource:George_W._Jacobs_&_Co. . { { ?y rdf:type ontology:magazine_genre } UNION { ?y rdf:type ontology:collectable } } } } . FILTER ( ?k < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q796
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with less number of administrative territories than Iraq ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q796
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?o ) WHERE { ?m property:P530 ?i . ?m rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q796 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?d ) }
Iraq
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?o ) WHERE { ?m property:diplomatic_relation ?i . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Iraq property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
127
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 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 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q796
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?o ) WHERE { ?m property:P530 ?i . ?m rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q796 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?d ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan 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 Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus 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 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 Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
127
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?o ) WHERE { ?m property:diplomatic_relation ?i . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Iraq property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with approximately 72 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 72
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?u ) WHERE { ?m property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?u = 72 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 72
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?u ) WHERE { ?m property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?u = 72 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 72
[ANSWERS] are known to have diplomatic connections with approximately 72 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?u ) WHERE { ?m property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?u = 72 ) }
Italy Georgia
Italy and Georgia are known to have diplomatic connections with approximately 72 administrative territories
Italy Georgia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 72
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?u ) WHERE { ?m property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?u = 72 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately 39 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?t ) WHERE { ?o property:P530 ?k . ?o rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?t = 39 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?t ) WHERE { ?o property:diplomatic_relation ?k . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?t = 39 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q184
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?t ) WHERE { ?o property:P530 ?k . ?o rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?t = 39 ) }
Belarus
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?t ) WHERE { ?o property:diplomatic_relation ?k . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?t = 39 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5364940 Q21044355
P495
Q15617994
USER
Which administrative territories are the countries of origin of Hidden Away or Super Junior and Sistar's Hello Baby ?
OR((Q21044355,P495,c(Q15617994)), (Q5364940,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q21044355
relation P495
action find
entity Q5364940
relation P495
type Q15617994
{'OR': [['Q21044355', 'P495', {'concept': 'Q15617994'}], ['Q5364940', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:P495 ?j . VALUES ( ?k ) { ( resource:Q21044355 ) ( resource:Q5364940 ) } } . ?j rdf:type ontology:Q15617994 }
Super Junior and Sistar's Hello Baby Hidden Away
action filter_type
action union
action find
entity Hidden Away
relation country of origin
action find
entity Super Junior and Sistar's Hello Baby
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Hidden Away', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ["Super Junior and Sistar's Hello Baby", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:country_of_origin ?j . VALUES ( ?k ) { ( resource:Hidden_Away ) ( resource:Super_Junior_and_Sistar's_Hello_Baby ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q884
SYSTEM
Spain, South Korea
Q29 Q884
OR((Q21044355,P495,c(Q15617994)), (Q5364940,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q21044355
relation P495
action find
entity Q5364940
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Hidden Away or Super Junior and Sistar's Hello Baby
{'OR': [['Q21044355', 'P495', {'concept': 'Q15617994'}], ['Q5364940', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:P495 ?j . VALUES ( ?k ) { ( resource:Q21044355 ) ( resource:Q5364940 ) } } . ?j rdf:type ontology:Q15617994 }
Spain South Korea
Spain and South Korea are the countries of origin of Hidden Away or Super Junior and Sistar's Hello Baby
Spain South Korea
action filter_type
action union
action find
entity Hidden Away
relation country of origin
action find
entity Super Junior and Sistar's Hello Baby
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Hidden Away', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ["Super Junior and Sistar's Hello Baby", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?k property:country_of_origin ?j . VALUES ( ?k ) { ( resource:Hidden_Away ) ( resource:Super_Junior_and_Sistar's_Hello_Baby ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15428598 Q8692
P47 P27
Q1048835
USER
Which political territories are bordered by Bilbao or do August von Schmieden belong to ?
OR((Q8692,P47,c(Q1048835)), (Q15428598,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q8692
relation P47
action find
entity Q15428598
relation P27
type Q1048835
{'OR': [['Q8692', 'P47', {'concept': 'Q1048835'}], ['Q15428598', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q8692 property:P47 ?g } UNION { resource:Q15428598 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
August von Schmieden Bilbao
action filter_type
action union
action find
entity Bilbao
relation shares border with
action find
entity August von Schmieden
relation country of citizenship
type political territorial entity
{'OR': [['Bilbao', 'shares border with', {'concept': 'political territorial entity'}], ['August von Schmieden', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bilbao property:shares_border_with ?g } UNION { resource:August_von_Schmieden property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1227388 Q183 Q487801 Q283607 Q942025 Q765496 Q913272 Q927978
SYSTEM
Galdakao, Germany, Barakaldo, Arrigorriaga, Sondika, Basauri, Erandio, Alonsotegi
Q1227388 Q183 Q487801 Q283607 Q942025 Q765496 Q913272 Q927978
OR((Q8692,P47,c(Q1048835)), (Q15428598,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q8692
relation P47
action find
entity Q15428598
relation P27
type Q1048835
[ANSWERS] are bordered by Bilbao or do August von Schmieden belong to
{'OR': [['Q8692', 'P47', {'concept': 'Q1048835'}], ['Q15428598', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q8692 property:P47 ?g } UNION { resource:Q15428598 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Galdakao Germany Barakaldo Arrigorriaga Sondika Basauri Erandio Alonsotegi
Galdakao, Germany, Barakaldo, Arrigorriaga, Sondika, Basauri, Erandio and Alonsotegi are bordered by Bilbao or do August von Schmieden belong to
Galdakao Germany Barakaldo Arrigorriaga Sondika Basauri Erandio Alonsotegi
action filter_type
action union
action find
entity Bilbao
relation shares border with
action find
entity August von Schmieden
relation country of citizenship
type political territorial entity
{'OR': [['Bilbao', 'shares border with', {'concept': 'political territorial entity'}], ['August von Schmieden', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bilbao property:shares_border_with ?g } UNION { resource:August_von_Schmieden property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]