Simple Question (Direct)
Simple Question
Q5385901
P21
Q290
USER
Which sex does Eri Ishikawa possess ?
(Q5385901,P21,c(Q290))
action filter_type
action find
entity Q5385901
relation P21
type Q290
['Q5385901', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5385901 property:P21 ?i . ?i rdf:type ontology:Q290 }
Eri Ishikawa
action filter_type
action find
entity Eri Ishikawa
relation gender
type sex
['Eri Ishikawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Eri_Ishikawa property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5385901,P21,c(Q290))
action filter_type
action find
entity Q5385901
relation P21
type Q290
Eri Ishikawa possesses a [ANSWER]
['Q5385901', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5385901 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
Eri Ishikawa possesses a female
female
action filter_type
action find
entity Eri Ishikawa
relation gender
type sex
['Eri Ishikawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Eri_Ishikawa property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5385901
P106
Q12737077
USER
Which occupations have Eri Ishikawa as his/her 's career ?
(Q5385901,P106,c(Q12737077))
action filter_type
action find
entity Q5385901
relation P106
type Q12737077
['Q5385901', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5385901 property:P106 ?v }
Eri Ishikawa
action filter_type
action find
entity Eri Ishikawa
relation occupation
type occupation
['Eri Ishikawa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Eri_Ishikawa property:occupation ?v }
[]
occupation
Q488111 Q33999
SYSTEM
pornographic actor, actor
Q488111 Q33999
(Q5385901,P106,c(Q12737077))
action filter_type
action find
entity Q5385901
relation P106
type Q12737077
The [ANSWERS] have Eri Ishikawa as his/her 's career
['Q5385901', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5385901 property:P106 ?v }
pornographic actor actor
The pornographic actor and actor have Eri Ishikawa as his/her 's career
pornographic actor actor
action filter_type
action find
entity Eri Ishikawa
relation occupation
type occupation
['Eri Ishikawa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Eri_Ishikawa property:occupation ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5385901
P19
Q56061
USER
Which administrative territory was Eri Ishikawa born in ?
(Q5385901,P19,c(Q56061))
action filter_type
action find
entity Q5385901
relation P19
type Q56061
['Q5385901', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5385901 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Eri Ishikawa
action filter_type
action find
entity Eri Ishikawa
relation place of birth
type administrative territorial entity
['Eri Ishikawa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eri_Ishikawa property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q5385901,P19,c(Q56061))
action filter_type
action find
entity Q5385901
relation P19
type Q56061
Eri Ishikawa was born in [ANSWER]
['Q5385901', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5385901 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Tokyo
Eri Ishikawa was born in Tokyo
Tokyo
action filter_type
action find
entity Eri Ishikawa
relation place of birth
type administrative territorial entity
['Eri Ishikawa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Eri_Ishikawa property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q515 Q56061
USER
How many cities and administrative territories are twin towns of that administrative territory ?
(Q1490,P190,c(Q515)) (Q1490,P190,c(Q56061)) (Q1490,P190,c(Q515)) (Q1490,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q1490
relation P190
type Q515
action filter_type
action find
entity Q1490
relation P190
type Q56061
['Q1490', 'P190', {'concept': 'Q515'}] ['Q1490', 'P190', {'concept': 'Q56061'}] ['Q1490', 'P190', {'concept': 'Q515'}] ['Q1490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Q1490 property:P190 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q1490 property:P190 ?g . ?g rdf:type ontology:Q515 } }
action count
action union
action filter_type
action find
entity Tokyo
relation sister city
type city
action filter_type
action find
entity Tokyo
relation sister city
type administrative territorial entity
['Tokyo', 'sister city', {'concept': 'city'}] ['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}] ['Tokyo', 'sister city', {'concept': 'city'}] ['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Tokyo property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:Tokyo property:sister_city ?g . ?g rdf:type ontology:city } }
[]
city administrative territorial entity
SYSTEM
1 cities and 8 administrative territories
Q8684 Q3630 Q220 Q649 Q90 Q956 Q84 Q64 Q60
(Q1490,P190,c(Q515)) (Q1490,P190,c(Q56061)) (Q1490,P190,c(Q515)) (Q1490,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q1490
relation P190
type Q515
action filter_type
action find
entity Q1490
relation P190
type Q56061
[ANSWER]
['Q1490', 'P190', {'concept': 'Q515'}] ['Q1490', 'P190', {'concept': 'Q56061'}] ['Q1490', 'P190', {'concept': 'Q515'}] ['Q1490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Q1490 property:P190 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q1490 property:P190 ?g . ?g rdf:type ontology:Q515 } }
Seoul Jakarta Rome Moscow Paris Beijing London Berlin New York City
1 cities and 8 administrative territories
action count
action union
action filter_type
action find
entity Tokyo
relation sister city
type city
action filter_type
action find
entity Tokyo
relation sister city
type administrative territorial entity
['Tokyo', 'sister city', {'concept': 'city'}] ['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}] ['Tokyo', 'sister city', {'concept': 'city'}] ['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Tokyo property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:Tokyo property:sister_city ?g . ?g rdf:type ontology:city } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q501744
P138
Q1190554 Q2235308 Q56061
USER
How many administrative territories have lesser number of events or ship types as their namesake than Alert ?
(c(Q56061),P138,c(Q1190554)|c(Q2235308))
action count
action less
action union
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action find_tuple_counts
relation P138
type Q56061
type Q2235308
action count
action filter_multi_types
action find
entity Q501744
relation P138
type Q1190554
type Q2235308
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2235308 ) ( ontology:Q1190554 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q501744 property:P138 ?a . { { ?a rdf:type ontology:Q1190554 } UNION { ?a rdf:type ontology:Q2235308 } } } } . FILTER ( ?q < ?p ) }
Alert
action count
action less
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action find_tuple_counts
relation named after
type administrative territorial entity
type ship type
action count
action filter_multi_types
action find
entity Alert
relation named after
type event
type ship type
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'ship type'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:ship_type ) ( ontology:event ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Alert property:named_after ?a . { { ?a rdf:type ontology:event } UNION { ?a rdf:type ontology:ship_type } } } } . FILTER ( ?q < ?p ) }
[]
event ship type administrative territorial entity
SYSTEM
719
Q1510724 Q202736 Q5425343 Q923811 Q630597 Q1004791 Q1020592 Q1017362 Q2132 Q509541 Q2965897 Q1016100 Q1024892 Q585426 Q15273 Q567825 Q755425 Q1718 Q3028710 Q190583 Q146811 Q493378 Q574085 Q947001 Q1085963 Q2675898 Q23927055 Q786124 Q4849268 Q7947 Q155955 Q1152219 Q894 Q2058 Q2502173 Q891 Q2284698 Q1465092 Q18682600 Q34116 Q2291816 Q83178 Q21416521 Q157688 Q25923 Q102334 Q3844 Q6661068 Q11683189 Q963170 Q2583602 Q2786054 Q583161 Q1784180 Q534957 Q3805 Q3240441 Q2288 Q810678 Q732554 Q2247076 Q3481151 Q2768192 Q4217424 Q588 Q484678 Q196501 Q946227 Q4258240 Q1276943 Q2067514 Q2451306 Q19289482 Q6506 Q605113 Q989567 Q1309 Q2605640 Q1403187 Q2560090 Q606153 Q1018025 Q2403511 Q2890642 Q28539 Q2685999 Q4067724 Q1297086 Q323432 Q1829193 Q10690 Q18471262 Q959016 Q13648690 Q21999685 Q383434 Q208318 Q4116524 Q172575 Q1186226 Q167895 Q191642 Q131335 Q200917 Q3025889 Q124281 Q787828 Q13542193 Q2138 Q1120380 Q128306 Q15242553 Q2327293 Q1924796 Q1685683 Q172616 Q189295 Q9365 Q79439 Q3726467 Q90 Q2442973 Q976759 Q470638 Q48329 Q4231936 Q5646251 Q675049 Q12725121 Q970482 Q1963236 Q2267197 Q264605 Q6883436 Q160544 Q269222 Q5284497 Q5284494 Q2550212 Q2441471 Q13122 Q1930 Q1010188 Q18682030 Q516769 Q1212270 Q525007 Q5433196 Q2315713 Q568563 Q3030491 Q1020419 Q2310264 Q12077645 Q2280179 Q12077647 Q1000232 Q133310 Q58337 Q132679 Q365 Q1509463 Q2135060 Q676589 Q2583736 Q1410885 Q1253349 Q1144877 Q192235 Q2060859 Q2231797 Q116732 Q2786965 Q206954 Q3462820 Q2022921 Q746056 Q14218357 Q1871309 Q4792204 Q208445 Q2396415 Q913476 Q21186160 Q2104736 Q954186 Q16555 Q476835 Q1019187 Q516581 Q282540 Q1670366 Q2096672 Q393693 Q2132831 Q11899935 Q20593492 Q2459510 Q28260 Q13129608 Q153490 Q1027521 Q2531632 Q11870465 Q6661799 Q95041 Q852658 Q751594 Q1000172 Q874262 Q3112096 Q2305259 Q166065 Q1524 Q1043381 Q4454 Q128361 Q2549931 Q128244 Q2367586 Q155309 Q1904685 Q3396792 Q154785 Q196724 Q2995979 Q43463 Q2199406 Q16294796 Q990898 Q488987 Q2281401 Q970540 Q18659914 Q2231869 Q3239732 Q887 Q2082 Q2024923 Q2020113 Q906740 Q55669 Q1907325 Q852577 Q491462 Q2141 Q6178987 Q812722 Q37133 Q714650 Q6661272 Q3028745 Q746772 Q4813216 Q1620075 Q2899083 Q767177 Q3141 Q706032 Q814163 Q2031463 Q17151 Q11892363 Q5062771 Q431932 Q237 Q14706851 Q3566431 Q605267 Q567814 Q16559 Q614727 Q647 Q585186 Q23443 Q1763534 Q1656936 Q1019486 Q2405593 Q3130 Q10843471 Q932955 Q844091 Q7399833 Q198125 Q7592847 Q1866604 Q2294628 Q2545984 Q79863 Q1750681 Q690882 Q615136 Q2615624 Q3567822 Q484870 Q13129631 Q664723 Q606268 Q87 Q129452 Q733744 Q491132 Q965101 Q12980087 Q3053020 Q211463 Q10686 Q16274129 Q11901984 Q19289906 Q765823 Q1353744 Q48338 Q7225587 Q5112 Q525618 Q11892146 Q2199088 Q5239 Q1741 Q2190456 Q175161 Q268782 Q1735 Q666165 Q93910 Q2470571 Q5284547 Q966492 Q1434796 Q18242285 Q37320 Q642164 Q208000 Q284406 Q297853 Q5330523 Q49111 Q618495 Q17203393 Q2792756 Q806903 Q153609 Q153565 Q786611 Q16869 Q722396 Q5169909 Q175505 Q19289593 Q393619 Q174 Q60 Q1957 Q961248 Q932623 Q18602441 Q485699 Q823475 Q1144250 Q1659808 Q2198018 Q16648189 Q129461 Q746027 Q16660730 Q1878726 Q2003323 Q2324280 Q143697 Q3029834 Q858607 Q5032535 Q2266864 Q975843 Q2224902 Q3183 Q15241652 Q1158897 Q368727 Q2204179 Q14912 Q2722227 Q2211711 Q48273 Q1935682 Q10393380 Q105284 Q336350 Q196922 Q22669030 Q1176875 Q20593780 Q31990 Q3406126 Q3497036 Q956 Q196934 Q187346 Q4412287 Q5655 Q6226 Q99988 Q493025 Q3101185 Q34183 Q103850 Q2920311 Q1996519 Q157458 Q578758 Q51681 Q51685 Q2198333 Q5384 Q2324628 Q50816 Q2270295 Q17942 Q1021877 Q18419 Q953279 Q2455984 Q7110478 Q2770 Q6936566 Q574612 Q2174173 Q1982848 Q13652348 Q158357 Q5206 Q12131761 Q983538 Q2375558 Q1020484 Q2865259 Q20593327 Q3117041 Q5355318 Q895407 Q2840555 Q18161533 Q3047387 Q52998 Q3152900 Q1856529 Q11568 Q6377788 Q16658206 Q983832 Q16658203 Q1974434 Q501824 Q2496779 Q530191 Q961897 Q153549 Q54886 Q49219 Q979752 Q2380665 Q1010939 Q156717 Q4207520 Q2063327 Q3567118 Q3876 Q2523914 Q1829 Q1047189 Q340 Q2240740 Q175651 Q12093400 Q593141 Q4670000 Q2503080 Q1659154 Q2855406 Q6125153 Q457334 Q16015068 Q244025 Q1816203 Q631186 Q1112057 Q979938 Q6787277 Q3043 Q2732597 Q43070 Q24639 Q45604 Q2311761 Q1026175 Q3413067 Q1942643 Q315052 Q868869 Q2552887 Q463165 Q134279 Q652552 Q13035375 Q915 Q914 Q162933 Q1861097 Q2956038 Q6449092 Q188693 Q129449 Q3623803 Q196384 Q129447 Q743632 Q44016 Q44013 Q133123 Q744550 Q471969 Q197902 Q2540118 Q7438733 Q13640603 Q2272796 Q375185 Q7122288 Q1005623 Q663035 Q157469 Q2043530 Q223308 Q2919992 Q486860 Q2931074 Q5627 Q1026291 Q15982072 Q61 Q62 Q1937099 Q2080102 Q2857905 Q201125 Q105150 Q2636902 Q15552182 Q194067 Q1026838 Q670083 Q1025016 Q2018240 Q2621007 Q1297201 Q1014288 Q2271236 Q79588 Q5284526 Q2805272 Q2761467 Q2649977 Q982379 Q5261403 Q1002286 Q72380 Q4867888 Q956545 Q982372 Q855572 Q3025882 Q795623 Q498968 Q2483434 Q1929731 Q499169 Q270887 Q1818610 Q2215428 Q8076888 Q132832 Q5491176 Q11880386 Q2782963 Q2613390 Q4620106 Q3029792 Q10313 Q2434021 Q405550 Q1921069 Q3112125 Q3497234 Q641 Q40747 Q17486733 Q578669 Q727 Q134318 Q632687 Q867468 Q21181 Q187313 Q2879005 Q44059 Q40191 Q955151 Q20252340 Q2603127 Q276115 Q2464425 Q158292 Q79844 Q427543 Q2500115 Q727806 Q4361 Q633371 Q617602 Q2662899 Q203263 Q518189 Q2639307 Q5511175 Q104059 Q1380511 Q75008 Q34932 Q2650727 Q9003776 Q784496 Q2623928 Q6665662 Q1040 Q503652 Q575206 Q6421147 Q152491 Q870864 Q201243 Q5603908 Q14452 Q3400083 Q136383 Q100 Q19290903 Q2123 Q458 Q2127 Q2061265 Q3117008 Q3832 Q988751 Q18744510 Q3495314 Q856004 Q3002124 Q470481 Q60705 Q133116 Q991515 Q983438 Q3932 Q649 Q1002490 Q642894 Q3305212 Q2029779 Q2928449 Q2269699 Q513464 Q216 Q2278195 Q3077234 Q1007823 Q1187051 Q712567 Q661735 Q13972 Q208151 Q2081683 Q6096033 Q2688620 Q1943127 Q3028087 Q955115 Q1858372 Q1015690 Q339527 Q2388710 Q478029 Q886915 Q4336048 Q2997217 Q849292 Q79809 Q661559 Q1341 Q16106 Q1476342 Q146798 Q1016404 Q15241524 Q8052284 Q916603 Q103661 Q1013717 Q198210 Q2904899 Q198748 Q11873198 Q1849651 Q11901400 Q20205972 Q2757895 Q2503821 Q1758944
(c(Q56061),P138,c(Q1190554)|c(Q2235308))
action count
action less
action union
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action find_tuple_counts
relation P138
type Q56061
type Q2235308
action count
action filter_multi_types
action find
entity Q501744
relation P138
type Q1190554
type Q2235308
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2235308 ) ( ontology:Q1190554 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q501744 property:P138 ?a . { { ?a rdf:type ontology:Q1190554 } UNION { ?a rdf:type ontology:Q2235308 } } } } . FILTER ( ?q < ?p ) }
White Bird Littlefield FELDA L.B. Johnson New Amsterdam, Guyana Twijzelerheide Douglas Pulaski Mount Hagen Victoria Andrews Ermerveen King William's Town Robertsport Eesergroen Kirovsk Zuid-Beijerland Athens Düsseldorf Zuidlaarderveen Mikkeli Zanesville Culver City Strahan George Enescu Franklin Beetsterzwaag Karuma Falls Kosovo Polje Bakers Narrows Pushkin Kuybyshev Baker City Samara Whitehorse Maksyma Horkoho Nizhny Novgorod Munnekemoer New Bremen Saukkoriipi Thunder Bay Gheorghe Doja Almere Settlement of Sullivans Cove Lomonosov Longyearbyen Dmitrov Brazzaville Llanafan Fawr Ingeniero Adolfo Sourdeaux Humboldt Sint-Anna Valthermond Aranđelovac Doral Cleburne Amman Canistota Tver Bastrop Chavín de Huantar Barger-Compascuum Shackleton Mahbubnagar Cato Ridge Katowice Berkeley Suvorov Kermit Lenino Eamont Bridge Quesnel, British Columbia Onida Sztálinváros Varna Gosford Wooster Maastricht Gasselterboerveen Felipe Carrillo Puerto Athol Port Macquarie Vahdat St Arnaud Beit Berl Karrharde Pieterburen Anuchino Szentléránt Fairfield Gardner Cardiff San Lorenzo Amsterdam Taradei Llantrithyd Greater Sudbury Kaduna Daintree Neftegorsk Lincoln, New Zealand Kalamata São José dos Campos Sioux Falls Zaslawye Odoornerveen Antinopolis Aleksa Šantić C.A. Rosetti Fredericton Prescott Denton Llandeloy Kolderwolde Mora Jean Marie River Nefteyugansk Serov Dushanbe Athens I.L. Caragiale Paris Coal City Kountze Loyalist Mariehamn Konchanskoe-Suvorovskoe Hampton Lucy Flandreau Sarmizegetusa Nacogdoches Nieuwe Krim Blauwestad Humboldt Mitta Mitta Heraklion Buchanan, Liberia Braddon Bass De Bombay Dieverbrug Dendermonde Ottawa Scheemda Kivijärvi Faya-Largeau Máriabesnyő Kerrville Groenlandsekade Inkster Lincoln Nieuw-Dordrecht Madison Roderwolde Alexandru Odobescu Ushakovskoye Alexandru Odobescu Falcon Heights Volodarsk Banff Willemstad Cologne Vaishali Gas Szandaszőlős Lincolnville Pulaski Rókus Currie Ciudad del Este Nieuw-Beijerland Nieuw-Roden Nakovo Lincoln Kastoria Krasnogvardeyskoye, Stavropol Krai Burgemeester Beinsdorp Telečka Holbrook Ironton Qarakeçdi Vallejo Hornhuizen Albert Lea Kerekszenttamás Port McNeill Campbelltown Houston Givat Brenner Daireaux Baunatal Thompson Falls Tangipahoa Spangen Agioi Anargyroi Prins Alexander Vaalajärvi Llandeilo Graban Pesse Lincoln Llanbadarn Fynydd Kirov Ermelo Papagou Kauhajärvi Llantilio Pertholey Naberezhnye Chelny Bishop Preseka, Gornji Mihaljevec Pulaski Ladysmith Rotsterhaule Vegelinsoord Lelystad Athens Reimersholme Khabarovsk Odessa Haskerhorne Waco Sint Jacobiparochie Korolyov Naterij Melas Komsomolsk Tutayev Hull Fortaleza Haslam Stalinstadt Georgetown Türkmenbaşy Nieuw-Buinen Wharton Kauhajärvi Fort Ripley Sulphur Yekaterinburg St. John's Pooley Bridge Clay City Diósgyőr-Vasgyár Ny-Ålesund Laaghalerveen Carlsbad Anderson Halifax Jennings Bački Gračac Mariupol Obrenovac Llandyssil Eelderwolde Hantumhuizen Athanasios Diakos, Greece Hippos Sevenhill Kurchatov Melbourne Melton Beeville Santo Tomé Thessaloniki Sanginjoki General Berthelot Truth or Consequences Vatican City Mabbettsville Askio Geraldton Iron Mountain Austin Eexterveen Rennes Tweede Exloërmond Provo Açailândia Sáenz Peña Harper Drouwenermond Sydney Aarón Castellanos Scharsterbrug Calabar Sai Ying Pun Chkalovsk St Clether Livingstone, Zambia Oneida De Wilp Tskhinvali Rakovski Municipality Sint Philipsland Nederland Lincolnton Whitton Eisleben Llanfechell Henderson Port Lincoln Alexandria Snorum Filadelfia Santa Clarita Emory Flaten Emmer-Compascuum Agios Nikolaos Belfast Bergen Isakhanova Vuontisjärvi Dunapentele Augusta Vindelicorum Marconi Wireless Station Site Kayseri Pollards Point Adelaide Presidente Prudente Salpausselkä Dalerpeel Vladikavkaz Vienna Stawell Novomoskovsk Bady Bassitt Innsbruck Augusta Treverorum Novokuznetsk Pineia Lyons Lincoln, California Tamworth Beruniy Cleveland Beylagan Mahabalipuram José María Morelos Øresund Region Eastern Tickle Cambridge Aphrodisias Bajaszentistván Wijnjewoude Banning Kirovsk Kirovo-Chepetsk Püspökszentlászló Constantinople Dusti Cordeaux Heights Nolinsk Leninváros Ayia Trias, Cyprus São Paulo New York City Vologda Valentine Dauphin Island Benczúrfalva Stadskanaal Hall Hopetoun Imeni Poliny Osipenko Batadorp Yelizavetovka Hej Havelterberg Mindszent Willemsoord, Steenwijkerland Warner Robins Eexterzandvoort Kalininsk Kollumerzwaag Strijen Cann River Rotstergaast Kaufman Echtenerbrug Perth Busse Dampier Mátyásföld Llandeilo Saarlouis Creil Nitro Adamstown Kolkhozobod Wenceslao Escalante Bolgar Sokoto Usolye Máriaváros Mihail Kogălniceanu Llanddwywe San Saba Llantwit Fardre Kennedy Town Beijing Ussuriysk Constantine Bromma Kyrka Chernyakhovsk St Albans Gulpen Edson Uithuizermeeden Barrie Arsenyev Nordia Agia Varvara Leninogorsk Darien Charlotte Amalie Tempe Buweklooster Kirov Geesbrug Mississauga Dalerveen Haasts Bluff Clarens, Free State Brooklyn Sveti Petar, Ogulin Haulerwijk Oulu Tula Victor Larco Herrera Municipality New Braunfels Rhederbrug New Norfolk Nebo Marks Stavropol Mihai Eminescu Green River Rutherglen Satpayev Exloërveen Llanbadarn y Garreg Nigtevecht Electoral district of Daylesford Bowen Sint Annaparochie Russell Hill Eden Richmond Hill Amsterdam, Mpumalanga Alexander Bay, Northern Cape Darwin Oprișani Turgenevo Yazoo City Ruzhino Yodfat Elim Gasselternijveenschemond Nea Ionia Lincoln Kirovgrad Cuenca Irvine Post Mission Akhalgori Khmelnytskyi Kazakevichevo Roma Weiteveen Lilongwe Bethlehem, Groningen Kaliningrad Golovnino Montreal IJsselmonde Obninsk Vintilă Vodă Philip Acharnes Amsterdamscheveld Shahrixon Bonnerveen Jakhau Moncton Venyukovo Burnaby Presidente Bernardes Thomasville Jumilla Frieschepalen Mathinna Belmopan Nikola Tesla Donetsk Vancouver Kandahar Iron City Custer Jean-Jaurès Aberfeldy Nahe Harlingen Peizerwold Sault Ste. Marie Luhansk Dordrecht, Eastern Cape Luneburg, South Africa Perm Volgograd Amaliada Sint Nicolaasga Change Islands Kuybyshev Blantyre Snapp General Praporgescu Solikamsk Snipp Nieuw-Amsterdam, Drenthe Markham Vaughan Patras Belton Lille metropolis Chekalin Santo Tomé Scranton Banevurovo Damwâld Hanford Pacific Alliance New Berlin Lincoln Leninsk Oranjedorp New Amsterdam Kfar Zoharim Mountain View Termunterzijl Ulyanovsk Kant Colonia Calafia Washington, D.C. San Francisco Pierz Kraggenburg Anthedon Zrenjanin Biryuch Eagmaryp Tikhmenevo Serpukhov Kfar Malal Sveti Duh na Ostrem Vrhu Cooperstown Beech Grove Kreva Szentsimon Nea Vyssa Kootstertille Lincoln Franklin Ens Roderesch Peizermade Sherman Derby Donji Milanovac Kurchatov Bass Wildervank Dalhart Bükkszentlászló Poortugaal Oud-Beijerland Espargos Frederiksoord Ter Apelkanaal Tyler Lethbridge Lastoursville Souillac, Mauritius Ángel R. Cabada Budyonnovsk Franklin Maanselkä Nieuw-Balinge Tweede Valthermond Kərimbəyli Nij Altoenae Donostia/San Sebastián Lheebroek Suvorovo Meppen Nij Beets Motovilikhinsky City District Venice Pierre Llandeilo Abercywyn Albertfalva Amsterdam Gagarin Archer City Ciprian Porumbescu Fredericia Stanley Bagdad La Plata Hobart Butler Miguel Alemán Valdés Al-Malikiyah Grise Fiord Clay Kropyvnytskyi Stuttgart Stockholm metropolitan area Musselkanaal Kollumerpomp Curitiba Raseborg Palestine Surhuisterveen Athens Agostyán Mastichochoria Fyansford Asbest Gloversville Östra Torn Brisbane Gieterveen Hilario Ascasubi Victoria Bartlehiem Lockington Karlsruhe Malvinas Argentinas Mount Pulaski Klisurski Monastery Herzliya Lenauheim Slutsk Greenethorpe Easter Island Llanafan Zhukov Boston Pálhalma Regina European Union Charlottetown Perito Moreno Oranjewoud Bangui Lincoln City Llanfechan St Endellion C.A. Rosetti Crantock Amfissa Emmeloord Hamilton Canmore Douglas São Tomé Moscow New Bern Alumínio Young Lincolnton Burfjord White River Horiany Vilnius Natchitoches Forfjord Galyatető Svilojevo Artigas Szilasliget Tartu León Donnybrook Ivan Cankar, Maribor Nieuw-Beerta Seville Feanwâldsterwâl Kirawsk Exloërkijl Hastings Launceston Eerste Exloërmond Falmouth Blythe Ordzhonikidze Chkalovsk Pedro Juan Caballero Utqiaġvik Ambracia Tolyatti Eisenhüttenstadt Hell-Bourg Zanesfield Burketown Abrazheyevka Yeni yol, Shamkir Cody Apatity Hamtramck Shakhunya Beetgumermolen Engels Kuivasjärvi Nieuw-Weerdinge Vikajärvi Colonia Ángel Heladio Aguirre Rivero Vrouwenparochie Ouwster-Nijega Rottumeroog
719
action count
action less
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action find_tuple_counts
relation named after
type administrative territorial entity
type ship type
action count
action filter_multi_types
action find
entity Alert
relation named after
type event
type ship type
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'ship type'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?o WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:ship_type ) ( ontology:event ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Alert property:named_after ?a . { { ?a rdf:type ontology:event } UNION { ?a rdf:type ontology:ship_type } } } } . FILTER ( ?q < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q490
P840
Q56061 Q15416 Q838948
USER
Which administrative territories are the narrative locations of greater number of television programs or works of art than Milan ?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q490
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?x WHERE { { ?x rdf:type ontology:Q56061 . ?b rdf:type ontology:Q838948 . ?b property:P840 ?x } UNION { ?b property:P840 ?x . ?x rdf:type ontology:Q56061 . ?b rdf:type ontology:Q15416 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P840 resource:Q490 . { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } } } . FILTER ( ?t > ?p ) }
Milan
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Milan
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?x WHERE { { ?x rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:work_of_art . ?b property:narrative_location ?x } UNION { ?b property:narrative_location ?x . ?x rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:narrative_location resource:Milan . { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:television_program ) } } } } . FILTER ( ?t > ?p ) }
[]
administrative territorial entity television program work of art
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q1715 Q34804 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q210292 Q25286 Q25287 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q1050826 Q4093 Q3659 Q16563 Q8692 Q2656 Q10690 Q585 Q1425428 Q124739 Q1754 Q1022 Q90 Q101625 Q48320 Q80985 Q215646 Q1930 Q597 Q690 Q257536 Q22889 Q49272 Q12273 Q365 Q5836 Q12994 Q667268 Q33935 Q54140 Q180294 Q8818 Q16555 Q1335 Q1891 Q39121 Q9427 Q262483 Q186237 Q5083 Q23154 Q2567585 Q1489 Q209055 Q7094142 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q495 Q2044 Q36036 Q3703 Q208287 Q54212 Q23436 Q3141 Q3630 Q17151 Q237 Q25416 Q16559 Q16554 Q753121 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q1297 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q1748 Q169492 Q26881 Q84 Q85 Q128321 Q1737 Q37320 Q25390 Q214178 Q45301 Q25395 Q34863 Q72 Q71 Q178168 Q38022 Q174 Q172 Q270 Q2028 Q184587 Q208472 Q79985 Q49241 Q49243 Q472 Q1070 Q3590079 Q837165 Q41819 Q1861 Q5092 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q437 Q124539 Q387047 Q18419 Q1780 Q1781 Q690052 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q49149 Q1353 Q1352 Q1524 Q220 Q340 Q125434 Q494728 Q25230 Q612 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q915 Q985531 Q193082 Q1020373 Q23070 Q1659757 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q5813 Q12439 Q126148 Q23556 Q837478 Q184345 Q13362 Q6106 Q495373 Q10313 Q42810 Q49255 Q3640 Q641 Q727 Q649 Q41621 Q3483936 Q3358921 Q158119 Q79848 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q2751 Q41876 Q485186 Q42448 Q34647 Q1085
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q490
relation P840
type Q15416
type Q838948
[ANSWERS] are the narrative locations of greater number of television programs or works of art than Milan
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?x WHERE { { ?x rdf:type ontology:Q56061 . ?b rdf:type ontology:Q838948 . ?b property:P840 ?x } UNION { ?b property:P840 ?x . ?x rdf:type ontology:Q56061 . ?b rdf:type ontology:Q15416 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P840 resource:Q490 . { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } } } . FILTER ( ?t > ?p ) }
Hanover Albuquerque Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Yozgat Uppsala Gothenburg Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Palermo Cardiff Oslo Newcastle upon Tyne Tijuana Stockholm Stuttgart Paris Marrakesh Kōbe Fes Edo Ottawa Lisbon Delft Janesville Bath Chandler Gijón Cologne Toledo Bruges Nevada City Tel Aviv Salem Jaffa Valencia Houston Montevideo Bologna Leeds Timbuktu Deadwood Joensuu Seattle Bristol Dybbøl Mexico City Torquay Onllwyn Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Turin Florence Lviv Bamako Kauniainen Barnsley Edinburgh Melbourne Jakarta Thessaloniki Vatican City Stavanger Austin Denver Atacames Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Chicago Ascot Bloomington Havana Kazan Brighton Vienna Copenhagen Neukölln Helsingør London Cairo Midland Bregenz Cleveland Leeuwarden Nablus Trabzon Newark Oklahoma City Zürich Geneva Mitrovica St. Louis São Paulo Toronto Warsaw Verona Grand Rapids Bingöl Kodiak Lexington Riverside Sofia Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Baltimore Beijing Guatemala City Tokyo La Paz Barcelona El Paso Ljubljana Whitechapel Malibu Brooklyn Bratislava Budapest Trebinje Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Nantucket Delhi Chennai Athens Rome Montreal Port Elizabeth West Covina Guernsey Dubai Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Perm Tulkarm Svishtov Jindabyne Sneek Gimli Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Canary Islands Detroit Tangier Atlanta Sabinov Viña del Mar Ferrara Portland Visalia Donostia/San Sebastián Le Havre Tampa Ankara Venice Amsterdam Moscow Haifa Sils Maria Overschild Ramallah Southampton Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Baikonur The Hamptons Liège San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Siena Reims Key West Sheffield Johannesburg Prague
Prague, Zürich and Moscow are the narrative locations of greater number of television programs or works of art than Milan
Prague Zürich Moscow
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Milan
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?x WHERE { { ?x rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:work_of_art . ?b property:narrative_location ?x } UNION { ?b property:narrative_location ?x . ?x rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:television_program } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:narrative_location resource:Milan . { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:television_program ) } } } } . FILTER ( ?t > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q11592
P840
Q56061 Q15416 Q838948
USER
And also tell me about Sonoma?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q11592
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?t rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P840 resource:Q11592 . { { ?x rdf:type ontology:Q15416 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?k > ?u ) }
Sonoma
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Sonoma
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?v ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?t rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:narrative_location resource:Sonoma . { { ?x rdf:type ontology:television_program } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?k > ?u ) }
[]
administrative territorial entity television program work of art
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q1715 Q34804 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q210292 Q25286 Q25287 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q1050826 Q4093 Q3659 Q16563 Q8692 Q2656 Q10690 Q585 Q1425428 Q124739 Q1754 Q1022 Q90 Q101625 Q48320 Q80985 Q215646 Q1930 Q597 Q690 Q257536 Q22889 Q49272 Q12273 Q365 Q5836 Q12994 Q667268 Q33935 Q54140 Q180294 Q8818 Q16555 Q1335 Q1891 Q39121 Q9427 Q262483 Q186237 Q5083 Q23154 Q2567585 Q1489 Q209055 Q7094142 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q495 Q2044 Q36036 Q3703 Q208287 Q54212 Q23436 Q3141 Q3630 Q17151 Q237 Q25416 Q16559 Q16554 Q753121 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q1297 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q1748 Q169492 Q26881 Q84 Q85 Q128321 Q1737 Q37320 Q25390 Q214178 Q45301 Q25395 Q34863 Q72 Q71 Q178168 Q38022 Q174 Q172 Q270 Q2028 Q184587 Q208472 Q79985 Q49241 Q49243 Q472 Q1070 Q3590079 Q837165 Q41819 Q1861 Q5092 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q437 Q124539 Q387047 Q18419 Q1780 Q1781 Q690052 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q49149 Q1353 Q1352 Q1524 Q220 Q340 Q125434 Q494728 Q25230 Q612 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q915 Q985531 Q193082 Q1020373 Q23070 Q1659757 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q5813 Q12439 Q126148 Q23556 Q837478 Q184345 Q13362 Q6106 Q495373 Q10313 Q42810 Q49255 Q3640 Q641 Q727 Q649 Q41621 Q3483936 Q3358921 Q158119 Q79848 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q2751 Q41876 Q485186 Q42448 Q34647 Q1085
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q11592
relation P840
type Q15416
type Q838948
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?t rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P840 resource:Q11592 . { { ?x rdf:type ontology:Q15416 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?k > ?u ) }
Hanover Albuquerque Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Yozgat Uppsala Gothenburg Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Palermo Cardiff Oslo Newcastle upon Tyne Tijuana Stockholm Stuttgart Paris Marrakesh Kōbe Fes Edo Ottawa Lisbon Delft Janesville Bath Chandler Gijón Cologne Toledo Bruges Nevada City Tel Aviv Salem Jaffa Valencia Houston Montevideo Bologna Leeds Timbuktu Deadwood Joensuu Seattle Bristol Dybbøl Mexico City Torquay Onllwyn Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Turin Florence Lviv Bamako Kauniainen Barnsley Edinburgh Melbourne Jakarta Thessaloniki Vatican City Stavanger Austin Denver Atacames Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Chicago Ascot Bloomington Havana Kazan Brighton Vienna Copenhagen Neukölln Helsingør London Cairo Midland Bregenz Cleveland Leeuwarden Nablus Trabzon Newark Oklahoma City Zürich Geneva Mitrovica St. Louis São Paulo Toronto Warsaw Verona Grand Rapids Bingöl Kodiak Lexington Riverside Sofia Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Baltimore Beijing Guatemala City Tokyo La Paz Barcelona El Paso Ljubljana Whitechapel Malibu Brooklyn Bratislava Budapest Trebinje Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Nantucket Delhi Chennai Athens Rome Montreal Port Elizabeth West Covina Guernsey Dubai Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Perm Tulkarm Svishtov Jindabyne Sneek Gimli Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Canary Islands Detroit Tangier Atlanta Sabinov Viña del Mar Ferrara Portland Visalia Donostia/San Sebastián Le Havre Tampa Ankara Venice Amsterdam Moscow Haifa Sils Maria Overschild Ramallah Southampton Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Baikonur The Hamptons Liège San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Siena Reims Key West Sheffield Johannesburg Prague
Prague Zürich Moscow
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Sonoma
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?v ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?t rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:narrative_location resource:Sonoma . { { ?x rdf:type ontology:television_program } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?k > ?u ) }
[]