Simple Question (Direct)
Simple Question
Q123437
P21
Q290
USER
Which sex does Johann Jakob Bernoulli belong to ?
(Q123437,P21,c(Q290))
action filter_type
action find
entity Q123437
relation P21
type Q290
['Q123437', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q123437 property:P21 ?w . ?w rdf:type ontology:Q290 }
Johann Jakob Bernoulli
action filter_type
action find
entity Johann Jakob Bernoulli
relation gender
type sex
['Johann Jakob Bernoulli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Johann_Jakob_Bernoulli property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q123437,P21,c(Q290))
action filter_type
action find
entity Q123437
relation P21
type Q290
Johann Jakob Bernoulli belongs to [ANSWER]
['Q123437', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q123437 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Johann Jakob Bernoulli belongs to male
male
action filter_type
action find
entity Johann Jakob Bernoulli
relation gender
type sex
['Johann Jakob Bernoulli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Johann_Jakob_Bernoulli property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q123437
P27
Q15617994
USER
Which administrative territory is Johann Jakob Bernoulli a civilian of ?
(Q123437,P27,c(Q15617994))
action filter_type
action find
entity Q123437
relation P27
type Q15617994
['Q123437', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q123437 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Johann Jakob Bernoulli
action filter_type
action find
entity Johann Jakob Bernoulli
relation country of citizenship
type designation for an administrative territorial entity
['Johann Jakob Bernoulli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Johann_Jakob_Bernoulli property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q123437,P27,c(Q15617994))
action filter_type
action find
entity Q123437
relation P27
type Q15617994
[ANSWER] is Johann Jakob Bernoulli a civilian of
['Q123437', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q123437 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Switzerland
Switzerland is Johann Jakob Bernoulli a civilian of
Switzerland
action filter_type
action find
entity Johann Jakob Bernoulli
relation country of citizenship
type designation for an administrative territorial entity
['Johann Jakob Bernoulli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Johann_Jakob_Bernoulli property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5316704
Q15617994
USER
And also tell me about Duro Ladipo?
(Q5316704,P27,c(Q15617994))
action filter_type
action find
entity Q5316704
relation P27
type Q15617994
['Q5316704', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5316704 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Duro Ladipo
action filter_type
action find
entity Duro Ladipo
relation country of citizenship
type designation for an administrative territorial entity
['Duro Ladipo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Duro_Ladipo property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q5316704,P27,c(Q15617994))
action filter_type
action find
entity Q5316704
relation P27
type Q15617994
[ANSWER]
['Q5316704', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5316704 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Nigeria
Nigeria
action filter_type
action find
entity Duro Ladipo
relation country of citizenship
type designation for an administrative territorial entity
['Duro Ladipo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Duro_Ladipo property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1033 Q4897931
P47
Q15617994
USER
Does Bethel School District share border with that one ?
(Q1033,P47,Q4897931)
action is_in
entity Q4897931
action find
entity Q1033
relation P47
['Q1033', 'P47', 'Q4897931']
ASK WHERE { resource:Q1033 property:P47 resource:Q4897931 }
Nigeria Bethel School District
action is_in
entity Bethel School District
action find
entity Nigeria
relation shares border with
['Nigeria', 'shares border with', 'Bethel School District']
ASK WHERE { resource:Nigeria property:shares_border_with resource:Bethel_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1033,P47,Q4897931)
action is_in
entity Q4897931
action find
entity Q1033
relation P47
[ANSWER]
['Q1033', 'P47', 'Q4897931']
ASK WHERE { resource:Q1033 property:P47 resource:Q4897931 }
No
action is_in
entity Bethel School District
action find
entity Nigeria
relation shares border with
['Nigeria', 'shares border with', 'Bethel School District']
ASK WHERE { resource:Nigeria property:shares_border_with resource:Bethel_School_District }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7422645 Q5316704
P106
Q151885
USER
Which concepts do Duro Ladipo or Sarah Northey do for a living ?
OR((Q5316704,P106,c(Q151885)), (Q7422645,P106,c(Q151885)))
action filter_type
action union
action find
entity Q5316704
relation P106
action find
entity Q7422645
relation P106
type Q151885
{'OR': [['Q5316704', 'P106', {'concept': 'Q151885'}], ['Q7422645', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5316704 property:P106 ?a } UNION { resource:Q7422645 property:P106 ?a } } . ?a rdf:type ontology:Q151885 }
Sarah Northey Duro Ladipo
action filter_type
action union
action find
entity Duro Ladipo
relation occupation
action find
entity Sarah Northey
relation occupation
type concept
{'OR': [['Duro Ladipo', 'occupation', {'concept': 'concept'}], ['Sarah Northey', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Duro_Ladipo property:occupation ?a } UNION { resource:Sarah_Northey property:occupation ?a } } . ?a rdf:type ontology:concept }
[]
concept
Q10843402 Q214917
SYSTEM
swimmer, playwright
Q10843402 Q214917
OR((Q5316704,P106,c(Q151885)), (Q7422645,P106,c(Q151885)))
action filter_type
action union
action find
entity Q5316704
relation P106
action find
entity Q7422645
relation P106
type Q151885
Duro Ladipo or Sarah Northey do for a living professional [ANSWERS]
{'OR': [['Q5316704', 'P106', {'concept': 'Q151885'}], ['Q7422645', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5316704 property:P106 ?a } UNION { resource:Q7422645 property:P106 ?a } } . ?a rdf:type ontology:Q151885 }
swimmer playwright
Duro Ladipo or Sarah Northey do for a living professional swimmer and playwright
swimmer playwright
action filter_type
action union
action find
entity Duro Ladipo
relation occupation
action find
entity Sarah Northey
relation occupation
type concept
{'OR': [['Duro Ladipo', 'occupation', {'concept': 'concept'}], ['Sarah Northey', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Duro_Ladipo property:occupation ?a } UNION { resource:Sarah_Northey property:occupation ?a } } . ?a rdf:type ontology:concept }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P425
Q268592 Q151885
USER
How many concepts do greater number of economic branches belong to than that concept ?
(c(Q151885),P425,c(Q268592))
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P425 ?y . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q268592 }
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:field_of_this_occupation ?y . ?z rdf:type ontology:concept . ?y rdf:type ontology:economic_branch }
[]
economic branch concept
Comparative|Count over More/Less|Single entity type|Clarification
Q214917
SYSTEM
Did you mean playwright ?
(c(Q151885),P425,c(Q268592))
[ANSWER]
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P425 ?y . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q268592 }
Did you mean playwright ?
playwright
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:field_of_this_occupation ?y . ?z rdf:type ontology:concept . ?y rdf:type ontology:economic_branch }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant swimmer. Could you tell me the answer for that?
(c(Q151885),P425,c(Q268592))
Q10843402
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q268592'}]
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'economic branch'}]
[]
SYSTEM
0
(c(Q151885),P425,c(Q268592))
[ANSWER]
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P425 ?y . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q268592 }
0
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:field_of_this_occupation ?y . ?z rdf:type ontology:concept . ?y rdf:type ontology:economic_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214917
P101
Q502895
USER
Who works in the domain of playwright ?
(c(Q502895),P101,Q214917)
action filter_type
action find_reverse
entity Q214917
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q214917']
SELECT DISTINCT ?l WHERE { ?l property:P101 resource:Q214917 . ?l rdf:type ontology:Q502895 }
playwright
action filter_type
action find_reverse
entity playwright
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'playwright']
SELECT DISTINCT ?l WHERE { ?l property:field_of_work resource:playwright . ?l rdf:type ontology:common_name }
[]
common name
Q134942 Q1509409
SYSTEM
William Somerset Maugham, Georgios Chortatzis
Q134942 Q1509409
(c(Q502895),P101,Q214917)
action filter_type
action find_reverse
entity Q214917
relation P101
type Q502895
[ANSWERS] work in the domain of playwright
[{'concept': 'Q502895'}, 'P101', 'Q214917']
SELECT DISTINCT ?l WHERE { ?l property:P101 resource:Q214917 . ?l rdf:type ontology:Q502895 }
William Somerset Maugham Georgios Chortatzis
William Somerset Maugham and Georgios Chortatzis work in the domain of playwright
William Somerset Maugham Georgios Chortatzis
action filter_type
action find_reverse
entity playwright
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'playwright']
SELECT DISTINCT ?l WHERE { ?l property:field_of_work resource:playwright . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1509409
P50
Q838948
USER
Which work of art is written by that person ?
(c(Q838948),P50,Q1509409)
action filter_type
action find_reverse
entity Q1509409
relation P50
type Q838948
[{'concept': 'Q838948'}, 'P50', 'Q1509409']
SELECT DISTINCT ?c WHERE { ?c property:P50 resource:Q1509409 . ?c rdf:type ontology:Q838948 }
Georgios Chortatzis
action filter_type
action find_reverse
entity Georgios Chortatzis
relation author
type work of art
[{'concept': 'work of art'}, 'author', 'Georgios Chortatzis']
SELECT DISTINCT ?c WHERE { ?c property:author resource:Georgios_Chortatzis . ?c rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q134942
SYSTEM
Did you mean William Somerset Maugham ?
Q134942 Q1509409
(c(Q838948),P50,Q134942) (c(Q838948),P50,Q1509409)
[ANSWER]
[{'concept': 'Q838948'}, 'P50', 'Q134942'] [{'concept': 'Q838948'}, 'P50', 'Q1509409']
SELECT DISTINCT ?c WHERE { ?c property:P50 resource:Q1509409 . ?c rdf:type ontology:Q838948 }
William Somerset Maugham Georgios Chortatzis
Did you mean William Somerset Maugham ?
William Somerset Maugham
[{'concept': 'work of art'}, 'author', 'William Somerset Maugham'] [{'concept': 'work of art'}, 'author', 'Georgios Chortatzis']
SELECT DISTINCT ?c WHERE { ?c property:author resource:Georgios_Chortatzis . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Georgios Chortatzis. Could you tell me the answer for that?
(c(Q838948),P50,Q1509409)
Q1509409
[{'concept': 'Q838948'}, 'P50', 'Q1509409']
[{'concept': 'work of art'}, 'author', 'Georgios Chortatzis']
[]
Q3591455
SYSTEM
Erofili
Q3591455
(c(Q838948),P50,Q1509409)
action filter_type
action find_reverse
entity Q1509409
relation P50
type Q838948
[ANSWER] is written by that person
[{'concept': 'Q838948'}, 'P50', 'Q1509409']
SELECT DISTINCT ?c WHERE { ?c property:P50 resource:Q1509409 . ?c rdf:type ontology:Q838948 }
Erofili
Erofili is written by that person
Erofili
action filter_type
action find_reverse
entity Georgios Chortatzis
relation author
type work of art
[{'concept': 'work of art'}, 'author', 'Georgios Chortatzis']
SELECT DISTINCT ?c WHERE { ?c property:author resource:Georgios_Chortatzis . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P19
Q502895
USER
Which people were born at Switzerland ?
(c(Q502895),P19,Q39)
action filter_type
action find_reverse
entity Q39
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q39']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q39 . ?l rdf:type ontology:Q502895 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Switzerland']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Switzerland . ?l rdf:type ontology:common_name }
[]
common name
Q78448 Q3746725 Q380776
SYSTEM
Heinz Hopf, Florian Berisha, Daniel Tarone
Q1578766 Q1929385 Q2217066 Q2002021 Q24256738 Q459386 Q142422 Q17523823 Q21005774 Q19571742 Q2102572 Q66507 Q1696032 Q119235 Q3702591 Q2650494 Q22971900 Q601312 Q2400882 Q21066262 Q6558386 Q43559 Q5340374 Q2055718 Q23772654 Q6757587 Q5317739 Q1710251 Q670528 Q6208466 Q870374 Q6284393 Q3052955 Q16234710 Q60633 Q21103030 Q658852 Q20090589 Q3359234 Q5226511 Q6169571 Q7416865 Q5219298 Q20894637 Q24530635 Q3165138 Q4788148 Q7881293 Q23772650 Q118156 Q16189484 Q2475878 Q1636279 Q7358453 Q5829466 Q672631 Q2037659 Q7293997 Q20829615 Q26455573 Q2003867 Q328085 Q324289 Q5241578 Q10529316 Q685691 Q339173 Q12796010 Q6176485 Q1526503 Q4940016 Q7087548 Q375439 Q2221260 Q1174461 Q684192 Q21996925 Q459285 Q21880709 Q24054548 Q3592155 Q6762623 Q19904103 Q4714894 Q1336053 Q607304 Q6225467 Q7360507 Q677440 Q5202445 Q6488557 Q2221155 Q7184830 Q26250783 Q5993272 Q5200944 Q16104445 Q674124 Q2825204 Q15967575 Q10533230 Q2053304 Q6688525 Q1966801 Q1969041 Q16093872 Q666465 Q1928483 Q6585439 Q123831 Q7372858 Q7782107 Q197989 Q1578442 Q2073892 Q503641 Q3025009 Q3634467 Q2061023 Q23761630 Q4720911 Q2286421 Q123115 Q21931931 Q5231495 Q15637658 Q3183725 Q1160464 Q1161750 Q426817 Q10422577 Q2055831 Q19309903 Q121673 Q1118365 Q1699974 Q6755715 Q23059924 Q7330104 Q3804898 Q5393573 Q23707673 Q2635430 Q1492367 Q16216699 Q7652021 Q1306366 Q3148512 Q1719588 Q2055742 Q3938316 Q6309833 Q16116417 Q45170 Q3032985 Q5291151 Q1719994 Q523181 Q18129382 Q24701702 Q3732134 Q1317301 Q20873461 Q4957406 Q16664555 Q20740567 Q78448 Q17352787 Q24648148 Q21005699 Q3940088 Q2002226 Q280486 Q3159889 Q1556190 Q123679 Q1609248 Q2077204 Q209014 Q5511317 Q7784036 Q1098093 Q20046293 Q6871362 Q3499175 Q3278146 Q21066114 Q5361686 Q19594174 Q5045172 Q1646549 Q1892589 Q15139144 Q1478065 Q2039108 Q20819921 Q6395835 Q7417383 Q21064146 Q5549983 Q23799355 Q993685 Q7606035 Q26935636 Q2161248 Q4021750 Q328697 Q520705 Q10513187 Q1693700 Q2162757 Q6899933 Q21005222 Q17145641 Q676754 Q7322919 Q7283369 Q775612 Q7358607 Q2287552 Q16601717 Q5492759 Q19903918 Q2641347 Q6539123 Q23062711 Q23880660 Q23799360 Q6729382 Q21066105 Q4705695 Q504414 Q3287996 Q6100396 Q16551841 Q4685332 Q19841133 Q6501234 Q359035 Q1220579 Q122505 Q16197195 Q1445279 Q7931897 Q459680 Q27197145 Q2972747 Q964739 Q23707643 Q6036815 Q21064464 Q1362622 Q3265378 Q6169181 Q16234479 Q459526 Q686103 Q16215727 Q18585507 Q16236718 Q380776 Q869826 Q15208425 Q1358765 Q6086552 Q666346 Q690803 Q23707672 Q1337196 Q6795435 Q3303417 Q4020238 Q1086421 Q5047689 Q22961768 Q1893223 Q15993069 Q2166423 Q2053290 Q6307022 Q5323030 Q1082239 Q16186151 Q7793140 Q18412104 Q5558006 Q1066136 Q7313691 Q6753051 Q2370934 Q6753057 Q4736207 Q9168641 Q3746725 Q1362593 Q1452629 Q7446515 Q1264346 Q3351436 Q9022600 Q2132682 Q19664608 Q5218736 Q3992103 Q124774 Q2164783 Q16887887 Q3524311 Q21066122 Q695355 Q7416858 Q17736507 Q671485 Q2078108
(c(Q502895),P19,Q39)
action filter_type
action find_reverse
entity Q39
relation P19
type Q502895
[ANSWERS] were born at Switzerland
[{'concept': 'Q502895'}, 'P19', 'Q39']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q39 . ?l rdf:type ontology:Q502895 }
Hans Bollinger Michael Siegfried Samet Gündüz René Bader Charles Pickel Nicolas Schindelholz Miloš Malenović Emma Ferrer Adrian Faber Steven Ukoh Polo Hofer Julius Tafel Johann Rudolf Sinner Sandra Graf Dario Dussin Alois Wey Stefan Merki Halina Zalewska Frédéric Choffat Nikola Gjorgjev Lisa Sabino Joël Kiassumbua Eduard Benedek Brunschweiler Kurt Rey Aldin Turkes Marco Kottmann Dušan Pavlović Joël Magnin Nicolas Marazzi Joe Balsamo Marius Zarn Joseph Jimenez Emmanuelle Houdart Benjamin Kololli Nicolas Gétaz Manuel Kubli August Zurfluh Dieter Trattmann Ozymandias Dasanavalaya Sorasongkram Jean-Marc Vacheron Sandro Lombardi Daniele Russo Florian Faber Nicolas Hunziker Jean-Claude Mukanya Ardit Zenuni Umberto Romano Mike Kleiber Albert Butz Arno Rossini Ulrich Guggisberg Huldreich Heusser Roger Kielholz Elio González Sandro Burki Georges Beuchat Raphael Mollet Conrad Buff II Magali Comte Noël Brunner Sebastian Kollar Andres Gerber Davide Redzepi Mathieu Debonnaire Giuseppe Rapisarda Gerardo Seoane Martin Riesen Jehona Mehmeti Reto Bolli Jeanette Bonnier Oliver Fricker Pascal Schürpf Sandro Moggi David Frey René Deck Yolanda Burkhard Alain Schultz Gene Walther Jessica Cargill Etienne Fague Marie-Andrea Egli Michael Gonçalves Aleksandar Veljanovski Edouard Filliol Hans Siegenthaler John Caspar Wild Roland de Corneille Sascha Studer Cédric "Cede" Dupont Lara Keller Sandra de Pol Philippe Hertig Linus Obexer Manuel Huber Cyrill Gloor Esther Grether Heinrich Boller Adrien Lauper Jean Ignace Crevoisier Jérémy Manière Walter Beerli Louisa James Nathaniel St André Daniel Fanger Walter Keller Goran Antić Michael Ludäscher Ruth Bamberger Charles Champaud Roy Green Theodore Wirth Myria Benedetti Hans Affentranger Peter Benedict Urs Fischer Hans Pulver Baptiste Buntschu Paul Lob Fred Rast Alexandre Veuthey Silvan Büchli Yangzom Brauen Franz Hammernick David Blumer Pascal Zbinden Jordane Hauert Daniel Dubois Daniel Mestre Chrigel Glanzmann Murat Ural Eugen Corrodi Tess Sugnaux Thomas Helbling Konrad Steffen John Epper Marc Lütolf Hanspeter Rufer Richard Wunder Ivo Frosio Ernest Molles Oliver Klaus Albert Guinchard Martino Ciano André Niederhäuser Sven Lehmann Pierre Souvairan Anna Katarina Sven Lüscher Walter Schneiter Robert Hosp Julius H. Stickoffer Jacques Pousaz Kurt Koch Djim Doula Dominique Longo Kari Eisenhut André Verdeil Gregory Wüthrich Jean Neuhaus Ernest Peterly Willy Kohler Alban Pnishi Branislav Mićić Milo Moiré Henry Angest Heinz Hopf Tobias Fischer Joseph Gösler Guillaume Dutoit Roger Mathis André Neury Michel Renggli Jacques Robert Gustav Meier Abraham-Louis Breguet Pajtim Badalli Peter Müller Adrian Brunner Fábio André da Silva Thierry Ebe Claudio Moggi Florijana Ismaili Miodrag Mitrovic Steven Barras Maik Nakić Florian Kamberi Elise Witt Traugott Oberer Caroline Müller Jean-Pierre Maradan Marc Eichmann Robert Trunz Markus Klauser Otto Heller Antoine Rey Kevin Bigler Sandy Mändly João Pedro Abreu de Oliveira Gerard Dubois Alejandro Henzi Bruno Rahmen Stefan Blunschi Tobias Fankhauser Rodolphe Cuendet Xavier Stierli Daniel Stucki Max Laich Numa Lavanchy Johann Friedrich Willading Roland Gerber Monica Di Fonzo Bujar Lika Pauline Gygax Flavio Schmid Riccardo Meili Rahel Kiwic Aurelio Lemm Roger Mathis Simon Hofer Sergio Borsato Franz Frey Dany da Silva Alex Hofer Li Tobler Michael Eisenring Colin Trachsel Sven Joss Maeva Sarrasin Thomas Rufer Alain Portmann Marcel Flückiger Marc Erbetta Raphael Girard Emil Schwegler Adrian Sager Laurent Stehlin Laurent Walthert Dragan Đukić Diego Wellig Urs Güntensperger Reverend Beat-Man Orlando Lattmann Vincent Laforet Andreas Wittwer Silvana Nötzli Cindy Santos Markus Tanner Colette Mathur Jean Meyer Walter Pellegrini Steven Schoop Lucien Beyer Jean-Daniel Gross Cyrill Gasser Michael Diethelm Aron Liechti Pascal Castillo Marcelle Fressineau Olivier Custodio Daniel Tarone Heinz Lüdi Olivier Jäckle Ernst Hug Burcu Güneştutar Ueli Gegenschatz Carl Hamppe Robin Kamber Emile Jacquet Max von Zedtwitz Maïti Girtanner Willy Allemann Christophe Wahl Caryl Righetti Nina Stadler Marcel Wick Hedda Bolgar Rosa Dorothea Ritter Felice Soldini Julian Bühler Reto Stiffler Christian Weber Jürg Berger Thomas Pfyl Pascal Thrier Giampietro Cicoria Charles Stettler René Dahinden Manuela Schär Sven Berger Manuela Zürcher Altay Kahraman Ben Pullen Florian Berisha Ervin Gashi Freddy Bienstock Sehid Sinani Yves Zahnd Olivier Yglesias Lilí del Mónico Benjamin Righetti Sergio Mantegazza Daniel Senn Tobias Müller Boris Pellegrini Roman Wäger Pascal Voggenhuber Thierry Hentsch Flamur Tahiraj Arnold Hirtz Sandro Galli Julian Schmutz Franco Andreoli Peter Schlagenhauf
Heinz Hopf, Florian Berisha and Daniel Tarone were born at Switzerland
Heinz Hopf Florian Berisha Daniel Tarone
action filter_type
action find_reverse
entity Switzerland
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Switzerland']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Switzerland . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P17
Q15617994
USER
Which administrative territory is Switzerland a part of ?
(Q39,P17,c(Q15617994))
action filter_type
action find
entity Q39
relation P17
type Q15617994
['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q39 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Switzerland
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Switzerland property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q39,P17,c(Q15617994))
action filter_type
action find
entity Q39
relation P17
type Q15617994
Which administrative territory is [ANSWER] a part of
['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q39 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Switzerland
Which administrative territory is Switzerland a part of
Switzerland
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Switzerland property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4689707
Q15617994
USER
And also tell me about African Barrick Gold?
(Q4689707,P17,c(Q15617994))
action filter_type
action find
entity Q4689707
relation P17
type Q15617994
['Q4689707', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4689707 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
African Barrick Gold
action filter_type
action find
entity African Barrick Gold
relation country
type designation for an administrative territorial entity
['African Barrick Gold', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:African_Barrick_Gold property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4689707,P17,c(Q15617994))
action filter_type
action find
entity Q4689707
relation P17
type Q15617994
[ANSWER]
['Q4689707', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4689707 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity African Barrick Gold
relation country
type designation for an administrative territorial entity
['African Barrick Gold', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:African_Barrick_Gold property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q15989250
P27
Q502895
USER
Is Andreas Engel a citizen of that administrative territory ?
(Q15989250,P27,Q145)
action is_in
entity Q15989250
action find
entity Q145
relation P27
['Q15989250', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q15989250 }
United Kingdom Andreas Engel
action is_in
entity Andreas Engel
action find
entity United Kingdom
relation country of citizenship
['Andreas Engel', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Andreas_Engel }
[]
common name
SYSTEM
NO
(Q15989250,P27,Q145)
action is_in
entity Q15989250
action find
entity Q145
relation P27
[ANSWER]
['Q15989250', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q15989250 }
No
action is_in
entity Andreas Engel
action find
entity United Kingdom
relation country of citizenship
['Andreas Engel', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Andreas_Engel }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?j ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?o ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v property:P530 ?d . ?v rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?t = ?j ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?j ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?o ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v property:diplomatic_relation ?d . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?t = ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?j ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?o ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v property:P530 ?d . ?v rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?t = ?j ) }
Italy
Italy have diplomatic relationships with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?j ) { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?o ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?t ) WHERE { ?v property:diplomatic_relation ?d . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?t = ?j ) }
[]