Simple Question (Direct)
Simple Question
Q1489737
P39
Q12737077
USER
Which occupation was a position for which Ralf Nagel was appointed ?
(Q1489737,P39,c(Q12737077))
action filter_type
action find
entity Q1489737
relation P39
type Q12737077
['Q1489737', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1489737 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Ralf Nagel
action filter_type
action find
entity Ralf Nagel
relation position held
type occupation
['Ralf Nagel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Ralf_Nagel property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q17441472
SYSTEM
member of the Bürgerschaft of Bremen
Q17441472
(Q1489737,P39,c(Q12737077))
action filter_type
action find
entity Q1489737
relation P39
type Q12737077
A [ANSWER] was a position for which Ralf Nagel was appointed
['Q1489737', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1489737 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
member of the Bürgerschaft of Bremen
A member of the Bürgerschaft of Bremen was a position for which Ralf Nagel was appointed
member of the Bürgerschaft of Bremen
action filter_type
action find
entity Ralf Nagel
relation position held
type occupation
['Ralf Nagel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Ralf_Nagel property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1489737
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q17441472,P19,c(Q56061))
action filter_type
action find
entity Q1489737
relation P19
type Q56061
['Q17441472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1489737 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Ralf Nagel
action filter_type
action find
entity Ralf Nagel
relation place of birth
type administrative territorial entity
['member of the Bürgerschaft of Bremen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Ralf_Nagel property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1040
SYSTEM
Karlsruhe
Q1040
(Q17441472,P19,c(Q56061))
action filter_type
action find
entity Q1489737
relation P19
type Q56061
That person was born in [ANSWER]
['Q17441472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1489737 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Karlsruhe
That person was born in Karlsruhe
Karlsruhe
action filter_type
action find
entity Ralf Nagel
relation place of birth
type administrative territorial entity
['member of the Bürgerschaft of Bremen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Ralf_Nagel property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1040 Q2603091
P937
Q502895
USER
How many people have Karlsruhe or Cayenne as work location ?
(c(Q502895),P937,Q1040) (c(Q502895),P937,Q2603091)
action count
action union
action filter_type
action find_reverse
entity Q1040
relation P937
type Q502895
action filter_type
action find_reverse
entity Q2603091
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q1040'] [{'concept': 'Q502895'}, 'P937', 'Q2603091']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P937 ?s . VALUES ( ?s ) { ( resource:Q2603091 ) ( resource:Q1040 ) } }
Karlsruhe Cayenne
action count
action union
action filter_type
action find_reverse
entity Karlsruhe
relation work location
type common name
action filter_type
action find_reverse
entity Cayenne
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Karlsruhe'] [{'concept': 'common name'}, 'work location', 'Cayenne']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:work_location ?s . VALUES ( ?s ) { ( resource:Cayenne ) ( resource:Karlsruhe ) } }
[]
common name
SYSTEM
424
Q1358232 Q1724315 Q112989 Q1718862 Q1602937 Q15439554 Q1118590 Q1448942 Q1098626 Q1522732 Q96956 Q96957 Q101183 Q1784464 Q2541325 Q24359 Q1682427 Q76545 Q972279 Q824895 Q1929884 Q1587326 Q107280 Q100765 Q1789389 Q1556553 Q993554 Q1793734 Q2427179 Q15853597 Q318266 Q1600852 Q1556395 Q16739211 Q524701 Q1708852 Q15808508 Q1098825 Q105088 Q18202163 Q57075 Q15439545 Q1730194 Q15455239 Q1875140 Q551901 Q1351962 Q650209 Q1555838 Q2287713 Q71604 Q1278911 Q520129 Q18410153 Q77865 Q1334672 Q1929226 Q159050 Q1608312 Q1541333 Q317327 Q17541139 Q2034057 Q2642937 Q1577880 Q1462125 Q1555093 Q1273586 Q103586 Q19513751 Q1310379 Q107784 Q68860 Q1632859 Q1326429 Q19286861 Q15263597 Q1733817 Q1564935 Q1721823 Q1745683 Q1760954 Q73247 Q527058 Q494038 Q764680 Q1603578 Q1731897 Q119447 Q15434818 Q84370 Q62512 Q1461127 Q1632689 Q115633 Q2075627 Q23639366 Q316617 Q213794 Q622170 Q119972 Q562221 Q1577558 Q1943918 Q1083610 Q792184 Q106024 Q916768 Q67901 Q1298878 Q115944 Q1704666 Q1758387 Q65704 Q694276 Q19959486 Q1702322 Q1600418 Q1909861 Q1425422 Q1732541 Q1038480 Q119296 Q79139 Q17325807 Q1511346 Q1579688 Q99568 Q878611 Q15452956 Q1463496 Q2162760 Q499952 Q18279528 Q92846 Q361407 Q1609038 Q1643002 Q1793679 Q1563174 Q19279364 Q1298445 Q13557345 Q1692462 Q90901 Q2177749 Q1456190 Q18413521 Q1341868 Q1295049 Q88332 Q1505323 Q1697818 Q1511984 Q1252314 Q1703767 Q2033749 Q2581855 Q968347 Q1662938 Q2572538 Q1689987 Q14634567 Q66543 Q327956 Q1717289 Q106925 Q75104 Q389851 Q1585355 Q2642528 Q865252 Q15710223 Q2162746 Q2448408 Q920782 Q1554906 Q18026788 Q15450374 Q2426020 Q123821 Q21995417 Q1604120 Q2544437 Q75964 Q2039020 Q1357285 Q98988 Q1465056 Q15432641 Q1450002 Q1731834 Q6210658 Q15438635 Q92461 Q678094 Q1418792 Q2574883 Q15295668 Q2173639 Q75197 Q1614542 Q1684707 Q98180 Q99520 Q99195 Q18508720 Q2573984 Q2173941 Q1729211 Q22102662 Q1426013 Q1512946 Q1037920 Q1456224 Q589987 Q660111 Q1558699 Q70589 Q1510984 Q2801832 Q62130 Q1875101 Q2129689 Q1706017 Q1376927 Q1039884 Q1543244 Q873543 Q1326853 Q18628821 Q1405946 Q15819355 Q1311966 Q17322146 Q18222572 Q1912455 Q865219 Q1509046 Q1691970 Q1443767 Q18223932 Q1080120 Q110457 Q481546 Q2562624 Q77995 Q1372701 Q1340492 Q1515263 Q16269146 Q101905 Q865343 Q1566005 Q19963150 Q1912582 Q1493550 Q91956 Q536216 Q1232687 Q762376 Q1603360 Q1222152 Q1360855 Q62763 Q1465950 Q2078427 Q1363062 Q1577645 Q1510740 Q19280044 Q461666 Q2504524 Q1661816 Q1363399 Q2581890 Q1673748 Q2588760 Q702604 Q1927701 Q1611625 Q2286219 Q1360482 Q1604207 Q1690335 Q463936 Q105483 Q1944657 Q122887 Q1460692 Q1611183 Q1303630 Q87668 Q1467459 Q1740810 Q118965 Q2343286 Q104296 Q1570588 Q836555 Q365522 Q1236475 Q79128 Q1518483 Q763934 Q89055 Q2078004 Q98708 Q1554930 Q2418232 Q103226 Q1578139 Q99414 Q95930 Q1580662 Q78136 Q15446449 Q19339203 Q91065 Q1579858 Q1583942 Q2225533 Q15810575 Q17320659 Q1452984 Q15436423 Q2172606 Q18729033 Q4462 Q1730654 Q15440653 Q1505633 Q15792164 Q92536 Q1513748 Q720451 Q1745109 Q1521753 Q15436515 Q16065032 Q2172614 Q15432628 Q19485932 Q491575 Q561184 Q807552 Q1889575 Q19210191 Q105351 Q1930087 Q1533920 Q1912665 Q2561522 Q1458975 Q1560462 Q696415 Q15453747 Q495875 Q15693340 Q18223239 Q17418347 Q2418194 Q551381 Q15627451 Q98510 Q317396 Q1132906 Q77544 Q2473126 Q1079605 Q15446708 Q876891 Q103168 Q1490923 Q1025355 Q18618630 Q89262 Q1258546 Q873511 Q110406 Q70686 Q1695337 Q1390147 Q1497981 Q98758 Q1415278 Q102089 Q17121552 Q20180187 Q1443872 Q13504306 Q124859 Q807632 Q1608704 Q1281338 Q1360324 Q2546097 Q2128449 Q2571856 Q1580738 Q15440000 Q1271887 Q315488 Q97653 Q1793847 Q1512863 Q1385669 Q109085 Q1685994 Q15437073 Q1554976 Q1322995 Q106188 Q119075 Q363080 Q126394 Q109536 Q1559539 Q2575254 Q1698444 Q2315175 Q78041 Q1600149 Q1619505
(c(Q502895),P937,Q1040) (c(Q502895),P937,Q2603091)
action count
action union
action filter_type
action find_reverse
entity Q1040
relation P937
type Q502895
action filter_type
action find_reverse
entity Q2603091
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q1040'] [{'concept': 'Q502895'}, 'P937', 'Q2603091']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P937 ?s . VALUES ( ?s ) { ( resource:Q2603091 ) ( resource:Q1040 ) } }
Ernst Gaber Kurt Hess Renate Jaeger Katrin Schütz Hellmut Königshaus Klaus Wurth Mark Wössner Franz Schnabel Claus Kretz Peter Overbeck Otto Warth Walter Köhler Hans Hugo Klein Rolf-Ulrich Kunze Waldemar Gädeke Hans-Joachim Böhme Karl Preisendanz Jörg Tauss Carl Egler Bernhard Ditteney Michael Wittwer Hartmann Tann Heinz Fenrich Eberhard Gothein Kristjan Randalu Gustav Witlatschil Bruno Meyer Kurt Knittel Thomas Schulte-Michels Walther Wäldele Burkhard Reich Heinz Ruppenstein Gustav Schönleber Andrea Karimé Edmund Becker Josua Leander Gampp Ernst Klingmüller Claus Sprick Herbert Holzing Joachim Heusinger von Waldegg Fritz Haber Jochen Cornelius-Bundschuh Karl Abetz Erwin Willy Becker Ludwig Vögely Moritz von Schwind Erich Blankenhorn Hiromi Akiyama Gustav zu Putlitz Simon Moser Robert Heinrich Wagner Eberhard Carl André Kilchenmann Wolfgang Giessler Adam Remmele Emanuel Günther Michael Schmidt Jens Nowotny Herbert Gassert Helmut Bätzner Julius Hirsch Fritz Spannagel Oskar Vivell Alexander Salomon Hans-Kurt Mees Friedrich Schwindl Gunzi Heil Ernst Ulrich Franck Albert Erich Brinckmann Stephan Schwingeler Wolfgang Ball Brun-Otto Bryde Boris Groys Klaus Schmeh Meo-Micaela Hahne Johann Peter Wagner Marie Schloß Karlheinz Kögel Adam Bauer Sibylle Kessal-Wulf Klaus Schrenk Peter Stühlen Walter Migula Vinzenz Lachner Andrea Hartwig August Wilhelm von Babo Helmut Goettl Karl Keller Bernhard Baader Sebastian Niklaus Leonhard Sohncke Johann Peter Hebel Friedrich Metz Sören Anders Niklaus Riggenbach Peter Henning Franz von Reden Oliver Kreuzer Gustav Struve Markus Schupp Curt Engelhorn Anna Maria Tobler Hans-Justus Rinck Mona Breede Christine Hügel Axel Heil Horst Hippler Brigitte Wimmer Eduard Devrient Egon Schallmayer Karl Moser Josef Gmeiner Peter Lockemann Duchess Elisabeth Alexandrine of Württemberg Arno Glesius Emil Karl Kurt Frentzen Walther Peter Fuchs Heinz Jagodzinski Matthias Falke Ulrich Bernays Karl Otto Matthaei Gustav Wendt Hanno Müller-Brachmann Ferdinand Redtenbacher Ralf Cohen Gerhard Bohner Hans Melchior Geiges Karl Schumacher Carl Friedrich Deiker Karl-Friedrich Meyer Oscar Gehrig Roland Gerstner Andreas Pfitzmann Matthäus Haid Hermann Maurer Adolf Erbslöh Herbert Schimansky Kunigunde Fischer Markus Orths Manfred Groh Eugen Fehrle Egon Arno Bräunlich Thomas Fischer Johann August Schlettwein Julius Jolly Ruth Rissing-van Saan Frido Lehr Volkmar Wirth Engelbert Arnold Karl Holl Monika Harms Georg Martin Hildebrandt Johannes Kalpers Gerhard Krüger Ludwig Barth Nathanael Schmitt Oskar Alfred Hüssy Willy Boepple Helmut Engler Ingeborg Tepperwien Wilhelm Engelbert Oeftering Joachim Bornkamm Caroline Y. Robertson-von Trotha Franz Grashof Nathaniel Weil Jürgen Hubbert Gisela Splett Emil Frommel Péter Eötvös Hariolf Grupp Alexander Landgraf Birgit Keil Wolfgang Breidert Roland Geggus Hermann Trajan Rittershaus Britta Nestler Gunter Rambow Peter Sester Rudolf Pfister Thomas Marwein Rainer Stickelberger Master of the Karlsruhe Adoration Johann Christian Sachs Walter Gerrads Carl Schaefer Otto H. Schiele Adolf Birkenmayer Jürgen-Peter Graf Wilhelm Müller Edwin Blos Franz von Stengel Carl Joseph Bouginé Markus Tiedemann Henry Winkles Christina Stresemann Hans Thoma Rainer Küchenmeister Wilhelm Schluckebier Klaus Bös Rudolf Richter Alexander Famulla Willi Müller-Hufschmid Richard Dilger Friedrich Schilling Christine Hohmann-Dennhardt Dieter Grimm Wilhelm Krauskopf Wilhelm Loth Rudolf Theilmann Karel Steenhoven Andreas Schulz Wulf Goette Gerhart Kreft Karl Friderich Fridolin Heurich Anton Haizinger Rolf Dohmen Paul Frank Prince William of Baden Gerda Krüger-Nieland Steffen Butz Friedrich Weinbrenner Ludwig Thumm Ralph Llewellyn Meinrad Heck Franz Bernhard Carl Nebe Wilfried Trenkel Márton Illés Helmut Hermann Louise Kachel-Bender Ferdinand von Biedenfeld Hans Clauser Johann Jakob Ludwig Hüffell Harald Siebenmorgen Frank Kostrzewa Max Enderlin Birgit Erwin Hans-Peter Waldrich Roland Lang Frank Meier Hansgeorg Schmidt-Bergmann Christian Haldenwang Michael Bielický Tom Høyem Werner Sewing Eberhard Umbach Eugen Kuntz Rosemarie Stratmann-Döhler Walter Herzger Paul Zinsmaier Franz Sales Meyer Birgit Spahlinger Werner Breitschwerdt Gerhard Rechkemmer Max Giesinger Hans Rumpf Robert Curjel Georg Scholz Gerda Müller August Klose Horst Hagen Dieter Hoffmann Ernst Wilhelm Karl Maria von Hoiningen-Huene Wilhelm Nusselt Fritz Corterier Peter Spuhler Erwin Huxhold Hans-Jürgen Boysen Gerd Presler Fritz Wiegers Sean Dundee Uwe Lindau Indra Spiecker Döhmann Erwin Sack Willy E. Nocken Richard Rühlmann Wolf Pehlke Johann Wilhelm Schirmer Michael Harforth Hermann J. Roth Silke Reeh-Czak*mo Ernst Wagner Helmut Simon Joachim Nagel Dirk Schuster Wilhelm Eisenlohr Monika Hermanns Rainer Schütterle Friedrich Lautenschlager Hermann Gehri Friedrich Wielandt Heinrich Köhler Fritz Matthies-Masuren Wolfgang Fränkel Günter Ropohl Stephan Groß Herman Schiller Horst Saida Rolf Lederbogen Adolf Schrödter Erich Pritsch Robert Martinek Werner Raab August Schädler Heinrich-Wolfgang Leopoldt Peter Sanders Heinrich Lang Gunter Widmaier Theodor Schindler Hellmuth Fischer Hans-Peter Villis Gertrude Lübbe-Wolff Toni Menzinger Hans Kampffmeyer (1876-1932) Friedrich Schur Dieter Schaller Karl Einhart Christian Wiener Hans Grabowski Hansmartin Schwarzmaier Sascha Stowasser Friedrich Beichel Eberhard Sauppe Frederick Robert Vere Douglas-Hamilton Peter Gorschlüter Rudolf Essek Oliver Langewitz Joachim Löw Karl Christian von Berckheim Christian Friedrich Platz Georg Philippi August Stürzenacker Dieter Spöri Gerlinde Hämmerle Jean Richer Klaus Gallwitz Heinz Jordan Hermann Luckenbach Hans Reichenbach Rudolf Fahrner Rudolf Röser Stefan Pohlit Hans Cieslarczyk Günther Förg Barbara Mayen Manfred Klinkott Hans Rott Ernst Träger Michaela Pfadenhauer Hermann Ginter Max Heinsheimer Werner Hofmann Friedrich Engesser Günter Fischer Arnold Tschira Karl Neuscheler Byung-Chul Han Herbert Wessely Karl Nickel Eberhard Zschimmer Theodor Ritterspach Winfried Schäfer Luca Sestak Walter Zürn Karl Ludwig Frommel Corinne Wasmuht Alfred Stock Udo Becker Christian Friedrich Gustav von Berckheim Jürgen Schmid Hugo Knorr Wilhelm Steinkopf Gadso Lammers Cae Gauntt Markus Krötzsch Wolfgang Meyer Siegfried Broß Peter Dreher Karlheinz Kaske Karl von Vierordt Johann Ludwig Ewald Horst Wild Heinrich Maul Klaus Martin Ziegler Friedrich Muthmann Hartmut Höll Albert Peppler Gisbert von Teuffel Hans Richard von Volkmann Alfred Gmelin Franz Fehringer Barbara Schäfer Herbert Landau Eckart Klein Heinke Salisch Walter Schick Rainer Ulrich Wilhelm Baur Hans Kindermann Herbert Paschen Karl Banghard Leopold Graf von Kalckreuth Klaus Tolksdorf Kurt Martin Gerhard von Lienen Paul Senge Wilhelm Paulcke Jeanette MacLeod Thomas Gatzemeier Gunther Metz Ekkehard Westermann Johannes Masing Helga Seibert Adolf Kühn Eugen Baumgartner Jürgen Kühling Josef Schmithüsen Wilhelm Stern Johannes Stober Srećko Bogdan Karl Heun Heinz Draheim Lars Schmidt
424
action count
action union
action filter_type
action find_reverse
entity Karlsruhe
relation work location
type common name
action filter_type
action find_reverse
entity Cayenne
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Karlsruhe'] [{'concept': 'common name'}, 'work location', 'Cayenne']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:work_location ?s . VALUES ( ?s ) { ( resource:Cayenne ) ( resource:Karlsruhe ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1040
P551
Q502895
USER
Which people live in that administrative territory ?
action filter_type
action find_reverse
entity Q1040
relation P551
type Q502895
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q1040 . ?e rdf:type ontology:Q502895 }
Karlsruhe
action filter_type
action find_reverse
entity Karlsruhe
relation residence
type common name
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Karlsruhe . ?e rdf:type ontology:common_name }
[]
common name
Q27192669 Q1712058 Q15434868
SYSTEM
Friedrich Maler, Julian Schmieder, Enkh Jargal
Q1712058 Q15434868 Q27192669 Q7606142
action filter_type
action find_reverse
entity Q1040
relation P551
type Q502895
[ANSWERS] live in that administrative territory
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q1040 . ?e rdf:type ontology:Q502895 }
Julian Schmieder Enkh Jargal Friedrich Maler Stefan Janos
Friedrich Maler, Julian Schmieder and Enkh Jargal live in that administrative territory
Friedrich Maler Julian Schmieder Enkh Jargal
action filter_type
action find_reverse
entity Karlsruhe
relation residence
type common name
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Karlsruhe . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q27192669 Q1712058 Q15434868
P551
Q56061
USER
Where did those people live ?
(Q27192669,P551,c(Q56061)) (Q1712058,P551,c(Q56061)) (Q15434868,P551,c(Q56061))
action filter_type
action find
entity prev_answer
relation P551
type Q56061
['Q27192669', 'P551', {'concept': 'Q56061'}] ['Q1712058', 'P551', {'concept': 'Q56061'}] ['Q15434868', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?k property:P551 ?u . ?u rdf:type ontology:Q56061 . VALUES ( ?k ) { ( resource:Q1712058 ) ( resource:Q15434868 ) ( resource:Q27192669 ) } }
Friedrich Maler Julian Schmieder Enkh Jargal
action filter_type
action find
entity prev_answer
relation residence
type administrative territorial entity
['Friedrich Maler', 'residence', {'concept': 'administrative territorial entity'}] ['Julian Schmieder', 'residence', {'concept': 'administrative territorial entity'}] ['Enkh Jargal', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?k property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity . VALUES ( ?k ) { ( resource:Julian_Schmieder ) ( resource:Enkh_Jargal ) ( resource:Friedrich_Maler ) } }
[]
administrative territorial entity
Q220 Q1726 Q1726
SYSTEM
Munich for 2nd, 3rd, Rome for 1st
Q1726 Q4100 Q220 Q505468 Q1040 Q1726 Q1040 Q1040
(Q27192669,P551,c(Q56061)) (Q1712058,P551,c(Q56061)) (Q15434868,P551,c(Q56061))
action filter_type
action find
entity prev_answer
relation P551
type Q56061
[ANSWERS]
['Q27192669', 'P551', {'concept': 'Q56061'}] ['Q1712058', 'P551', {'concept': 'Q56061'}] ['Q15434868', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?k property:P551 ?u . ?u rdf:type ontology:Q56061 . VALUES ( ?k ) { ( resource:Q1712058 ) ( resource:Q15434868 ) ( resource:Q27192669 ) } }
Munich Baden-Baden Rome Müllheim Karlsruhe Munich Karlsruhe Karlsruhe
Those people lived in Rome, Munich and Munich
Rome Munich Munich
action filter_type
action find
entity prev_answer
relation residence
type administrative territorial entity
['Friedrich Maler', 'residence', {'concept': 'administrative territorial entity'}] ['Julian Schmieder', 'residence', {'concept': 'administrative territorial entity'}] ['Enkh Jargal', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?k property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity . VALUES ( ?k ) { ( resource:Julian_Schmieder ) ( resource:Enkh_Jargal ) ( resource:Friedrich_Maler ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P272
Q838948
USER
Which works of art had Rome as the production company ?
(c(Q838948),P272,Q220)
action filter_type
action find_reverse
entity Q220
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q220']
SELECT DISTINCT ?v WHERE { ?v property:P272 resource:Q220 . ?v rdf:type ontology:Q838948 }
Rome
action filter_type
action find_reverse
entity Rome
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Rome']
SELECT DISTINCT ?v WHERE { ?v property:production_company resource:Rome . ?v rdf:type ontology:work_of_art }
[]
work of art
Q2571534 Q3422402 Q1136505
SYSTEM
The Master and Margaret, L'amante di Gramigna, Madman at War
Q1402866 Q2571534 Q2943588 Q3998898 Q3422402 Q3639436 Q1136505 Q3221640
(c(Q838948),P272,Q220)
action filter_type
action find_reverse
entity Q220
relation P272
type Q838948
[ANSWERS] had Rome as the production company
[{'concept': 'Q838948'}, 'P272', 'Q220']
SELECT DISTINCT ?v WHERE { ?v property:P272 resource:Q220 . ?v rdf:type ontology:Q838948 }
The Camp Followers The Master and Margaret Un bellissimo novembre Sons of Trinity L'amante di Gramigna White Apache Madman at War Maigret a Pigalle
The Master and Margaret, L'amante di Gramigna and Madman at War had Rome as the production company
The Master and Margaret L'amante di Gramigna Madman at War
action filter_type
action find_reverse
entity Rome
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Rome']
SELECT DISTINCT ?v WHERE { ?v property:production_company resource:Rome . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P1427
Q22348500
USER
Which cycling race classes have start point at Rome ?
(c(Q22348500),P1427,Q220)
action filter_type
action find_reverse
entity Q220
relation P1427
type Q22348500
[{'concept': 'Q22348500'}, 'P1427', 'Q220']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q22348500 . ?z property:P1427 resource:Q220 }
Rome
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?z property:start_point resource:Rome }
[]
cycling race class defined by the International Cycling Union
Q3768647 Q26208618
SYSTEM
2011 Giro d'Italia Femminile, 2016 Gran Premio della Liberazione
Q3768647 Q26208618
(c(Q22348500),P1427,Q220)
action filter_type
action find_reverse
entity Q220
relation P1427
type Q22348500
[ANSWERS] have start point at Rome
[{'concept': 'Q22348500'}, 'P1427', 'Q220']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q22348500 . ?z property:P1427 resource:Q220 }
2011 Giro d'Italia Femminile 2016 Gran Premio della Liberazione
2011 Giro d'Italia Femminile and 2016 Gran Premio della Liberazione have start point at Rome
2011 Giro d'Italia Femminile 2016 Gran Premio della Liberazione
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?z property:start_point resource:Rome }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26208618
P1444
Q56061
USER
Which administrative territory is the end point of that cycling race class ?
(Q26208618,P1444,c(Q56061))
action filter_type
action find
entity Q26208618
relation P1444
type Q56061
['Q26208618', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q26208618 property:P1444 ?g . ?g rdf:type ontology:Q56061 }
2016 Gran Premio della Liberazione
action filter_type
action find
entity 2016 Gran Premio della Liberazione
relation destination point
type administrative territorial entity
['2016 Gran Premio della Liberazione', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:2016_Gran_Premio_della_Liberazione property:destination_point ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q26208618
SYSTEM
Did you mean 2016 Gran Premio della Liberazione ?
Q3768647 Q26208618
(Q3768647,P1444,c(Q56061)) (Q26208618,P1444,c(Q56061))
[ANSWER]
['Q3768647', 'P1444', {'concept': 'Q56061'}] ['Q26208618', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q26208618 property:P1444 ?g . ?g rdf:type ontology:Q56061 }
2011 Giro d'Italia Femminile 2016 Gran Premio della Liberazione
Did you mean 2016 Gran Premio della Liberazione ?
2016 Gran Premio della Liberazione
["2011 Giro d'Italia Femminile", 'destination point', {'concept': 'administrative territorial entity'}] ['2016 Gran Premio della Liberazione', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:2016_Gran_Premio_della_Liberazione property:destination_point ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q26208618,P1444,c(Q56061))
['Q26208618', 'P1444', {'concept': 'Q56061'}]
['2016 Gran Premio della Liberazione', 'destination point', {'concept': 'administrative territorial entity'}]
[]
Q220
SYSTEM
Rome
Q220
(Q26208618,P1444,c(Q56061))
action filter_type
action find
entity Q26208618
relation P1444
type Q56061
[ANSWER] is the end point of that cycling race class
['Q26208618', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q26208618 property:P1444 ?g . ?g rdf:type ontology:Q56061 }
Rome
Rome is the end point of that cycling race class
Rome
action filter_type
action find
entity 2016 Gran Premio della Liberazione
relation destination point
type administrative territorial entity
['2016 Gran Premio della Liberazione', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:2016_Gran_Premio_della_Liberazione property:destination_point ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P417
Q502895
USER
What are the names of person who are the patron saints of that administrative territory ?
(Q220,P417,c(Q502895))
action filter_type
action find
entity Q220
relation P417
type Q502895
['Q220', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q220 property:P417 ?j }
Rome
action filter_type
action find
entity Rome
relation patron saint
type common name
['Rome', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Rome property:patron_saint ?j }
[]
common name
Q9200 Q33923
SYSTEM
Paul, Peter
Q9200 Q33923
(Q220,P417,c(Q502895))
action filter_type
action find
entity Q220
relation P417
type Q502895
The names of person are the patron saints of that administrative territory are Saint [ANSWERS]
['Q220', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q220 property:P417 ?j }
Paul Peter
The names of person are the patron saints of that administrative territory are Saint Paul and Peter
Paul Peter
action filter_type
action find
entity Rome
relation patron saint
type common name
['Rome', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Rome property:patron_saint ?j }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15961987
USER
Which television genres did max number of people dub for ?
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?i ) WHERE { ?c rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q502895 . ?c property:P725 ?x } GROUP BY ?c } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?j ) WHERE { ?d property:P725 ?f . ?d rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 } GROUP BY ?d } }
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?i ) WHERE { ?c rdf:type ontology:television_genre . ?x rdf:type ontology:common_name . ?c property:voice_actor ?x } GROUP BY ?c } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?j ) WHERE { ?d property:voice_actor ?f . ?d rdf:type ontology:television_genre . ?f rdf:type ontology:common_name } GROUP BY ?d } }
[]
common name television genre
Q22773153
SYSTEM
Milo Murphy's Law
Q22773153
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
Max number of people dubbed by [ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?i ) WHERE { ?c rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q502895 . ?c property:P725 ?x } GROUP BY ?c } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?j ) WHERE { ?d property:P725 ?f . ?d rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 } GROUP BY ?d } }
Milo Murphy's Law
Max number of people dubbed by Milo Murphy's Law
Milo Murphy's Law
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?i ) WHERE { ?c rdf:type ontology:television_genre . ?x rdf:type ontology:common_name . ?c property:voice_actor ?x } GROUP BY ?c } } . FILTER ( ?j = ?w ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?j ) WHERE { ?d property:voice_actor ?f . ?d rdf:type ontology:television_genre . ?f rdf:type ontology:common_name } GROUP BY ?d } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q22773153 Q935609
P170
Q502895
USER
Is Dan Povenmire credited with the creation of Milo Murphy's Law ?
(Q22773153,P170,Q935609)
action is_in
entity Q935609
action find
entity Q22773153
relation P170
['Q22773153', 'P170', 'Q935609']
ASK WHERE { resource:Q22773153 property:P170 resource:Q935609 }
Milo Murphy's Law Dan Povenmire
action is_in
entity Dan Povenmire
action find
entity Milo Murphy's Law
relation creator
["Milo Murphy's Law", 'creator', 'Dan Povenmire']
ASK WHERE { resource:Milo_Murphy's_Law property:creator resource:Dan_Povenmire }
[]
common name
SYSTEM
YES
(Q22773153,P170,Q935609)
action is_in
entity Q935609
action find
entity Q22773153
relation P170
[ANSWER]
['Q22773153', 'P170', 'Q935609']
ASK WHERE { resource:Q22773153 property:P170 resource:Q935609 }
Yes
action is_in
entity Dan Povenmire
action find
entity Milo Murphy's Law
relation creator
["Milo Murphy's Law", 'creator', 'Dan Povenmire']
ASK WHERE { resource:Milo_Murphy's_Law property:creator resource:Dan_Povenmire }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15434868
P27
Q15617994
USER
Which administrative territory is Enkh Jargal an inhabitant of ?
(Q15434868,P27,c(Q15617994))
action filter_type
action find
entity Q15434868
relation P27
type Q15617994
['Q15434868', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q15434868 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Enkh Jargal
action filter_type
action find
entity Enkh Jargal
relation country of citizenship
type designation for an administrative territorial entity
['Enkh Jargal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Enkh_Jargal property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q711
SYSTEM
Mongolia
Q711
(Q15434868,P27,c(Q15617994))
action filter_type
action find
entity Q15434868
relation P27
type Q15617994
[ANSWER] is Enkh Jargal an inhabitant of
['Q15434868', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q15434868 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Mongolia
Mongolia is Enkh Jargal an inhabitant of
Mongolia
action filter_type
action find
entity Enkh Jargal
relation country of citizenship
type designation for an administrative territorial entity
['Enkh Jargal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Enkh_Jargal property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2088357
USER
How many administrative territories are the countries of origin of more number of television programs and musical ensembles than that administrative territory ?
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q711
relation P495
type Q15416
type Q2088357
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { { ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15416 . ?t property:P495 ?m } UNION { ?t property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2088357 } } GROUP BY ?m } . FILTER ( ?c > ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:Q15416 } UNION { ?q rdf:type ontology:Q2088357 } } . ?q property:P495 resource:Q711 } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Mongolia
relation country of origin
type television program
type musical ensemble
[[{'concept': 'television program'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:television_program . ?t property:country_of_origin ?m } UNION { ?t property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:musical_ensemble } } GROUP BY ?m } . FILTER ( ?c > ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:television_program } UNION { ?q rdf:type ontology:musical_ensemble } } . ?q property:country_of_origin resource:Mongolia } } }
[]
designation for an administrative territorial entity television program musical ensemble
SYSTEM
89
Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q717 Q837 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q4628 Q794 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q29999 Q854 Q424 Q236 Q230 Q232 Q20 Q1041 Q27 Q28 Q921 Q189 Q843 Q184 Q736 Q786 Q225 Q224 Q222 Q96 Q229 Q17 Q902 Q974 Q1033 Q191 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q916 Q833 Q79 Q77 Q858 Q878 Q810 Q29 Q869
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q711
relation P495
type Q15416
type Q2088357
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { { ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15416 . ?t property:P495 ?m } UNION { ?t property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2088357 } } GROUP BY ?m } . FILTER ( ?c > ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:Q15416 } UNION { ?q rdf:type ontology:Q2088357 } } . ?q property:P495 resource:Q711 } } }
Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Venezuela Nepal Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Faroe Islands Iran South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Kingdom of the Netherlands Sri Lanka Cambodia Montenegro Georgia Kazakhstan Norway Senegal Ireland Hungary Brunei Iceland Pakistan Belarus Ecuador Dominican Republic Bosnia and Herzegovina Croatia Albania Mexico Cyprus Japan Bangladesh Democratic Republic of the Congo Nigeria Estonia Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Angola Malaysia Egypt Uruguay Syria United Arab Emirates Jordan Spain Thailand
89
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Mongolia
relation country of origin
type television program
type musical ensemble
[[{'concept': 'television program'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:television_program . ?t property:country_of_origin ?m } UNION { ?t property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:musical_ensemble } } GROUP BY ?m } . FILTER ( ?c > ?i ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { { ?q rdf:type ontology:television_program } UNION { ?q rdf:type ontology:musical_ensemble } } . ?q property:country_of_origin resource:Mongolia } } }
[]