Simple Question (Direct)
Simple Question
Q6689692
P20
Q56061
USER
Where did Hryhoriy Tiutiunnyk die ?
(Q6689692,P20,c(Q56061))
action filter_type
action find
entity Q6689692
relation P20
type Q56061
['Q6689692', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q6689692 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Hryhoriy Tiutiunnyk
action filter_type
action find
entity Hryhoriy Tiutiunnyk
relation place of death
type administrative territorial entity
['Hryhoriy Tiutiunnyk', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Hryhoriy_Tiutiunnyk property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q6689692,P20,c(Q56061))
action filter_type
action find
entity Q6689692
relation P20
type Q56061
Hryhoriy Tiutiunnyk died in [ANSWER]
['Q6689692', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q6689692 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Lviv
Hryhoriy Tiutiunnyk died in Lviv
Lviv
action filter_type
action find
entity Hryhoriy Tiutiunnyk
relation place of death
type administrative territorial entity
['Hryhoriy Tiutiunnyk', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Hryhoriy_Tiutiunnyk property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6689692
P119
Q43229
USER
Where is the place of burial for Hryhoriy Tiutiunnyk located ?
(Q6689692,P119,c(Q43229))
action filter_type
action find
entity Q6689692
relation P119
type Q43229
['Q6689692', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q6689692 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Hryhoriy Tiutiunnyk
action filter_type
action find
entity Hryhoriy Tiutiunnyk
relation place of burial
type organization
['Hryhoriy Tiutiunnyk', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Hryhoriy_Tiutiunnyk property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
organization
Q1316721
SYSTEM
Lychakiv Cemetery
Q1316721
(Q6689692,P119,c(Q43229))
action filter_type
action find
entity Q6689692
relation P119
type Q43229
The place of burial for Hryhoriy Tiutiunnyk is located in [ANSWER]
['Q6689692', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q6689692 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Lychakiv Cemetery
The place of burial for Hryhoriy Tiutiunnyk is located in Lychakiv Cemetery
Lychakiv Cemetery
action filter_type
action find
entity Hryhoriy Tiutiunnyk
relation place of burial
type organization
['Hryhoriy Tiutiunnyk', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Hryhoriy_Tiutiunnyk property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1316721 Q212 Q278967
P17
Q15617994
USER
Is that organization located in Ukraine and Kraiburg ?
(Q1316721,P17,Q212) (Q1316721,P17,Q278967)
action is_in
entity Q1316721
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q278967
relation P17
['Q1316721', 'P17', 'Q212'] ['Q1316721', 'P17', 'Q278967']
ASK WHERE { resource:Q1316721 property:P17 resource:Q278967 . resource:Q1316721 property:P17 resource:Q212 }
Lychakiv Cemetery Ukraine Kraiburg
action is_in
entity Lychakiv Cemetery
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Kraiburg
relation country
['Lychakiv Cemetery', 'country', 'Ukraine'] ['Lychakiv Cemetery', 'country', 'Kraiburg']
ASK WHERE { resource:Lychakiv_Cemetery property:country resource:Kraiburg . resource:Lychakiv_Cemetery property:country resource:Ukraine }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1316721,P17,Q212) (Q1316721,P17,Q278967)
action is_in
entity Q1316721
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q278967
relation P17
[ANSWER]
['Q1316721', 'P17', 'Q212'] ['Q1316721', 'P17', 'Q278967']
ASK WHERE { resource:Q1316721 property:P17 resource:Q278967 . resource:Q1316721 property:P17 resource:Q212 }
YES and NO respectively
action is_in
entity Lychakiv Cemetery
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Kraiburg
relation country
['Lychakiv Cemetery', 'country', 'Ukraine'] ['Lychakiv Cemetery', 'country', 'Kraiburg']
ASK WHERE { resource:Lychakiv_Cemetery property:country resource:Kraiburg . resource:Lychakiv_Cemetery property:country resource:Ukraine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6689692 Q36180 Q26696854
P106
Q12737077
USER
Does Hryhoriy Tiutiunnyk have the profession as writer and mayor of Poal ?
(Q6689692,P106,Q36180) (Q6689692,P106,Q26696854)
action is_in
entity Q6689692
action intersection
action find_reverse
entity Q36180
relation P106
action find_reverse
entity Q26696854
relation P106
['Q6689692', 'P106', 'Q36180'] ['Q6689692', 'P106', 'Q26696854']
ASK WHERE { resource:Q6689692 property:P106 resource:Q36180 . resource:Q6689692 property:P106 resource:Q26696854 }
Hryhoriy Tiutiunnyk writer mayor of Poal
action is_in
entity Hryhoriy Tiutiunnyk
action intersection
action find_reverse
entity writer
relation occupation
action find_reverse
entity mayor of Poal
relation occupation
['Hryhoriy Tiutiunnyk', 'occupation', 'writer'] ['Hryhoriy Tiutiunnyk', 'occupation', 'mayor of Poal']
ASK WHERE { resource:Hryhoriy_Tiutiunnyk property:occupation resource:writer . resource:Hryhoriy_Tiutiunnyk property:occupation resource:mayor_of_Poal }
[]
occupation
SYSTEM
YES and NO respectively
(Q6689692,P106,Q36180) (Q6689692,P106,Q26696854)
action is_in
entity Q6689692
action intersection
action find_reverse
entity Q36180
relation P106
action find_reverse
entity Q26696854
relation P106
[ANSWER]
['Q6689692', 'P106', 'Q36180'] ['Q6689692', 'P106', 'Q26696854']
ASK WHERE { resource:Q6689692 property:P106 resource:Q36180 . resource:Q6689692 property:P106 resource:Q26696854 }
YES and NO respectively
action is_in
entity Hryhoriy Tiutiunnyk
action intersection
action find_reverse
entity writer
relation occupation
action find_reverse
entity mayor of Poal
relation occupation
['Hryhoriy Tiutiunnyk', 'occupation', 'writer'] ['Hryhoriy Tiutiunnyk', 'occupation', 'mayor of Poal']
ASK WHERE { resource:Hryhoriy_Tiutiunnyk property:occupation resource:writer . resource:Hryhoriy_Tiutiunnyk property:occupation resource:mayor_of_Poal }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q36036 Q962164 Q112122
P17
Q15617994
USER
Is Lviv situated in Baney and Travagliato ?
(Q36036,P17,Q962164) (Q36036,P17,Q112122)
action is_in
entity Q36036
action intersection
action find_reverse
entity Q962164
relation P17
action find_reverse
entity Q112122
relation P17
['Q36036', 'P17', 'Q962164'] ['Q36036', 'P17', 'Q112122']
ASK WHERE { resource:Q36036 property:P17 resource:Q962164 . resource:Q36036 property:P17 resource:Q112122 }
Lviv Baney Travagliato
action is_in
entity Lviv
action intersection
action find_reverse
entity Baney
relation country
action find_reverse
entity Travagliato
relation country
['Lviv', 'country', 'Baney'] ['Lviv', 'country', 'Travagliato']
ASK WHERE { resource:Lviv property:country resource:Baney . resource:Lviv property:country resource:Travagliato }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q36036,P17,Q962164) (Q36036,P17,Q112122)
action is_in
entity Q36036
action intersection
action find_reverse
entity Q962164
relation P17
action find_reverse
entity Q112122
relation P17
[ANSWER]
['Q36036', 'P17', 'Q962164'] ['Q36036', 'P17', 'Q112122']
ASK WHERE { resource:Q36036 property:P17 resource:Q962164 . resource:Q36036 property:P17 resource:Q112122 }
No
action is_in
entity Lviv
action intersection
action find_reverse
entity Baney
relation country
action find_reverse
entity Travagliato
relation country
['Lviv', 'country', 'Baney'] ['Lviv', 'country', 'Travagliato']
ASK WHERE { resource:Lviv property:country resource:Baney . resource:Lviv property:country resource:Travagliato }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1316721 Q3066319
P17
Q15617994
USER
Is Lychakiv Cemetery a part of Fala-Beguets ?
(Q1316721,P17,Q3066319)
action is_in
entity Q3066319
action find
entity Q1316721
relation P17
['Q1316721', 'P17', 'Q3066319']
ASK WHERE { resource:Q1316721 property:P17 resource:Q3066319 }
Lychakiv Cemetery Fala-Beguets
action is_in
entity Fala-Beguets
action find
entity Lychakiv Cemetery
relation country
['Lychakiv Cemetery', 'country', 'Fala-Beguets']
ASK WHERE { resource:Lychakiv_Cemetery property:country resource:Fala-Beguets }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1316721,P17,Q3066319)
action is_in
entity Q3066319
action find
entity Q1316721
relation P17
[ANSWER]
['Q1316721', 'P17', 'Q3066319']
ASK WHERE { resource:Q1316721 property:P17 resource:Q3066319 }
No
action is_in
entity Fala-Beguets
action find
entity Lychakiv Cemetery
relation country
['Lychakiv Cemetery', 'country', 'Fala-Beguets']
ASK WHERE { resource:Lychakiv_Cemetery property:country resource:Fala-Beguets }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q36036 Q52575
P17
Q15617994
USER
Does Lviv belong to Ginestra ?
(Q36036,P17,Q52575)
action is_in
entity Q52575
action find
entity Q36036
relation P17
['Q36036', 'P17', 'Q52575']
ASK WHERE { resource:Q36036 property:P17 resource:Q52575 }
Lviv Ginestra
action is_in
entity Ginestra
action find
entity Lviv
relation country
['Lviv', 'country', 'Ginestra']
ASK WHERE { resource:Lviv property:country resource:Ginestra }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q36036,P17,Q52575)
action is_in
entity Q52575
action find
entity Q36036
relation P17
[ANSWER]
['Q36036', 'P17', 'Q52575']
ASK WHERE { resource:Q36036 property:P17 resource:Q52575 }
No
action is_in
entity Ginestra
action find
entity Lviv
relation country
['Lviv', 'country', 'Ginestra']
ASK WHERE { resource:Lviv property:country resource:Ginestra }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3742 Q36036
P20
Q502895
USER
Which people died in Lviv or Casablanca ?
OR((c(Q502895),P20,Q36036), (c(Q502895),P20,Q3742))
action filter_type
action union
action find_reverse
entity Q36036
relation P20
action find_reverse
entity Q3742
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q36036'], [{'concept': 'Q502895'}, 'P20', 'Q3742']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P20 resource:Q36036 } UNION { ?y property:P20 resource:Q3742 } } . ?y rdf:type ontology:Q502895 }
Casablanca Lviv
action filter_type
action union
action find_reverse
entity Lviv
relation place of death
action find_reverse
entity Casablanca
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Lviv'], [{'concept': 'common name'}, 'place of death', 'Casablanca']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_death resource:Lviv } UNION { ?y property:place_of_death resource:Casablanca } } . ?y rdf:type ontology:common_name }
[]
common name
Q20029681 Q9147683 Q6446651 Q4394999 Q381994 Q538474 Q4226894 Q4150382 Q4759690 Q16527248
SYSTEM
Some of them are Ludwik Makolondra, Alfred Halban, Kurt Bundrock, Leon Kazimierz Ricci, Kazimierz Twardowski, Debora Vogel, Władysław Kozłowski, Marcin Grocholski, Andrzej Potocki (1618-1663), Aleksander Lüttich
Q4328178 Q2079924 Q4394264 Q7730635 Q561938 Q9356732 Q15143511 Q7362184 Q18431877 Q11765526 Q9343108 Q16709421 Q12099918 Q1254858 Q4150037 Q21605987 Q3052289 Q11731171 Q4846060 Q73648 Q11718518 Q24717959 Q19697912 Q4494982 Q4111386 Q809575 Q1870779 Q4112458 Q9179696 Q1959007 Q245392 Q350440 Q4703776 Q12172631 Q4397441 Q12102191 Q9343256 Q114242 Q12096150 Q5642363 Q9381922 Q17118251 Q12075835 Q11769395 Q3391828 Q4529229 Q1873657 Q432580 Q12137186 Q7599259 Q19691369 Q454870 Q514955 Q2665735 Q21931639 Q12107375 Q2668833 Q4498914 Q9147683 Q4759690 Q4243472 Q19850481 Q9253627 Q5929989 Q6320434 Q19691682 Q16527248 Q17426585 Q24194 Q9162287 Q17362378 Q84579 Q890749 Q31781 Q4461250 Q19366316 Q11698689 Q4256618 Q20066709 Q4675358 Q2635584 Q960358 Q761285 Q11768819 Q721032 Q17078637 Q2614438 Q1637851 Q9179717 Q5448514 Q22694855 Q332462 Q2009855 Q16566175 Q9291494 Q4079439 Q16617857 Q549666 Q23498018 Q12098584 Q538474 Q11717648 Q6381245 Q673283 Q4226649 Q9392968 Q515910 Q4397258 Q9160752 Q4539949 Q4149621 Q9251137 Q392639 Q20028769 Q5202124 Q598173 Q653658 Q11768663 Q4372210 Q4339025 Q12160068 Q12172956 Q598097 Q11730469 Q786521 Q2467982 Q967918 Q9381818 Q2040636 Q15445828 Q4441724 Q17164359 Q506129 Q2501364 Q12172920 Q16542872 Q18433914 Q19691400 Q5484302 Q12160528 Q10969243 Q457413 Q1990036 Q11763286 Q19691237 Q9356939 Q16185937 Q20973652 Q11738204 Q647455 Q1958225 Q4447530 Q267058 Q5731067 Q7362073 Q9176886 Q561909 Q4194277 Q392632 Q18431510 Q4775989 Q769187 Q89732 Q2068561 Q20029103 Q11729356 Q4228909 Q4093459 Q11771398 Q19756462 Q4684058 Q12089817 Q1688638 Q253996 Q4089931 Q2617314 Q1818906 Q9382817 Q12120199 Q15941899 Q6349709 Q4067432 Q7975652 Q2663529 Q390986 Q153420 Q9343002 Q11769797 Q6874388 Q9381913 Q4348242 Q11729073 Q4137872 Q4132223 Q12081006 Q345512 Q175461 Q25826586 Q4256535 Q9354690 Q1987990 Q4209409 Q683535 Q7606026 Q9259000 Q11709825 Q350933 Q4399553 Q692722 Q11713860 Q12088562 Q9342162 Q1100392 Q1364775 Q75633 Q2125278 Q454338 Q9371507 Q2624048 Q2330222 Q3641718 Q4147296 Q4102159 Q6843593 Q16037670 Q613249 Q16695854 Q244519 Q9371641 Q4225779 Q1639391 Q11729251 Q3616207 Q1986783 Q16526559 Q4362671 Q9156852 Q1577012 Q4112320 Q526652 Q1258091 Q4086158 Q73853 Q4132679 Q4089981 Q688910 Q3091540 Q5285805 Q4241203 Q6373057 Q11835317 Q1764017 Q4290021 Q20029681 Q2607520 Q11717306 Q4259227 Q1348041 Q9157455 Q639183 Q1400595 Q4392747 Q4392748 Q3518229 Q4394999 Q11743682 Q12108693 Q4131292 Q381994 Q11750363 Q21499600 Q244518 Q4344481 Q9139853 Q20965933 Q12128140 Q11688542 Q694239 Q11730489 Q554266 Q342258 Q4286233 Q12140792 Q530956 Q683447 Q11716598 Q1582876 Q976197 Q17362254 Q16454528 Q20028202 Q380506 Q1060753 Q4226894 Q712601 Q8259128 Q4131034 Q15502947 Q2038189 Q4081881 Q11731105 Q9355120 Q23069733 Q11717124 Q17155241 Q769293 Q9188406 Q11729364 Q11738300 Q2345669 Q473551 Q9356381 Q4939269 Q17362154 Q4715000 Q4276114 Q9376506 Q21035942 Q4170811 Q6811422 Q7945115 Q4095140 Q1695490 Q4265443 Q1846358 Q9322581 Q11717628 Q538555 Q9376596 Q4232790 Q904968 Q289974 Q20029348 Q616012 Q11687765 Q1366682 Q10856873 Q21020657 Q735535 Q4426316 Q12080728 Q24577916 Q4455199 Q360658 Q4056519 Q4776186 Q6149858 Q3389131 Q4404327 Q840643 Q16494540 Q913414 Q4211618 Q559090 Q11730135 Q9342084 Q4329390 Q11779754 Q11729329 Q2027528 Q4429450 Q9253545 Q9288250 Q6150248 Q4097312 Q6100558 Q9254692 Q16548205 Q4396955 Q6168668 Q15697096 Q9156827 Q11767375 Q1355836 Q78773 Q7674538 Q597167 Q358416 Q776836 Q11713993 Q20029651 Q4076621 Q622307 Q1988523 Q24203312 Q17096061 Q11718501 Q7086100 Q24644386 Q9312619 Q11778767 Q954206 Q18243112 Q4285627 Q4361717 Q4154717 Q20030388 Q4150382 Q11729290 Q7346692 Q54041 Q2686668 Q4203178 Q9393125 Q17123014 Q6446651 Q4083763 Q4054865 Q2347270 Q2978364 Q6185366 Q17362363 Q12078228 Q16563816 Q9342635 Q1248467 Q9382694 Q11815999 Q9382698 Q11708931 Q4535911 Q1727714 Q8041209 Q21998663 Q12078617 Q4267398 Q16561527 Q12157836 Q9341522 Q11817506 Q15677872 Q9287425 Q211196 Q15846179 Q4078084 Q12077042 Q9176547 Q12089819 Q25929731 Q2587782 Q6320584 Q4153108 Q4461248 Q19690178 Q12656440 Q12123993 Q702822 Q20029082 Q9149351 Q15843903 Q16487741 Q9262807 Q245335 Q24635104 Q7940596 Q9262961 Q4421834 Q11770886 Q1681651 Q12090261 Q12090262 Q2636020 Q11716911 Q11696817 Q23943796 Q9140073 Q6349724 Q9282982 Q24577125 Q11769238 Q1708364 Q4160855 Q26186 Q328273 Q17335389 Q9139400 Q9345296 Q3797490 Q1956613 Q371556 Q4764535 Q4248318 Q11686235 Q958734 Q555588 Q3608670 Q19810407 Q18425779 Q9251271 Q20029334 Q941657 Q4065805 Q1455761 Q683491 Q6689692 Q9139560 Q4499763 Q12119325 Q982067 Q5339743 Q59045 Q25343726 Q12173536 Q15691647 Q376244 Q1697259 Q257852 Q4083653 Q11685113 Q17064409 Q9341812 Q4225198 Q5369137 Q17362451 Q1442389 Q9324929 Q20900660 Q17362270 Q9375531 Q699597 Q1840160 Q9253536 Q24577123 Q737328 Q9388209 Q463766 Q180217 Q1358121 Q4315919 Q12086575 Q4227870
OR((c(Q502895),P20,Q36036), (c(Q502895),P20,Q3742))
action filter_type
action union
action find_reverse
entity Q36036
relation P20
action find_reverse
entity Q3742
relation P20
type Q502895
[ANSWERS] died in Lviv or Casablanca
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q36036'], [{'concept': 'Q502895'}, 'P20', 'Q3742']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P20 resource:Q36036 } UNION { ?y property:P20 resource:Q3742 } } . ?y rdf:type ontology:Q502895 }
Józef Nusbaum-Hilarowicz Hryhory Yakhymovych Stanisław Mateusz Rzewuski Edgar Kováts Nicholas Charnetsky Teodor Alfred Serwatowski Kuźma Pielechaty Roman Simovych Marian Wieleżyński Maciej Moraczewski Stanisław Starzyński Władysław Noskowski Josyp Delkewycz Seweryn Goszczyński Paweł Grodzicki Edmund Waclaw Naganowski Emilia Anikina Joseph Pomiankowski Edward Pawłowicz Marceli Maszkowski Jan Nepomucen Nowakowski Artur Till Maria Kazecka Henryk Halban Tadeusz Wilczyński Bartosz Paprocki Władysław Abraham Józef Witoszyński Bronisław Fichtel Denis Zubrytsky Zygmunt Steuermann Adam Mikołaj Sieniawski Ludwik Finkel Hermina Szuchewycz Julian Romanczuk Doring Stanisław Tołłoczko Otto Hausner Jerzy Głogowski Halina Górska Władysław Jędrzejewski Wojciech Haar August Bogochwalski Marian Gidlewski Alexander Aksinin Vasyl Shchurat Lucjan Böttcher Peter Wittgenstein Pièrre Denis Guibaut Stanisław Zakrzewski Ludwik Ollender Gabriela Zapolska Andrzej Grabowski Hryhoriy Nestor Jan Kazimierz Zieliński Josef Engel Christian Ernst zu Stolberg Józef Chojnicki Alfred Halban Andrzej Potocki (1618-1663) Ludwik Kubala Ignacy Kinel Emilian Deryng Władysław Leon Sapieha Józef Białynia Chołodecki Wandalin Walewski Aleksander Lüttich Julian Kołaczkowski Andrey Sheptytsky Aureli Urbański Henryk Salwer Anton Rehmann Bohdan Ihor Antonych Józef Bilczewski Teodor Torosiewicz Jerzy Baworowski Franciszek Niżałowski Leopold Lewicki Wiesław Grzymalski Marcin Jabłoński Lev Brovarskyi Stanyslav Lyudkevych August Freund Maria Dulębianka Stefan Grabiński Franciszek Ksawery Siemianowski Jerzy Siemiginowski-Eleuter Konstanty Wolny Bronisław Gubrynowicz Filip Schleicher Franciszek Tomaszewski Ivan Franko Marian Hłuszkewycz Kazimierz Rosinkiewicz Herman Diamand Stanisław Kaczor-Batowski Włodzimierz Kulczycki Karol Mikuli Johann Wenzel Hann Gustaw Bisanz Debora Vogel Jan Głogowski Kazimierz Vetulani Jan Lam Petro Kozłaniuk Zygmunt Kędzierski Antoni Popiel Tadeusz Romanowicz Artur Rössner Stanisław Jaszowski Karol Hryniewiecki Edward Porębowicz Agenor Gołuchowski Erno Erb Czesław Mączyński Antoni Łomnicki Juliusz Schauder Margit Sielska-Reich Leon Popielski Teodor Ostrowski Piotr Tarnawiecki Julian Cybulski Sylvester Sembratovych Józef Kalasanty Dzieduszycki Volodymyr Ivasyuk Josaphata Hordashevska Karol Szajnocha Władysław Floriański Roman Lysko Emil Dunikowski Ołena Stepaniw Robert Kuwałek Antoni Małecki Zynoviy Kovalyk Józef Awin Edmund Żychowicz Roman Januszkiewicz Wilhelm Rappé Franciszek Ksawery Godebski Theobald Orkasevich Józef Dzierzkowski Andrzej Kazimierz Potocki Józef Bartłomiej Zimorowic Lucjan Grabowski Wincenty Arnold Teofil Merunowicz Albin Zagórski Zygmunt Poznański Kazimierz Owsiński Kornel Ujejski Ivan Vahylevych Roman Souchko Solomiya Krushelnytska Henryk Korowicz Roman Longchamps de Bérier Bolesław Popowicz Henryk Friedman Rudolf Zuber Count Agenor Maria Gołuchowski Władysław Szaynok Anton Schimser Szymon Wizunas Szydłowski Joseph Liesganig Anatole Vakhnianyn Borys Honczarow Juliusz Starkel Benedykt Kołyszko Wacław Boratyński Mateusz Gralewski Karol Groman Adolf Beck Władysław Klimczak Evgeny Bogdanov Izydor Szaraniewicz Szymon Boguszowicz Alexander Charles Vasa Leon Reich Włodzimierz Sieradzki Maurycy Silberstein Ludomił German Gabriel Sokolnicki Omelan Antonowycz Wawrzyniec Żmurko Eduard Kozynkevych Karol Lipiński Wojciech Kętrzyński Stanisław Serwaczyński Marian Łomnicki Mirosław Turko Władysław Jung Iwan Pełech Julian Niedźwiedzki Stepan Gzhytskyj Jarosław Hałan Barvinskiy Bogdan Łucja Frey Antoni Cieszyński Marceli Tarnawiecki Ivan Levynskyi Tadeusz Ostrowski Constantine Corniaktos Antoni Kalina Oswald Balzer Stefan Bastyr Ferdynand Feldman Hipolit Śliwiński Adam Sołtys Mychajło Rudnycki Walery Wysocki Irena Trapszo-Chodowiecka Myron Wendzyłowycz Stanisław Józef Wiśniewski Olha Basarab Ivan Trush Arthur Hauffe Rachmiel Merkel Vera Popkova Wasyl Łewkowycz Maksym Kryvonis Ksawery Liske Bolesław Twardowski Wojciech Grabowski Vasyl’ Vavryk Mieczysław Garsztka Kazimierz Chodziński Guillermo Saavedra Wincenty Kuźniewicz Tzvi Ashkenazi Wawrzyniec Wilk Pavlo Kovzhun Vsevolod Zaderatsky Juliusz Albinowski Andrej Grigor'evič Kalenov Mykhaïlo Pavlyk Adolf Theodor Haase Roman Pilat Antoni Jeziorański Hans-Georg Opitz Hartman Witwer August Bielowski Johann Nepomuk Stephan von Sacher Karol Brzozowski Hilmar Wäckerle Jan Gall Ihor Bodnar Sydir Holubovych Mykhailo Horyn Dmytro Blazheyovskyi Ivan Krypiakevych Karol Miklosz Roman Żelazowski Józef Kajetan Ossoliński Yuri Melnichuk Ludwik Makolondra Janusz Antoni Wiśniowiecki Jan Dobrzański Józef Lehrer Pasqualino De Santis Antoni Szczerbowski Ivan Pinsel Ștefan Tomșa Aloizy Reichan Józef Reichan Teodor Talowski Leon Kazimierz Ricci Kornel Krzeczunowicz Karel Boublík Aleksander Hawryluk Kazimierz Twardowski Ksenofont Ochrymovyč Janina Domaszewicz Zvi Hirsch Chajes Marian Panchyshyn Adam Krechowiecki Arnold Röhring Jan Bagieński Bolesław Jałowy Kost Levytsky Józef Kapuściński Kazimierz Sichulski Ludwik Rydygier Karol Maszkowski Platon Kostecki Gregory of Sanok Joseph Sembratovych Jakub Strzemię Karol Henryk Mikolasch Franciszek Pištěk Zygmunt Marynowski Jurgis Tiškevičius Logoiskis II Antoni Barancewicz Aleksander Fredro Ioan Potcoavă Władysław Kozłowski František Adam Míča Filip Zaleski Jakub Gawath Yevhen Cherepovsky Otto Bauer Władysław Bełza Józef Panaś Tadeusz Żuliński Jerzy Tyszkiewicz Jan Brzozowski-Haluch Roman Gostkowski Stefan Rudniański Cezary Emil Haller Juliusz Tadeusz Tarnawa-Malczewski Kazimierz Rzewuski Oleksander Barvinsky Stanisław Ruziewicz Tekla Nowakowska Bolesław Wysłouch Józef Jaegermann Aleksander Zalewski Vladimir Maksimenko Wojciech Grzegorzewicz Tadeusz Malina Leszek Dunin-Borkowski Zygmunt Gorgolewski Ludwik Lepiarz Naftali Botwin Johann Mederitsch Władysław Łoziński Marcin Kitz Romuald Starkel Jan Gwalbert Pawlikowski Franciszek Rychnowski Wojciech Komorowski Myron Korduba Bronisław Radziszewski Adolf Weniaminowitsch Butkewitsch Oswald Kimelman Bernhard Meretyn Bernard Nuszkowski Ivan Fyodorov Władysław Dulęba Henryk Domiński Oskar Fabian Ivan Sovetnikov Zygmunt Balk Andrzej Battaglia Franciszek Tepa Viktor Chukarin Sadykh bey Aghabekov Antoni Petrykiewicz Jan Sas Zubrzycki Ján Koehler Zygmunt Sawczyński Ioan Budai-Deleanu Łukasz Bodaszewski David HaLevi Segal Jan Nepomucen Kamiński Fryderyk Getkant Józef Dziewoński Stanisław Jabłonowski Tadeusz Obmiński Mieczysław Gębarowicz Juliusz Makarewicz Roman Ívaničuk Modest Sosenko Emil Schinagel Henryk Jarecki Jan Włodarkiewicz Teodozia Bryzh Iwan Babij Ernest Till Aleksander Kapłoński Michał Rolle Henryk Schmitt Aleksander Warteresiewicz-Słoniewski Antoni Jabłoński Marceli Jastrzębiec-Śniadowski Zygmunt Gorazdowski Johann von Hiller Tadeusz Wojciechowski Antin Angelovych Ruben Bierer Wojciech Dębołęcki Iryna Dobryanska Julian Łukaszewski Karol Baliński Kazimierz Bartel Juljan Oktawjan Zacharjewicz Henryk Kopia Wiktor Zarembiński Jan Nepomucen Franke Oleg Minko Tomasz Tokarski Roman Sielski Michał Grek Marcin Leopolita Jadwiga Camillowa Henryk Machalski Antoni Petruszewicz Jan Daniłowicz Zdzisław Próchnicki Marcin Grocholski Julius Holzmuller Robert Lamezan de Salins Michał Korybut Wiśniowiecki Maria Regina Korzeniowska Iryna Vilde Zygmunt Strzelecki Elise Zöllner Kurt Bundrock Ludomir Benedyktowicz Dawid Abrahamowicz Iryna Kalynets Volodymyr Hnatiuk Jerzy Bitschan Stanisław Rybicki Andrzej Gołąb Julian Pinkerfeld Stanisław Mycielski Henryk Grabiński Włodzimierz Kozłowski-Bolesta Petro Karmanskyj Włodzimierz Krukowski Henryk Biegeleisen Jan Stanisław Jabłonowski Kazimierz Oppeln-Bronikowski Władysław Dobrzaniecki Jan Szwankowski Antoni Kosiński Antin Lototskyi Jan Lech Semen Stefanyk Stanisław Anczyc Piotr Gross Nathan Löwenstein von Opoka Helena Szymańska Leon Sperling Michał Wilczewski Vasyl Barvinsky Adolf Kuhn Bolesław Anc Władysław Kozak Zofia Romanowiczówna Stanisław Lanckoroński Józef Mieses Iwan Huszałewycz Józef Torosiewicz Tadeusz Höflinger Henrikas Jurgis Tiškevičius Logoiskis Mohammed Sadyk Bej Agabekzadeh Johann von Tiefen Henryk Hescheles Amalia Kasprowicz Samuel Bredetzky Józef Braunseis Franciszek Paulik Zygmunt Janiszewski Irena Mrozowicka Volodymyr Patyk Franciszek Stanisław Parecki Karol Skibiński Maryla Wolska Jan Brandt Wojciech Kapinos Wojciech Kapinos Stanisław Jan Jabłonowski Jan Amborski Emil Bratro Włodzimierz Bańkowski Adam Nowotny-Lachowicki-Czechowicz Leon Piniński Józef Gwalbert Pawlikowski Janusz Sołtys Maria Wysłouchowa Joseph Stutterheim Placyd Dziwiński Jan Bartoszewski Mieczysław Sołtys Bogdan Maryniak Adam Bystrzyński Stefan Poliński Edward Trzemeski Mykola Kolessa Władysław Sadłowski Aniela Aszpergerowa Osyp Kuryłas Anna Gostyńska Myroslav Ivan Lubachivsky Włodzimierz Stożek Juliusz Hochberger Władysław Noskowski Jerzy Sewer Dunin-Borkowski Edward Webersfeld Kazimierz Barancewicz Volodymyr Sterniuk Andriy Walter Hans Gorgon Spyrydon Lytvynovych Hryhoriy Tiutiunnyk Adam Fischer Jakub Honigsman Ludwik Baldwin-Ramułt Salomon Buber Edmund Pike Graves John of Dukla Zofia Mrozowicka Jakub Kroch Jan Doliński Benedykt Dybowski Johannes Biermann Maria Konopnicka Andrzej Bemer Aleksander Skarbek Bronisław Pawlewski Stanisław Dobrzański Mikhail Petrovich Kobrin Emanuel Schlechter Adolf Wiktor Weiss Franciszek Jan Smolka Ryszard Ruszkowski Stanisław Kochanowski Kazimierz Miłkowski Witalis Smochowski Tadeusz Boy-Żeleński Aleksander Raczyński Emil Petzold Władysław Zajdler Constance of Hungary, Queen of Galicia Zbigniew Paygert Roman Shukhevych Stefan Banach Petro Korol Stanisław Niewiadomski Maria Biletska Filaret Kolessa
Ludwik Makolondra, Alfred Halban, Kurt Bundrock, Leon Kazimierz Ricci, Kazimierz Twardowski, Debora Vogel, Władysław Kozłowski, Marcin Grocholski, Andrzej Potocki (1618-1663) and Aleksander Lüttich died in Lviv or Casablanca
Ludwik Makolondra Alfred Halban Kurt Bundrock Leon Kazimierz Ricci Kazimierz Twardowski Debora Vogel Władysław Kozłowski Marcin Grocholski Andrzej Potocki (1618-1663) Aleksander Lüttich
action filter_type
action union
action find_reverse
entity Lviv
relation place of death
action find_reverse
entity Casablanca
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Lviv'], [{'concept': 'common name'}, 'place of death', 'Casablanca']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_death resource:Lviv } UNION { ?y property:place_of_death resource:Casablanca } } . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2598092
P206
Q355304 Q1267889 Q56061
USER
Which administrative territories are located next to less number of watercourses or waterways than Shorne ?
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q2598092
relation P206
type Q355304
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?b rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { { ?n rdf:type ontology:Q1267889 } UNION { ?n rdf:type ontology:Q355304 } } . resource:Q2598092 property:P206 ?n } } . FILTER ( ?x < ?t ) }
Shorne
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Shorne
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?b rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { { ?n rdf:type ontology:waterway } UNION { ?n rdf:type ontology:watercourse } } . resource:Shorne property:located_next_to_body_of_water ?n } } . FILTER ( ?x < ?t ) }
[]
watercourse waterway administrative territorial entity
Q2280 Q1874 Q8818
SYSTEM
Minsk, Odessa, Valencia
Q3579 Q18682792 Q2255397 Q9248 Q740149 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q83178 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q609698 Q254734 Q631517 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q1754 Q7977 Q2088134 Q5350973 Q156325 Q7673494 Q501090 Q73049 Q385386 Q1113813 Q2726062 Q625761 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q3894 Q15320 Q36433 Q2060910 Q179454 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q206954 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q174054 Q3483520 Q484799 Q14328 Q9918 Q11902175 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q2227038 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q196397 Q1748 Q210093 Q1223508 Q2677934 Q1042366 Q991274 Q3299785 Q849441 Q15068816 Q11901984 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q614919 Q3010939 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q6278969 Q2021057 Q1390389 Q831527 Q200036 Q651997 Q517053 Q7507390 Q15339 Q172 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q3274 Q941967 Q1807382 Q11899935 Q2684898 Q14947347 Q301415 Q920968 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q134620 Q239496 Q791602 Q959 Q654259 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q3688 Q6397865 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q3604 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q7230655 Q810092 Q492744 Q3854 Q11902896 Q4072448 Q10400 Q183199 Q2350941 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q674395 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q1043368 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1026296 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q2928585 Q49550 Q37806 Q770518 Q79716 Q922981 Q166065 Q930204 Q2713838 Q18681979 Q10313 Q304108 Q77056 Q58940 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q12762569 Q2413248 Q34692 Q913649 Q8757 Q15287 Q1764 Q3940 Q2236639 Q11901684 Q2729387 Q2124272 Q602314 Q1270505 Q176749 Q65502 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q2627415 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q3361880 Q683125 Q230406 Q1867127 Q502398 Q570990 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q2350685 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q11901400 Q991400 Q1758944
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q2598092
relation P206
type Q355304
type Q1267889
[ANSWERS] are located next to less number of watercourses or waterways than Shorne
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?b rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { { ?n rdf:type ontology:Q1267889 } UNION { ?n rdf:type ontology:Q355304 } } . resource:Q2598092 property:P206 ?n } } . FILTER ( ?x < ?t ) }
Tripoli Vaattojärvi Uitdam Baku Södermalm Makkum Den Oever Dakar Gijón Malabo El Pescadero Almere Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Lorain Äkäslompolo Marivan Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa Stockholm Priozersk San José del Cabo El Centenario Juan Fernández Islands Taboiaki Castro Urdiales Hindeloopen Spakenburg Come By Chance, Newfoundland and Labrador Westmaas Bandipore Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Kampala Syasstroy Porto Fuvahmulah Pitkyaranta Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Kastoria Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Isola Bella Siggebohyttan Marbella Santa Cruz de Tenerife Enkhuizen Väylä Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Warder, Netherlands Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Sortavala Copenhagen Motril Ohrid Puttershoek Lilla Essingen Kalamos Halat Nuaim Saint John Norris Arm Vuontisjärvi San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Atokos Salmon Arm Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Jormua Hindersön Landön Djurgården Volos Alcobaça, Portugal De Koog Sicamous, British Columbia Shlisselburg Toronto Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Managua Peniche Muiderberg Vaalajärvi Ter Heijde Beetz Marken Nellim Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Jyväskylä Sheringham Awala-Yalimapo Vladivostok Bukoba Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Nouakchott Keväjärvi Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Djibouti Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Port Greville Unterwurmbach Mijas Bujumbura Ylläsjärvi Aurovka Almería Ioannina Scharwoude, Koggenland Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Bovenkarspel Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Stora Essingen Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Jinotega Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Mijnsheerenland Lelystad Wells-next-the-Sea Vaghena Island Kelontekemä Donostia/San Sebastián Isola dei Pescatori Edam Capolago Funafala Vestmannaeyjar Huizen Ydrefors Spetses Arenibek Cayo Romano Kingston Wijk aan Zee A Coruña Novaya Ladoga Reykjavík Victoria Oosterdijk, Enkhuizen Virmaila Huisduinen Maasdam Ruo Deline Villingili Bönigen Easter Island Palma Beirut Apia St. John's Palmyra Atoll Schellinkhout Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Schardam Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Lakewood Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Tolhuin Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Vikajärvi Puerto Barrios Rottumeroog
Minsk, Odessa and Valencia are located next to less number of watercourses or waterways than Shorne
Minsk Odessa Valencia
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Shorne
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?x ) WHERE { VALUES ( ?k ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?b rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { { ?n rdf:type ontology:waterway } UNION { ?n rdf:type ontology:watercourse } } . resource:Shorne property:located_next_to_body_of_water ?n } } . FILTER ( ?x < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q379531
P206
Q355304 Q1267889 Q56061
USER
And what about Heiligenstadt?
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q379531
relation P206
type Q355304
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?l rdf:type ontology:Q56061 . ?m rdf:type ontology:Q355304 . ?l property:P206 ?m } UNION { ?l property:P206 ?m . ?l rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q379531 property:P206 ?k . { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?o < ?r ) }
Heiligenstadt
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Heiligenstadt
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?l rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:watercourse . ?l property:located_next_to_body_of_water ?m } UNION { ?l property:located_next_to_body_of_water ?m . ?l rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:waterway } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Heiligenstadt property:located_next_to_body_of_water ?k . { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?o < ?r ) }
[]
watercourse waterway administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q165736 Q3579 Q991950 Q1721578 Q84 Q2003600 Q18682792 Q157478 Q2255397 Q2752171 Q539767 Q9248 Q3876 Q990253 Q1586529 Q3246724 Q740149 Q493544 Q957593 Q3718 Q12273 Q3818 Q23311 Q3238 Q4359610 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q83178 Q3844 Q770885 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q4083209 Q7054 Q25231 Q2335714 Q2454052 Q501661 Q501744 Q11882295 Q1939468 Q3549178 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q1416753 Q846242 Q1083051 Q18808 Q622030 Q985642 Q11974 Q548441 Q331556 Q369911 Q1309 Q991532 Q4093 Q955992 Q144773 Q3659 Q609698 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q254734 Q577891 Q631517 Q2943426 Q17151 Q15982011 Q13648690 Q175258 Q209176 Q1636296 Q1754096 Q746096 Q2135238 Q1521492 Q653025 Q2284683 Q105342 Q38834 Q162857 Q1521199 Q1757 Q1025910 Q1754 Q4201085 Q769631 Q7977 Q15377069 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q2088134 Q5350973 Q1252635 Q9365 Q9361 Q47048 Q156325 Q90 Q1519942 Q985587 Q3563897 Q7673494 Q986645 Q2441552 Q588293 Q501090 Q73049 Q486792 Q1610396 Q371532 Q385386 Q3397397 Q956954 Q1113813 Q34820 Q2726062 Q9375247 Q625761 Q2357495 Q1650017 Q1930 Q14621387 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3929 Q3036324 Q328121 Q991661 Q1018010 Q20714928 Q185404 Q47164 Q810309 Q3897 Q93347 Q3894 Q3748 Q11901685 Q15320 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q36433 Q11866294 Q2465220 Q2060910 Q617407 Q179454 Q23800 Q1020776 Q19613124 Q3323 Q2060859 Q8546656 Q2921491 Q473914 Q206954 Q16015040 Q3026650 Q8818 Q478036 Q18923859 Q9270 Q2886833 Q15981916 Q1718608 Q1335 Q635806 Q208337 Q3761 Q1779522 Q2916660 Q968631 Q24861 Q28721 Q1526933 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q903595 Q174054 Q163091 Q2078223 Q185582 Q3483520 Q484799 Q14328 Q73221 Q9326 Q156717 Q573599 Q9918 Q1520 Q11902175 Q1646181 Q9911 Q1776515 Q997407 Q2467 Q554655 Q3561 Q6465685 Q3021755 Q1709 Q28218 Q4527424 Q41295 Q2861 Q131233 Q793 Q621483 Q2482545 Q5465 Q6477002 Q20730670 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q12246 Q4975194 Q2227038 Q2059003 Q37133 Q2069566 Q314367 Q207998 Q3792 Q52437 Q2525207 Q2598092 Q2983392 Q463937 Q997775 Q212096 Q986079 Q2280 Q550373 Q2174345 Q2627252 Q504544 Q3630 Q49149 Q8851 Q200783 Q18682241 Q4070552 Q16636995 Q1165854 Q10509 Q5474003 Q755657 Q3832 Q334 Q239 Q12994 Q5476889 Q4083 Q282461 Q1454043 Q995806 Q515229 Q1094123 Q733368 Q35178 Q15377091 Q995159 Q508998 Q2300996 Q656709 Q2379952 Q2719861 Q1004822 Q4119405 Q238803 Q932955 Q1908062 Q846188 Q196397 Q542647 Q948468 Q145638 Q894535 Q1563 Q523651 Q987790 Q2543792 Q1748 Q210093 Q18682719 Q1223508 Q2335535 Q2677934 Q1042366 Q991274 Q2391779 Q3299785 Q85 Q15241507 Q533456 Q9536 Q849441 Q15068816 Q10707890 Q11901984 Q2255057 Q3947670 Q2933890 Q966534 Q1487909 Q629786 Q2229853 Q737877 Q2918470 Q73031 Q2543086 Q969531 Q1735 Q851034 Q3595479 Q1143278 Q14875773 Q984973 Q3398922 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q614919 Q3010939 Q1785679 Q36281 Q7481520 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q6278969 Q70 Q2021057 Q425780 Q3743068 Q1648515 Q1390389 Q1585348 Q831527 Q200036 Q1390387 Q2321706 Q12191 Q3674 Q651997 Q517053 Q7507390 Q15339 Q5912898 Q992474 Q172 Q270 Q1957 Q109535 Q847085 Q105037 Q214843 Q2336499 Q1519434 Q39178 Q40921 Q2225013 Q690 Q119446 Q1906235 Q3274 Q941967 Q285323 Q961068 Q1807382 Q11899935 Q537214 Q18681966 Q2684898 Q109386 Q2729544 Q14947347 Q301415 Q2160909 Q3051477 Q920968 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q49414 Q3001 Q21197 Q9310 Q1052027 Q736906 Q10717 Q1874 Q1129607 Q1018225 Q837211 Q180333 Q543904 Q592123 Q586112 Q990651 Q2578642 Q134620 Q239496 Q7107283 Q791602 Q959 Q654259 Q2842582 Q437 Q390588 Q3932309 Q3551 Q1265670 Q384 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q858775 Q19613821 Q425786 Q865808 Q6751200 Q938379 Q2191422 Q18419 Q2329846 Q3688 Q1780 Q1781 Q658902 Q6397865 Q2659563 Q1003576 Q2529554 Q2682753 Q1025014 Q3306 Q647543 Q11897598 Q4067724 Q914755 Q227064 Q1850 Q1070428 Q2893117 Q477232 Q3780 Q7314172 Q1314479 Q1490863 Q840867 Q285778 Q1732099 Q2807 Q133123 Q4357920 Q35381 Q986387 Q259617 Q3825 Q19613231 Q865021 Q3604 Q3407596 Q4405293 Q959517 Q5638429 Q2590944 Q4207520 Q183104 Q2238911 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q1330853 Q5379235 Q208143 Q806414 Q3733 Q593141 Q1189066 Q1785595 Q165486 Q3739 Q25230 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q7230655 Q810092 Q19613854 Q492744 Q1012411 Q3854 Q15241991 Q11902896 Q19906849 Q2574529 Q4072448 Q155955 Q10400 Q34713 Q5068781 Q183199 Q1737 Q2350941 Q1545679 Q10690 Q5926907 Q915 Q16953999 Q311809 Q15682 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q5493749 Q674395 Q2007254 Q2911365 Q1538830 Q632489 Q12047 Q2157144 Q724394 Q2267399 Q4347874 Q9347 Q2785515 Q671557 Q1043368 Q4454 Q1800099 Q9974 Q2292517 Q989288 Q987243 Q13640603 Q614706 Q2927534 Q276274 Q2449 Q1624013 Q17483998 Q36526 Q1792879 Q2511670 Q1423660 Q345389 Q1721184 Q3901 Q466046 Q2727978 Q2666506 Q3909 Q2931074 Q7056872 Q1026296 Q755389 Q1419813 Q1011866 Q62 Q736131 Q41572 Q306440 Q3882 Q3766 Q3889 Q9125 Q1861 Q15552182 Q1616324 Q1870405 Q868647 Q216939 Q2194010 Q5813 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q767357 Q1947 Q2674551 Q1981987 Q162065 Q1160017 Q2751941 Q2928585 Q676689 Q2498737 Q939609 Q49550 Q37806 Q770518 Q1533868 Q795623 Q79716 Q840681 Q922981 Q2077402 Q2784834 Q2351343 Q166065 Q985659 Q971550 Q930204 Q2713838 Q13400194 Q18681979 Q2868 Q10313 Q1886770 Q5132825 Q2682566 Q40747 Q2087380 Q820949 Q727 Q649 Q304108 Q77056 Q58940 Q2423894 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q187251 Q2948574 Q990130 Q9939 Q427044 Q28848 Q3112541 Q8050719 Q598948 Q368275 Q12762569 Q2413248 Q806799 Q34692 Q910997 Q766896 Q2830827 Q586 Q913649 Q585 Q8757 Q34370 Q954764 Q15287 Q1734018 Q1669399 Q1764 Q16531502 Q630478 Q9279 Q3940 Q2236639 Q11901684 Q2729387 Q2124272 Q602314 Q2704 Q986675 Q1270505 Q1713141 Q579556 Q11900887 Q176749 Q65502 Q14452 Q464955 Q508056 Q8826 Q3820 Q506700 Q6899495 Q11873187 Q36260 Q963894 Q36262 Q123076 Q2627415 Q2281721 Q2319224 Q569080 Q18386455 Q204234 Q787279 Q750760 Q19613699 Q3932 Q988100 Q1006998 Q719379 Q54898 Q353307 Q2235 Q1025353 Q1572113 Q2432955 Q55630 Q7618827 Q4100 Q4914513 Q16016733 Q3361880 Q878809 Q4998230 Q683125 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q230406 Q1867127 Q502398 Q570990 Q2978763 Q222702 Q36600 Q36168 Q3114 Q956125 Q630334 Q773919 Q2051589 Q1553283 Q2409481 Q743521 Q1807728 Q1341 Q578026 Q1964137 Q503763 Q11901258 Q2355915 Q2084446 Q2303243 Q1531454 Q446232 Q1017 Q41547 Q18399563 Q2350685 Q15241523 Q7823825 Q1552720 Q505601 Q1850580 Q2585002 Q14205508 Q1522881 Q670057 Q5646331 Q179385 Q1248930 Q11901400 Q1728043 Q1743660 Q991400 Q1085 Q1758944
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q379531
relation P206
type Q355304
type Q1267889
[ANSWERS]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?l rdf:type ontology:Q56061 . ?m rdf:type ontology:Q355304 . ?l property:P206 ?m } UNION { ?l property:P206 ?m . ?l rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q379531 property:P206 ?k . { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?o < ?r ) }
Doesburg Tripoli Karczew Tagazar London Walton-on-Thames Vaattojärvi Lesozavodsk Uitdam Ardnacrusha Ivalo Baku Lilongwe Henley-on-Thames Rothneusiedl Bisham Södermalm Makkum Den Oever Dakar Gijón Malabo City of London Tegucigalpa El Pescadero Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Almere Brazzaville Bergen aan Zee Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Seymour Arm Dalnegorsk Svalbard Steeden Olney Schleswig Alert Metsäkylä Paravur Onari Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Sitra Nieuw-Lekkerland Swanscombe Pyongyang Palos de la Frontera Góra Kalwaria Las Palmas de Gran Canaria Portugalete Bosaso Athlone Maastricht Grays Glasgow Kobryn Zakroczym N'Djamena Lorain Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto Äkäslompolo East St. Louis Marivan Cayo Santa María Thessaloniki El Teso Taradei Novosil Ely Hulhumalé Weybridge North Shields East Tilbury Ghazaouet Bergambacht Mobridge Bolshoy Kamen Nuku'alofa Kourfeye Centre Great Barford Helsinki Maïné-Soroa Stockholm Innishannon Drohiczyn Priozersk Zellerfeld Torgelow East Cowes Jean Marie River Alchan Kemble Richmond San José del Cabo El Centenario Doulsou Dushanbe Bishkek Oulu Juan Fernández Islands Paris Bromham Lee-on-the-Solent Vyadhapura Taboiaki Imanan Tondikandia Sonning Castro Urdiales Hindeloopen Aranjuez Egham Hythe Lisala Spakenburg Radley Kaspi Come By Chance, Newfoundland and Labrador Santo Domingo Westmaas Winniki Bandipore Paesens Sidi Abdelaziz Ottawa Anna Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Port Louis Pangbourne Greater Tokyo Area Callantsoog Sidi Barrani Port Famine Bundaberg Santa Monica Oberwurmbach Luanda Mostar Kampala Monrovia Virkkula Syasstroy Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Porto Jeesiö Putney Fuvahmulah Eton Pitkyaranta Valletta Cabo San Lucas Alekseyevka Belgorod Nieuw-Beijerland Hurley Katwijk aan Zee Ibiza Town Kastoria Ariadnoye Lexmond Valencia Schoonhoven Busse Thimphu Basildon, Berkshire El Sargento Speising Montevideo Runkel Koltur Accra Kolmane Brakel Corringham, Essex Albany Beeston Regis Hacking Whalley Newnham Murren Chamberlain Salisbury Lune River Volendam Isola Bella Zwiesel Kelmscott Knoxville Siggebohyttan Marbella Santa Cruz de Tenerife Tiel Vientiane Khmelnytskyi Weilburg Enkhuizen Astana Väylä Worcester Den Helder New Bradwell Bubaque Nassau Ronneburg Algiers La Ventana Dellys Schwerin Baton Rouge Shuyskoye, Vologda Oblast Basseterre Rostock South Tarawa Zwolle Villmar Tortuguero Cape Town Vuotso Glen Cove Yli-Olhava Dodewaard Donetsk Maarssen Bamako Huelva Brookville, Nova Scotia Warder, Netherlands Bourne End Mariupol Penzing Tunxdorf Fethiye Lomé Murano Ochten Shorne Colliers Saint Thomas Palojoensuu Kastelorizo Castro Marim Municipality Minsk Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Jakarta Nantucket Málaga Monschau Mankila Arkhangelovka Glazovka Dargol Elche Köngäs Athlunkard Bangui Singapore Brussels Bruges Fox River, Nova Scotia Eschweiler IJmuiden Paesens-Moddergat Dobrzyń nad Wisłą Ngerulmud Rhoda Island Hoofdplaat Kuwait City Clausthal Ciechanowiec Marlow Caversham, Berkshire Nukunonu Moulsford Oost-Vlieland Bumba, Democratic Republic of the Congo Nabih Saleh Maidenhead Scharsterbrug Matankari Wervershoof Sortavala Méhana Carabane Kashira Bosso Havana St Mary Hoo Inagh Youri Copenhagen Motril Tepasto Ohrid Deest Puttershoek Lilla Essingen Kalamos Tamou Halat Nuaim Cairo Arkhipovka Cricklade Bad Doberan Saint John Norris Arm Olhava Vuontisjärvi Iffley San Mauro Mare Stoneleigh Elleholm Sinder Wraysbury Velsen-Noord Termunten Rossum, Gelderland Kessel Blanchland Monster Innsbruck San Leandro Andrott Twickenham Spencer's Island Laleham Y Felinheli Aumenau Waarde Bray Neuses Nicosia Atokos Salmon Arm Sambéra Roseau Wolvercote Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Jormua Bern Hindersön 's-Gravendeel Muonio Tounouga Landön Harikanassou Djurgården Volos Fabidji Kingston upon Thames Nantes Niamey Alcobaça, Portugal De Koog Sicamous, British Columbia Shlisselburg Houghton, Cambridgeshire Taplow Toronto Warsaw Vologda Zutphen Heinenoord Callao Tipaza Higham, Kent Carlton Port of Spain Honiara Thénia Delft De Cocksdorp Łomianki Managua Peniche Staines-upon-Thames Chétimari Muiderberg Vaalajärvi Prenzlau Kaukonen Ter Heijde Nampho Rotterdam Centrum Beetz Marken Rodaun Ellewoutsdijk Nellim Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Ramsberg am Brombachsee Paramaribo Chișinău Dili Cayo Largo del Sur Almonte Georgetown Odessa Cookham St Neots Scheveningen Foča Bagdad, Tamaulipas Medmenham Amini Kozienice Purley on Thames Jyväskylä Sheringham Osney Awala-Yalimapo Vladivostok Bukoba Ameide Ljubljana Metković Nieuw-Haamstede Rabat Dungass Skopje Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Dartford Bichura 's-Gravenzande Birni N'Gaouré Manoka Samarai Vingt Cinq Brooklyn Sandford-on-Thames Nouakchott Bratislava Budapest Otley Keväjärvi Little Wittenham Say Old Windsor Werkendam Inari Panama City Arrecife Tikkaperä Anuchino Dogo Zoutelande Phnom Penh Chertsey Beit Ummar Aktobe Freetown Reposaari Sorbon Haoussa Gaden bei Pförring Rudnaya Pristan Datchet Twillingate Madrid Patras Kuttura Colombo Cárdenas Wasserburg am Inn Libreville Antonovka Birchington-on-Sea Djibouti Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Reimerswaal Kazakevichevo Feldkirch Kumta Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Vilsandi Ennore Wigan Bandé Conakry Philip Point Cires Kourteye Kempston Bissau Guernsey Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Port Greville Unterwurmbach Bogoslovka Mijas Culham Bujumbura Nizhnie Luzhki Ylläsjärvi Novorossiyka Stanford-le-Hope Aurovka Kuybyshev Almería Salzburg Chalk, Kent Ioannina Bregenz Scharwoude, Koggenland Shepperton Cardiff Hubbards, Nova Scotia Perm Daloloia Group Sidi Daoud Cádiz Dessa Solec Kujawski Greenhithe Littleport Raattama Fraserville, Nova Scotia Bovenkarspel N'Dounga Borssele Gothèye Niulakita Mügeln Almere Haven Poros Krimpen aan de Lek Emäsalo Malé West-Terschelling Brackley Stora Essingen Khabarovsk Wytham Weesp Skikda Yankton Kollo Banevurovo Anzourou Allhallows Wolverton Mogadishu Yampupata Ettling Port Moresby Canning Town Tima Hütteldorf Łochów Kahlenbergerdorf Moroni Salé Karwar Panaeati Island Maseru Termunterzijl North Stoke, Oxfordshire Jinotega Athenry Roatán Tillabéri San Francisco Alblasserdam Mykolaiv Abbeyfeale Manama Damascus Maputo Winterthur Bangkok Tikhmenevo Egmond aan Zee Lorrha Southport Essaouira Sunbury-on-Thames Canary Islands Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Caravela Juba West Tilbury Neuwaldegg Dishoek Perim South Stoke, Oxfordshire Burnt Islands, Newfoundland and Labrador Gravesend Dorney Lechlade Maó-Mahón Port Vila Boumerdès Godmanchester Oud-Beijerland Whittier Kinsale Mijnsheerenland Aldeburgh Dreumel Benson, Oxfordshire Lelystad Ciechocinek West Thurrock Wells-next-the-Sea Vaghena Island Dornbach Kelontekemä Lima Donostia/San Sebastián Malawa Cliffe, Kent Clifton Hampden Pierre Northfleet Gougane Barra Amsterdam Moscow Isola dei Pescatori Edam Capolago Funafala Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Vestmannaeyjar Champ d'Asile Hook of Holland Huizen Guilladjé Saint Paul Vuren Ydrefors Wargrave Spetses Arenibek Cayo Romano Bankilaré Kingston Wyszków Gaya Remenham Bonn Wijk aan Zee Oslo A Coruña Rotterdam Thames Ditton Novaya Ladoga Karma Killorglin Reykjavík Baryshevo Rixensart Bandar Seri Begawan Victoria Oosterdijk, Enkhuizen Virmaila Huisduinen Maasdam Ruo Pescara Gorouol Deline Juliusplate Labasa Venetpalo Villingili Bönigen Easter Island Windsor Filingué Palma Beirut Ueckermünde Mongewell Kuivaniemi Apia Kilrush St. John's Palmyra Atoll Schellinkhout Teddington Goring-on-Thames Koipsi Canoe Island Milton Keynes Stony Stratford Sliedrecht Beloyarovo São Tomé Wallingford Sutton Courtenay Sachs Harbour San Cristóbal de La Laguna Addlestone Veliky Novgorod Cadzand-Bad Útila Isleworth Novi Sad Stone, Kent Baden-Baden Binsey, Oxfordshire Orlinoye Schardam Bitinkodji Burcot, Oxfordshire Ustronie Morskie Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Zurich, Friesland Lobsing Oranje, Drenthe Lakewood Clearwater Beach Tarifa The Hague Bridgetown Canberra Kouré Bad Berka Aunu'u Streatley, Berkshire Gueskérou Little Thurrock Scarborough Samhah Tolyatti Kleszczele Namaro Pappenheim Vihiluoto Czyżew Arzew Shiplake Glin Petten Aachen St. George's Argunskoye Tolhuin Abramovka Too Good Arm Guanaja Wassenaar Hambleden Brockham Barra de Potosí Killaloe, County Clare Birgitz Hampton Wick Greenwich Bishop's Waltham Vikajärvi Sheremetyevo Kirtachi Puerto Barrios Prague Rottumeroog
Prague Moscow Madrid
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Heiligenstadt
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) ?l WHERE { { ?l rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:watercourse . ?l property:located_next_to_body_of_water ?m } UNION { ?l property:located_next_to_body_of_water ?m . ?l rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:waterway } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Heiligenstadt property:located_next_to_body_of_water ?k . { ?k rdf:type ?h . VALUES ( ?h ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?o < ?r ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q649
P36
Q7275
USER
Which states are that administrative territory the capital of ?
(c(Q7275),P36,Q649)
action filter_type
action find_reverse
entity Q649
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q649']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q649 . ?e rdf:type ontology:Q7275 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation capital
type state
[{'concept': 'state'}, 'capital', 'Moscow']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Moscow . ?e rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q649
SYSTEM
Did you mean Moscow ?
Q1085 Q649 Q2807
(c(Q7275),P36,Q1085) (c(Q7275),P36,Q649) (c(Q7275),P36,Q2807)
[ANSWER]
[{'concept': 'Q7275'}, 'P36', 'Q1085'] [{'concept': 'Q7275'}, 'P36', 'Q649'] [{'concept': 'Q7275'}, 'P36', 'Q2807']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q649 . ?e rdf:type ontology:Q7275 }
Prague Moscow Madrid
Did you mean Moscow ?
Moscow
[{'concept': 'state'}, 'capital', 'Prague'] [{'concept': 'state'}, 'capital', 'Moscow'] [{'concept': 'state'}, 'capital', 'Madrid']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Moscow . ?e rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q7275),P36,Q649)
[{'concept': 'Q7275'}, 'P36', 'Q649']
[{'concept': 'state'}, 'capital', 'Moscow']
[]
Q2184 Q186096 Q15180
SYSTEM
Russian Soviet Federative Socialist Republic, Tsardom of Russia, Soviet Union
Q170770 Q2184 Q186096 Q15180 Q2305208
(c(Q7275),P36,Q649)
action filter_type
action find_reverse
entity Q649
relation P36
type Q7275
The [ANSWERS] are that administrative territory the capital of
[{'concept': 'Q7275'}, 'P36', 'Q649']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q649 . ?e rdf:type ontology:Q7275 }
Grand Duchy of Moscow Russian Soviet Federative Socialist Republic Tsardom of Russia Soviet Union Soviet Russia
The Russian Soviet Federative Socialist Republic, Tsardom of Russia and Soviet Union are that administrative territory the capital of
Russian Soviet Federative Socialist Republic Tsardom of Russia Soviet Union
action filter_type
action find_reverse
entity Moscow
relation capital
type state
[{'concept': 'state'}, 'capital', 'Moscow']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Moscow . ?e rdf:type ontology:state }
[]