Simple Question (Direct)
Simple Question
Q1733538
P27
Q1048835
USER
Which political territory is Karl Zylla a civilian of ?
(Q1733538,P27,c(Q1048835))
action filter_type
action find
entity Q1733538
relation P27
type Q1048835
['Q1733538', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1733538 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Karl Zylla
action filter_type
action find
entity Karl Zylla
relation country of citizenship
type political territorial entity
['Karl Zylla', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Karl_Zylla property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1733538,P27,c(Q1048835))
action filter_type
action find
entity Q1733538
relation P27
type Q1048835
[ANSWER] is Karl Zylla a civilian of
['Q1733538', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1733538 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany is Karl Zylla a civilian of
Germany
action filter_type
action find
entity Karl Zylla
relation country of citizenship
type political territorial entity
['Karl Zylla', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Karl_Zylla property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1733538
P21
Q290
USER
Which sex does Karl Zylla possess ?
(Q1733538,P21,c(Q290))
action filter_type
action find
entity Q1733538
relation P21
type Q290
['Q1733538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1733538 property:P21 ?i . ?i rdf:type ontology:Q290 }
Karl Zylla
action filter_type
action find
entity Karl Zylla
relation gender
type sex
['Karl Zylla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Karl_Zylla property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1733538,P21,c(Q290))
action filter_type
action find
entity Q1733538
relation P21
type Q290
Karl Zylla possesses un [ANSWER]
['Q1733538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1733538 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Karl Zylla possesses un male
male
action filter_type
action find
entity Karl Zylla
relation gender
type sex
['Karl Zylla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Karl_Zylla property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19955716
Q290
USER
And also tell me about Baeza?
(Q19955716,P21,c(Q290))
action filter_type
action find
entity Q19955716
relation P21
type Q290
['Q19955716', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q19955716 property:P21 ?d . ?d rdf:type ontology:Q290 }
Baeza
action filter_type
action find
entity Baeza
relation gender
type sex
['Baeza', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Baeza property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19955716,P21,c(Q290))
action filter_type
action find
entity Q19955716
relation P21
type Q290
[ANSWER]
['Q19955716', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q19955716 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Baeza
relation gender
type sex
['Baeza', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Baeza property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19955716
P136
Q151885
USER
What is the genre of that person ?
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q19955716
relation P136
type Q151885
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q19955716 property:P136 ?u . ?u rdf:type ontology:Q151885 }
Baeza
action filter_type
action find
entity Baeza
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Baeza property:genre ?u . ?u rdf:type ontology:concept }
[]
concept
Q11401
SYSTEM
hip hop
Q11401
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q19955716
relation P136
type Q151885
The genre of that person is a [ANSWER]
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q19955716 property:P136 ?u . ?u rdf:type ontology:Q151885 }
hip hop
The genre of that person is a hip hop
hip hop
action filter_type
action find
entity Baeza
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Baeza property:genre ?u . ?u rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q168178 Q1733538
P19
Q486972
USER
Which human settlements are the birthplace of Karl Zylla or Zbigniew Tłuczyński ?
OR((Q1733538,P19,c(Q486972)), (Q168178,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1733538
relation P19
action find
entity Q168178
relation P19
type Q486972
{'OR': [['Q1733538', 'P19', {'concept': 'Q486972'}], ['Q168178', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1733538 property:P19 ?a } UNION { resource:Q168178 property:P19 ?a } } . ?a rdf:type ontology:Q486972 }
Zbigniew Tłuczyński Karl Zylla
action filter_type
action union
action find
entity Karl Zylla
relation place of birth
action find
entity Zbigniew Tłuczyński
relation place of birth
type human settlement
{'OR': [['Karl Zylla', 'place of birth', {'concept': 'human settlement'}], ['Zbigniew Tłuczyński', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Karl_Zylla property:place_of_birth ?a } UNION { resource:Zbigniew_Tłuczyński property:place_of_birth ?a } } . ?a rdf:type ontology:human_settlement }
[]
human settlement
Q1799 Q2734
SYSTEM
Wrocław, Skierniewice
Q1799 Q2734
OR((Q1733538,P19,c(Q486972)), (Q168178,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1733538
relation P19
action find
entity Q168178
relation P19
type Q486972
[ANSWERS] are the birthplace of Karl Zylla or Zbigniew Tłuczyński
{'OR': [['Q1733538', 'P19', {'concept': 'Q486972'}], ['Q168178', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1733538 property:P19 ?a } UNION { resource:Q168178 property:P19 ?a } } . ?a rdf:type ontology:Q486972 }
Wrocław Skierniewice
Wrocław and Skierniewice are the birthplace of Karl Zylla or Zbigniew Tłuczyński
Wrocław Skierniewice
action filter_type
action union
action find
entity Karl Zylla
relation place of birth
action find
entity Zbigniew Tłuczyński
relation place of birth
type human settlement
{'OR': [['Karl Zylla', 'place of birth', {'concept': 'human settlement'}], ['Zbigniew Tłuczyński', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Karl_Zylla property:place_of_birth ?a } UNION { resource:Zbigniew_Tłuczyński property:place_of_birth ?a } } . ?a rdf:type ontology:human_settlement }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P276
Q486972 Q1190554 Q34442
USER
Which human settlements are the place where lesser number of events or roads are located than that human settlement ?
(c(Q1190554)|c(Q34442),P276,c(Q486972))
[[{'concept': 'Q1190554'}, {'concept': 'Q34442'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q17334923 ?y } UNION { ?x property:Q17334923 ?y } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q34442 }
[[{'concept': 'event'}, {'concept': 'road'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { { { ?z property:location ?y } UNION { ?x property:location ?y } } . ?z rdf:type ontology:event . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:road }
[]
human settlement event road
Comparative|More/Less|Mult. entity type|Clarification
Q1799
SYSTEM
Did you mean Wrocław ?
(c(Q1190554)|c(Q34442),P276,c(Q486972))
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q34442'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q17334923 ?y } UNION { ?x property:Q17334923 ?y } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q34442 }
Did you mean Wrocław ?
Wrocław
[[{'concept': 'event'}, {'concept': 'road'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { { { ?z property:location ?y } UNION { ?x property:location ?y } } . ?z rdf:type ontology:event . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:road }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q1190554)|c(Q34442),P276,c(Q486972))
[[{'concept': 'Q1190554'}, {'concept': 'Q34442'}], 'P276', {'concept': 'Q486972'}]
[[{'concept': 'event'}, {'concept': 'road'}], 'location', {'concept': 'human settlement'}]
[]
Q1055 Q31487 Q37333
SYSTEM
Hamburg, Kraków, Lublin
Q749717 Q2718229 Q214051 Q34006 Q389443 Q1146299 Q972244 Q1869263 Q15055810 Q6500069 Q26692381 Q3038331 Q1033949 Q988827 Q889411 Q260055 Q7568473 Q984542 Q2614301 Q797635 Q680911 Q2115982 Q1069687 Q1652717 Q584381 Q10499926 Q2311241 Q4356881 Q41753 Q826068 Q10013 Q1231529 Q660921 Q3412257 Q2279386 Q20711958 Q128498 Q5303329 Q2943721 Q4737882 Q153759 Q1069129 Q153757 Q153751 Q1713454 Q6504819 Q2054052 Q2140577 Q521187 Q2984834 Q8399 Q2362234 Q2342266 Q4894311 Q5489639 Q5303551 Q6126571 Q2581774 Q5962797 Q1253305 Q5332645 Q1018841 Q12012987 Q7227614 Q808281 Q1948732 Q11171297 Q861363 Q2007481 Q1018362 Q3133428 Q6924327 Q14688501 Q7398825 Q575676 Q576636 Q2984693 Q7083678 Q2116258 Q1401387 Q7580395 Q106281 Q2255196 Q1114128 Q1012971 Q2401884 Q193638 Q14686945 Q3460321 Q5213494 Q2918627 Q755604 Q18397175 Q3130945 Q10529125 Q10534217 Q6984019 Q2885490 Q3483898 Q1055 Q7005421 Q1640374 Q3450375 Q514540 Q2838610 Q822970 Q2974613 Q1427377 Q26094419 Q3195260 Q3070009 Q10611682 Q2716937 Q3077810 Q2448744 Q189074 Q777149 Q10691412 Q5049958 Q881699 Q5430540 Q124041 Q12002977 Q5471708 Q5685380 Q1132458 Q5328010 Q6107876 Q31487 Q7230887 Q4661709 Q142350 Q42595 Q3461924 Q1777917 Q105084 Q3133446 Q3070648 Q1658489 Q1939043 Q753276 Q5116604 Q986328 Q4974718 Q746052 Q761724 Q144078 Q464344 Q110007 Q158004 Q2916 Q433701 Q26109035 Q2128677 Q723795 Q1214913 Q2616257 Q27653120 Q521284 Q4176992 Q1135647 Q2114279 Q26692578 Q3460040 Q182273 Q2568178 Q16898275 Q7372385 Q630351 Q1277374 Q252834 Q10727732 Q131612 Q24265882 Q251231 Q569827 Q2307316 Q783854 Q2433389 Q2028752 Q996935 Q15727660 Q23824393 Q2215877 Q6817273 Q1375280 Q3143666 Q6397898 Q1914864 Q738353 Q463332 Q5047848 Q2469185 Q13132002 Q121765 Q1962211 Q7169892 Q927947 Q1002994 Q2148416 Q954993 Q267874 Q3070177 Q9282967 Q162049 Q8030282 Q1376442 Q252119 Q48898 Q6397896 Q19510325 Q473320 Q589160 Q2580972 Q2215124 Q54743 Q7573657 Q1057444 Q1782664 Q840381 Q34771 Q47554 Q873362 Q5953702 Q141690 Q4010297 Q1437250 Q2026687 Q1974010 Q328672 Q996014 Q478707 Q3075336 Q3781620 Q896722 Q3459108 Q5048200 Q2648217 Q2058213 Q602939 Q627392 Q303423 Q1015257 Q1969060 Q990057 Q64586 Q2691400 Q355767 Q1560 Q3459205 Q2300840 Q1550487 Q21039638 Q730938 Q2028099 Q26845691 Q10466256 Q92212 Q1013639 Q1113619 Q1026035 Q314066 Q328451 Q24879 Q26692522 Q5481335 Q355403 Q8040693 Q1884088 Q1374431 Q7685699 Q2370085 Q173270 Q10660758 Q3483885 Q4856263 Q26095204 Q1301094 Q3501103 Q4299606 Q769361 Q264201 Q2013440 Q11870201 Q3886973 Q2407693 Q199440 Q1006446 Q1653952 Q1928594 Q5419566 Q179645 Q18621190 Q3777 Q56037 Q2371380 Q1191662 Q10553388 Q18123429 Q2791007 Q2843 Q102317 Q5609962 Q13953 Q931780 Q870499 Q3462062 Q1156982 Q2132687 Q3593024 Q2169991 Q671481 Q123511 Q5762101 Q8969 Q256012 Q2389241 Q4894725 Q10861698 Q21334433 Q724884 Q2218053 Q1001134 Q208473 Q3306374 Q1868170 Q3351817 Q986143 Q1182165 Q644563 Q2604885 Q5830582 Q4936445 Q1701402 Q1043326 Q620734 Q1141856 Q3817208 Q383689 Q5328829 Q600850 Q3460942 Q564732 Q1878926 Q2625523 Q2421583 Q4816551 Q1172945 Q234184 Q880975 Q52842 Q625413 Q3571551 Q165204 Q1820282 Q2705199 Q1286686 Q26692202 Q9338536 Q14613273 Q7984093 Q372402 Q3139443 Q2561260 Q5492764 Q15994362 Q1870673 Q3593074 Q2100783 Q1854013 Q11481812 Q835966 Q835962 Q190088 Q603261 Q4736244 Q268 Q12072699 Q2788482 Q145972 Q18662234 Q11870834 Q946344 Q990664 Q1966656 Q2018520 Q3126518 Q2395193 Q1495636 Q1493110 Q955887 Q255524 Q319813 Q993904 Q5055608 Q795398 Q103217 Q18621202 Q18621205 Q7582332 Q2638835 Q3573110 Q11871823 Q3208442 Q1376559 Q271138 Q7568464 Q10673362 Q26692600 Q6024955 Q4894741 Q5250884 Q3090204 Q6745217 Q2047201 Q701408 Q6551179 Q10548462 Q2532244 Q125293 Q286004 Q40708 Q773853 Q26692456 Q991369 Q668600 Q4896160 Q182278 Q4385688 Q2069078 Q2336187 Q384817 Q21334497 Q488004 Q41252 Q9022 Q1868599 Q3432071 Q166942 Q3460166 Q3075718 Q489972 Q1857393 Q599301 Q5664192 Q584451 Q3054968 Q37333 Q308928 Q22704716 Q2888929 Q21279758 Q2507540 Q1740357 Q1927937 Q1245759 Q200252 Q3473919 Q10480508 Q27646009 Q2400537 Q7883566 Q748485 Q3068775 Q512959 Q21281233 Q730642 Q1949 Q11249 Q937773 Q755741 Q986054 Q27998 Q2189478 Q317111 Q8029410 Q799863 Q2855829 Q2957569 Q466759 Q205380 Q1027238 Q131429 Q82765 Q2297032 Q1885688 Q1573469 Q837052 Q201516 Q2888777 Q1795364 Q785115 Q82500 Q48256 Q313186 Q2137726 Q3471942 Q1632508 Q910729 Q1510467 Q2488569 Q985842 Q517260 Q563588 Q5923360 Q3208447 Q7568496 Q250984 Q630974 Q1012806 Q2407620 Q2168724 Q2008768 Q2147287 Q1024109 Q2754039 Q4497833 Q3038344 Q2018838 Q1354624 Q1190597 Q1818354 Q4928216 Q7739304 Q4868785 Q1640615 Q3321607 Q1569858 Q552523 Q984222 Q321621 Q2204036 Q2326184 Q139340 Q2230782 Q6695663 Q6923641 Q1186442 Q81033 Q866685 Q1001800 Q3277375 Q2309210 Q18628312 Q26110025 Q590710 Q180076 Q6144478 Q2147624 Q2175554 Q15624 Q4166346 Q489810 Q976443 Q6061615 Q2940389 Q1530757 Q1052943 Q153782 Q2122072 Q5201642 Q1012668 Q700541 Q7624071 Q6497148 Q3296030 Q739700 Q1132213 Q2091721 Q185672 Q26692614 Q6406124 Q989813 Q2026235 Q418096 Q384692 Q104731 Q661881 Q3476166 Q2102176 Q1026027 Q1025864 Q1312504 Q1013162 Q2792865 Q7161872 Q1091504 Q3474213 Q705271 Q7854844 Q896695 Q2013767 Q4891715 Q988087 Q8894 Q1011982 Q4335 Q7386696 Q2497905 Q974350 Q1816945 Q7460964
(c(Q1190554)|c(Q34442),P276,c(Q486972))
[ANSWERS] are the place where lesser number of events or roads are located than that human settlement
[[{'concept': 'Q1190554'}, {'concept': 'Q34442'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q17334923 ?y } UNION { ?x property:Q17334923 ?y } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q486972 . ?x rdf:type ontology:Q34442 }
Kunowice Central Chiyoda-ku Hollywood Ester Custoza La Sal Scheut Diersheim Laurelhurst Florabuurt Downtown Dallas Cantwell Tonopah Bodega Bay Trzciano, Pomeranian Voivodeship South Side Flats Paradise Mets Babelsberg Minden Kızılay East Harlem Hana Colonia Roma Fullersta Spitalacker Solberga Klagenfurt Krosno Hardenberg Rusellae Deutsch-Wagram Płowce Pajaro Calais jungle Bijlmermeer Downtown Stocksund Alvarado Terrace Historic District Endenich Chelsea Graurheindorf Poppelsdorf Ulm-Jungingen Lawrenceville Buschdorf Sells Vesterbro Psyri Vieux Lyon Valhalla Stellichte Erill la Vall Schuyler Downtown Portland Seña Willscheid La Cavada Kayenta Echo Węgierska Górka Korrewegwijk Poncey-Highland Barkhor Leopold Quarter Ostia Christianshavn Zuiderpolder Pola de Siero Mellunkylä Mount Vernon Irvington Historic District Safoora Goth Lutter am Barenberge Huamantla Zuidas Old City Copperopolis Jordaan Spring Branch Tarnów Tuluksak Minot Air Force Base Lahaina Teleport Shibuya-ku West End Vails Gate Pęcice Mid-Levels Randallstown Steinborn Viikki Hyllievång Igelboda Neahkahnie Beach Barranda Sillery, Quebec City Hamburg New Baltimore Paxson Suncook Westend New Edinburg Krojanty Cité-centre Flatiron District Helpman-Oost Kensington Market Myllypuro Ormsta Zerkingen Kuryłówka Boschpoort Harlem Boí Tattby Castle, Bedford Vilich Fairlie-Poplar London Docklands Věstoňovice Fort Mohave Chistochina Churchville East Carnegie Riachuelo Kraków Port Richmond Aarhus C Auerberg Magenta Fort Montgomery Candelario Gliwice Puotila Eastern Docklands Todos los Santos Mission Hill Mina Church Hill Near North Side Brooklyn Ginza Sanahin Urfeld Caputh Union Square Piotrków Trybunalski Osnabrück Altadena Corpus den Hoorn-Noord Cyców Heugem Kalbensteinberg Maciejowice Tamovice Welten Coal Harbour Dubai Marina Old Quebec Bloemenbuurt Water Mill Grand Canyon Village De Vliert Târgu Jiu Roxborough Schinkelbuurt Gnisvärd Fischerhude Ösby Wiener Neustadt Penchâteau Amstetten Spandau Alexandra Fort Hood Lime Village Altamahaw Rapenburg Kirchrode vallée de Fécamp Downtown Miami Menomonee Valley Reston Hyde Park Kew Gardens Małujowice Matamoros Buda Castle Quarter Casa Loma Bežigrad, Ljubljana Cadoxton, Vale of Glamorgan Astoria Racławice Perry South Fuentes de Oñoro Nieborów Rhöndorf Möhlenwarf Civic Center Länsisaaret Guzów, Szydłowiec County Charlottenburg Wolica Śniatycka Gloucester Courthouse Schwabing Levent Kew Gardens Hills Kingswood Road South Heritage Conservation District Claverack-Red Mills Anthem Cáparra Nieuw-Den Helder Alingsås Sparkhill Skid Row Marine Corps Base Quantico Flatbush Holmenkollen Toruń Breitenfeld Hyde Park Back Bay Vertine Forestville Verkiai Bezuidenhout Tiergarten Setauket-East Setauket Grachtengordel Overhoeks Taüll Brüser Berg Sea Ranch Cascades Komarów-Osada Woodville French Quarter Bolimów Sarbinowo, Gmina Dębno Oltrarno Kostverloren Dobromierz, Lower Silesian Voivodeship Apollobuurt Two Rivers Ademuz St. Georg (Hamburg) Dix Hills Turaida Nantenbach Geigant Ellicott City Destrehan Tesomajärvi Dalsbruk Opole Hauho Lipany Keams Canyon Bergen-Enkheim Chantilly Bremen Van Starkenborgh Lentokenttä Legnickie Pole Wytyczno Lockeford Crimora Tarczek Ruoholahti Veracruz Saltsjö-Duvnäs Silió Parel Villabuurt-Oost Oberbauerschaft Studzianki Pancerne Cheviot Hills Mokra, Silesian Voivodeship Mariazell Spaarndam-Oost Kartano Bendena Vreeswijk Mexicali Henryków Lubański IJburg Historic Centre Exchange District Shinjuku-ku La Samaritiaine, store 2 Ouagadougou East Berlin San Andreas Taavetti Lahäll Kukkumäki Ciółkowo Lübeck Kielce Grochowiska, Świętokrzyskie Voivodeship Bellaterra Alzira Ouchy Apalachin Bedford–Stuyvesant Ratheim Beaubears Island Schalkwijk Tindari Grudziądz Hill District Cancún Maxvorstadt Overschie Cóll Zábrdovice Kerbourg Ashburn El Dorado Hills Hilton Head Island Przemyśl Mercier Lohfeld Islands Brygge Burgwallen Oude Zijde Dedelow Falmark Alvesta Łowczówek Bodega Limperich East Village Downtown Dubai Crozet Krzykawka Northwest East Liberty Thorp Wawona Causeway Bay Ceber, Świętokrzyskie Voivodeship Ginneken Corpus den Hoorn Atlantic Station Fort Sheridan Chełm Ippendorf Kalisz Karrada Olalla Mérida Pedro Bay Grotniki Duże Sunda Kelapa Cortinghborg Slavonín Axelsberg Wesoła Castroville Holmby Hills Lubiszewo Tczewskie Lutakko Schaberg Reitdiep île Feydeau Prinses Irenebuurt Lone Pine Makuhari New City Alesia Kleinbüllesheim Minato Drakenburg Zwolle-Zuid Poznań West Adams Grunobuurt Zamość Tammerkoski Keltinmäki Alba de Tormes Gush Etzion Ville Haute Old Town Hammarby Sjöstad Filipów, Podlaskie Voivodeship Gastown Jumeirah Lake Towers Seeley Lake Oberndorf bei Salzburg Siedlce Orizaba Cagaloglu Tappan Częstochowa La Samaritiaine, store 1 La Samaritaine, store 3 Squirrel Hill Shatsk Cutanda Kissanmaa La Défense 1 Stony Brook Åre South Side Solsidan Indische Buurt Mount Wilson Cardet Deerfield Sörnäinen Durro Zolitūde Welfesholz Lincoln Village Kragstalund Big Pine Puebla City Tordesillas Villaviciosa de Tajuña Venice Winschoterdiep Fort Bragg Dürnstein Barruera Rock Point Kirseberg Pennenfeld Acropolis San Vicente de la Barquera Bissin Palm Springs Bydgoszcz Guadalajara Staatsliedenbuurt Rillieux Leppävaara Shinnecock Hills Stare Jabłonki Schwechat Sugar Hill Financial District Alcolea Bethesda Ensta Lublin Kreuzberg Andersberg Livingston Manor Gourmalon Crooswijk Keystone Orthen Forest Hills Morelia Catlett Ekeby Kuřívody Hillegersberg Gołymin-Ośrodek Morningside Heights Kaarela Niederschönhausen Les Mousseaux Glennallen Wannsee Midtown Manhattan Rive Gauche Silver Spring Lastage Westerland Zeeheldenbuurt Schwarzrheindorf/Vilich-Rheindorf Wola Cyrusowa Bagdad De Greiden Chappaqua Schenkenschanz Greenwich Village Goudi Oaxaca de Juárez Olsztyn Coendersborg Ebersheim Hamilton City Ma Tau Wai Miami Beach Katonah Little Armenia Classe St. Pölten Dnipro Prenzlauer Berg Spaanse Polder Mitchell Herencia Burkatów Oso Gołąb, Puławy County Fener Königsberg in Bayern Friedrichsfelde Ivy La Défense 4 South Side Slopes Bad Ischl Kerameikos Green Bank Northern Quarter Zielhorst Cullowhee Lloydkwartier Peach Springs Storängen Hintonburg Downtown San Diego Roombeek Eringerfeld Long Island City Whiteriver Bloomfield The Heights Bates-Hendricks Tamames Mont-Mesly Hakaniemi Mellrichstadt Janowo, Nidzica County Latin Quarter Rüstersieler Groden Stadionbuurt Hermanni Schambach Lubrze Mount Sidney King of Prussia Monterrey Bissingheim Ullanlinna El Rocío Komarowo Krausnick De Wijert-Noord New Town South Fallsburg Uptown New Orleans Rheindahlen Logan Circle Molins de Rei Champion Tulln an der Donau Katajanokka Pardo Carré de soie Glen Ellen Celio Kessenich Oranjewijk Czarnowo, Nowy Dwór Mazowiecki County Window Rock Dahlem Strip District Lattimer Strawberry East End of London Ardmore Fox Lake Grytviken Hoendiep Kije, Lubusz Voivodeship Raszyn Waarderpolder Akihabara Bay Shore Gorzów Wielkopolski Speicherstadt Kenwood Hoornse Meer Fort Defiance Grunwald, Warmian-Masurian Voivodeship Schweinheim Tuba City De Held Pemberton Cibecue Sault-au-Récollet Sankelmark Turenki Pützchen-Bechlinghoven Mitte Bergpolder Plantage Äußere Neustadt Lutynia, Środa Śląska County Pointe-au-Père, Quebec Rörsjöstaden Ordal Circle Fetters Hot Springs-Agua Caliente Shadyside
Hamburg, Kraków and Lublin are the place where lesser number of events or roads are located than that human settlement
Hamburg Kraków Lublin
[[{'concept': 'event'}, {'concept': 'road'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { { { ?z property:location ?y } UNION { ?x property:location ?y } } . ?z rdf:type ontology:event . ?y rdf:type ontology:human_settlement . ?x rdf:type ontology:road }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q15617994 Q486972
USER
Which administrative territories have max number of human settlements have their center of administration ?
(c(Q486972),P1376,Q12564)
action argmax
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
[{'concept': 'Q486972'}, 'P1376', 'Q12564']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P1376 ?e . ?h rdf:type ontology:Q486972 . ?e rdf:type ontology:Q15617994 } GROUP BY ?e } } . { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P1376 ?r . ?p rdf:type ontology:Q486972 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?g = ?f ) }
action argmax
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Loir-et-Cher']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:capital_of ?e . ?h rdf:type ontology:human_settlement . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:capital_of ?r . ?p rdf:type ontology:human_settlement . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?g = ?f ) }
[]
designation for an administrative territorial entity human settlement
Q965 Q541589 Q492437
SYSTEM
Burkina Faso, Ems-Supérieur, Bouches-du-Weser
Q1111401 Q541589 Q492437 Q492430 Q965
(c(Q486972),P1376,Q12564)
action argmax
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
[ANSWERS] have max number of human settlements have their center of administration
[{'concept': 'Q486972'}, 'P1376', 'Q12564']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P1376 ?e . ?h rdf:type ontology:Q486972 . ?e rdf:type ontology:Q15617994 } GROUP BY ?e } } . { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P1376 ?r . ?p rdf:type ontology:Q486972 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?g = ?f ) }
Kispest District Ems-Supérieur Bouches-du-Weser Bouches-de-l'Elbe Burkina Faso
Burkina Faso, Ems-Supérieur and Bouches-du-Weser have max number of human settlements have their center of administration
Burkina Faso Ems-Supérieur Bouches-du-Weser
action argmax
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Loir-et-Cher']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:capital_of ?e . ?h rdf:type ontology:human_settlement . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:capital_of ?r . ?p rdf:type ontology:human_settlement . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?g = ?f ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q965 Q541589 Q492437
P1376
Q486972
USER
Which human settlements are the county seat of those administrative territories ?
(c(Q486972),P1376,Q965) (c(Q486972),P1376,Q541589) (c(Q486972),P1376,Q492437)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', 'Q965'] [{'concept': 'Q486972'}, 'P1376', 'Q541589'] [{'concept': 'Q486972'}, 'P1376', 'Q492437']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q486972 . ?z property:P1376 ?j . VALUES ( ?j ) { ( resource:Q1111401 ) ( resource:Q541589 ) ( resource:Q492437 ) } }
Burkina Faso Ems-Supérieur Bouches-du-Weser
action filter_type
action find_reverse
entity prev_answer
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Burkina Faso'] [{'concept': 'human settlement'}, 'capital of', 'Ems-Supérieur'] [{'concept': 'human settlement'}, 'capital of', 'Bouches-du-Weser']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:human_settlement . ?z property:capital_of ?j . VALUES ( ?j ) { ( resource:Kispest_District ) ( resource:Ems-Supérieur ) ( resource:Bouches-du-Weser ) } }
[]
human settlement
Q3777 Q2916 Q24879
SYSTEM
Ouagadougou, Osnabrück, Bremen
Q3777 Q2916 Q24879
(c(Q486972),P1376,Q965) (c(Q486972),P1376,Q541589) (c(Q486972),P1376,Q492437)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q486972
[ANSWERS] are the county seat of those administrative territories
[{'concept': 'Q486972'}, 'P1376', 'Q965'] [{'concept': 'Q486972'}, 'P1376', 'Q541589'] [{'concept': 'Q486972'}, 'P1376', 'Q492437']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q486972 . ?z property:P1376 ?j . VALUES ( ?j ) { ( resource:Q1111401 ) ( resource:Q541589 ) ( resource:Q492437 ) } }
Ouagadougou Osnabrück Bremen
Ouagadougou, Osnabrück and Bremen are the county seat of those administrative territories
Ouagadougou Osnabrück Bremen
action filter_type
action find_reverse
entity prev_answer
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Burkina Faso'] [{'concept': 'human settlement'}, 'capital of', 'Ems-Supérieur'] [{'concept': 'human settlement'}, 'capital of', 'Bouches-du-Weser']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:human_settlement . ?z property:capital_of ?j . VALUES ( ?j ) { ( resource:Kispest_District ) ( resource:Ems-Supérieur ) ( resource:Bouches-du-Weser ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965
P17
Q15617994
USER
Which administrative territory is Burkina Faso located in ?
(Q965,P17,c(Q15617994))
action filter_type
action find
entity Q965
relation P17
type Q15617994
['Q965', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q965 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Burkina Faso
action filter_type
action find
entity Burkina Faso
relation country
type designation for an administrative territorial entity
['Burkina Faso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Burkina_Faso property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q965
SYSTEM
Burkina Faso
Q965
(Q965,P17,c(Q15617994))
action filter_type
action find
entity Q965
relation P17
type Q15617994
[ANSWER] is located in [ANSWER]
['Q965', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q965 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Burkina Faso
Burkina Faso is located in Burkina Faso
Burkina Faso
action filter_type
action find
entity Burkina Faso
relation country
type designation for an administrative territorial entity
['Burkina Faso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Burkina_Faso property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q486972 Q56061 Q15617994
USER
Which human settlements are sister towns of atleast 13 administrative territories and administrative territories ?
(c(Q56061)|c(Q15617994),P190,c(Q486972))
action atleast
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q56061
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
value 13
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P190 ?s . ?s rdf:type ontology:Q486972 . ?a rdf:type ontology:Q56061 } UNION { ?a property:P190 ?s . ?s rdf:type ontology:Q486972 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?s } . FILTER ( ?r >= 13 ) }
action atleast
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
value 13
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:sister_city ?s . ?s rdf:type ontology:human_settlement . ?a rdf:type ontology:administrative_territorial_entity } UNION { ?a property:sister_city ?s . ?s rdf:type ontology:human_settlement . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?r >= 13 ) }
[]
human settlement administrative territorial entity designation for an administrative territorial entity
Q31487 Q1792 Q37333
SYSTEM
Kraków, Gdańsk, Lublin
Q1792 Q263107 Q31487 Q37333 Q9022
(c(Q56061)|c(Q15617994),P190,c(Q486972))
action atleast
action union
action find_reverse_tuple_counts
relation P190
type Q486972
type Q56061
action find_reverse_tuple_counts
relation P190
type Q486972
type Q15617994
value 13
[ANSWERS] are sister towns of atleast 13 administrative territories and administrative territories
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P190 ?s . ?s rdf:type ontology:Q486972 . ?a rdf:type ontology:Q56061 } UNION { ?a property:P190 ?s . ?s rdf:type ontology:Q486972 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?s } . FILTER ( ?r >= 13 ) }
Gdańsk Judenburg Kraków Lublin Guadalajara
Kraków, Gdańsk and Lublin are sister towns of atleast 13 administrative territories and administrative territories
Kraków Gdańsk Lublin
action atleast
action union
action find_reverse_tuple_counts
relation sister city
type human settlement
type administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type human settlement
type designation for an administrative territorial entity
value 13
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:sister_city ?s . ?s rdf:type ontology:human_settlement . ?a rdf:type ontology:administrative_territorial_entity } UNION { ?a property:sister_city ?s . ?s rdf:type ontology:human_settlement . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } . FILTER ( ?r >= 13 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4742487 Q37333
P190 P159
Q56061
USER
Which administrative territories are partner towns of Lublin or are the headquarters of AmeriSpec located ?
OR((Q37333,P190,c(Q56061)), (Q4742487,P159,c(Q56061)))
action filter_type
action union
action find
entity Q37333
relation P190
action find
entity Q4742487
relation P159
type Q56061
{'OR': [['Q37333', 'P190', {'concept': 'Q56061'}], ['Q4742487', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q37333 property:P190 ?b } UNION { resource:Q4742487 property:P159 ?b } } . ?b rdf:type ontology:Q56061 }
AmeriSpec Lublin
action filter_type
action union
action find
entity Lublin
relation sister city
action find
entity AmeriSpec
relation headquarters location
type administrative territorial entity
{'OR': [['Lublin', 'sister city', {'concept': 'administrative territorial entity'}], ['AmeriSpec', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Lublin property:sister_city ?b } UNION { resource:AmeriSpec property:headquarters_location ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q140147 Q986435 Q26430 Q134279 Q55630 Q79880 Q156726 Q46940 Q8810 Q36036
SYSTEM
Some of them are Brest, Nykøbing Falster, Tilburg, Luhansk, Novi Sad, Debrecen, Ivano-Frankivsk, Alcalá de Henares, Granada, Lviv
Q994 Q79880 Q156752 Q205905 Q158119 Q7550 Q201051 Q898 Q9871 Q16563 Q206895 Q140147 Q185289 Q55630 Q8810 Q223422 Q26430 Q986435 Q156726 Q134279 Q46940 Q36036
OR((Q37333,P190,c(Q56061)), (Q4742487,P159,c(Q56061)))
action filter_type
action union
action find
entity Q37333
relation P190
action find
entity Q4742487
relation P159
type Q56061
[ANSWERS] are partner towns of Lublin or are the headquarters of AmeriSpec located
{'OR': [['Q37333', 'P190', {'concept': 'Q56061'}], ['Q4742487', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q37333 property:P190 ?b } UNION { resource:Q4742487 property:P159 ?b } } . ?b rdf:type ontology:Q56061 }
Tbilisi Debrecen Sumy Lancaster Ramallah Lutsk Rishon LeZion Omsk Tilburg Memphis Hakkâri Brest Pernik Novi Sad Granada Anápolis Tilburg Nykøbing Falster Ivano-Frankivsk Luhansk Alcalá de Henares Lviv
Brest, Nykøbing Falster, Tilburg, Luhansk, Novi Sad, Debrecen, Ivano-Frankivsk, Alcalá de Henares, Granada and Lviv are partner towns of Lublin or are the headquarters of AmeriSpec located
Brest Nykøbing Falster Tilburg Luhansk Novi Sad Debrecen Ivano-Frankivsk Alcalá de Henares Granada Lviv
action filter_type
action union
action find
entity Lublin
relation sister city
action find
entity AmeriSpec
relation headquarters location
type administrative territorial entity
{'OR': [['Lublin', 'sister city', {'concept': 'administrative territorial entity'}], ['AmeriSpec', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Lublin property:sister_city ?b } UNION { resource:AmeriSpec property:headquarters_location ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]