Simple Question (Direct)
Simple Question
Q1467178
P607
Q198
USER
Which war did Fritz König take part in ?
(Q1467178,P607,c(Q198))
action filter_type
action find
entity Q1467178
relation P607
type Q198
['Q1467178', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q198 . resource:Q1467178 property:P607 ?j }
Fritz König
action filter_type
action find
entity Fritz König
relation conflict
type war
['Fritz König', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:war . resource:Fritz_König property:conflict ?j }
[]
war
Q361
SYSTEM
World War I
Q361
(Q1467178,P607,c(Q198))
action filter_type
action find
entity Q1467178
relation P607
type Q198
Fritz König took part in [ANSWER]
['Q1467178', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q198 . resource:Q1467178 property:P607 ?j }
World War I
Fritz König took part in World War I
World War I
action filter_type
action find
entity Fritz König
relation conflict
type war
['Fritz König', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:war . resource:Fritz_König property:conflict ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1467178
P937
Q515
USER
Which city is the work location of Fritz König ?
(Q1467178,P937,c(Q515))
action filter_type
action find
entity Q1467178
relation P937
type Q515
['Q1467178', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q1467178 property:P937 ?n . ?n rdf:type ontology:Q515 }
Fritz König
action filter_type
action find
entity Fritz König
relation work location
type city
['Fritz König', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Fritz_König property:work_location ?n . ?n rdf:type ontology:city }
[]
city
Q2999
SYSTEM
Würzburg
Q2999
(Q1467178,P937,c(Q515))
action filter_type
action find
entity Q1467178
relation P937
type Q515
[ANSWER] is the work location of Fritz König
['Q1467178', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q1467178 property:P937 ?n . ?n rdf:type ontology:Q515 }
Würzburg
Würzburg is the work location of Fritz König
Würzburg
action filter_type
action find
entity Fritz König
relation work location
type city
['Fritz König', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Fritz_König property:work_location ?n . ?n rdf:type ontology:city }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1467178
Q56061
USER
And which administrative territory?
(Q1467178,P937,c(Q56061))
action filter_type
action find
entity Q1467178
relation P937
type Q56061
['Q1467178', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1467178 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Fritz König
action filter_type
action find
entity Fritz König
relation work location
type administrative territorial entity
['Fritz König', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Fritz_König property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3869
SYSTEM
Marburg
Q3869
(Q1467178,P937,c(Q56061))
action filter_type
action find
entity Q1467178
relation P937
type Q56061
[ANSWER]
['Q1467178', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1467178 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Marburg
Marburg
action filter_type
action find
entity Fritz König
relation work location
type administrative territorial entity
['Fritz König', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Fritz_König property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have birthplace at that administrative territory ?
(c(Q502895),P19,Q3869)
action count
action filter_type
action find_reverse
entity Q3869
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q3869']
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:P19 resource:Q3869 . ?k rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Marburg
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Marburg']
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:place_of_birth resource:Marburg . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
299
Q2504913 Q726393 Q1794218 Q1557979 Q1314585 Q15840029 Q1991734 Q107127 Q2140406 Q290123 Q1603508 Q77314 Q108951 Q68377 Q1082717 Q2423091 Q975596 Q1727111 Q1460733 Q1583147 Q105379 Q1729434 Q3840446 Q1425485 Q1038733 Q73276 Q17338736 Q1514191 Q15056400 Q1711007 Q2798750 Q65987 Q15433719 Q20752750 Q62732 Q2650408 Q1991735 Q1380098 Q100456 Q1613326 Q75138 Q1511542 Q87135 Q1081967 Q1714493 Q1333592 Q709758 Q2546134 Q68802 Q1121884 Q2086568 Q18202163 Q1556151 Q1819748 Q2544975 Q3813030 Q15638555 Q75714 Q23012072 Q5239553 Q394748 Q16065119 Q125169 Q1874222 Q97745 Q1286228 Q96883 Q1526787 Q1281827 Q1467215 Q1455473 Q1455971 Q1359727 Q1927459 Q102246 Q1039260 Q2427382 Q824290 Q14623410 Q501024 Q2037289 Q1610623 Q169319 Q91053 Q2150829 Q280178 Q1691915 Q1874287 Q546714 Q76356 Q364808 Q1731963 Q22205338 Q76968 Q1039236 Q23060405 Q499269 Q45468 Q1463646 Q1242992 Q1910132 Q1624617 Q109521 Q1329983 Q5803862 Q123847 Q1082874 Q77435 Q1288406 Q1827749 Q65192 Q121856 Q2087034 Q2087036 Q2423668 Q2437971 Q1743637 Q1745717 Q107581 Q1520907 Q1466061 Q1440485 Q3679895 Q1040071 Q1698136 Q78265 Q1880754 Q1486154 Q1691029 Q1694854 Q90180 Q70840 Q1991539 Q15843938 Q1750078 Q1370547 Q1254438 Q643683 Q1468353 Q108794 Q96550 Q1694006 Q21403424 Q70868 Q101268 Q91153 Q2546408 Q2574935 Q115085 Q1696576 Q216366 Q110897 Q24025177 Q695480 Q1579795 Q1263368 Q1696267 Q110788 Q17350240 Q123731 Q282206 Q297521 Q1690387 Q15430587 Q21322012 Q1617172 Q1586327 Q1360473 Q76025 Q1279677 Q1222359 Q1612577 Q1536765 Q109040 Q1320168 Q1732195 Q97961 Q106015 Q1577710 Q1644698 Q3436345 Q19284869 Q1417336 Q66267 Q92223 Q876622 Q19845222 Q1610824 Q77190 Q1485514 Q1512372 Q2336420 Q1510607 Q91853 Q1098411 Q98340 Q1874848 Q1887816 Q1458398 Q1224312 Q1098429 Q99766 Q2572456 Q2063505 Q20742598 Q1329001 Q2590470 Q1470100 Q2524414 Q1767403 Q1626802 Q1381905 Q1687074 Q1691035 Q1694319 Q1694317 Q85884 Q1578847 Q2574859 Q22966948 Q70335 Q1675017 Q1693197 Q1401303 Q19576083 Q1870128 Q110694 Q1458638 Q824848 Q750864 Q1793415 Q65232 Q106142 Q1117201 Q1257779 Q1654799 Q109902 Q90018 Q1425947 Q1444246 Q1580446 Q1169489 Q1693335 Q2435581 Q23060014 Q1532689 Q113755 Q1577067 Q1449978 Q1730807 Q500129 Q1966321 Q71997 Q96064 Q69685 Q1029646 Q1991396 Q1609001 Q1889486 Q2571630 Q75204 Q1548911 Q1403732 Q71520 Q810607 Q216190 Q5493057 Q18190956 Q2697011 Q1315573 Q1361401 Q103624 Q1228129 Q27430364 Q1757080 Q9304189 Q64223 Q108854 Q104693 Q1317900 Q119449 Q70625 Q18715634 Q1687342 Q71255 Q15824134 Q2547507 Q1279821 Q1687395 Q216736 Q1681552 Q16318362 Q108420 Q1513761 Q15447207 Q1587291 Q64265 Q1819616 Q19931488
(c(Q502895),P19,Q3869)
action count
action filter_type
action find_reverse
entity Q3869
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q3869']
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:P19 resource:Q3869 . ?k rdf:type ontology:Q502895 }
Uwe Heiden Dorian M. Goldfeld Kurt Wallenfels Gyburg Uhlmann Heinrich Lersner Peter Becker Nikolaus Wilhelm Goddaeus Nina Kronjäger Reiner Cunz Anna Sophia II, Abbess of Quedlinburg Helmut Enke Carl Justi Ingolf Pernice Philip II, Landgrave of Hesse-Rheinfels Christiane Klopsch Thomas Cremer Otto Ubbelohde Wolfgang Penzler Friedrich Lenz Hans Wissebach Ray-Güde Mertin Karin Friedrich Louise Christine of Hesse-Darmstadt Helfrich Ulrich Hunnius Carl Heinrici Henning Harnisch Gerhard Eimer Johann Daniel Heinbach Hans Konrad Biesalski Judith Affeld Rudolf Lahs Dieter Henrich Heinz Düx Jan Hinter Ernst-Günther Schenck Alois Rhiel Nikolaus Wilhelm Schröder Karl Wilhelm Justi Wilhelm Kohlrausch Hermann Vultejus Carl Robert Gerhard Eobanus Geldenhauer Gabriele Becker Christian Spuck Justus Christoph Krafft Elsbeth Stern Arthur Henkel Walter Schmidt-Rimpler Wolfgang Mommsen Victor Hüter Philipp Amelung Joachim Heusinger von Waldegg Gustav Linker Leopold Lucas Walter Junker Karl Ampt Nicolaus Braun Roland Suso Richter Volker Jacobshagen David Schow Agnes of Hesse Helmut Ludwig Gerd Koenen Ludwig Bickell Christoph Bantzer Edmund Ernst Stengel Adolf Gaston Eugen Fick Wolfram Luther Eckhart G. Franz Fritz Külz Karl Justi Johann Nikolaus Seip Ernst Paulus Michael Frensch Lina Meyer Carl Kolbe Thomas Spies Bernd Stephan Monika Goetsch Andreas Ulmke-Smeaton Otta Wenskus Hermann Bauer Philip I, Landgrave of Hesse Georg von Rauch Richard Wachsmuth Klaus Zaczyk Karl Wilhelm Riepenhausen Ludwig Christof Schefer Anika Decker Hans-Georg Gadamer Adolf von Hildebrand Karl Knoch Gustav Eggena Henry I, Landgrave of Hesse Karl Oskar Klipp Matthias Seelig Christoph Andreas Leonhard Creuzer Ludwig Schick Friedrich von Cochenhausen Otto Nasse Matthias Matschke Holger Schwiers Ingrid Arndt-Brauer Elisabeth Herrmann Ludwig Hess Andreas Benz Chris Zintzen-Bader Lena Gercke Eduard Fürstenau Lisa Koop Adam Lonicer Nicolaus Hunnius Philipp Matthaeus Philipp Matthaeus Thomas Elbel Tobias Reitz Kirsten Kappert-Gonther Klaus Servene Georg Gaßmann Karl August Tripp Fritz Dörffler Friedrich Ahlfeld Claudia Wurzel Karl Philipp Falck Alfred von Sybel Hermann Hupfeld Matthaeus Carl Banzer Karl Wilhelm von Kopp Jochem Pechau Johann Jakob Busch Karl Vorländer Sophie of Thuringia, Duchess of Brabant Nikolaus Katzer Sanam Afrashteh Markus Neurath Valentin Wilhelm Forster G. Ulrich Großmann Wilhelm Endemann Fritz Schwalm Wilhelm Busch Alexander Becht Reinhard Christoph Ungewitter Philipp Lind Otto I, Landgrave of Hesse August Thiersch Anton Bauer Walter Stengel Wilhelm Schnee Helmut von den Steinen Johann Wilhelm Heinrich Conradi Johann Matthäus Hassencamp Siegmar Döpp Raphael Freienstein Arnold Jacobshagen Hans Gerhard Schwick Georg von Porbeck Johann Spender Manfred Allié Dana Lyon Philipp Ludwig Hanneken Georg Reichwein, Sr. Ömer Çetin Joachim Rake Walter Wallmann Bernd Asmus Hiawatha Seiffert Harro Jensen Ernst Wachler Reinhard Hauff Eberhard Schindewolf Dieter Köhler Hermann Schenck Til Bettenstaedt Eckart Schütrumpf Georg Heinrich Tischbein Karl Lottes Hermann Reinhold Pauli Ferdinand Justi Maja Sprenger Otto Heß Robert Stadelmann Hans Sauerbruch Finja Schaake Alexander Demandt Heinz von Lichberg Georg Tripp Christian Zimmermann Hermann Büsing Margot Käßmann Johann Wilhelm Bickell Gerhard Roth Stefan Gradmann Gerd Knabe Henning Rübsam Claus Arndt Elisabeth of Hesse, Hereditary Princess of Saxony Ludwig Otto August Klingelhöfer Malte S. Sembten Fritz Berber Diez Brandi Claus Bantzer Jens Asendorpf Wilhelm Eckhardt Paula-Marie Bugla Annette Gerok-Reiter Elias Christoph Krafft Wolfgang Ludewig Richard Strahl Viktor Voit Mario Wirz Ulle Hadding Gudrun Krämer Jenny Unger Jochem Ziegert Johann Hartmann Misler Johann Hartmann Kornmann Karl Theodor Bayrhoffer Otto von Porbeck Wilhelm Martin Heinrich Scheffer Roland Händle Hans Mommsen Wolfgang Schöne Johann David Busch Anton Klopotek Ydessa Hendeles Lorenz Rollhäuser Carl Schotten Friedrich Carl Endemann Bernhard Christian Duysing Lars Weißenfeldt Kurt Brackmann Maximilian of Hesse-Kassel Johannes Angelus Erich Becker Ludwig Justi Johann Wilhelm Schröder Werner Rohde Georg Wilhelm Franz Wenderoth Willi Weitzel Frank Stefan Becker Hans Jahrmärker Jens Kersten Johann Engelhard Steuber Tina Tremmel Benjamin Eberling Johann Ludwig Conradi Hermann Albrecht Hans-Gernot Jung Franz von Roques Lorenz Krüger Andreas Ranft Natascha Heuser Henry of Langenstein Carl Hueter Georg Friedrich Creuzer Magdalena von Geyr Nicolaus Christoph Lyncker Wilhelm Georg Ritter Manfred Hilberger Wilhelm Adolf Scribonius Friedrich Max Thiersch Kurt Scharlau Felix Pirson Juan Gundlach Bastian Conrad Karl Schnurre Franziska Gottwald Hendrik Starostzik Fritz Schlegel Nándor Süss Michael Frowin Monika Frimmer Dirk Wolf Wilhelm Münscher Michael Wulfes Rasma Kārkliņa Prince Karl Anton August of Schleswig-Holstein-Sonderburg-Beck Ernst von Harnack Siegfried von Roedern Georg Friedrich Karl Robert Hartmut Winkler Otto John Christian Händle Jens Rasiejewski Ludwig von Sybel Konrad Elmshäuser Walther Wrede Eberhardt Baldewein Jens Wetterau Dietrich Wilhelm Heinrich Busch Otto Hugo August Christian Gehren Andy Groll Ulrich Köhler Gerlinde Unverzagt Lisa-Marie Fischer Hartmann Ibach Karl Knies Leopold Eichelberg Uta Schmidt
299
action count
action filter_type
action find_reverse
entity Marburg
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Marburg']
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { ?k property:place_of_birth resource:Marburg . ?k rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10084
P559
Q56061 Q44377 Q83620
USER
Which administrative territories are the terminus for lesser number of tunnels and thoroughfares than Vlissingen ?
(c(Q44377)|c(Q83620),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q10084
relation P559
type Q44377
type Q83620
[[{'concept': 'Q44377'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?t WHERE { { ?l property:P559 ?t . ?t rdf:type ontology:Q56061 . ?l rdf:type ontology:Q44377 } UNION { ?l property:P559 ?t . ?t rdf:type ontology:Q56061 . ?l rdf:type ontology:Q83620 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P559 resource:Q10084 . { { ?s rdf:type ontology:Q44377 } UNION { ?s rdf:type ontology:Q83620 } } } } . FILTER ( ?z < ?g ) }
Vlissingen
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Vlissingen
relation terminus
type tunnel
type thoroughfare
[[{'concept': 'tunnel'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?t WHERE { { ?l property:terminus ?t . ?t rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:tunnel } UNION { ?l property:terminus ?t . ?t rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:thoroughfare } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:terminus resource:Vlissingen . { { ?s rdf:type ontology:tunnel } UNION { ?s rdf:type ontology:thoroughfare } } } } . FILTER ( ?z < ?g ) }
[]
administrative territorial entity tunnel thoroughfare
Q65 Q727 Q33959
SYSTEM
Los Angeles, Amsterdam, Nice
Q1020217 Q3112707 Q837211 Q3812238 Q2814 Q541055 Q82490 Q172157 Q575557 Q985313 Q687333 Q932159 Q3469728 Q796625 Q185453 Q588804 Q130191 Q723372 Q167155 Q2272 Q7811572 Q134620 Q556989 Q1011611 Q727 Q2065223 Q42159 Q7986745 Q1009428 Q1011221 Q24826 Q6509 Q28327 Q5477618 Q5032535 Q4356873 Q33959 Q11839080 Q586 Q585 Q1017331 Q848909 Q1420136 Q754868 Q125080 Q49218 Q100 Q2734845 Q1020951 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q190847 Q1248150 Q2073801 Q1781385 Q1759693 Q2300663 Q646784 Q79499 Q375905 Q10561690 Q643160 Q17872 Q129610 Q766594 Q2086787 Q79804 Q895452 Q40325 Q953719 Q2290 Q12191 Q237253 Q485186 Q522362 Q1729 Q790938 Q865872 Q65
(c(Q44377)|c(Q83620),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q10084
relation P559
type Q44377
type Q83620
[ANSWERS] are the terminus for lesser number of tunnels and thoroughfares than Vlissingen
[[{'concept': 'Q44377'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?t WHERE { { ?l property:P559 ?t . ?t rdf:type ontology:Q56061 . ?l rdf:type ontology:Q44377 } UNION { ?l property:P559 ?t . ?t rdf:type ontology:Q56061 . ?l rdf:type ontology:Q83620 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P559 resource:Q10084 . { { ?s rdf:type ontology:Q44377 } UNION { ?s rdf:type ontology:Q83620 } } } } . FILTER ( ?z < ?g ) }
Minehead Sedbury Scheveningen Bronygarth Halle (Saale) Oijen Lyme Regis Winchester Grand Tower Ingleton Middleton-by-Wirksworth Hart Salford Quays Edale Multan Badrinath Norwich Narva-Jõesuu Kalamazoo Skien Tobermory, Ontario Jyväskylä Ankeny Portpatrick Amsterdam Port Grimaud Hanam West Vale Drymen Kincardine Liverpool Burgas Örnsköldsvik Frafjord Cann River Mariehäll Nice Akdere, Silifke Bonn Oslo Westport, County Mayo Fort William Herøya Cumberland Vaasa Rochester Boston Henley-in-Arden Ilkley Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Alexandroupoli Wallsend Helmsley Björkhagen South Boston Gaylord Moffat Helena Deerfield Lilla Alby Farnham Alice Springs Galway Bewdley Manitou Springs Sitka Bowling, West Dunbartonshire Springfield South Haven Porsgrunn Nantes Great Yarmouth Key West Bad Säckingen Erfurt Aviemore Birstall Los Angeles
Los Angeles, Amsterdam and Nice are the terminus for lesser number of tunnels and thoroughfares than Vlissingen
Los Angeles Amsterdam Nice
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Vlissingen
relation terminus
type tunnel
type thoroughfare
[[{'concept': 'tunnel'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?t WHERE { { ?l property:terminus ?t . ?t rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:tunnel } UNION { ?l property:terminus ?t . ?t rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:thoroughfare } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:terminus resource:Vlissingen . { { ?s rdf:type ontology:tunnel } UNION { ?s rdf:type ontology:thoroughfare } } } } . FILTER ( ?z < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q794802
P559
Q56061 Q44377 Q83620
USER
And also tell me about Otira?
(c(Q44377)|c(Q83620),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q794802
relation P559
type Q44377
type Q83620
[[{'concept': 'Q44377'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?k WHERE { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:Q83620 ) ( ontology:Q44377 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P559 resource:Q794802 . { VALUES ( ?q ) { ( ontology:Q44377 ) ( ontology:Q83620 ) } . ?h rdf:type ?q } } } . FILTER ( ?l < ?u ) }
Otira
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Otira
relation terminus
type tunnel
type thoroughfare
[[{'concept': 'tunnel'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?k WHERE { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:thoroughfare ) ( ontology:tunnel ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:terminus resource:Otira . { VALUES ( ?q ) { ( ontology:tunnel ) ( ontology:thoroughfare ) } . ?h rdf:type ?q } } } . FILTER ( ?l < ?u ) }
[]
administrative territorial entity tunnel thoroughfare
Q65 Q727 Q33959
SYSTEM
Los Angeles, Amsterdam, Nice
Q1020217 Q3112707 Q837211 Q3812238 Q2814 Q541055 Q82490 Q172157 Q575557 Q985313 Q687333 Q932159 Q3469728 Q796625 Q185453 Q588804 Q130191 Q723372 Q167155 Q2272 Q7811572 Q134620 Q556989 Q1011611 Q727 Q2065223 Q42159 Q7986745 Q1009428 Q1011221 Q24826 Q6509 Q28327 Q5477618 Q5032535 Q4356873 Q33959 Q11839080 Q586 Q585 Q1017331 Q848909 Q1420136 Q754868 Q125080 Q49218 Q100 Q2734845 Q1020951 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q190847 Q1248150 Q2073801 Q1781385 Q1759693 Q2300663 Q646784 Q79499 Q375905 Q10561690 Q643160 Q17872 Q129610 Q766594 Q2086787 Q79804 Q895452 Q40325 Q953719 Q2290 Q12191 Q237253 Q485186 Q522362 Q1729 Q790938 Q865872 Q65
(c(Q44377)|c(Q83620),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q794802
relation P559
type Q44377
type Q83620
[ANSWERS]
[[{'concept': 'Q44377'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?k WHERE { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:Q83620 ) ( ontology:Q44377 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P559 resource:Q794802 . { VALUES ( ?q ) { ( ontology:Q44377 ) ( ontology:Q83620 ) } . ?h rdf:type ?q } } } . FILTER ( ?l < ?u ) }
Minehead Sedbury Scheveningen Bronygarth Halle (Saale) Oijen Lyme Regis Winchester Grand Tower Ingleton Middleton-by-Wirksworth Hart Salford Quays Edale Multan Badrinath Norwich Narva-Jõesuu Kalamazoo Skien Tobermory, Ontario Jyväskylä Ankeny Portpatrick Amsterdam Port Grimaud Hanam West Vale Drymen Kincardine Liverpool Burgas Örnsköldsvik Frafjord Cann River Mariehäll Nice Akdere, Silifke Bonn Oslo Westport, County Mayo Fort William Herøya Cumberland Vaasa Rochester Boston Henley-in-Arden Ilkley Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Alexandroupoli Wallsend Helmsley Björkhagen South Boston Gaylord Moffat Helena Deerfield Lilla Alby Farnham Alice Springs Galway Bewdley Manitou Springs Sitka Bowling, West Dunbartonshire Springfield South Haven Porsgrunn Nantes Great Yarmouth Key West Bad Säckingen Erfurt Aviemore Birstall Los Angeles
Los Angeles Amsterdam Nice
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Otira
relation terminus
type tunnel
type thoroughfare
[[{'concept': 'tunnel'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?k WHERE { ?f rdf:type ?a . VALUES ( ?a ) { ( ontology:thoroughfare ) ( ontology:tunnel ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:terminus resource:Otira . { VALUES ( ?q ) { ( ontology:tunnel ) ( ontology:thoroughfare ) } . ?h rdf:type ?q } } } . FILTER ( ?l < ?u ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q65 Q727 Q33959
P931
Q62447
USER
Which city do Los Angeles, Amsterdam and Nice serve ?
(c(Q62447),P931,Q65) (c(Q62447),P931,Q727) (c(Q62447),P931,Q33959)
action union
action filter_type
action find_reverse
entity Q65
relation P931
type Q62447
action filter_type
action find_reverse
entity Q727
relation P931
type Q62447
action filter_type
action find_reverse
entity Q33959
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q65'] [{'concept': 'Q62447'}, 'P931', 'Q727'] [{'concept': 'Q62447'}, 'P931', 'Q33959']
SELECT DISTINCT ?k WHERE { { ?k property:P931 resource:Q65 . ?k rdf:type ontology:Q62447 } UNION { ?k property:P931 resource:Q727 . ?k rdf:type ontology:Q62447 } }
Los Angeles Amsterdam Nice
action union
action filter_type
action find_reverse
entity Los Angeles
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Amsterdam
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Nice
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Los Angeles'] [{'concept': 'aerodrome'}, 'place served by airport', 'Amsterdam'] [{'concept': 'aerodrome'}, 'place served by airport', 'Nice']
SELECT DISTINCT ?k WHERE { { ?k property:place_served_by_airport resource:Los_Angeles . ?k rdf:type ontology:aerodrome } UNION { ?k property:place_served_by_airport resource:Amsterdam . ?k rdf:type ontology:aerodrome } }
[]
aerodrome
Q528578 Q9694 Q821557
SYSTEM
Van Nuys Airport, Amsterdam Airport Schiphol, Nice Côte d'Azur Airport
Q528578 Q9694 Q821557
(c(Q62447),P931,Q65) (c(Q62447),P931,Q727) (c(Q62447),P931,Q33959)
action union
action filter_type
action find_reverse
entity Q65
relation P931
type Q62447
action filter_type
action find_reverse
entity Q727
relation P931
type Q62447
action filter_type
action find_reverse
entity Q33959
relation P931
type Q62447
Los Angeles , Amsterdam and Nice serve [ANSWERS]
[{'concept': 'Q62447'}, 'P931', 'Q65'] [{'concept': 'Q62447'}, 'P931', 'Q727'] [{'concept': 'Q62447'}, 'P931', 'Q33959']
SELECT DISTINCT ?k WHERE { { ?k property:P931 resource:Q65 . ?k rdf:type ontology:Q62447 } UNION { ?k property:P931 resource:Q727 . ?k rdf:type ontology:Q62447 } }
Van Nuys Airport Amsterdam Airport Schiphol Nice Côte d'Azur Airport
Los Angeles , Amsterdam and Nice serve Van Nuys Airport, Amsterdam Airport Schiphol and Nice Côte d'Azur Airport
Van Nuys Airport Amsterdam Airport Schiphol Nice Côte d'Azur Airport
action union
action filter_type
action find_reverse
entity Los Angeles
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Amsterdam
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Nice
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Los Angeles'] [{'concept': 'aerodrome'}, 'place served by airport', 'Amsterdam'] [{'concept': 'aerodrome'}, 'place served by airport', 'Nice']
SELECT DISTINCT ?k WHERE { { ?k property:place_served_by_airport resource:Los_Angeles . ?k rdf:type ontology:aerodrome } UNION { ?k property:place_served_by_airport resource:Amsterdam . ?k rdf:type ontology:aerodrome } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727
P27
Q502895
USER
Which people are a native of Amsterdam ?
(c(Q502895),P27,Q727)
action filter_type
action find_reverse
entity Q727
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q727']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P27 resource:Q727 }
Amsterdam
action filter_type
action find_reverse
entity Amsterdam
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Amsterdam']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:country_of_citizenship resource:Amsterdam }
[]
common name
Q26690202 Q26690161
SYSTEM
Timotheus ten Hoorn, Gerrit de Broen Jr. (1692-1774)
Q26690202 Q26690161
(c(Q502895),P27,Q727)
action filter_type
action find_reverse
entity Q727
relation P27
type Q502895
[ANSWERS] are a native of Amsterdam
[{'concept': 'Q502895'}, 'P27', 'Q727']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P27 resource:Q727 }
Timotheus ten Hoorn Gerrit de Broen Jr. (1692-1774)
Timotheus ten Hoorn and Gerrit de Broen Jr. (1692-1774) are a native of Amsterdam
Timotheus ten Hoorn Gerrit de Broen Jr. (1692-1774)
action filter_type
action find_reverse
entity Amsterdam
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Amsterdam']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:country_of_citizenship resource:Amsterdam }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26690161
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q26690161,P20,c(Q56061))
action filter_type
action find
entity Q26690161
relation P20
type Q56061
['Q26690161', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q26690161 property:P20 ?f }
Gerrit de Broen Jr. (1692-1774)
action filter_type
action find
entity Gerrit de Broen Jr. (1692-1774)
relation place of death
type administrative territorial entity
['Gerrit de Broen Jr. (1692-1774)', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Gerrit_de_Broen_Jr._(1692-1774) property:place_of_death ?f }
[]
administrative territorial entity
Clarification for simple ques.
Q26690161
SYSTEM
Did you mean Gerrit de Broen Jr. (1692-1774) ?
Q26690202 Q26690161
(Q26690202,P20,c(Q56061)) (Q26690161,P20,c(Q56061))
[ANSWER]
['Q26690202', 'P20', {'concept': 'Q56061'}] ['Q26690161', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q26690161 property:P20 ?f }
Timotheus ten Hoorn Gerrit de Broen Jr. (1692-1774)
Did you mean Gerrit de Broen Jr. (1692-1774) ?
Gerrit de Broen Jr. (1692-1774)
['Timotheus ten Hoorn', 'place of death', {'concept': 'administrative territorial entity'}] ['Gerrit de Broen Jr. (1692-1774)', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Gerrit_de_Broen_Jr._(1692-1774) property:place_of_death ?f }
[]
Simple Question (Coreferenced)
USER
Yes
(Q26690161,P20,c(Q56061))
['Q26690161', 'P20', {'concept': 'Q56061'}]
['Gerrit de Broen Jr. (1692-1774)', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q727
SYSTEM
Amsterdam
Q727
(Q26690161,P20,c(Q56061))
action filter_type
action find
entity Q26690161
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q26690161', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q26690161 property:P20 ?f }
Amsterdam
Amsterdam is the place of death of that person
Amsterdam
action filter_type
action find
entity Gerrit de Broen Jr. (1692-1774)
relation place of death
type administrative territorial entity
['Gerrit de Broen Jr. (1692-1774)', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Gerrit_de_Broen_Jr._(1692-1774) property:place_of_death ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26690161
P21
Q290
USER
Which sex does Gerrit de Broen Jr. (1692-1774) possess ?
(Q26690161,P21,c(Q290))
action filter_type
action find
entity Q26690161
relation P21
type Q290
['Q26690161', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q26690161 property:P21 ?b }
Gerrit de Broen Jr. (1692-1774)
action filter_type
action find
entity Gerrit de Broen Jr. (1692-1774)
relation gender
type sex
['Gerrit de Broen Jr. (1692-1774)', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Gerrit_de_Broen_Jr._(1692-1774) property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q26690161,P21,c(Q290))
action filter_type
action find
entity Q26690161
relation P21
type Q290
[ANSWER] Gerrit de Broen Jr. (1692-1774) possesses
['Q26690161', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q26690161 property:P21 ?b }
male
Male Gerrit de Broen Jr. (1692-1774) possesses
male
action filter_type
action find
entity Gerrit de Broen Jr. (1692-1774)
relation gender
type sex
['Gerrit de Broen Jr. (1692-1774)', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Gerrit_de_Broen_Jr._(1692-1774) property:gender ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q15430133
P21
Q502895
USER
Is Heinz-Leo Fischer a that sex ?
(Q15430133,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q15430133
relation P21
['Q15430133', 'P21', 'Q6581097']
ASK WHERE { resource:Q15430133 property:P21 resource:Q6581097 }
male Heinz-Leo Fischer
action is_in
entity male
action find
entity Heinz-Leo Fischer
relation gender
['Heinz-Leo Fischer', 'gender', 'male']
ASK WHERE { resource:Heinz-Leo_Fischer property:gender resource:male }
[]
common name
SYSTEM
YES
(Q15430133,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q15430133
relation P21
[ANSWER]
['Q15430133', 'P21', 'Q6581097']
ASK WHERE { resource:Q15430133 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Heinz-Leo Fischer
relation gender
['Heinz-Leo Fischer', 'gender', 'male']
ASK WHERE { resource:Heinz-Leo_Fischer property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3869 Q7070 Q694930
P190
Q515
USER
Is Marburg twin city of Eisenach and Gamagōri ?
(Q3869,P190,Q7070) (Q3869,P190,Q694930)
action is_in
entity Q3869
action intersection
action find_reverse
entity Q7070
relation P190
action find_reverse
entity Q694930
relation P190
['Q3869', 'P190', 'Q7070'] ['Q3869', 'P190', 'Q694930']
ASK WHERE { resource:Q3869 property:P190 resource:Q7070 . resource:Q3869 property:P190 resource:Q694930 }
Marburg Eisenach Gamagōri
action is_in
entity Marburg
action intersection
action find_reverse
entity Eisenach
relation sister city
action find_reverse
entity Gamagōri
relation sister city
['Marburg', 'sister city', 'Eisenach'] ['Marburg', 'sister city', 'Gamagōri']
ASK WHERE { resource:Marburg property:sister_city resource:Eisenach . resource:Marburg property:sister_city resource:Gamagōri }
[]
city
SYSTEM
YES and NO respectively
(Q3869,P190,Q7070) (Q3869,P190,Q694930)
action is_in
entity Q3869
action intersection
action find_reverse
entity Q7070
relation P190
action find_reverse
entity Q694930
relation P190
[ANSWER]
['Q3869', 'P190', 'Q7070'] ['Q3869', 'P190', 'Q694930']
ASK WHERE { resource:Q3869 property:P190 resource:Q7070 . resource:Q3869 property:P190 resource:Q694930 }
YES and NO respectively
action is_in
entity Marburg
action intersection
action find_reverse
entity Eisenach
relation sister city
action find_reverse
entity Gamagōri
relation sister city
['Marburg', 'sister city', 'Eisenach'] ['Marburg', 'sister city', 'Gamagōri']
ASK WHERE { resource:Marburg property:sister_city resource:Eisenach . resource:Marburg property:sister_city resource:Gamagōri }
[]