Simple Question (Direct)
Simple Question
Q1604199
P937
Q56061
USER
Which administrative territory is the work location of Helmut Seng ?
(Q1604199,P937,c(Q56061))
action filter_type
action find
entity Q1604199
relation P937
type Q56061
['Q1604199', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1604199 property:P937 ?j }
Helmut Seng
action filter_type
action find
entity Helmut Seng
relation work location
type administrative territorial entity
['Helmut Seng', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Helmut_Seng property:work_location ?j }
[]
administrative territorial entity
Q3834
SYSTEM
Konstanz
Q3834
(Q1604199,P937,c(Q56061))
action filter_type
action find
entity Q1604199
relation P937
type Q56061
[ANSWER] is the work location of Helmut Seng
['Q1604199', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1604199 property:P937 ?j }
Konstanz
Konstanz is the work location of Helmut Seng
Konstanz
action filter_type
action find
entity Helmut Seng
relation work location
type administrative territorial entity
['Helmut Seng', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Helmut_Seng property:work_location ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1604199
P21
Q290
USER
Which sex does Helmut Seng have ?
(Q1604199,P21,c(Q290))
action filter_type
action find
entity Q1604199
relation P21
type Q290
['Q1604199', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1604199 property:P21 ?o }
Helmut Seng
action filter_type
action find
entity Helmut Seng
relation gender
type sex
['Helmut Seng', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Helmut_Seng property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1604199,P21,c(Q290))
action filter_type
action find
entity Q1604199
relation P21
type Q290
Helmut Seng has a [ANSWER]
['Q1604199', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1604199 property:P21 ?o }
male
Helmut Seng has a male
male
action filter_type
action find
entity Helmut Seng
relation gender
type sex
['Helmut Seng', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Helmut_Seng property:gender ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7317573
Q290
USER
And what about Consort Ren Shunfei?
(Q7317573,P21,c(Q290))
action filter_type
action find
entity Q7317573
relation P21
type Q290
['Q7317573', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q7317573 property:P21 ?c . ?c rdf:type ontology:Q290 }
Consort Ren Shunfei
action filter_type
action find
entity Consort Ren Shunfei
relation gender
type sex
['Consort Ren Shunfei', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Consort_Ren_Shunfei property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7317573,P21,c(Q290))
action filter_type
action find
entity Q7317573
relation P21
type Q290
[ANSWER]
['Q7317573', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q7317573 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Consort Ren Shunfei
relation gender
type sex
['Consort Ren Shunfei', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Consort_Ren_Shunfei property:gender ?c . ?c rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q14524493 Q486972 Q56061
USER
Which administrative territories come from min number of terrains and human settlements ?
(c(Q56061),P138,c(Q14524493)|c(Q486972))
action argmin
action union
action find_tuple_counts
relation P138
type Q56061
type Q14524493
action find_tuple_counts
relation P138
type Q56061
type Q486972
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?d WHERE { { ?d property:P138 ?q . ?d rdf:type ontology:Q56061 . ?q rdf:type ontology:Q14524493 } UNION { ?d property:P138 ?q . ?d rdf:type ontology:Q56061 . ?q rdf:type ontology:Q486972 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?u WHERE { VALUES ( ?t ) { ( ontology:Q14524493 ) ( ontology:Q486972 ) } . ?x rdf:type ?t } GROUP BY ?u } . FILTER ( ?s = ?n ) }
action argmin
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type terrain
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'terrain'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?d WHERE { { ?d property:named_after ?q . ?d rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:terrain } UNION { ?d property:named_after ?q . ?d rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:human_settlement } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?u WHERE { VALUES ( ?t ) { ( ontology:terrain ) ( ontology:human_settlement ) } . ?x rdf:type ?t } GROUP BY ?u } . FILTER ( ?s = ?n ) }
[]
terrain human settlement administrative territorial entity
Q458 Q649 Q216
SYSTEM
European Union, Moscow, Vilnius
Q1510724 Q202736 Q5425343 Q923811 Q630597 Q1004791 Q1020592 Q1017362 Q2132 Q509541 Q2965897 Q1016100 Q1024892 Q585426 Q15273 Q567825 Q755425 Q1718 Q3028710 Q190583 Q146811 Q493378 Q574085 Q639408 Q947001 Q1085963 Q2675898 Q23927055 Q786124 Q4849268 Q7947 Q155955 Q1152219 Q894 Q2058 Q2502173 Q891 Q2284698 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 Q7974195 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 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 Q501744 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 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 Q2684131 Q49219 Q979752 Q2380665 Q1010939 Q156717 Q4207520 Q2063327 Q3567118 Q3876 Q2523914 Q1829 Q1047189 Q340 Q2240740 Q175651 Q12093400 Q593141 Q4670000 Q2503080 Q1659154 Q2855406 Q20933314 Q6125153 Q457334 Q16015068 Q244025 Q1816203 Q631186 Q1112057 Q979938 Q6787277 Q3043 Q2732597 Q43070 Q24639 Q45604 Q2311761 Q1026175 Q3413067 Q1942643 Q315052 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 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 Q3947651 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 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(Q14524493)|c(Q486972))
action argmin
action union
action find_tuple_counts
relation P138
type Q56061
type Q14524493
action find_tuple_counts
relation P138
type Q56061
type Q486972
[ANSWERS] come from min number of terrains and human settlements
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q14524493'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?d WHERE { { ?d property:P138 ?q . ?d rdf:type ontology:Q56061 . ?q rdf:type ontology:Q14524493 } UNION { ?d property:P138 ?q . ?d rdf:type ontology:Q56061 . ?q rdf:type ontology:Q486972 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?u WHERE { VALUES ( ?t ) { ( ontology:Q14524493 ) ( ontology:Q486972 ) } . ?x rdf:type ?t } GROUP BY ?u } . FILTER ( ?s = ?n ) }
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 Waterloo George Enescu Franklin Beetsterzwaag Karuma Falls Kosovo Polje Bakers Narrows Pushkin Kuybyshev Baker City Samara Whitehorse Maksyma Horkoho Nizhny Novgorod Munnekemoer 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 Waterloo 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 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 Alert 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 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 De Punt Irvine Post Mission Akhalgori Khmelnytskyi Kazakevichevo Roma Weiteveen Lilongwe Bethlehem, Groningen Kaliningrad Golovnino Montreal IJsselmonde Obninsk Vintilă Vodă Philip Acharnes Amsterdamscheveld Shahrixon Bonnerveen Itascatown Jakhau Moncton Venyukovo Burnaby Presidente Bernardes Thomasville Jumilla Frieschepalen Mathinna Belmopan Nikola Tesla Donetsk Vancouver Kandahar Iron City Custer Jean-Jaurès Aberfeldy Nahe 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 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 San Martino della Battaglia 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 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
European Union, Moscow and Vilnius come from min number of terrains and human settlements
European Union Moscow Vilnius
action argmin
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type terrain
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'terrain'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?d WHERE { { ?d property:named_after ?q . ?d rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:terrain } UNION { ?d property:named_after ?q . ?d rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:human_settlement } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?u WHERE { VALUES ( ?t ) { ( ontology:terrain ) ( ontology:human_settlement ) } . ?x rdf:type ?t } GROUP BY ?u } . FILTER ( ?s = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027429
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Ella ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027429
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?x property:P532 ?c . ?c rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2235308 } GROUP BY ?x } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:Q2235308 . resource:Q24027429 property:P532 ?j } } }
Ella
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Ella
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?x property:port_of_registry ?c . ?c rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:ship_type } GROUP BY ?x } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:ship_type . resource:Ella property:port_of_registry ?j } } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027429
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?x property:P532 ?c . ?c rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2235308 } GROUP BY ?x } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:Q2235308 . resource:Q24027429 property:P532 ?j } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Ella
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?b ) WHERE { ?x property:port_of_registry ?c . ?c rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:ship_type } GROUP BY ?x } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:ship_type . resource:Ella property:port_of_registry ?j } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P85
Q7725634
USER
Which is the national anthem of Moscow ?
(Q649,P85,c(Q7725634))
action filter_type
action find
entity Q649
relation P85
type Q7725634
['Q649', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?t WHERE { resource:Q649 property:P85 ?t . ?t rdf:type ontology:Q7725634 }
Moscow
action filter_type
action find
entity Moscow
relation anthem
type literary work
['Moscow', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?t WHERE { resource:Moscow property:anthem ?t . ?t rdf:type ontology:literary_work }
[]
literary work
Q2398452
SYSTEM
Moya Moskva
Q2398452
(Q649,P85,c(Q7725634))
action filter_type
action find
entity Q649
relation P85
type Q7725634
The national anthem of Moscow is [ANSWER]
['Q649', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?t WHERE { resource:Q649 property:P85 ?t . ?t rdf:type ontology:Q7725634 }
Moya Moskva
The national anthem of Moscow is Moya Moskva
Moya Moskva
action filter_type
action find
entity Moscow
relation anthem
type literary work
['Moscow', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?t WHERE { resource:Moscow property:anthem ?t . ?t rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P840
Q838948
USER
Which works of art have their setting located at that administrative territory ?
(c(Q838948),P840,Q2398452)
action filter_type
action find_reverse
entity Q649
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q2398452']
SELECT DISTINCT ?i WHERE { ?i property:P840 resource:Q649 . ?i rdf:type ontology:Q838948 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Moya Moskva']
SELECT DISTINCT ?i WHERE { ?i property:narrative_location resource:Moscow . ?i rdf:type ontology:work_of_art }
[]
work of art
Q205028 Q107226 Q156608
SYSTEM
Iron Man 2, The Bourne Ultimatum, The Bourne Supremacy
Q17363277 Q407184 Q16514509 Q380803 Q82949 Q4029298 Q924756 Q529053 Q1428430 Q2080262 Q83542 Q930936 Q3429263 Q628154 Q1124617 Q1327680 Q1444720 Q16045281 Q13806247 Q25820974 Q213411 Q19799118 Q3818573 Q223596 Q4491991 Q4193220 Q777739 Q4090322 Q902672 Q205028 Q903930 Q1962112 Q2995252 Q3032583 Q14948560 Q18758192 Q1045388 Q4985891 Q387638 Q1078365 Q24905490 Q514293 Q832514 Q4839311 Q14370516 Q252072 Q1630953 Q3574924 Q1542476 Q15270854 Q4364840 Q4189197 Q964657 Q156608 Q2028280 Q244999 Q107226 Q1983714 Q2528155 Q1200034 Q662342 Q691916 Q288645 Q503046 Q1122775 Q5467382 Q1212068 Q7939326 Q760989 Q915313 Q20982361 Q4165167 Q195576 Q925852 Q12654167 Q594307 Q1965544 Q2571534 Q4303906 Q13420173 Q53105 Q20051329 Q22953531 Q4155282 Q19742713 Q72276 Q4191989 Q3207829 Q17019453 Q5516100
(c(Q838948),P840,Q2398452)
action filter_type
action find_reverse
entity Q649
relation P840
type Q838948
[ANSWERS] have their setting located at that administrative territory
[{'concept': 'Q838948'}, 'P840', 'Q2398452']
SELECT DISTINCT ?i WHERE { ?i property:P840 resource:Q649 . ?i rdf:type ontology:Q838948 }
Kvadrat Air Force One Panfilov's 28 Men Aelita Rocky V The Ballad of Uhlans Police Academy: Mission to Moscow Day Watch Earth vs. the Flying Saucers Branded Resident Evil: Retribution Command Performance Blade Mission: Impossible – Ghost Protocol Condorman Skyjacked Destroy All Monsters Spooks: The Greater Good Child 44 Collector Cast Away Nevalyashka 2 Savoy Hotel 217 X-Men: First Class Treasure Raiders Goldengirl Ivan Vasilievich: Back to the Future Shadowboxing 3: Last Round Jack Ryan: Shadow Recruit Iron Man 2 RED 2 Stilyagi Tsar Dieci inverni Break Loose Prizrak Night Watch X-Men: Days of Future Past Rocky IV Undisputed II: Last Man Standing The Death of Stalin Red Heat The Fourth State Back in the USSR The Expendables 3 The Country of Deaf Hotel Lux The Envy of Gods Ivan the Terrible. Part I Nobody knows about sex A Captive in the Land Moscow Zero The Darkest Hour The Bourne Supremacy Everybody Dies but Me Walking the Streets of Moscow The Bourne Ultimatum Newsmakers Office Romance In Like Flint K-19: The Widowmaker Hitman G.I. Joe: The Rise of Cobra Andrei Rublev Comrade X Forbidden Territory Echelon Conspiracy Vodkaa, komisario Palmu Moscow on the Hudson Brigada Hardcore Henry The House I Live In 1612 The Steamroller and the Violin Eastern Drift Gorky Park Dangerous for Your Life! The Master and Margaret Moscow Heat Moscow Chill Moscow Does Not Believe in Tears Ivan the Terrible Mafia: The Game of Survival Down House Guardiens A Good Day to Die Hard Winter Evening in Gagra Möbius Our Kind of Traitor Fast & Furious 6
Iron Man 2, The Bourne Ultimatum and The Bourne Supremacy have their setting located at that administrative territory
Iron Man 2 The Bourne Ultimatum The Bourne Supremacy
action filter_type
action find_reverse
entity Moscow
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Moya Moskva']
SELECT DISTINCT ?i WHERE { ?i property:narrative_location resource:Moscow . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q205028 Q107226 Q156608
P1441
Q15619164
USER
Which abstract beings are featured in those works of art ?
(c(Q15619164),P1441,Q205028) (c(Q15619164),P1441,Q107226) (c(Q15619164),P1441,Q156608)
action filter_type
action find_reverse
entity prev_answer
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q205028'] [{'concept': 'Q15619164'}, 'P1441', 'Q107226'] [{'concept': 'Q15619164'}, 'P1441', 'Q156608']
SELECT DISTINCT ?d WHERE { ?d property:P1441 ?p . ?d rdf:type ontology:Q15619164 . VALUES ( ?p ) { ( resource:Q17363277 ) ( resource:Q407184 ) ( resource:Q16514509 ) } }
Iron Man 2 The Bourne Ultimatum The Bourne Supremacy
action filter_type
action find_reverse
entity prev_answer
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Iron Man 2'] [{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum'] [{'concept': 'abstract being'}, 'present in work', 'The Bourne Supremacy']
SELECT DISTINCT ?d WHERE { ?d property:present_in_work ?p . ?d rdf:type ontology:abstract_being . VALUES ( ?p ) { ( resource:Kvadrat ) ( resource:Air_Force_One ) ( resource:Panfilov's_28_Men ) } }
[]
abstract being
Q1059919 Q1059919 Q23895000
SYSTEM
Jason Bourne for 1st, 2nd, Pepper Potts for 3rd
Q23895000 Q1369292 Q1059919 Q7129195 Q1059919 Q7129195
(c(Q15619164),P1441,Q205028) (c(Q15619164),P1441,Q107226) (c(Q15619164),P1441,Q156608)
action filter_type
action find_reverse
entity prev_answer
relation P1441
type Q15619164
[ANSWERS]
[{'concept': 'Q15619164'}, 'P1441', 'Q205028'] [{'concept': 'Q15619164'}, 'P1441', 'Q107226'] [{'concept': 'Q15619164'}, 'P1441', 'Q156608']
SELECT DISTINCT ?d WHERE { ?d property:P1441 ?p . ?d rdf:type ontology:Q15619164 . VALUES ( ?p ) { ( resource:Q17363277 ) ( resource:Q407184 ) ( resource:Q16514509 ) } }
Pepper Potts Phil Coulson Jason Bourne Pamela Landy Jason Bourne Pamela Landy
Art Jason Bourne, Jason Bourne and Pepper Potts are featured in those works of art
Jason Bourne Jason Bourne Pepper Potts
action filter_type
action find_reverse
entity prev_answer
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Iron Man 2'] [{'concept': 'abstract being'}, 'present in work', 'The Bourne Ultimatum'] [{'concept': 'abstract being'}, 'present in work', 'The Bourne Supremacy']
SELECT DISTINCT ?d WHERE { ?d property:present_in_work ?p . ?d rdf:type ontology:abstract_being . VALUES ( ?p ) { ( resource:Kvadrat ) ( resource:Air_Force_One ) ( resource:Panfilov's_28_Men ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1059919
P674
Q2342494
USER
Which collectables are that abstract being a character of ?
(c(Q2342494),P674,Q1059919)
action filter_type
action find_reverse
entity Q1059919
relation P674
type Q2342494
[{'concept': 'Q2342494'}, 'P674', 'Q1059919']
SELECT DISTINCT ?x WHERE { ?x property:P674 resource:Q1059919 . ?x rdf:type ontology:Q2342494 }
Jason Bourne
action filter_type
action find_reverse
entity Jason Bourne
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Jason Bourne']
SELECT DISTINCT ?x WHERE { ?x property:characters resource:Jason_Bourne . ?x rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q1059919
SYSTEM
Did you mean Jason Bourne ?
Q1059919 Q1059919 Q23895000
(c(Q2342494),P674,Q1059919) (c(Q2342494),P674,Q1059919) (c(Q2342494),P674,Q23895000)
[ANSWER]
[{'concept': 'Q2342494'}, 'P674', 'Q1059919'] [{'concept': 'Q2342494'}, 'P674', 'Q1059919'] [{'concept': 'Q2342494'}, 'P674', 'Q23895000']
SELECT DISTINCT ?x WHERE { ?x property:P674 resource:Q1059919 . ?x rdf:type ontology:Q2342494 }
Jason Bourne Jason Bourne Pepper Potts
Did you mean Jason Bourne ?
Jason Bourne
[{'concept': 'collectable'}, 'characters', 'Jason Bourne'] [{'concept': 'collectable'}, 'characters', 'Jason Bourne'] [{'concept': 'collectable'}, 'characters', 'Pepper Potts']
SELECT DISTINCT ?x WHERE { ?x property:characters resource:Jason_Bourne . ?x rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P674,Q1059919)
[{'concept': 'Q2342494'}, 'P674', 'Q1059919']
[{'concept': 'collectable'}, 'characters', 'Jason Bourne']
[]
Q3222109 Q1319626 Q2743206
SYSTEM
The Bourne Sanction, The Bourne Legacy, The Bourne Betrayal
Q3222109 Q1319626 Q2743206 Q1190864 Q3224486 Q592078 Q779215
(c(Q2342494),P674,Q1059919)
action filter_type
action find_reverse
entity Q1059919
relation P674
type Q2342494
Of that abstract are being for [ANSWERS]
[{'concept': 'Q2342494'}, 'P674', 'Q1059919']
SELECT DISTINCT ?x WHERE { ?x property:P674 resource:Q1059919 . ?x rdf:type ontology:Q2342494 }
The Bourne Sanction The Bourne Legacy The Bourne Betrayal The Bourne Supremacy The Bourne Deception The Bourne Identity The Bourne Ultimatum
Of that abstract are being for The Bourne Sanction, The Bourne Legacy and The Bourne Betrayal
The Bourne Sanction The Bourne Legacy The Bourne Betrayal
action filter_type
action find_reverse
entity Jason Bourne
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Jason Bourne']
SELECT DISTINCT ?x WHERE { ?x property:characters resource:Jason_Bourne . ?x rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18407657 Q205028
P1441
Q6619679
USER
Which fictional humanoids are from the works of Iron Man 2 or Captain America: Civil War ?
OR((c(Q6619679),P1441,Q205028), (c(Q6619679),P1441,Q18407657))
action filter_type
action union
action find_reverse
entity Q205028
relation P1441
action find_reverse
entity Q18407657
relation P1441
type Q6619679
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q205028'], [{'concept': 'Q6619679'}, 'P1441', 'Q18407657']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q6619679 . { { ?b property:P1441 resource:Q205028 } UNION { ?b property:P1441 resource:Q18407657 } } }
Captain America: Civil War Iron Man 2
action filter_type
action union
action find_reverse
entity Iron Man 2
relation present in work
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Iron Man 2'], [{'concept': 'fictional humanoid'}, 'present in work', 'Captain America: Civil War']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:fictional_humanoid . { { ?b property:present_in_work resource:Iron_Man_2 } UNION { ?b property:present_in_work resource:Captain_America:_Civil_War } } }
[]
fictional humanoid
Q24068405 Q24068411 Q24068211 Q24073715 Q26761002 Q24068391 Q24073681 Q26758645 Q26759603 Q24068402
SYSTEM
Some of them are Expo Cop, Rebeka, U.S. Marshal, Hammer Expo Tech, Teenage Girl, Anton Vanko, Chess Roberts, MRI Tech, Woman in Lobby #2, Rebecca
Q26761002 Q24022542 Q24073725 Q24022098 Q23900407 Q26760993 Q23894967 Q26771620 Q26759592 Q24073696 Q24040958 Q24040968 Q26761640 Q23900364 Q26760328 Q26771631 Q23900437 Q24068355 Q26759584 Q26760312 Q26759589 Q26758893 Q26758890 Q26758896 Q26758894 Q26760944 Q24073681 Q24027376 Q26760976 Q26758884 Q24040935 Q26761595 Q24073715 Q26760979 Q24073719 Q24068411 Q26760974 Q24022345 Q24040742 Q24026688 Q24068252 Q24068383 Q24068387 Q24004885 Q26761615 Q26758873 Q26761610 Q26758877 Q23895063 Q23991694 Q26771605 Q24022457 Q24068405 Q24068402 Q24068241 Q26760321 Q23991129 Q24068397 Q23900446 Q24068391 Q24027486 Q26758863 Q26760561 Q26761607 Q26771595 Q26758865 Q23895076 Q24040913 Q24026703 Q26761024 Q23900470 Q26759603 Q26758859 Q23895040 Q26771565 Q24073665 Q24040949 Q23900377 Q26758645 Q26760999 Q23991271 Q23750571 Q24068218 Q24004905 Q24068211 Q24068213 Q24068214 Q26759605 Q26760988 Q26760337
OR((c(Q6619679),P1441,Q205028), (c(Q6619679),P1441,Q18407657))
action filter_type
action union
action find_reverse
entity Q205028
relation P1441
action find_reverse
entity Q18407657
relation P1441
type Q6619679
[ANSWERS] are from the works of Iron Man 2 or Captain America: Civil War
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q205028'], [{'concept': 'Q6619679'}, 'P1441', 'Q18407657']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q6619679 . { { ?b property:P1441 resource:Q205028 } UNION { ?b property:P1441 resource:Q18407657 } } }
Teenage Girl Wanda Maximoff / Scarlet Witch Jack Steve Rogers Christine Everhart Hero Merc #4 Tony Stark / Iron Man Super Soldier #4 Woman in Lobby #1 Strawberry Vendor FedEx Driver Karpov Zemo's Wife Ivan Vanko German Newscaster #2 Super Soldier #5 Senator Stern French Photographer Custodian Chinese Newscaster Funeral Director Raft Guard German Innkeeper Barge Man #2 Barge Man #1 Waiter (Lagos) Chess Roberts Thaddeus Ross Hero Merc #1 GSG9 Task Force Pilot Maria Stark UN Staffer Gibson Hammer Expo Tech Hero Merc #2 French Waiter Rebeka Secretary Ross's Aide Sam Wilson / Falcon Brock Rumlow / Crossbones Clint Barton / Hawkeye Russian Newscaster General Meade 10 Rings Gangster T'Challa / Black Panther Cultural Attaché Man at Kiosk Nurse GSG9 Task Force Gunner Natasha Romanoff / Black Widow Bucky Barnes / Winter Soldier Super Soldier #3 Zemo Expo Cop Rebecca Expo Fan German Newscaster #1 Peter Parker / Spider-Man AV Operator Howard Stark Anton Vanko Sharon Carter / Agent 13 Ayo Busboy (Lagos) Stark's Assistant Super Soldier #2 Attaché Justin Hammer Everett K. Ross Scott Lang / Ant-Man Dr. Broussard Happy Hogan Woman in Lobby #2 Vicar Jim Rhodes / War Machine Josef / Super Soldier #1 Bambi Arbogast Miriam Nick Fury MRI Tech M.I.T. Liaison May Parker Major Allen Security Force #2 T'Chaka U.S. Marshal Detective Lemieux Security Force #1 Delivery Truck Driver Hero Merc #3 News Reporter
Expo Cop, Rebeka, U.S. Marshal, Hammer Expo Tech, Teenage Girl, Anton Vanko, Chess Roberts, MRI Tech, Woman in Lobby #2 and Rebecca are from the works of Iron Man 2 or Captain America: Civil War
Expo Cop Rebeka U.S. Marshal Hammer Expo Tech Teenage Girl Anton Vanko Chess Roberts MRI Tech Woman in Lobby #2 Rebecca
action filter_type
action union
action find_reverse
entity Iron Man 2
relation present in work
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Iron Man 2'], [{'concept': 'fictional humanoid'}, 'present in work', 'Captain America: Civil War']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:fictional_humanoid . { { ?b property:present_in_work resource:Iron_Man_2 } UNION { ?b property:present_in_work resource:Captain_America:_Civil_War } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P157
Q6619679 Q95074
USER
Which fictional characters were assasinated by around 1 fictional humanoid ?
(c(Q95074),P157,c(Q6619679))
action approx
action find_tuple_counts
relation P157
type Q95074
type Q6619679
value 1
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { ?z property:P157 ?x . ?x rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q95074 } GROUP BY ?z } . FILTER ( ?q = 1 ) }
action approx
action find_tuple_counts
relation killed by
type fictional character
type fictional humanoid
value 1
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { ?z property:killed_by ?x . ?x rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:fictional_character } GROUP BY ?z } . FILTER ( ?q = 1 ) }
[]
fictional humanoid fictional character
Q2552079
SYSTEM
Tara Maclay
Q2552079
(c(Q95074),P157,c(Q6619679))
action approx
action find_tuple_counts
relation P157
type Q95074
type Q6619679
value 1
[ANSWER] was assasinated by around 1 fictional humanoid
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { ?z property:P157 ?x . ?x rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q95074 } GROUP BY ?z } . FILTER ( ?q = 1 ) }
Tara Maclay
Tara Maclay was assasinated by around 1 fictional humanoid
Tara Maclay
action approx
action find_tuple_counts
relation killed by
type fictional character
type fictional humanoid
value 1
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { ?z property:killed_by ?x . ?x rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:fictional_character } GROUP BY ?z } . FILTER ( ?q = 1 ) }
[]