Simple Question (Direct)
Simple Question
Q2246904
P106
Q12737077
USER
What do Giovanni Berlinguer do for a living ?
(Q2246904,P106,c(Q12737077))
action filter_type
action find
entity Q2246904
relation P106
type Q12737077
['Q2246904', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q2246904 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Giovanni Berlinguer
action filter_type
action find
entity Giovanni Berlinguer
relation occupation
type occupation
['Giovanni Berlinguer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Giovanni_Berlinguer property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955 Q37226 Q1622272
SYSTEM
politician, teacher, university teacher
Q82955 Q37226 Q1622272
(Q2246904,P106,c(Q12737077))
action filter_type
action find
entity Q2246904
relation P106
type Q12737077
[ANSWERS] Giovanni Berlinguer do for a living
['Q2246904', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q2246904 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician teacher university teacher
Politician, teacher and university teacher Giovanni Berlinguer do for a living
politician teacher university teacher
action filter_type
action find
entity Giovanni Berlinguer
relation occupation
type occupation
['Giovanni Berlinguer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Giovanni_Berlinguer property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q82955 Q37226 Q1622272
P39
Q502895
USER
Which people held the position of politician, teacher and university teacher ?
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q37226) (c(Q502895),P39,Q1622272)
action union
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
action filter_type
action find_reverse
entity Q37226
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q37226'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q502895 . ?j property:P39 resource:Q82955 } UNION { ?j rdf:type ontology:Q502895 . ?j property:P39 resource:Q37226 } }
politician teacher university teacher
action union
action filter_type
action find_reverse
entity politician
relation position held
type common name
action filter_type
action find_reverse
entity teacher
relation position held
type common name
action filter_type
action find_reverse
entity university teacher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'teacher'] [{'concept': 'common name'}, 'position held', 'university teacher']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:common_name . ?j property:position_held resource:politician } UNION { ?j rdf:type ontology:common_name . ?j property:position_held resource:teacher } }
[]
common name
Q164384 Q164384 Q164384
SYSTEM
Theodore von Kármán
Q26215129 Q26740220 Q3379186 Q26902965 Q3299916 Q26722651 Q17580387 Q17580387 Q26722614 Q164384 Q2980415 Q17624676 Q21294603 Q12798754 Q3087670 Q1137062 Q18747189 Q26818523 Q25381008 Q25381008 Q25381008 Q21694215 Q21705051 Q3187221 Q3063823 Q122308 Q22059482 Q2835169 Q18221297 Q3246627 Q3106324 Q3121369 Q1492424 Q21467967 Q21747098 Q3304217 Q18744759 Q18744759 Q26879779 Q26879779 Q1469405 Q16912378 Q3446637 Q22249346 Q21711237 Q460061 Q924343 Q17635931 Q17629075 Q15094872 Q22337798 Q3575425 Q18086108 Q3180378 Q3180378 Q3180378 Q19629197 Q23685912 Q27078052 Q19606594 Q22443703 Q3118583 Q2243667 Q16024023 Q3084776 Q3084776 Q16638850 Q15729620 Q3736628 Q366020 Q729418 Q3386998 Q20089632 Q20089632 Q2288137 Q15068663 Q164384 Q164384 Q18020726 Q20006978 Q18391 Q2848716 Q16078961 Q20819088 Q1731986 Q12265676 Q21795358 Q3169670 Q1511883 Q20828248 Q6171180 Q376210 Q3123954 Q19345746 Q16582679 Q8962412 Q20127366 Q2572989 Q1700189 Q15912761 Q178344 Q12354531 Q26818523 Q3186122 Q1731321 Q506805 Q1345191 Q3110673 Q3009105 Q115448 Q21708173 Q3169116 Q1294512 Q1388660 Q374024 Q18577704 Q3385948 Q26037404 Q25932529 Q454594 Q84714 Q4067424 Q3172544 Q5287936 Q16073166 Q17497103 Q2894300 Q3144855 Q115630 Q2870093 Q2067100 Q2067100 Q101235 Q15731513 Q14517540 Q531788 Q380814 Q1932828 Q8354697 Q2542162 Q20806967 Q16545583 Q20204919 Q16698998 Q74295 Q5815940 Q15089196 Q16260960 Q6294 Q15054444 Q1151101 Q20204913 Q20819474 Q87337 Q18744759 Q13390045 Q1708489 Q1776797 Q936760 Q16011274 Q25836733 Q11443689 Q11443689 Q8006158 Q1363028 Q13016261 Q10346107 Q3304221 Q336501 Q1728780 Q824064 Q17496977 Q17496977 Q2899558 Q481538 Q20723514 Q3384219 Q237821 Q263725 Q263725 Q27064349 Q1598320 Q2182265 Q6232311 Q3387352 Q24952357 Q22977279 Q823220 Q12350223 Q1351160 Q15406938 Q3106418 Q96922 Q770810 Q20054988 Q5622207 Q18744694 Q20012 Q2043597 Q22977147 Q3295727 Q21064904 Q19629707 Q3310179 Q178577 Q12906 Q20041837 Q19943834 Q5865616 Q3434789 Q20829823 Q2387288 Q27070471 Q333372 Q20821084 Q17119902
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q37226) (c(Q502895),P39,Q1622272)
action union
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
action filter_type
action find_reverse
entity Q37226
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P39
type Q502895
[ANSWER], [ANSWER] and [ANSWER] held the position of politician, teacher and university teacher
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q37226'] [{'concept': 'Q502895'}, 'P39', 'Q1622272']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q502895 . ?j property:P39 resource:Q82955 } UNION { ?j rdf:type ontology:Q502895 . ?j property:P39 resource:Q37226 } }
Morteza Azari Jacqueline Edmondson Philippe-Laurent Roland Sharon Kettering Matthieu Longue Charles Goodwin Gilles Vervisch Gilles Vervisch John E. Kleber Theodore von Kármán Clyde Chabot Charles Tamazount Charles Albert Schultz Philippe Manigart Frieda Rossel Jack Ma André Pierre-Humbert Raphaële Andrault Philippe Lepeut Philippe Lepeut Philippe Lepeut Francisco Concha Castillo Alain Maurion Joyce Blau Fabrice Boulanger C. B. van Niel Jean-Baptiste Dumouchel Alfred Halasa Cécile Dejoux Marcel Bluwal Gilles Lacombe Gustave de Walque Marieluise Deißmann-Merten Tien Lang Tran Gabriel de Saint-Jean-Baptiste Wally Struys Fabien Granjon Fabien Granjon François Saint-Bonnet François Saint-Bonnet Julián Imre Ágoston Alexandre Melnik Ruddy Pomarède Teresa Giermak-Zielińska Jean-Pierre Rorive Herbert Edward Read Joseph Maréchal Odette Martinez-Maler Gilles Lacombe Philippe Pivert Pedro Pereira da Silva Guimarães Zhong Biao Marc Girault Johan Baudart Johan Baudart Johan Baudart Susan Rankin Zbigniew Naliwajek Agnieszka Grudzińska Jacques Bahi Liliane Mottu-Weber Grégory Michel Johannes van den Driesche Luc-Francis Genicot François Gros François Gros Geoffrey Pleyers Conrad Goclenius Robert Rosen Adolphus Vorstius Hussein Chalayan Pierre Simard Jacques Percebois Jacques Percebois Simone Mayer Hans-Dietrich Quednau Theodore von Kármán Theodore von Kármán Hartmann Jacobi Octav Botez Elie Wiesel André Tricot Jessica Wilson Ángel Rubio Bocanegra Karl Kopp Pedro Ibarra Güell Jean-Pierre Corbeau Jean-Pierre Poulain Gerhard Kegel Bernard Bouillon Jean Mercier Adrianus Turnebus Gérard Ferreyrolles Hans-Heinrich Raspe José Arias Ramos Francisco Javier Fernández Conde Eirick Prairat Wilhelm Hallermann John Anderson Nicolas-Éloi Lemaire Luis Walter Alvarez Richard Osborne Raphaële Andrault Josué de la Place Karl Grouven Andrew Ranicki Philippe Van Parijs Jeanne-Marie Santraud Cyrille Barrette Daniel Bovet Jean-Luc Le Cam Jean-Pierre Centi Karl Vohwinkel Rudolf Strempel Nikolai Luzin Rainer Maria Kiesow Pierre Lescanne Götz Martius Julius Pierstorff Sixtinus Amama Karl Karmarsch Afinogen Antonovich Jean Hladik Dodie Bellamy Margit Eschenbach Rolland Viau Miguel de Portilla y Esquivel Hélène Saule-Sorbé Peter Bieri Attie Duval Adrianus Barlandus Adrianus Barlandus Anton Sterbling Santiago Segura Munguía Jacques Maurice Pieter Pauw Aelius Everardus Vorstius Mihailo Petrović Demófilo de Buen Lozano Valery Galtsov Anoi Castro Cordeiro César Manzanos Bilbao Alain Euzéby Vladimir Ivanovich Sobolev Hermann Stieve John Hughes Jacques de Groote Silke Bothfeld Hillary Clinton Ignat Florian Bociort Alfonso de Zamora Jacques Aben Luis Mercado Peter Skalicky Fabien Granjon Bruno Dürigen Paul Christiaan Flu Lucy Shapiro George Pruteanu Édouard Galletier Danis Bois Hiroshi Amano Hiroshi Amano William Burke-White Günter Imhäuser Bundhit Eua-apporn Patrick Charaudeau Milton Edward Harr Ilora Finlay, Baroness Finlay of Llandaff Max Dieckhoff Bernd Rohwer Michel Robert Michel Robert Bertrand Hauchecorne Viggo Fausböll Michel Chrysos Pierre Brunet Robert Fogel Janet Yellen Janet Yellen Corneille Bonaventure Bertram Heinrich Michaelis Roger Blanpain John F. Hughes Pierre Wertheimer Petrus Nannius Rudolf Stich Bernd-Dietrich Katthagen József Boros Nicholas Georgescu-Roegen Anne Staquet Gilles Noël Martin Haase Valerius Andreas Loïc Depecker Guy Deutscher Jean-Pierre Cometti Adolphe Quetelet Yevgeny Bokarev Rudolf Stich Martine Abdallah-Pretceille Friedrich Schmidtke Michel Raynal Michel Lenoble Norbert Wiener Helmar Frank Hideichirō Nakano Claude Lelièvre Francisco Enríquez de Villacorta Robert Chaudenson Roland Perez Alain Couret Antoine de La Faye Carolus Clusius Philippe Kaenel Lorentz Langberg
Theodore von Kármán, Theodore von Kármán and Theodore von Kármán held the position of politician, teacher and university teacher
Theodore von Kármán Theodore von Kármán Theodore von Kármán
action union
action filter_type
action find_reverse
entity politician
relation position held
type common name
action filter_type
action find_reverse
entity teacher
relation position held
type common name
action filter_type
action find_reverse
entity university teacher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'teacher'] [{'concept': 'common name'}, 'position held', 'university teacher']
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:common_name . ?j property:position_held resource:politician } UNION { ?j rdf:type ontology:common_name . ?j property:position_held resource:teacher } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2246904
P40
Q502895
USER
Who has Giovanni Berlinguer as an offspring ?
(c(Q502895),P40,Q2246904)
action filter_type
action find_reverse
entity Q2246904
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2246904']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q2246904 . ?a rdf:type ontology:Q502895 }
Giovanni Berlinguer
action filter_type
action find_reverse
entity Giovanni Berlinguer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Giovanni Berlinguer']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Giovanni_Berlinguer . ?a rdf:type ontology:common_name }
[]
common name
Q3848329
SYSTEM
Mario Berlinguer
Q3848329
(c(Q502895),P40,Q2246904)
action filter_type
action find_reverse
entity Q2246904
relation P40
type Q502895
[ANSWER] has Giovanni Berlinguer as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q2246904']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q2246904 . ?a rdf:type ontology:Q502895 }
Mario Berlinguer
Mario Berlinguer has Giovanni Berlinguer as an offspring
Mario Berlinguer
action filter_type
action find_reverse
entity Giovanni Berlinguer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Giovanni Berlinguer']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Giovanni_Berlinguer . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3848329
P22
Q502895
USER
Which people have that one as dad ?
(c(Q502895),P22,Q3848329)
action filter_type
action find_reverse
entity Q3848329
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3848329']
SELECT DISTINCT ?z WHERE { ?z property:P22 resource:Q3848329 . ?z rdf:type ontology:Q502895 }
Mario Berlinguer
action filter_type
action find_reverse
entity Mario Berlinguer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Mario Berlinguer']
SELECT DISTINCT ?z WHERE { ?z property:father resource:Mario_Berlinguer . ?z rdf:type ontology:common_name }
[]
common name
Q164995 Q2246904
SYSTEM
Enrico Berlinguer, Giovanni Berlinguer
Q164995 Q2246904
(c(Q502895),P22,Q3848329)
action filter_type
action find_reverse
entity Q3848329
relation P22
type Q502895
[ANSWERS] have that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q3848329']
SELECT DISTINCT ?z WHERE { ?z property:P22 resource:Q3848329 . ?z rdf:type ontology:Q502895 }
Enrico Berlinguer Giovanni Berlinguer
Enrico Berlinguer and Giovanni Berlinguer have that one as dad
Enrico Berlinguer Giovanni Berlinguer
action filter_type
action find_reverse
entity Mario Berlinguer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Mario Berlinguer']
SELECT DISTINCT ?z WHERE { ?z property:father resource:Mario_Berlinguer . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3848329
P937
Q56061
USER
Which is the work location of Mario Berlinguer ?
(Q3848329,P937,c(Q56061))
action filter_type
action find
entity Q3848329
relation P937
type Q56061
['Q3848329', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3848329 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Mario Berlinguer
action filter_type
action find
entity Mario Berlinguer
relation work location
type administrative territorial entity
['Mario Berlinguer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Mario_Berlinguer property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3848329,P937,c(Q56061))
action filter_type
action find
entity Q3848329
relation P937
type Q56061
[ANSWER] is the work location of Mario Berlinguer
['Q3848329', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3848329 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Rome
Rome is the work location of Mario Berlinguer
Rome
action filter_type
action find
entity Mario Berlinguer
relation work location
type administrative territorial entity
['Mario Berlinguer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Mario_Berlinguer property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P36
Q15089
USER
Which province of Italy is that administrative territory the capital of ?
(c(Q15089),P36,Q220)
action filter_type
action find_reverse
entity Q220
relation P36
type Q15089
[{'concept': 'Q15089'}, 'P36', 'Q220']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q220 . ?e rdf:type ontology:Q15089 }
Rome
action filter_type
action find_reverse
entity Rome
relation capital
type province of Italy
[{'concept': 'province of Italy'}, 'capital', 'Rome']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Rome . ?e rdf:type ontology:province_of_Italy }
[]
province of Italy
Q15119
SYSTEM
Province of Rome
Q15119
(c(Q15089),P36,Q220)
action filter_type
action find_reverse
entity Q220
relation P36
type Q15089
[ANSWER] is that administrative territory the capital of
[{'concept': 'Q15089'}, 'P36', 'Q220']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q220 . ?e rdf:type ontology:Q15089 }
Province of Rome
Province of Rome is that administrative territory the capital of
Province of Rome
action filter_type
action find_reverse
entity Rome
relation capital
type province of Italy
[{'concept': 'province of Italy'}, 'capital', 'Rome']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Rome . ?e rdf:type ontology:province_of_Italy }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q386724
USER
Which occupations were discussed in atmost 2 collectables and works ?
(c(Q2342494)|c(Q386724),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 2
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?a WHERE { { ?y property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q386724 } } GROUP BY ?a } . FILTER ( ?b <= 2 ) }
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 2
[[{'concept': 'collectable'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?a WHERE { { ?y property:main_subject ?a . ?a rdf:type ontology:occupation . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject ?a . ?a rdf:type ontology:occupation . ?y rdf:type ontology:work } } GROUP BY ?a } . FILTER ( ?b <= 2 ) }
[]
occupation collectable work
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q386724),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 2
[ANSWERS] were discussed in atmost 2 collectables and works
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?a WHERE { { ?y property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 ?a . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q386724 } } GROUP BY ?a } . FILTER ( ?b <= 2 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were discussed in atmost 2 collectables and works
Fletcher Christian farmer librarian
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 2
[[{'concept': 'collectable'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?a WHERE { { ?y property:main_subject ?a . ?a rdf:type ontology:occupation . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject ?a . ?a rdf:type ontology:occupation . ?y rdf:type ontology:work } } GROUP BY ?a } . FILTER ( ?b <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3848329
P19
Q56061
USER
Which administrative territory was Mario Berlinguer born in ?
(Q3848329,P19,c(Q56061))
action filter_type
action find
entity Q3848329
relation P19
type Q56061
['Q3848329', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3848329 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Mario Berlinguer
action filter_type
action find
entity Mario Berlinguer
relation place of birth
type administrative territorial entity
['Mario Berlinguer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mario_Berlinguer property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13629
SYSTEM
Sassari
Q13629
(Q3848329,P19,c(Q56061))
action filter_type
action find
entity Q3848329
relation P19
type Q56061
Mario Berlinguer was born in [ANSWER]
['Q3848329', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3848329 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Sassari
Mario Berlinguer was born in Sassari
Sassari
action filter_type
action find
entity Mario Berlinguer
relation place of birth
type administrative territorial entity
['Mario Berlinguer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mario_Berlinguer property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2645791
Q56061
USER
And how about Alfred Schliestedt?
(Q2645791,P19,c(Q56061))
action filter_type
action find
entity Q2645791
relation P19
type Q56061
['Q2645791', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2645791 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Alfred Schliestedt
action filter_type
action find
entity Alfred Schliestedt
relation place of birth
type administrative territorial entity
['Alfred Schliestedt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Alfred_Schliestedt property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q2645791,P19,c(Q56061))
action filter_type
action find
entity Q2645791
relation P19
type Q56061
[ANSWER]
['Q2645791', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2645791 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Berlin
Berlin
action filter_type
action find
entity Alfred Schliestedt
relation place of birth
type administrative territorial entity
['Alfred Schliestedt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Alfred_Schliestedt property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2645791
P20
Q15617994
USER
Which administrative territory is the place of death of that person ?
(Q64,P20,c(Q15617994))
action filter_type
action find
entity Q2645791
relation P20
type Q15617994
['Q64', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2645791 property:P20 ?a . ?a rdf:type ontology:Q15617994 }
Alfred Schliestedt
action filter_type
action find
entity Alfred Schliestedt
relation place of death
type designation for an administrative territorial entity
['Berlin', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alfred_Schliestedt property:place_of_death ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q628304
SYSTEM
Schöningen
Q628304
(Q64,P20,c(Q15617994))
action filter_type
action find
entity Q2645791
relation P20
type Q15617994
[ANSWER] is the place of death of that person
['Q64', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2645791 property:P20 ?a . ?a rdf:type ontology:Q15617994 }
Schöningen
Schöningen is the place of death of that person
Schöningen
action filter_type
action find
entity Alfred Schliestedt
relation place of death
type designation for an administrative territorial entity
['Berlin', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alfred_Schliestedt property:place_of_death ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]