Simple Question (Direct)
Simple Question
Q1233502
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Garry Walberg ?
(Q1233502,P27,c(Q15617994))
action filter_type
action find
entity Q1233502
relation P27
type Q15617994
['Q1233502', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1233502 property:P27 ?w }
Garry Walberg
action filter_type
action find
entity Garry Walberg
relation country of citizenship
type designation for an administrative territorial entity
['Garry Walberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Garry_Walberg property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1233502,P27,c(Q15617994))
action filter_type
action find
entity Q1233502
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Garry Walberg
['Q1233502', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1233502 property:P27 ?w }
United States of America
United States of America is the country of citizenship of Garry Walberg
United States of America
action filter_type
action find
entity Garry Walberg
relation country of citizenship
type designation for an administrative territorial entity
['Garry Walberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Garry_Walberg property:country_of_citizenship ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1233502
P734
Q82799
USER
Who has the surname Garry Walberg ?
(Q1233502,P734,c(Q82799))
action filter_type
action find
entity Q1233502
relation P734
type Q82799
['Q1233502', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q1233502 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Garry Walberg
action filter_type
action find
entity Garry Walberg
relation family name
type name
['Garry Walberg', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Garry_Walberg property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q16909620
SYSTEM
Walberg
Q16909620
(Q1233502,P734,c(Q82799))
action filter_type
action find
entity Q1233502
relation P734
type Q82799
[ANSWER] has the surname Garry [ANSWER]
['Q1233502', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q1233502 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Walberg
Walberg has the surname Garry Walberg
Walberg
action filter_type
action find
entity Garry Walberg
relation family name
type name
['Garry Walberg', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Garry_Walberg property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4528787
Q82799
USER
And how about Kim Byeong-jun?
(Q4528787,P734,c(Q82799))
action filter_type
action find
entity Q4528787
relation P734
type Q82799
['Q4528787', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q4528787 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Kim Byeong-jun
action filter_type
action find
entity Kim Byeong-jun
relation family name
type name
['Kim Byeong-jun', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Kim_Byeong-jun property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q13083721
SYSTEM
Kim
Q13083721
(Q4528787,P734,c(Q82799))
action filter_type
action find
entity Q4528787
relation P734
type Q82799
[ANSWER]
['Q4528787', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q4528787 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Kim
Kim
action filter_type
action find
entity Kim Byeong-jun
relation family name
type name
['Kim Byeong-jun', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Kim_Byeong-jun property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4528787
P19
Q515
USER
Which city is the place of birth of that person ?
(Q13083721,P19,c(Q515))
action filter_type
action find
entity Q4528787
relation P19
type Q515
['Q13083721', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q4528787 property:P19 ?s . ?s rdf:type ontology:Q515 }
Kim Byeong-jun
action filter_type
action find
entity Kim Byeong-jun
relation place of birth
type city
['Kim', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Kim_Byeong-jun property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(Q13083721,P19,c(Q515))
action filter_type
action find
entity Q4528787
relation P19
type Q515
[ANSWER] is the place of birth of that person
['Q13083721', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q4528787 property:P19 ?s . ?s rdf:type ontology:Q515 }
Seoul
Seoul is the place of birth of that person
Seoul
action filter_type
action find
entity Kim Byeong-jun
relation place of birth
type city
['Kim', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Kim_Byeong-jun property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8684
P159
Q43229
USER
Which organizations have their head office location at that city ?
(c(Q43229),P159,Q8684)
action filter_type
action find_reverse
entity Q8684
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q8684']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q8684 . ?g rdf:type ontology:Q43229 }
Seoul
action filter_type
action find_reverse
entity Seoul
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Seoul']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Seoul . ?g rdf:type ontology:organization }
[]
organization
Q162345 Q10854462 Q482539
SYSTEM
LG Electronics, CJ E&M, Fila, Inc.
Q795348 Q625531 Q7413176 Q5962598 Q15217100 Q326720 Q482665 Q490371 Q16169971 Q490601 Q12613632 Q6872554 Q492569 Q5122452 Q7497503 Q16148636 Q5017149 Q5422759 Q17062776 Q6684915 Q27300 Q6974864 Q5750217 Q7640259 Q6987076 Q7250716 Q5150442 Q7757478 Q492706 Q5012261 Q493094 Q11133743 Q5012265 Q494819 Q17062696 Q12624386 Q10854462 Q35349 Q152517 Q7388997 Q5930964 Q6433031 Q12621301 Q16174973 Q17684312 Q485718 Q6393042 Q10854819 Q5324709 Q18732955 Q7764629 Q5295918 Q489905 Q4048790 Q625654 Q5116282 Q17062450 Q16176298 Q4053571 Q18733887 Q4668069 Q8061510 Q2706638 Q221869 Q16258294 Q205601 Q488628 Q7410633 Q7392484 Q495088 Q624080 Q12611298 Q311636 Q12625035 Q625875 Q497534 Q6045102 Q482539 Q490787 Q11235888 Q17006101 Q486976 Q6431608 Q6431725 Q162345 Q488223 Q624012 Q492364 Q18142418 Q489238 Q6458449 Q7120034 Q11237686 Q16255907 Q492801 Q16935509 Q483006 Q491325 Q926965 Q12593747 Q489809 Q483914 Q13427192 Q5295832 Q283856 Q6388809 Q489243 Q7969237 Q483497 Q8072570 Q4501812 Q11081547 Q7232987 Q5962562 Q25907286 Q16935507 Q12606781 Q5962566 Q6431629 Q563007 Q3517277 Q5636021 Q2850205 Q4598999 Q5512689 Q492345 Q7410022 Q497382 Q7390664 Q497254 Q2998661 Q21500955 Q12599540 Q6822990 Q5089641 Q18636379 Q6684902 Q6684903 Q12620832 Q487230 Q185564 Q8051333 Q486923 Q17146251 Q494904 Q5582817 Q482767 Q4405124 Q1163129 Q12594201 Q490424 Q496538 Q5009977 Q22975313 Q6431680 Q6900500 Q497825 Q5609299 Q8055077 Q5962586 Q16171192 Q486332 Q16935511 Q3569879 Q16935513 Q490435 Q5101727 Q6326643 Q7586640 Q5322324 Q485952 Q7784422 Q489566 Q55931 Q375242 Q21451523 Q321772 Q7924226 Q17063483 Q6942640 Q484117 Q7102776 Q16172999 Q5518957 Q5264311 Q10854619 Q12618522
(c(Q43229),P159,Q8684)
action filter_type
action find_reverse
entity Q8684
relation P159
type Q43229
[ANSWERS]
[{'concept': 'Q43229'}, 'P159', 'Q8684']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q8684 . ?g rdf:type ontology:Q43229 }
Neowiz Standard Chartered Korea Samyang Food Hyundai Glovis Datzzang Lotte Hotels & Resorts Hancom E-mart LG Household & HealthCare Hana Financial Group ILDONG PHARMACEUTICAL CO.,LTD Mirae Asset Group Shilla Hotel Citibank Korea Shinhan BNP Paribas Asset Management Uniana Caffe Bene Eyedentity Games KT Kumho Rent A Car Lotte Confectionery Dong Woo Animation National Pension Service Hi-Living Sungwoo Automotive Nega Network Prospecs Com2uS The Plaza Hotel Seoul Samsung Fire & Marine Insurance CJ CGV Hankook Tire KeyEast CJ E&M Film Division CHB Bank Korea Institute for Advancement of Technology Hollys Coffee CJ E&M Kia Motors Hyundai Rotem SBS Medianet Penta Security Koscom A Twosome Place Etude House Kakao Soribada Keon-A Information Technology Co. Ltd SK Broadband EXR Ashley The Skin House Donghee automotive Lotte Department Store SK Energy Iconix Entertainment Chung Dahm Learning Hamchoon Women's Clinic Camp Mobile Zepetto Coffine Gurunaru Able Cosmetic Yuri International Sky Electronics SsangYong Motor Company Saehan Motors Oriental Brewery Open World Entertainment Samsung iMarketKorea SPC Group Gamevil Samsung Life Insurance Ediya Coffee Cowon Systems Hyundai Fomex Korea Yakult Hyundai Mobis Interpark Fila, Inc. Shinsegae Doosan Corporation Bookjam LG Chem Korea Coal Corporation Korea Tungsten Company LG Electronics Daelim Industrial GS Caltex Rush & Cash Tom N Toms STX Corporation LG Life Sciences POSRI Logi Entertainment Hyundai Engineering KTDS Mamonde LG Display Shinhan Financial Group GoPets Dream Tea Entertainment Hyundai Engineering and Construction Pyeonghwa Motors OpenNet Dongbu Steel iriver Kenca Samsung Heavy Industries WareValley Kukkiwon Zionex Export-Import Bank of Korea Woori Investment & Securities Posco Energy Hyundai Capital KollectionK Nature Republic Angel-in-us Hyundai Card Korea Financial Telecommunications & Clearings Institute CT&T United Telechips HS Ad Anivision 2001 Outlet G2R POSCO DAEWOO Samoo Architects & Engineers Pandora TV SK Communications Hyosung Samsung Engineering Korea Marine Transport Co. VIPS Metamining Cheil Worldwide Korea Internet Neutral Exchange Lotte Capital Lotte Card King Kong Entertainment Shinhan Bank S-Oil Yejeon Media Hyundai Merchant Marine SONGZIO Hanjin Shipping Good Neighbors Daewon C.I. Kumyoung Asadal Lotte Chemical Daewon Media Daewoo Electronics CDNetworks Hanjin KAL Korea Newswire MONITORAPP OCI Grimsaem Yonkang Foundation Hyundai Development Company Kumho Petrochemical Co. Korea Investment Corporation Laneige Wooyoungmi Tony Moly Hite Chips&Media KCC Corporation Ssangyong Engineering and Construction Eye Level Learning Pantos Logistics Thingsoft Andamiro Hyundai Motor Company Haksan Culture Company Genesis Motors Daewoo Veyond Partners STIC Investments Musicshake Woori Financial Group Orion Confectionery SPOTV Galleria Department Store Design and Arts Arcadia of Myungseung LG CNS China Factory
LG Electronics, CJ E&M and Fila, Inc. have their head office location at that city
LG Electronics CJ E&M Fila, Inc.
action filter_type
action find_reverse
entity Seoul
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Seoul']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Seoul . ?g rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q86536
P159
Q515 Q28640 Q1269299
USER
How many cities are the headquarters of approximately the same number of professions and business organizations located as Komae City ?
(c(Q28640)|c(Q1269299),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q86536
relation P159
type Q28640
type Q1269299
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P159 resource:Q86536 . { { ?r rdf:type ontology:Q1269299 } UNION { ?r rdf:type ontology:Q28640 } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?c WHERE { { ?z property:P159 ?c . ?z rdf:type ontology:Q28640 . ?c rdf:type ontology:Q515 } UNION { ?z property:P159 ?c . ?c rdf:type ontology:Q515 . ?z rdf:type ontology:Q1269299 } } GROUP BY ?c } }
Komae City
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Komae City
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:headquarters_location resource:Komae_City . { { ?r rdf:type ontology:type_of_business_entity } UNION { ?r rdf:type ontology:profession } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?c WHERE { { ?z property:headquarters_location ?c . ?z rdf:type ontology:profession . ?c rdf:type ontology:city } UNION { ?z property:headquarters_location ?c . ?c rdf:type ontology:city . ?z rdf:type ontology:type_of_business_entity } } GROUP BY ?c } }
[]
city profession type of business entity
SYSTEM
505
Q386691 Q944051 Q496702 Q3572 Q10127 Q643878 Q1711 Q10124 Q213278 Q841296 Q873835 Q3974 Q3870 Q34412 Q703158 Q835227 Q849439 Q11736 Q1000069 Q852018 Q318047 Q1000060 Q460835 Q60037 Q278877 Q857256 Q569907 Q217432 Q827041 Q86536 Q860647 Q686775 Q17042 Q4024 Q732851 Q499493 Q840888 Q10393 Q25282 Q609350 Q664895 Q41283 Q27860 Q3806 Q58401 Q3624 Q42651 Q209785 Q360326 Q58273 Q838652 Q68862 Q695895 Q43199 Q646818 Q335444 Q212494 Q385982 Q52607 Q766168 Q774952 Q2427117 Q392692 Q59173 Q273880 Q320943 Q734416 Q861246 Q985465 Q71266 Q846338 Q816728 Q696777 Q58570 Q1009095 Q653389 Q1019083 Q20934 Q41474 Q853821 Q57951 Q174091 Q59100 Q637913 Q734520 Q653372 Q38968 Q169127 Q622620 Q696388 Q3994 Q1000029 Q1017251 Q147738 Q1624 Q373023 Q1629 Q2135 Q43196 Q74957 Q653446 Q8131 Q362959 Q210493 Q3926 Q11462 Q3214 Q83786 Q23482 Q505208 Q605256 Q374477 Q5838 Q181276 Q16520 Q220445 Q3692 Q330409 Q317834 Q192271 Q58710 Q719 Q375651 Q69060 Q75961 Q3069 Q592065 Q19689 Q3104 Q389515 Q394453 Q175197 Q216077 Q2910 Q321778 Q535534 Q68695 Q461020 Q507846 Q375097 Q695930 Q9085 Q5088 Q178878 Q390413 Q203027 Q331577 Q4348183 Q179608 Q1467 Q1461 Q213263 Q425492 Q2865 Q851411 Q607625 Q13630 Q57719 Q496072 Q198370 Q73073 Q1000073 Q12245 Q117676 Q16959 Q386635 Q194087 Q10389 Q30340 Q23430 Q291745 Q629849 Q986070 Q4346 Q515573 Q8854 Q1362 Q838660 Q243859 Q8247 Q694308 Q646805 Q182378 Q235 Q188082 Q1889017 Q161176 Q79535 Q460829 Q167668 Q1519 Q270704 Q167109 Q2509609 Q459787 Q15734 Q209683 Q163888 Q207030 Q207408 Q877941 Q316841 Q6602 Q873583 Q237699 Q1757191 Q1209 Q3904 Q330007 Q1936067 Q615138 Q373101 Q14819 Q5285 Q14182 Q75026 Q104036 Q693237 Q72990 Q7568 Q44244 Q92324 Q657642 Q1000033 Q694317 Q2100 Q502486 Q56759 Q1731 Q43433 Q641491 Q7027 Q57931 Q3857 Q426130 Q3859 Q606212 Q155975 Q242108 Q3915 Q75110 Q460812 Q665097 Q174461 Q385591 Q1017806 Q17182 Q124375 Q2180 Q392624 Q75203 Q239597 Q850332 Q861621 Q177149 Q389562 Q850344 Q62723 Q496319 Q820496 Q646834 Q3185 Q427557 Q844138 Q8652 Q423371 Q820725 Q3004 Q2092152 Q740853 Q645567 Q207876 Q384926 Q2978 Q860659 Q385779 Q518992 Q34261 Q1953 Q373564 Q137271 Q1010158 Q1475 Q1473 Q658058 Q1773 Q1852569 Q1478 Q14821 Q824009 Q817965 Q3958 Q57970 Q3955 Q198266 Q425415 Q6829 Q8156 Q14440 Q404599 Q42007 Q1379299 Q1858 Q1854 Q1856 Q3787 Q497341 Q844052 Q916156 Q4007 Q242874 Q694154 Q7070 Q3826 Q492366 Q696407 Q58210 Q182852 Q214942 Q68481 Q838672 Q374511 Q4174 Q847565 Q386651 Q317847 Q1826 Q200077 Q47916 Q80484 Q58576 Q328605 Q71247 Q75336 Q1508 Q326956 Q243293 Q3126 Q571051 Q3042 Q157835 Q3046 Q594275 Q368929 Q2936 Q372791 Q463171 Q502407 Q170454 Q211243 Q210661 Q736897 Q217698 Q386322 Q187861 Q207311 Q3852 Q485581 Q485583 Q869027 Q206872 Q390792 Q5972 Q1720 Q1721 Q1643 Q1645 Q329996 Q11443 Q855059 Q7033 Q57906 Q11444 Q3866 Q34405 Q3861 Q496405 Q1723 Q2844 Q11725 Q208863 Q427265 Q470369 Q1863 Q2209 Q2200 Q533241 Q359990 Q16506 Q1013864 Q76010 Q999916 Q633996 Q185684 Q59095 Q72778 Q360235 Q3167 Q183584 Q187136 Q5869 Q508591 Q570937 Q59223 Q328651 Q17189 Q830411 Q1019675 Q851680 Q740863 Q75091 Q3014 Q634022 Q189823 Q242882 Q40626 Q242885 Q146317 Q825166 Q502209 Q5784 Q273798 Q187821 Q270814 Q20921 Q107401 Q57944 Q986082 Q189761 Q189769 Q57948 Q2795 Q236197 Q72877 Q954569 Q57866 Q2880 Q488134 Q2706 Q132997 Q184998 Q5217 Q696643 Q269634 Q285488 Q819603 Q851155 Q210628 Q158523 Q168648 Q3838 Q850676 Q551658 Q20073 Q990352 Q3935 Q7003 Q3936 Q3931 Q3933 Q3919 Q3751 Q59218 Q3200 Q3616 Q696412 Q844852 Q41278 Q171943 Q1205932 Q823927 Q386661 Q1019956 Q386668 Q25475 Q523956 Q328619 Q786762 Q4060 Q71339 Q542154 Q1533 Q1530 Q733979 Q508670 Q66485 Q58422 Q2900 Q857285 Q58584 Q1000101 Q842923 Q92277 Q80989 Q59132 Q873596 Q329754 Q721163 Q390817 Q207309 Q187812 Q125604 Q2999 Q16666 Q1088790
(c(Q28640)|c(Q1269299),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q86536
relation P159
type Q28640
type Q1269299
[ANSWER]
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P159 resource:Q86536 . { { ?r rdf:type ontology:Q1269299 } UNION { ?r rdf:type ontology:Q28640 } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?c WHERE { { ?z property:P159 ?c . ?z rdf:type ontology:Q28640 . ?c rdf:type ontology:Q515 } UNION { ?z property:P159 ?c . ?c rdf:type ontology:Q515 . ?z rdf:type ontology:Q1269299 } } GROUP BY ?c } }
Niiza City Horní Jiřetín Goshogawara Tunis Tangerang Settsu Potsdam Cilegon Kodaira Příbram Tomioka Landshut Nairobi Foshan Velké Meziříčí Ineu Kopřivnice Tianjin Lovosice Izumisano Narashino Humpolec Marugame Zalaegerszeg Český Těšín Hasuda Baotou Port Harcourt Beroun Komae City Seki Fuchū Oakland Frankfurt (Oder) Mioveni Seto Ina Bogor Danang Kawanishi Uherský Brod Gwangju Jayapura Tübingen Shijiazhuang Addis Ababa Wuxi Ichikawa Tongling Taizhou Nakano Longyan Urasoe Omaha Towada Itami Akishima City Herend Mar del Plata Nagykáta Matsubara Mníšek pod Brdy Šumperk Huizhou Beppu Matsudo Tsuruoka Nagaokakyō Rakovník Yichang Suwa Kyōtanabe Nisshin Handan Otrokovice Nobeoka Napajedla Incheon Kingstown Mizunami Marienberg Changsha Shantou Tōgane Isehara Higashihiroshima Liuzhou Chitila Tōkai Toyooka Kempten Kraslice Nová Paka Saint Helier Pasig Weihai Zamboanga City Winnipeg Cincinnati Anshan Tsuchiura Palembang Xinyu Yantai Pretoria Surabaya Cottbus Shimla Marseille Ouarzazate Shimada Ashikaga Kabul Szolnok Busan Kuching Riyadh Ústí nad Orlicí Kokubunji City Guiyang Langfang Saginaw Valašské Meziříčí Xining Biñan Bottrop Ginowan Tirana Koblenz Kariya Žďár nad Sázavou Kunovice Jiujiang Ludwigshafen Hodonín Hohhot Quanzhou Imabari Sebiș Tiszaújváros Hirakawa Mandaluyong Durgapur Békéscsaba Tomakomai Tsu Abrud Athkatla Nanning Cebu City Manila Tama City Luzhou Kassel Imizu Tamási Olbia Xuzhou Fujinomiya Zibo Yuncheng Pelhřimov Stanley Viseu Ürümqi Hikone Hirosaki Bandung Zhengzhou Ulaanbaatar Ílhavo Hatvan Chrudim Waren (Müritz) Hanzhong Las Piñas Islamabad Chino Abiko Biratnagar Habikino Nanto Putrajaya Monaco Český Krumlov Mandaue Fukushima Fort Smith Matsusaka Liepāja Abu Dhabi Třebíč Eger Sunchales Iloilo City Izumi Tokoname Ageo Ziyang Vác Echizen Karlovo Strasbourg Kashiwara Aizuwakamatsu Krásná Lípa Free Hanseatic City of Bremen Mbabane Kunitachi City Smržovka Soběslav Rizhao Freiberg Tarlac Banjarmasin Fushun Ventspils Chitose Jincheng Yogyakarta Santa Fe Tonghua Villány Lanškroun Chōshi Duisburg Mobara Olongapo Dresden Chandigarh Kakamigahara Straubing Taizhou Wilhelmshaven Mianyang Kigali Fremantle Kutná Hora Otaru Antananarivo Dandong Naruto Minoh Ranchi Ōmura Nové Sedlo Parañaque Hódmezővásárhely Malolos Štětí Liaoyang Neratovice Tagawa Nankoku Obihiro Inazawa Sakado General Trias Kashihara Kōnan Asaka Hildesheim Ya'an Ryūgasaki Miami Ștei Nayoro Ingolstadt Velešín Szigetszentmiklós Törökbálint Yamaguchi Ōgaki Regensburg Gyōda Tendō Călan Port-au-Prince Yerevan Liaocheng Kota Kinabalu Letohrad Quezon City Davao City Wakō City Riga Týnec nad Sázavou Caloocan Coburg Sayama Ikeda Neubrandenburg Changzhou Weimar Zhuzhou Panzhihua Speyer Bandar Lampung Iquique Luohe Szombathely Smyrna Hanoi Ho Chi Minh City Malaybalay Abuja Xianyang Nakatsugawa Ghimbav Rosenheim Koganei City Moriguchi Eisenach Muscat Norden Hakusan Jinhua Kunming Kazincbarcika Fuzhou Okaya Oyama Emden Hanyū City Iwata Inagi Tagbilaran Morioka Lucknow Patna Xingtai Iizuka Jingzhou Chaoyang Makati Uji Sekondi-Takoradi Erlangen Tsubame Offenbach am Main Zaporizhzhya Pforzheim General Santos Jindřichův Hradec Oldenburg Jining Handa Kiyosu Agartala Yinchuan Musashino Hatsukaichi Weifang Ōtawara Wollongong Suzuka Worms Aveiro Anan Tsurugashima Ajka Kanuma Medan Mainz Wiesbaden Taguig Cagayan de Oro Ōdate Kediri Sakaide Nordhausen Yangzhou Madiun Dodoma Jingdezhen Doha Qujing Batangas City Brasília Chongqing Hachiōji City Yibin Kolín Andorra la Vella Roxas Tuguegarao Shimotsuma Wuhu České Budějovice Hluk Santa Rosa Vysoké Mýto Kameoka Hefei Zhuhai Taiyuan Ma'anshan Siegen Lanzhou Luoyang Lhasa Police nad Metují Ordos City Zhongshan Yachiyo Pasay Körmend Nové Město nad Metují Kazo Česká Lípa Benxi Wolfsburg Kiryū Haikou Nishi-Tōkyō City Tacloban Mitaka City Veszprém Izumo Hōfu Lhokseumawe Narita Tatabánya Ishinomaki Daejeon Sivas Annaberg-Buchholz Litvínov Szekszárd Salgótarján Aue Chemnitz Hino City Datong Vyškov Yancheng Hamm Ontario Bremerhaven Florianópolis Kaposvár Bacolod Kashiba Tachikawa City Iligan Munakata Kasai Machida City Ehingen Sopron Kinshasa Blansko Vila Nova de Famalicão Hohenstein-Ernstthal Kizugawa Windhoek Dijon Bamberg Brandenburg an der Havel Celle Gaborone Praia Dongguan Salzgitter Tehran Izumi Ueda Ulsan Nanchang Takizawa Higashine Fujisawa Moravské Budějovice Daitō Batumi Auerbach in der Oberpfalz Noda Hroznětín Hürth Xiaogan Koronadal Caracas Baghdad Eniwa Chișineu-Criș Jaipur Tangshan Quito Kitamoto Baoding Vlašim Pomáz Jilin City Bhopal Jiangmen Niimi Kiyose City Itō Ichinoseki Tokushima Dunaújváros Găești Würzburg Nanjing Zsámbék
505
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Komae City
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:headquarters_location resource:Komae_City . { { ?r rdf:type ontology:type_of_business_entity } UNION { ?r rdf:type ontology:profession } } } } . FILTER ( ?w = ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?c WHERE { { ?z property:headquarters_location ?c . ?z rdf:type ontology:profession . ?c rdf:type ontology:city } UNION { ?z property:headquarters_location ?c . ?c rdf:type ontology:city . ?z rdf:type ontology:type_of_business_entity } } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q74957
P159
Q515 Q28640 Q1269299
USER
And what about Anshan?
(c(Q28640)|c(Q1269299),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q74957
relation P159
type Q28640
type Q1269299
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:Q28640 ) ( ontology:Q1269299 ) } } . ?t property:P159 resource:Q74957 } } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { { ?z property:P159 ?x . ?z rdf:type ontology:Q28640 . ?x rdf:type ontology:Q515 } UNION { ?x rdf:type ontology:Q515 . ?z rdf:type ontology:Q1269299 . ?z property:P159 ?x } } GROUP BY ?x } }
Anshan
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Anshan
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:profession ) ( ontology:type_of_business_entity ) } } . ?t property:headquarters_location resource:Anshan } } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { { ?z property:headquarters_location ?x . ?z rdf:type ontology:profession . ?x rdf:type ontology:city } UNION { ?x rdf:type ontology:city . ?z rdf:type ontology:type_of_business_entity . ?z property:headquarters_location ?x } } GROUP BY ?x } }
[]
city profession type of business entity
SYSTEM
505
Q386691 Q944051 Q496702 Q3572 Q10127 Q643878 Q1711 Q10124 Q213278 Q841296 Q873835 Q3974 Q3870 Q34412 Q703158 Q835227 Q849439 Q11736 Q1000069 Q852018 Q318047 Q1000060 Q460835 Q60037 Q278877 Q857256 Q569907 Q217432 Q827041 Q86536 Q860647 Q686775 Q17042 Q4024 Q732851 Q499493 Q840888 Q10393 Q25282 Q609350 Q664895 Q41283 Q27860 Q3806 Q58401 Q3624 Q42651 Q209785 Q360326 Q58273 Q838652 Q68862 Q695895 Q43199 Q646818 Q335444 Q212494 Q385982 Q52607 Q766168 Q774952 Q2427117 Q392692 Q59173 Q273880 Q320943 Q734416 Q861246 Q985465 Q71266 Q846338 Q816728 Q696777 Q58570 Q1009095 Q653389 Q1019083 Q20934 Q41474 Q853821 Q57951 Q174091 Q59100 Q637913 Q734520 Q653372 Q38968 Q169127 Q622620 Q696388 Q3994 Q1000029 Q1017251 Q147738 Q1624 Q373023 Q1629 Q2135 Q43196 Q74957 Q653446 Q8131 Q362959 Q210493 Q3926 Q11462 Q3214 Q83786 Q23482 Q505208 Q605256 Q374477 Q5838 Q181276 Q16520 Q220445 Q3692 Q330409 Q317834 Q192271 Q58710 Q719 Q375651 Q69060 Q75961 Q3069 Q592065 Q19689 Q3104 Q389515 Q394453 Q175197 Q216077 Q2910 Q321778 Q535534 Q68695 Q461020 Q507846 Q375097 Q695930 Q9085 Q5088 Q178878 Q390413 Q203027 Q331577 Q4348183 Q179608 Q1467 Q1461 Q213263 Q425492 Q2865 Q851411 Q607625 Q13630 Q57719 Q496072 Q198370 Q73073 Q1000073 Q12245 Q117676 Q16959 Q386635 Q194087 Q10389 Q30340 Q23430 Q291745 Q629849 Q986070 Q4346 Q515573 Q8854 Q1362 Q838660 Q243859 Q8247 Q694308 Q646805 Q182378 Q235 Q188082 Q1889017 Q161176 Q79535 Q460829 Q167668 Q1519 Q270704 Q167109 Q2509609 Q459787 Q15734 Q209683 Q163888 Q207030 Q207408 Q877941 Q316841 Q6602 Q873583 Q237699 Q1757191 Q1209 Q3904 Q330007 Q1936067 Q615138 Q373101 Q14819 Q5285 Q14182 Q75026 Q104036 Q693237 Q72990 Q7568 Q44244 Q92324 Q657642 Q1000033 Q694317 Q2100 Q502486 Q56759 Q1731 Q43433 Q641491 Q7027 Q57931 Q3857 Q426130 Q3859 Q606212 Q155975 Q242108 Q3915 Q75110 Q460812 Q665097 Q174461 Q385591 Q1017806 Q17182 Q124375 Q2180 Q392624 Q75203 Q239597 Q850332 Q861621 Q177149 Q389562 Q850344 Q62723 Q496319 Q820496 Q646834 Q3185 Q427557 Q844138 Q8652 Q423371 Q820725 Q3004 Q2092152 Q740853 Q645567 Q207876 Q384926 Q2978 Q860659 Q385779 Q518992 Q34261 Q1953 Q373564 Q137271 Q1010158 Q1475 Q1473 Q658058 Q1773 Q1852569 Q1478 Q14821 Q824009 Q817965 Q3958 Q57970 Q3955 Q198266 Q425415 Q6829 Q8156 Q14440 Q404599 Q42007 Q1379299 Q1858 Q1854 Q1856 Q3787 Q497341 Q844052 Q916156 Q4007 Q242874 Q694154 Q7070 Q3826 Q492366 Q696407 Q58210 Q182852 Q214942 Q68481 Q838672 Q374511 Q4174 Q847565 Q386651 Q317847 Q1826 Q200077 Q47916 Q80484 Q58576 Q328605 Q71247 Q75336 Q1508 Q326956 Q243293 Q3126 Q571051 Q3042 Q157835 Q3046 Q594275 Q368929 Q2936 Q372791 Q463171 Q502407 Q170454 Q211243 Q210661 Q736897 Q217698 Q386322 Q187861 Q207311 Q3852 Q485581 Q485583 Q869027 Q206872 Q390792 Q5972 Q1720 Q1721 Q1643 Q1645 Q329996 Q11443 Q855059 Q7033 Q57906 Q11444 Q3866 Q34405 Q3861 Q496405 Q1723 Q2844 Q11725 Q208863 Q427265 Q470369 Q1863 Q2209 Q2200 Q533241 Q359990 Q16506 Q1013864 Q76010 Q999916 Q633996 Q185684 Q59095 Q72778 Q360235 Q3167 Q183584 Q187136 Q5869 Q508591 Q570937 Q59223 Q328651 Q17189 Q830411 Q1019675 Q851680 Q740863 Q75091 Q3014 Q634022 Q189823 Q242882 Q40626 Q242885 Q146317 Q825166 Q502209 Q5784 Q273798 Q187821 Q270814 Q20921 Q107401 Q57944 Q986082 Q189761 Q189769 Q57948 Q2795 Q236197 Q72877 Q954569 Q57866 Q2880 Q488134 Q2706 Q132997 Q184998 Q5217 Q696643 Q269634 Q285488 Q819603 Q851155 Q210628 Q158523 Q168648 Q3838 Q850676 Q551658 Q20073 Q990352 Q3935 Q7003 Q3936 Q3931 Q3933 Q3919 Q3751 Q59218 Q3200 Q3616 Q696412 Q844852 Q41278 Q171943 Q1205932 Q823927 Q386661 Q1019956 Q386668 Q25475 Q523956 Q328619 Q786762 Q4060 Q71339 Q542154 Q1533 Q1530 Q733979 Q508670 Q66485 Q58422 Q2900 Q857285 Q58584 Q1000101 Q842923 Q92277 Q80989 Q59132 Q873596 Q329754 Q721163 Q390817 Q207309 Q187812 Q125604 Q2999 Q16666 Q1088790
(c(Q28640)|c(Q1269299),P159,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q74957
relation P159
type Q28640
type Q1269299
[ANSWER]
[[{'concept': 'Q28640'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:Q28640 ) ( ontology:Q1269299 ) } } . ?t property:P159 resource:Q74957 } } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { { ?z property:P159 ?x . ?z rdf:type ontology:Q28640 . ?x rdf:type ontology:Q515 } UNION { ?x rdf:type ontology:Q515 . ?z rdf:type ontology:Q1269299 . ?z property:P159 ?x } } GROUP BY ?x } }
Niiza City Horní Jiřetín Goshogawara Tunis Tangerang Settsu Potsdam Cilegon Kodaira Příbram Tomioka Landshut Nairobi Foshan Velké Meziříčí Ineu Kopřivnice Tianjin Lovosice Izumisano Narashino Humpolec Marugame Zalaegerszeg Český Těšín Hasuda Baotou Port Harcourt Beroun Komae City Seki Fuchū Oakland Frankfurt (Oder) Mioveni Seto Ina Bogor Danang Kawanishi Uherský Brod Gwangju Jayapura Tübingen Shijiazhuang Addis Ababa Wuxi Ichikawa Tongling Taizhou Nakano Longyan Urasoe Omaha Towada Itami Akishima City Herend Mar del Plata Nagykáta Matsubara Mníšek pod Brdy Šumperk Huizhou Beppu Matsudo Tsuruoka Nagaokakyō Rakovník Yichang Suwa Kyōtanabe Nisshin Handan Otrokovice Nobeoka Napajedla Incheon Kingstown Mizunami Marienberg Changsha Shantou Tōgane Isehara Higashihiroshima Liuzhou Chitila Tōkai Toyooka Kempten Kraslice Nová Paka Saint Helier Pasig Weihai Zamboanga City Winnipeg Cincinnati Anshan Tsuchiura Palembang Xinyu Yantai Pretoria Surabaya Cottbus Shimla Marseille Ouarzazate Shimada Ashikaga Kabul Szolnok Busan Kuching Riyadh Ústí nad Orlicí Kokubunji City Guiyang Langfang Saginaw Valašské Meziříčí Xining Biñan Bottrop Ginowan Tirana Koblenz Kariya Žďár nad Sázavou Kunovice Jiujiang Ludwigshafen Hodonín Hohhot Quanzhou Imabari Sebiș Tiszaújváros Hirakawa Mandaluyong Durgapur Békéscsaba Tomakomai Tsu Abrud Athkatla Nanning Cebu City Manila Tama City Luzhou Kassel Imizu Tamási Olbia Xuzhou Fujinomiya Zibo Yuncheng Pelhřimov Stanley Viseu Ürümqi Hikone Hirosaki Bandung Zhengzhou Ulaanbaatar Ílhavo Hatvan Chrudim Waren (Müritz) Hanzhong Las Piñas Islamabad Chino Abiko Biratnagar Habikino Nanto Putrajaya Monaco Český Krumlov Mandaue Fukushima Fort Smith Matsusaka Liepāja Abu Dhabi Třebíč Eger Sunchales Iloilo City Izumi Tokoname Ageo Ziyang Vác Echizen Karlovo Strasbourg Kashiwara Aizuwakamatsu Krásná Lípa Free Hanseatic City of Bremen Mbabane Kunitachi City Smržovka Soběslav Rizhao Freiberg Tarlac Banjarmasin Fushun Ventspils Chitose Jincheng Yogyakarta Santa Fe Tonghua Villány Lanškroun Chōshi Duisburg Mobara Olongapo Dresden Chandigarh Kakamigahara Straubing Taizhou Wilhelmshaven Mianyang Kigali Fremantle Kutná Hora Otaru Antananarivo Dandong Naruto Minoh Ranchi Ōmura Nové Sedlo Parañaque Hódmezővásárhely Malolos Štětí Liaoyang Neratovice Tagawa Nankoku Obihiro Inazawa Sakado General Trias Kashihara Kōnan Asaka Hildesheim Ya'an Ryūgasaki Miami Ștei Nayoro Ingolstadt Velešín Szigetszentmiklós Törökbálint Yamaguchi Ōgaki Regensburg Gyōda Tendō Călan Port-au-Prince Yerevan Liaocheng Kota Kinabalu Letohrad Quezon City Davao City Wakō City Riga Týnec nad Sázavou Caloocan Coburg Sayama Ikeda Neubrandenburg Changzhou Weimar Zhuzhou Panzhihua Speyer Bandar Lampung Iquique Luohe Szombathely Smyrna Hanoi Ho Chi Minh City Malaybalay Abuja Xianyang Nakatsugawa Ghimbav Rosenheim Koganei City Moriguchi Eisenach Muscat Norden Hakusan Jinhua Kunming Kazincbarcika Fuzhou Okaya Oyama Emden Hanyū City Iwata Inagi Tagbilaran Morioka Lucknow Patna Xingtai Iizuka Jingzhou Chaoyang Makati Uji Sekondi-Takoradi Erlangen Tsubame Offenbach am Main Zaporizhzhya Pforzheim General Santos Jindřichův Hradec Oldenburg Jining Handa Kiyosu Agartala Yinchuan Musashino Hatsukaichi Weifang Ōtawara Wollongong Suzuka Worms Aveiro Anan Tsurugashima Ajka Kanuma Medan Mainz Wiesbaden Taguig Cagayan de Oro Ōdate Kediri Sakaide Nordhausen Yangzhou Madiun Dodoma Jingdezhen Doha Qujing Batangas City Brasília Chongqing Hachiōji City Yibin Kolín Andorra la Vella Roxas Tuguegarao Shimotsuma Wuhu České Budějovice Hluk Santa Rosa Vysoké Mýto Kameoka Hefei Zhuhai Taiyuan Ma'anshan Siegen Lanzhou Luoyang Lhasa Police nad Metují Ordos City Zhongshan Yachiyo Pasay Körmend Nové Město nad Metují Kazo Česká Lípa Benxi Wolfsburg Kiryū Haikou Nishi-Tōkyō City Tacloban Mitaka City Veszprém Izumo Hōfu Lhokseumawe Narita Tatabánya Ishinomaki Daejeon Sivas Annaberg-Buchholz Litvínov Szekszárd Salgótarján Aue Chemnitz Hino City Datong Vyškov Yancheng Hamm Ontario Bremerhaven Florianópolis Kaposvár Bacolod Kashiba Tachikawa City Iligan Munakata Kasai Machida City Ehingen Sopron Kinshasa Blansko Vila Nova de Famalicão Hohenstein-Ernstthal Kizugawa Windhoek Dijon Bamberg Brandenburg an der Havel Celle Gaborone Praia Dongguan Salzgitter Tehran Izumi Ueda Ulsan Nanchang Takizawa Higashine Fujisawa Moravské Budějovice Daitō Batumi Auerbach in der Oberpfalz Noda Hroznětín Hürth Xiaogan Koronadal Caracas Baghdad Eniwa Chișineu-Criș Jaipur Tangshan Quito Kitamoto Baoding Vlašim Pomáz Jilin City Bhopal Jiangmen Niimi Kiyose City Itō Ichinoseki Tokushima Dunaújváros Găești Würzburg Nanjing Zsámbék
505
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Anshan
relation headquarters location
type profession
type type of business entity
[[{'concept': 'profession'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { ?t rdf:type ?p . VALUES ( ?p ) { ( ontology:profession ) ( ontology:type_of_business_entity ) } } . ?t property:headquarters_location resource:Anshan } } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { { ?z property:headquarters_location ?x . ?z rdf:type ontology:profession . ?x rdf:type ontology:city } UNION { ?x rdf:type ontology:city . ?z rdf:type ontology:type_of_business_entity . ?z property:headquarters_location ?x } } GROUP BY ?x } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q853614 Q151885 Q82799
USER
Which names are parts of min number of identifiers and concepts ?
(c(Q82799),P361,c(Q853614)|c(Q151885))
action argmin
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?m WHERE { { ?m property:P361 ?f . ?f rdf:type ontology:Q853614 . ?m rdf:type ontology:Q82799 } UNION { ?m property:P361 ?f . ?m rdf:type ontology:Q82799 . ?f rdf:type ontology:Q151885 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?j WHERE { { ?j property:P361 ?p . ?j rdf:type ontology:Q82799 . ?p rdf:type ontology:Q853614 } UNION { ?j property:P361 ?p . ?j rdf:type ontology:Q82799 . ?p rdf:type ontology:Q151885 } } GROUP BY ?j } . FILTER ( ?t = ?w ) }
action argmin
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?m WHERE { { ?m property:part_of ?f . ?f rdf:type ontology:identifier . ?m rdf:type ontology:name } UNION { ?m property:part_of ?f . ?m rdf:type ontology:name . ?f rdf:type ontology:concept } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?j WHERE { { ?j property:part_of ?p . ?j rdf:type ontology:name . ?p rdf:type ontology:identifier } UNION { ?j property:part_of ?p . ?j rdf:type ontology:name . ?p rdf:type ontology:concept } } GROUP BY ?j } . FILTER ( ?t = ?w ) }
[]
identifier concept name
Q27352651 Q27350540 Q1915243
SYSTEM
Seon, Sang, McKeown
Q2168099 Q5791319 Q11283653 Q26156283 Q7071783 Q15629245 Q235598 Q16882305 Q1240901 Q24251030 Q1093580 Q742083 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q382004 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q20064977 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q853614)|c(Q151885))
action argmin
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
[ANSWERS] are parts of min number of identifiers and concepts
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?m WHERE { { ?m property:P361 ?f . ?f rdf:type ontology:Q853614 . ?m rdf:type ontology:Q82799 } UNION { ?m property:P361 ?f . ?m rdf:type ontology:Q82799 . ?f rdf:type ontology:Q151885 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?j WHERE { { ?j property:P361 ?p . ?j rdf:type ontology:Q82799 . ?p rdf:type ontology:Q853614 } UNION { ?j property:P361 ?p . ?j rdf:type ontology:Q82799 . ?p rdf:type ontology:Q151885 } } GROUP BY ?j } . FILTER ( ?t = ?w ) }
human Rotavirusses Tajinaste Czech family name Whittingstall O'Donovan family lizard Piso Rostopchin praenomen Barnaby Han surname Princes of Paliano Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Afa-Negus Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Dong Biff Caomhánach Patti dung beetles
Seon, Sang and McKeown are parts of min number of identifiers and concepts
Seon Sang McKeown
action argmin
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) ?m WHERE { { ?m property:part_of ?f . ?f rdf:type ontology:identifier . ?m rdf:type ontology:name } UNION { ?m property:part_of ?f . ?m rdf:type ontology:name . ?f rdf:type ontology:concept } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?j WHERE { { ?j property:part_of ?p . ?j rdf:type ontology:name . ?p rdf:type ontology:identifier } UNION { ?j property:part_of ?p . ?j rdf:type ontology:name . ?p rdf:type ontology:concept } } GROUP BY ?j } . FILTER ( ?t = ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26591632 Q86536
P17
Q15617994
USER
Which administrative territories are Komae City or Porchester Cottage located in ?
OR((Q86536,P17,c(Q15617994)), (Q26591632,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q86536
relation P17
action find
entity Q26591632
relation P17
type Q15617994
{'OR': [['Q86536', 'P17', {'concept': 'Q15617994'}], ['Q26591632', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Q86536 ) ( resource:Q26591632 ) } . ?z property:P17 ?w } . ?w rdf:type ontology:Q15617994 }
Porchester Cottage Komae City
action filter_type
action union
action find
entity Komae City
relation country
action find
entity Porchester Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Komae City', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Porchester Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Komae_City ) ( resource:Porchester_Cottage ) } . ?z property:country ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q86536,P17,c(Q15617994)), (Q26591632,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q86536
relation P17
action find
entity Q26591632
relation P17
type Q15617994
Komae City or Porchester Cottage are located in [ANSWERS]
{'OR': [['Q86536', 'P17', {'concept': 'Q15617994'}], ['Q26591632', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Q86536 ) ( resource:Q26591632 ) } . ?z property:P17 ?w } . ?w rdf:type ontology:Q15617994 }
Japan United Kingdom
Komae City or Porchester Cottage are located in Japan and United Kingdom
Japan United Kingdom
action filter_type
action union
action find
entity Komae City
relation country
action find
entity Porchester Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Komae City', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Porchester Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?z ) { ( resource:Komae_City ) ( resource:Porchester_Cottage ) } . ?z property:country ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1058015
P495
Q838948
USER
Do Hara-Kiri: Death of a Samurai have those administrative territories as their place of origin ?
(Q1058015,P495,Q17) (Q1058015,P495,Q145)
action is_in
entity prev_answer
action find
entity Q1058015
relation P495
['Q1058015', 'P495', 'Q17'] ['Q1058015', 'P495', 'Q145']
ASK WHERE { VALUES ( ?q ) { ( resource:Q17 ) ( resource:Q145 ) } . resource:Q1058015 property:P495 ?q }
Hara-Kiri: Death of a Samurai
action is_in
entity prev_answer
action find
entity Hara-Kiri: Death of a Samurai
relation country of origin
['Hara-Kiri: Death of a Samurai', 'country of origin', 'Japan'] ['Hara-Kiri: Death of a Samurai', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?q ) { ( resource:Japan ) ( resource:United_Kingdom ) } . resource:Hara-Kiri:_Death_of_a_Samurai property:country_of_origin ?q }
[]
work of art
SYSTEM
YES
(Q1058015,P495,Q17) (Q1058015,P495,Q145)
action is_in
entity prev_answer
action find
entity Q1058015
relation P495
[ANSWER]
['Q1058015', 'P495', 'Q17'] ['Q1058015', 'P495', 'Q145']
ASK WHERE { VALUES ( ?q ) { ( resource:Q17 ) ( resource:Q145 ) } . resource:Q1058015 property:P495 ?q }
Yes
action is_in
entity prev_answer
action find
entity Hara-Kiri: Death of a Samurai
relation country of origin
['Hara-Kiri: Death of a Samurai', 'country of origin', 'Japan'] ['Hara-Kiri: Death of a Samurai', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?q ) { ( resource:Japan ) ( resource:United_Kingdom ) } . resource:Hara-Kiri:_Death_of_a_Samurai property:country_of_origin ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1915243 Q87113 Q9359646
P112
Q502895
USER
Was McKeown founded by Henriette Davidis and Tomasz Radziwon ?
(Q1915243,P112,Q87113) (Q1915243,P112,Q9359646)
action is_in
entity Q1915243
action intersection
action find_reverse
entity Q87113
relation P112
action find_reverse
entity Q9359646
relation P112
['Q1915243', 'P112', 'Q87113'] ['Q1915243', 'P112', 'Q9359646']
ASK WHERE { resource:Q1915243 property:P112 resource:Q87113 . resource:Q1915243 property:P112 resource:Q9359646 }
McKeown Henriette Davidis Tomasz Radziwon
action is_in
entity McKeown
action intersection
action find_reverse
entity Henriette Davidis
relation founder
action find_reverse
entity Tomasz Radziwon
relation founder
['McKeown', 'founder', 'Henriette Davidis'] ['McKeown', 'founder', 'Tomasz Radziwon']
ASK WHERE { resource:McKeown property:founder resource:Henriette_Davidis . resource:McKeown property:founder resource:Tomasz_Radziwon }
[]
common name
SYSTEM
NO
(Q1915243,P112,Q87113) (Q1915243,P112,Q9359646)
action is_in
entity Q1915243
action intersection
action find_reverse
entity Q87113
relation P112
action find_reverse
entity Q9359646
relation P112
[ANSWER]
['Q1915243', 'P112', 'Q87113'] ['Q1915243', 'P112', 'Q9359646']
ASK WHERE { resource:Q1915243 property:P112 resource:Q87113 . resource:Q1915243 property:P112 resource:Q9359646 }
No
action is_in
entity McKeown
action intersection
action find_reverse
entity Henriette Davidis
relation founder
action find_reverse
entity Tomasz Radziwon
relation founder
['McKeown', 'founder', 'Henriette Davidis'] ['McKeown', 'founder', 'Tomasz Radziwon']
ASK WHERE { resource:McKeown property:founder resource:Henriette_Davidis . resource:McKeown property:founder resource:Tomasz_Radziwon }
[]