Simple Question (Direct)
Simple Question
Q360710
P102
Q7210356
USER
Which political organization is Adolf Aeschbach a member of ?
(Q360710,P102,c(Q7210356))
action filter_type
action find
entity Q360710
relation P102
type Q7210356
['Q360710', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q360710 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Adolf Aeschbach
action filter_type
action find
entity Adolf Aeschbach
relation member of political party
type political organization
['Adolf Aeschbach', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Adolf_Aeschbach property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q303745
SYSTEM
Social Democratic Party of Switzerland
Q303745
(Q360710,P102,c(Q7210356))
action filter_type
action find
entity Q360710
relation P102
type Q7210356
Party [ANSWER] is Adolf Aeschbach a member of
['Q360710', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q360710 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Social Democratic Party of Switzerland
Party Social Democratic Party of Switzerland is Adolf Aeschbach a member of
Social Democratic Party of Switzerland
action filter_type
action find
entity Adolf Aeschbach
relation member of political party
type political organization
['Adolf Aeschbach', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Adolf_Aeschbach property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q303745
P159
Q56061
USER
Where is the head office for that political organization located ?
(Q303745,P159,c(Q56061))
action filter_type
action find
entity Q303745
relation P159
type Q56061
['Q303745', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q303745 property:P159 ?f . ?f rdf:type ontology:Q56061 }
Social Democratic Party of Switzerland
action filter_type
action find
entity Social Democratic Party of Switzerland
relation headquarters location
type administrative territorial entity
['Social Democratic Party of Switzerland', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Social_Democratic_Party_of_Switzerland property:headquarters_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q303745,P159,c(Q56061))
action filter_type
action find
entity Q303745
relation P159
type Q56061
The head office for that political organization is located in [ANSWER]
['Q303745', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q303745 property:P159 ?f . ?f rdf:type ontology:Q56061 }
Bern
The head office for that political organization is located in Bern
Bern
action filter_type
action find
entity Social Democratic Party of Switzerland
relation headquarters location
type administrative territorial entity
['Social Democratic Party of Switzerland', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Social_Democratic_Party_of_Switzerland property:headquarters_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q56061
USER
How many administrative territories and administrative territories are the sister cities of that administrative territory ?
(Q70,P190,c(Q15617994)) (Q70,P190,c(Q56061)) (Q70,P190,c(Q15617994)) (Q70,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q70
relation P190
type Q15617994
action filter_type
action find
entity Q70
relation P190
type Q56061
['Q70', 'P190', {'concept': 'Q15617994'}] ['Q70', 'P190', {'concept': 'Q56061'}] ['Q70', 'P190', {'concept': 'Q15617994'}] ['Q70', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?h rdf:type ?a }
action count
action union
action filter_type
action find
entity Bern
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bern
relation sister city
type administrative territorial entity
['Bern', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bern', 'sister city', {'concept': 'administrative territorial entity'}] ['Bern', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bern', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?h rdf:type ?a }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
5
Q1741 Q1002490 Q34820 Q34713 Q13437
(Q70,P190,c(Q15617994)) (Q70,P190,c(Q56061)) (Q70,P190,c(Q15617994)) (Q70,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q70
relation P190
type Q15617994
action filter_type
action find
entity Q70
relation P190
type Q56061
[ANSWER]
['Q70', 'P190', {'concept': 'Q15617994'}] ['Q70', 'P190', {'concept': 'Q56061'}] ['Q70', 'P190', {'concept': 'Q15617994'}] ['Q70', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?h rdf:type ?a }
Vienna New Bern Santo Domingo Salzburg Benevento
5
action count
action union
action filter_type
action find
entity Bern
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bern
relation sister city
type administrative territorial entity
['Bern', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bern', 'sister city', {'concept': 'administrative territorial entity'}] ['Bern', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bern', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?h rdf:type ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q303745
P21 P102
Q502895
USER
Which people are the members of Social Democratic Party of Switzerland and are a male ?
AND((c(Q502895),P102,Q303745), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q303745
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q303745'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P102 resource:Q303745 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male Social Democratic Party of Switzerland
action filter_type
action intersection
action find_reverse
entity Social Democratic Party of Switzerland
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Social Democratic Party of Switzerland'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:member_of_political_party resource:Social_Democratic_Party_of_Switzerland . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q1174397 Q1359014 Q1410143 Q1379311 Q115791 Q3591024 Q1928120 Q1794258 Q23636365 Q1465807
SYSTEM
Some of them are David Farbstein, Ernst Kohler, Hans Roth, Urs Wüthrich, Jules Humbert-Droz, Éric Caboussat, Michael Kaufmann, Kurt Wernli, René Villard, Fritz Brechbühl
Q1450924 Q1581556 Q1908456 Q1597413 Q117796 Q2406047 Q116829 Q1892948 Q3134162 Q1508883 Q1372980 Q361780 Q1819194 Q120273 Q1174397 Q1248055 Q121619 Q115561 Q1358482 Q2061648 Q2637566 Q2831428 Q118013 Q120693 Q1734657 Q116465 Q116461 Q1385162 Q1029126 Q23366111 Q115791 Q17305225 Q119440 Q121273 Q15441314 Q74144 Q1465807 Q1259423 Q2638498 Q1148738 Q15507784 Q16979796 Q125251 Q16742793 Q1731949 Q1699770 Q1558309 Q15621711 Q15621712 Q1408621 Q2546695 Q15621718 Q118337 Q2074000 Q825998 Q1336378 Q120124 Q1288673 Q1086150 Q2021232 Q16269576 Q3300476 Q2158093 Q762230 Q121155 Q120937 Q1517278 Q1462370 Q121835 Q2644613 Q2546149 Q363099 Q1794081 Q361077 Q1388206 Q642570 Q117322 Q22116731 Q16653286 Q1334691 Q1379311 Q15454545 Q1351504 Q15832820 Q1794258 Q2162634 Q17305205 Q3301247 Q2075276 Q117953 Q16509215 Q1096488 Q3384068 Q1447990 Q2425798 Q1173672 Q119843 Q121330 Q2645584 Q2847509 Q2637608 Q1558587 Q117173 Q16645314 Q118306 Q1610615 Q118308 Q1287750 Q1287995 Q687806 Q522121 Q2965316 Q1362787 Q118489 Q15834249 Q16980199 Q695543 Q119144 Q1359875 Q123939 Q3085521 Q120748 Q15454616 Q1793925 Q2076119 Q1632478 Q1301594 Q1651658 Q15840072 Q2343292 Q19975774 Q3174323 Q1518805 Q3384893 Q1679146 Q119967 Q1311320 Q861918 Q1359014 Q119963 Q710565 Q17305234 Q1397310 Q1235484 Q121891 Q23662305 Q1717884 Q1909876 Q17166977 Q15621706 Q124613 Q1520603 Q2059910 Q2424519 Q2847716 Q120733 Q1694278 Q2336270 Q1492591 Q2544759 Q118451 Q119103 Q3172777 Q118295 Q120924 Q1405270 Q15840031 Q15428376 Q115581 Q2960241 Q1679241 Q1387806 Q1457120 Q1694945 Q123122 Q518149 Q1096889 Q1556011 Q15621529 Q120780 Q115645 Q1523927 Q119659 Q2144780 Q1955511 Q116091 Q115886 Q23636365 Q1912609 Q3168266 Q1081633 Q1904985 Q1871806 Q1730211 Q15452401 Q2638677 Q125273 Q125277 Q1039796 Q1039793 Q2644787 Q1484742 Q121170 Q3383641 Q1581370 Q1611748 Q2424854 Q2642896 Q1748289 Q2531946 Q123706 Q1928120 Q1731914 Q121599 Q91174 Q115546 Q15787915 Q17410923 Q123483 Q115548 Q1892744 Q1584551 Q121573 Q2561999 Q2977489 Q685800 Q117682 Q1558452 Q360710 Q1467924 Q119035 Q120956 Q1336174 Q120771 Q1467336 Q3384428 Q994148 Q120654 Q117904 Q2163744 Q1292447 Q2149163 Q1673126 Q361887 Q117884 Q2562019 Q121257 Q115611 Q496225 Q1356182 Q2846461 Q1603686 Q2134064 Q1725330 Q116847 Q15453595 Q122852 Q363656 Q2898628 Q119464 Q2039709 Q119460 Q1453352 Q1098052 Q367391 Q1678049 Q1483827 Q2057373 Q15621604 Q1610672 Q1556247 Q3092294 Q1793723 Q1743478 Q3569154 Q1467270 Q1562529 Q119393 Q121743 Q1682980 Q15841750 Q1360671 Q120724 Q1421273 Q120689 Q3591024 Q118060 Q3134156 Q1283267 Q1578143 Q1600069 Q1400921 Q3382756 Q15842978 Q1231245 Q1708132 Q122715 Q1268725 Q121843 Q15867890 Q1303424 Q81968 Q2847820 Q1464137 Q121362 Q1036388 Q115622 Q17126453 Q1063830 Q1287927 Q68278 Q1449052 Q1390570 Q1098302 Q1410143 Q117113 Q15694941 Q1904632 Q1363039 Q15834202 Q3524115 Q2456443 Q15433660 Q1372401 Q1477471 Q1484354 Q1271995 Q1901905 Q1904794 Q115538 Q2848606 Q1176389 Q1684932 Q1357347 Q122440 Q522110 Q118024 Q1388500 Q3298593 Q15810773 Q1556519 Q16064320 Q16739430 Q120940 Q119896 Q1429946 Q120363 Q1290496 Q2587861 Q3158748 Q1081082 Q813067 Q1484838 Q116356 Q1685106 Q15018599 Q1357292 Q677663 Q1451904 Q115520 Q20828380 Q1360527 Q2508499 Q2060349 Q1065610 Q2560951 Q124913 Q2062236 Q2655204 Q17305212 Q17305198 Q1125603 Q15820893 Q125289 Q1535528 Q122825 Q116923 Q3084239 Q1669451 Q17166462
AND((c(Q502895),P102,Q303745), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q303745
relation P102
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are the members of Social Democratic Party of Switzerland and are a male
{'AND': [[{'concept': 'Q502895'}, 'P102', 'Q303745'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P102 resource:Q303745 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
François Borel Hans Oprecht Mathias Eggenberger Walther Bringolf Peter Maurer Philippe Garbani Hans-Jürg Fehr Marcel Brawand Hermann Jaquet Georges Eggenberger Eugen Wullschleger Adolf Furrer Leonhard Burckhardt Oswald Sigg David Farbstein Martin B. Lehmann Bernhard Jäggi Ernst Nobs Ernst Haller Paul Pflüger Albert Bauer Albert Naine Friedrich Erismann Jean Studer Willi Wenk Mario Fehr Claude Janiak Marco Kistler Camille Brandt Claude Ketterer Jules Humbert-Droz Peter Schmid Paul Rechsteiner Jean-Charles Rielle Viktor Boss Alexander Tschäppät Fritz Brechbühl Rudolf Morf Albert Minder Cyrill Brügger Kurt Bigler Victor Ruffy Paul Meierhans Andreas Gerwig Karl Kloter Markus Mattmüller Jean Briner Oscar Mayer Johannes Huber Ruedi Lais Walter Weber Fritz Hauser Roberto Zanetti Peter Bodenmann Bernhard Stirnemann Emil Klöti Andreas Rickenbacher Eduard Heinis Christoph Zürrer Adolf Lüchinger Michel Thentz Maurice Braillard Robert Luterbacher August Kamber Roland Béguelin Daniel Jositsch Gottlieb Meier Walter Kräuchi Benedikt Weibel Alfred Abegg Walter Schmidt Adolf Landolt Kurt Schweizer Adolf Bucher Hans-Jakob Mosimann Thomas Christen Leonhard Ragaz Georgie Lamon Laurent Kurth Emanuel Hurwitz Urs Wüthrich Hans Schmid Eric Nussbaumer Luc Mentha Kurt Wernli Roland Agustoni Benno Hardmeier Maurice Payot Peter Gross Ahmed Huber Reto Müller Claude Berger Pierre Bonhôte Franz Landolt Thomas Leitch-Frey David Baumgartner Thomas Burgener Stéphane Rossini Alfred Neukomm André Chavanne Albert Belmont Markus Rhyner Didier Berberat Jean-Nathanaël Karakash Claude Hêche Hermann Battaglia Christian Levrat Silvio Bircher Eduard Belser Armin Hüppin André Oltramare Christian Grobet Erwin A. Lang Jean Christophe Schwaab Martin Waser Arthur Schmid Arnold Kamber Matthias Aebischer Ernst Reinhard Alain Berset François Paychère Reynold Tschäppät Heinrich Ott Kurt Nuspliger Peter Jossen Pierre Aguet Fritz Marbach Roland Munz Peter Hartmann Stephan Gschwind Hans C. Conzett Jean Riesen Martin Bundi Pierre Duvoisin Jakob Kamm Charles Beer Max Chopard Bill Arigoni Ernst Kohler Rudolf Rechsteiner Arthur Maret Peter Vollmer Fred Rubi Dolfi Müller Laurent Moutinot Fritz Thiébaud Pierre Salvi Matthias Freivogel Richard Lienhard Richard Müller Alex Capus Jacques de Haller Paul Günter Thomas Hardegger André Ehrler Jean-Claude Rennwald Martin Killias Stefan Feldmann Gallus Berger Walter Hilfiker Daniel Nordmann Jacques-André Maire Jean Jacques Schwaab Manuel Tornare Werner Carobbio Ferdinand Frank Peter Bernasconi Richard Müller Pierre Aubert Charles Sollberger Jakob Mosimann Hansruedi Schmid Matthias Weishaupt Johann Jakob Treichler Ernst Leuenberger André Daguet Claude Longchamp Gustav Huonker Robert Bratschi Samuel Brawand Robert Grimm Gilbert Bächtold Ralph Lewin René Meylan Mustafa Atici Franz Keller Elmar Ledergerber René Villard Max Gurny Jean-Noël Rey Christian Rubi Martin Schubarth Louis Lang Karl Adolf Brodtbeck Friedrich Heeb Albert Räber Josef Estermann Eduard Freimüller Carl Miville Carl Miville-Seiler Alfred Bussey Philippe-Henri Berger Urs Hofmann Pierre Aeby Hans Mischler Hermann Keller Thomas Huonker Alexander Reichel Albert von der Aa Emil Walter Jean Ziegler Michael Kaufmann Karl Killer Christoph Brutschin Hermann Greulich Willi Ritschard Bernhard Antener Christian Koller Adolf Muschg Hans-Peter Tschudi Marc Oltramare Harald Huber Emil Müller Werner Marti Claude Grandjean Walter Buser Georges Moeckli Otto Nauer Adolf Aeschbach Fritz Reimann Éric Voruz Max Chopard-Acklin Emil Hardegger Markus Notter Fritz Lieb Pierre Chiffelle Jacques Schmid Franco Cavalli Cédric Wermuth Rolf Ritschard Fritz Grütter Richard Bäumlin Walter König Adolf Gloor Walter Renschler Werner Meier Dario Robbiani René Felber Andreas Blum Ernest-Paul Graber Andreas Herczog Helmut Hubacher Raymond Bertholet Philipp Hadorn Francis Matthey Ruedi Brassel Hans Stöckli Adolf Richner Bernard Soguel Andy Tschümperlin Otto Lang Jean-François Steiert Fredy Fässler Claudio Lardi Max Weber Jacques Morier-Genoud Ulrich Gygi Patrick Angele Werner Allgöwer Hermann Berger Rudolf Siegrist Félicien Morel Kurt Kipfer Peter Beutler Willy Donzé Fritz Lanz Albert Steck Carlo Sommaruga Jost Gross Max Gerber Raphael Golta Ernst Wohlwend Roger Nordmann Peter Gomm Rudolf Strahm Éric Caboussat Gian-Reto Plattner Hermann Guinand Ernst Rodel Hans-Peter Wessels Heinz Bratschi René Dubois Pierre-Alain Clément Romedi Arquint Hasan Candan Pierre Duvoisin Philippe Perrenoud Flurin Burkard Hans Widmer Thomas Fraefel Patrick Schönbächler Corrado Pardini André Gavillet Pierre-Alain Gentil Friedrich Schneider Carl-Alex Ridoré Willy Spühler Sami Kanaan Charles Burklin Eduard Arnold Arthur Crispien Werner Stocker Fabio Pedrina Claudius Graf-Schelling Hans Roth Andreas Gross Albert Dupont-Willemin Martin Naef Erwin Hofer Martin Krummenacher Thierry Apotheloz Fritz Giovanoli Fritz Baumann Eugen Blocher Alix Jaccard Hermann Kurz Willy Spieler Markus Züst Martin Reichlin Otto Stich André Sandoz David Roth Jean-Jacques Schilt Ernst Anliker Boris Banga André Odermatt Léon Nicole Otto Herrmann Mathias Reynard Fritz Heeb Gustav Wenk Fabian Molina Pierre-Alain Fridez Andrea Hämmerle Michel Béguelin Florian Vetsch Pierre Graber Eduard Zellweger Pierre Dubois Jacques Dicker Christian Meier Beat Jans Heinrich Abegg Erwin Jutzet Jean-Nils de Dardel Martin Bornhauser Ernst Aebersold Ricardo Lumengo Tobit Schäfer Moritz Leuenberger Daniel von Siebenthal Ernst Weber Valentin Trentin Paul Ignaz Vogel Charles Naine Werner Bächtold Johann Näher Paul Schmid-Ammann Arthur Villard Jacob Lorenz Valentin Gitermann Peter Käppler Jean-Pierre Aellen Klaus Baumgartner Hans Stiffler Guido Müller Pierre-Yves Maillard François Cherix Pierre Gassmann Emil J. Walter
David Farbstein, Ernst Kohler, Hans Roth, Urs Wüthrich, Jules Humbert-Droz, Éric Caboussat, Michael Kaufmann, Kurt Wernli, René Villard and Fritz Brechbühl are the members of Social Democratic Party of Switzerland and are a male
David Farbstein Ernst Kohler Hans Roth Urs Wüthrich Jules Humbert-Droz Éric Caboussat Michael Kaufmann Kurt Wernli René Villard Fritz Brechbühl
action filter_type
action intersection
action find_reverse
entity Social Democratic Party of Switzerland
relation member of political party
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of political party', 'Social Democratic Party of Switzerland'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:member_of_political_party resource:Social_Democratic_Party_of_Switzerland . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]