Simple Question (Direct)
Simple Question
Q11975064
P25
Q502895
USER
Which person was the mother of Henrik Johan Paus ?
(Q11975064,P25,c(Q502895))
action filter_type
action find
entity Q11975064
relation P25
type Q502895
['Q11975064', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q11975064 property:P25 ?f . ?f rdf:type ontology:Q502895 }
Henrik Johan Paus
action filter_type
action find
entity Henrik Johan Paus
relation mother
type common name
['Henrik Johan Paus', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Henrik_Johan_Paus property:mother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q11978842
SYSTEM
Johanne Plesner
Q11978842
(Q11975064,P25,c(Q502895))
action filter_type
action find
entity Q11975064
relation P25
type Q502895
[ANSWER] was the mother of Henrik Johan Paus
['Q11975064', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q11975064 property:P25 ?f . ?f rdf:type ontology:Q502895 }
Johanne Plesner
Johanne Plesner was the mother of Henrik Johan Paus
Johanne Plesner
action filter_type
action find
entity Henrik Johan Paus
relation mother
type common name
['Henrik Johan Paus', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Henrik_Johan_Paus property:mother ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11978842
P26
Q502895
USER
Who are the spouse of that one ?
(c(Q502895),P26,Q11978842)
action filter_type
action find
entity Q11978842
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q11978842']
SELECT DISTINCT ?p WHERE { resource:Q11978842 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Johanne Plesner
action filter_type
action find
entity Johanne Plesner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Johanne Plesner']
SELECT DISTINCT ?p WHERE { resource:Johanne_Plesner property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q7085922 Q11975025
SYSTEM
Ole Paus, Henrich Ibsen
Q7085922 Q11975025
(c(Q502895),P26,Q11978842)
action filter_type
action find
entity Q11978842
relation P26
type Q502895
The spouse of that one are both [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q11978842']
SELECT DISTINCT ?p WHERE { resource:Q11978842 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Ole Paus Henrich Ibsen
The spouse of that one are both Ole Paus and Henrich Ibsen
Ole Paus Henrich Ibsen
action filter_type
action find
entity Johanne Plesner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Johanne Plesner']
SELECT DISTINCT ?p WHERE { resource:Johanne_Plesner property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7085922 Q11975025
P26
Q502895
USER
Who are the spouse of those ones ?
(c(Q502895),P26,Q7085922) (c(Q502895),P26,Q11975025)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7085922'] [{'concept': 'Q502895'}, 'P26', 'Q11975025']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?f property:P26 ?k . VALUES ( ?f ) { ( resource:Q7085922 ) ( resource:Q11975025 ) } }
Ole Paus Henrich Ibsen
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ole Paus'] [{'concept': 'common name'}, 'spouse', 'Henrich Ibsen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?f property:spouse ?k . VALUES ( ?f ) { ( resource:Ole_Paus ) ( resource:Henrich_Ibsen ) } }
[]
common name
Q11978842
SYSTEM
Johanne Plesner
Q11978842
(c(Q502895),P26,Q7085922) (c(Q502895),P26,Q11975025)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
The spouse of those ones are [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q7085922'] [{'concept': 'Q502895'}, 'P26', 'Q11975025']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?f property:P26 ?k . VALUES ( ?f ) { ( resource:Q7085922 ) ( resource:Q11975025 ) } }
Johanne Plesner
The spouse of those ones are Johanne Plesner
Johanne Plesner
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ole Paus'] [{'concept': 'common name'}, 'spouse', 'Henrich Ibsen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?f property:spouse ?k . VALUES ( ?f ) { ( resource:Ole_Paus ) ( resource:Henrich_Ibsen ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7085922
P40
Q502895
USER
Which people are an offsprings of Ole Paus ?
(Q7085922,P40,c(Q502895))
action filter_type
action find
entity Q7085922
relation P40
type Q502895
['Q7085922', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7085922 property:P40 ?t . ?t rdf:type ontology:Q502895 }
Ole Paus
action filter_type
action find
entity Ole Paus
relation child
type common name
['Ole Paus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Ole_Paus property:child ?t . ?t rdf:type ontology:common_name }
[]
common name
Q5111962 Q11975064 Q2014562
SYSTEM
Christopher Blom Paus, Henrik Johan Paus, Christian Cornelius Paus
Q5111962 Q11975064 Q2014562
(Q7085922,P40,c(Q502895))
action filter_type
action find
entity Q7085922
relation P40
type Q502895
[ANSWERS] are an offsprings of Ole Paus
['Q7085922', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q7085922 property:P40 ?t . ?t rdf:type ontology:Q502895 }
Christopher Blom Paus Henrik Johan Paus Christian Cornelius Paus
Christopher Blom Paus, Henrik Johan Paus and Christian Cornelius Paus are an offsprings of Ole Paus
Christopher Blom Paus Henrik Johan Paus Christian Cornelius Paus
action filter_type
action find
entity Ole Paus
relation child
type common name
['Ole Paus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Ole_Paus property:child ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19666880
Q502895
USER
And also tell me about Andrea Kelly?
(Q19666880,P40,c(Q502895))
action filter_type
action find
entity Q19666880
relation P40
type Q502895
['Q19666880', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q19666880 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Andrea Kelly
action filter_type
action find
entity Andrea Kelly
relation child
type common name
['Andrea Kelly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Andrea_Kelly property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q21621673
SYSTEM
Joann Kelly
Q21621673
(Q19666880,P40,c(Q502895))
action filter_type
action find
entity Q19666880
relation P40
type Q502895
[ANSWER]
['Q19666880', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q19666880 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Joann Kelly
Joann Kelly
action filter_type
action find
entity Andrea Kelly
relation child
type common name
['Andrea Kelly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Andrea_Kelly property:child ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21621673 Q30
P27
Q15617994
USER
Is United States of America the country of citizenship of that person ?
(Q21621673,P27,Q30)
action is_in
entity Q30
action find
entity Q21621673
relation P27
['Q21621673', 'P27', 'Q30']
ASK WHERE { resource:Q21621673 property:P27 resource:Q30 }
Joann Kelly United States of America
action is_in
entity United States of America
action find
entity Joann Kelly
relation country of citizenship
['Joann Kelly', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Joann_Kelly property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q21621673,P27,Q30)
action is_in
entity Q30
action find
entity Q21621673
relation P27
[ANSWER]
['Q21621673', 'P27', 'Q30']
ASK WHERE { resource:Q21621673 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Joann Kelly
relation country of citizenship
['Joann Kelly', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Joann_Kelly property:country_of_citizenship resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q482994 Q44539
USER
Which people are min number of albums and temples dedicated to ?
(c(Q482994)|c(Q44539),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
[[{'concept': 'Q482994'}, {'concept': 'Q44539'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:Q482994 ) ( ontology:Q44539 ) } . ?h rdf:type ?l } GROUP BY ?y } . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q482994 ) ( ontology:Q44539 ) } } GROUP BY ?w } } }
action argmin
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
[[{'concept': 'album'}, {'concept': 'temple'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:album ) ( ontology:temple ) } . ?h rdf:type ?l } GROUP BY ?y } . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:album ) ( ontology:temple ) } } GROUP BY ?w } } }
[]
common name album temple
Q8016 Q937 Q8023
SYSTEM
Winston Churchill, Albert Einstein, Nelson Mandela
Q101698 Q282498 Q181707 Q360420 Q1357149 Q318636 Q18684004 Q983142 Q676555 Q11403872 Q85210 Q312747 Q12688 Q336692 Q611078 Q184935 Q65318 Q658756 Q1774929 Q183126 Q382053 Q572684 Q17812378 Q3190301 Q93373 Q457863 Q150767 Q989 Q157176 Q2288858 Q352978 Q1442 Q2959487 Q972905 Q448890 Q937 Q935 Q849 Q313737 Q7593283 Q1948037 Q747 Q5858974 Q607495 Q235863 Q8605 Q19629510 Q5147053 Q295090 Q18412922 Q351670 Q683792 Q3348840 Q685156 Q62068 Q297 Q2959955 Q171411 Q558261 Q87621 Q94316 Q1236699 Q458014 Q11074321 Q93341 Q313548 Q935496 Q461258 Q132684 Q45380 Q4130411 Q4127503 Q14345 Q38337 Q1398314 Q732526 Q65290 Q55398 Q1394 Q22985873 Q1064 Q5561411 Q44039 Q44032 Q20643690 Q9025343 Q37693 Q120180 Q41117 Q174231 Q200188 Q417686 Q276404 Q460876 Q181715 Q212850 Q8023 Q155540 Q878671 Q6699463 Q443559 Q535 Q115550 Q9439 Q539 Q42887 Q272899 Q170726 Q187550 Q2594000 Q313942 Q464192 Q379753 Q461104 Q298185 Q966298 Q1196817 Q433995 Q271651 Q244852 Q5593 Q183085 Q57240 Q1246313 Q2376505 Q85760 Q160257 Q284560 Q314846 Q41568 Q20173462 Q1429 Q697765 Q25089 Q724153 Q1425 Q1427 Q160614 Q313093 Q32613 Q269867 Q66005 Q191039 Q454840 Q20644286 Q42511 Q3719466 Q44258 Q18363 Q4340905 Q11633375 Q499022 Q719428 Q237149 Q311080 Q37064 Q7732 Q1288566 Q541694 Q152727 Q29179 Q313970 Q3262373 Q426814 Q7327 Q35548 Q570845 Q231690 Q6527 Q8195163 Q378656 Q174044 Q502943 Q77187 Q5837054 Q9455 Q2573616 Q313196 Q691402 Q369668 Q297483 Q1380238 Q1496 Q1036864 Q102527 Q51056 Q15432686 Q539427 Q462255 Q20757530 Q314802 Q8016 Q645141 Q215333 Q2853967 Q165274 Q700317 Q171977 Q1398704 Q11403852 Q311791 Q501 Q12872638 Q269520 Q204503 Q78657 Q234908 Q71231 Q4893207 Q346 Q727717 Q17308940 Q1132756 Q35149 Q636533 Q11619989 Q154353 Q2360522 Q119957 Q2025679 Q160149 Q382005 Q3770666 Q154232 Q551735 Q3618054 Q354519 Q349287 Q537553 Q154045 Q457433 Q1430 Q767 Q552220 Q215572 Q318974 Q3099236 Q157100 Q160435 Q472635 Q92467 Q316658 Q711836 Q3069570 Q6258837 Q1016482 Q709118 Q328341 Q1293541 Q93362 Q538335 Q179971 Q11368835 Q773580 Q164522 Q117710 Q11403867 Q461600 Q712653 Q23559 Q130777 Q130805 Q1268 Q603655 Q352748 Q163366 Q6108547 Q20643663 Q1153323 Q11107790 Q289215 Q351715 Q33477 Q149727 Q7349 Q468122 Q503886 Q444380 Q3372785 Q1769 Q1446 Q310462 Q10881970 Q170842 Q12718 Q132232 Q47120 Q87567 Q216873 Q232803 Q238090 Q374467 Q965463 Q3781346 Q174367 Q6203829 Q179858 Q5992912 Q3395811 Q45682 Q472851 Q982696 Q317997 Q284323 Q221263 Q123062 Q181689 Q964608 Q218690 Q469572 Q5984068 Q151803 Q16766274 Q82122 Q299179 Q1407 Q1405 Q836214 Q51673 Q1337419 Q234689 Q41309 Q354786
(c(Q482994)|c(Q44539),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
Min number of albums and temples are by [ANSWERS]
[[{'concept': 'Q482994'}, {'concept': 'Q44539'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:Q482994 ) ( ontology:Q44539 ) } . ?h rdf:type ?l } GROUP BY ?y } . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q482994 ) ( ontology:Q44539 ) } } GROUP BY ?w } } }
Gaetano Donizetti Gaspar Melchor de Jovellanos Charles Fourier Serge Lifar Giacomo Bassi Neville Marriner Caroline Weber Julian the Hospitaller Francis of Assisi Kitabatake Akiyoshi Karl Ritter von Stremayr Leopoldo Alas Jean Jaurès Rodolphe Kreutzer António José de Ávila, 1st Duke of Ávila and Bolama Mihai Eminescu Kibitsuhiko-no-mikoto Alof de Wignacourt Ferreolus Ramakrishna Antonio Sant'Elia Thomas-Alexandre Dumas Francisco Pintado Fe Just of Lyon Archduke Rudolf of Austria Ingeborg Bronsart von Schellendorf Benjamin Britten John Paul II Władysław Szpilman Moriyoshi-shinnō Antoine Wiertz Septimius Severus Charles Joseph Lenoir Léon Goossens Charlotte Saunders Cushman Albert Einstein Isaac Newton François Villon Drusus Julius Caesar St Govan Moritz Reichsgraf von Fries Pierre Corneille Fermín Canella Secades Giuseppe De Nittis Genevieve Simón Bolívar Saint Goustan Collet Barker Léon Gambetta Johann Georg von Browne-Camus Komitas Vardapet Kitabatake Chikafusa Octave Gréard Karl Alois, Prince Lichnowsky Princess Augusta of Hesse-Kassel Diego Velázquez Charles Panzéra Oda Nobunaga Saint Servatius Antonie Brentano Kikuchi Taketoki Giuseppe Sinigaglia Ottaviano Petrucci Kaneyoshi-shinnō Miles Davis Absalon Abundius Yamato Takeru Saint-John Perse John Lewis Anastasia Vyaltseva Ferrutio Roh Moo-hyun Alexandre Dumas Paul Ladmirault José Guadalupe Posada Constantine, Prince of Hohenzollern-Hechingen Bernadette Soubirous Vladimir Lenin Elizabeth Jean Scott Alessandro Manzoni José Tartiere y Lenegre Ludwig II of Bavaria Egon Schiele Claude-Emma Debussy Luis Riera Posada Paul Gauguin Alexander III of Russia Kim Il-sung Meiji Jimmu Nazarius Takeda Shingen Lenny Bruce Thérèse of Lisieux Vitus Nelson Mandela Hans von Bülow Untash-Napirisha Ludwika Jędrzejewicz Elizabeth Sprague Coolidge Victor Hugo Nicholas of Flüe Queen Victoria Giuseppe Diego Garibaldi Pacheco Clement I Sebastian of Portugal Enrico Caruso Toyotomi Hideyoshi Diego Brosset Go-Daigo Vladimir Stasov Benito Jerónimo Feijóo y Montenegro Jaroslav Vrchlický Samuel Sánchez Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Michel Eugène Chevreul Gediminas Pablo Picasso Isabella II of Spain Ernst Bloch Dorothea von Ertmann Edith Cowan Giulietta Guicciardi Wanda Landowska Manuel Puig Emperor Kammu Michel de Montaigne Natalia Vladimirovna Trouhanowa Antoninus Pius Rudolf Maister Woody Allen Jesse Lauriston Livermore Trajan Hadrian Skanderbeg Herman Boerhaave Minamoto no Yoshiie Odile of Alsace Margrave Christian Ludwig of Brandenburg-Schwedt Germanicus William Cullen Bryant Mathilde Zemlinsky H. G. Wells Edmund Clarence Stedman Basil of Caesarea Alfonso XIII of Spain Bridget O'Connor Prince Toyokiirihiko Emmanuel Fremiet William Michael Rossetti Ida Rubinstein Uesugi Kenshin Alexander Fleming Louis XVI of France Len Lye Joseph Merk Frederick William, Elector of Brandenburg Francisco Franco Anton Arensky Louis Jou Emmanuel de Rohan-Polduc Yuri Gagarin Paul Cézanne Joseph Franz von Lobkowitz B. R. Ambedkar Jean-Jacques Rousseau Alfonso Iglesias Saint Pantaleon Alexander Nevsky Andrey Razumovsky Ferdinand von Hompesch zu Bolheim Ernesto Winter Blanco Vallabhbhai Patel Eric Fletcher Waters Louis Desaix Philip IV of Spain William Osler Ferdinando I de' Medici, Grand Duke of Tuscany Hugh d'Avranches, 1st Earl of Chester Ferdinand Magellan Kitabatake Akiie Robert Falcon Scott Franz Joseph I of Austria Georges Vallet Johann Jacob Bach Marino Lejarreta Madame Autard de Bragard Tenji Winston Churchill Armando Palacio Valdés Carl Czerny Antoine Gailleton Jacques Prévert Yasuhito Chichibu Tokugawa Ieyasu Alexander Wilhelm Gottschalg Kitabatake Morichika Nikolai Rubinstein Charles Baudelaire David of Euboea Shōken Pablo Martín Melitón de Sarasate y Navascués Alfred Grünfeld Nezami| Charles the Bald Sabino Fernández Campo, 1st Count of Latores Louis IX of France Ramón Pérez de Ayala James William Davison Sakai Tadatsugu Wilhelm Röntgen Pedro Rodríguez, Conde de Campomanes Prince Uji no Wakiiratsuko François Arago Anna Petrovna Kern Alexis Roland-Manuel Albert Thomas Mark Rothko Sugawara no Michizane Giuseppe Ghislanzoni Alexander Suvorov Edgar Quinet Annibale Cressoni Charley Patton Sutoku Ludwig Schuncke Alexei Nikolaevich Sara Dylan Marcus Aurelius Antoninus Stéphane Mallarmé Giuseppe Zanardelli Felix Nussbaum Vincent of Saragossa Minamoto no Tsunemoto Margaret of Austria, Duchess of Savoy Gerrit Rietveld Gustav, Prince of Vasa Theodor Avé-Lallemant Go-Toba Philippe Pot Fernando de Valdés y Salas John Thomas Stanley, 1st Baron Stanley of Alderley Burkhard Nadolny Tim Birkin Robert Smithson Saint Quentin Archduke Maximilian Francis of Austria Marianne Kirchgessner Chūai Shizuko Nogi Gianni Brera Hieda no Are Lorin Maazel Kitabatake Akinobu Teréz Brunszvik Henri Vernes Benito Mussolini Kazimir Malevich George I of Great Britain Frédéric Chopin Fidelis of Como John Spencer Ezra Pound Ricardo Vázquez-Prada Blanco Hélène Bardac Danguolė Rasalaitė Kristjan Cavazza Alejandro Boliviano Fruela I of Asturias Eugène Delacroix Saint Giles Joseph Haydn Nogi Maresuke Sterling Morrison Imogen Holst Paulino Vicente (padre) Alexander Severus Caracalla Saigō Takamori Itsuse no Mikoto Sergei Koroliov Auguste Comte Clara Schumann David Oistrakh Anton Rubinstein Pierre Puvis de Chavannes Empress Jingu Sholem Aleichem Gabriel of Our Lady of Sorrows Rumbold of Mechelen Aida Lafuente Penaos Djoser Jiří Tancibudek Urho Kekkonen Manuel Fernández Avello Dolores Medio Jean Sibelius Count Ferdinand Ernst Gabriel von Waldstein Bassel Khartabil Ōjin Eulalia of Mérida Philibert II, Duke of Savoy Jacques Necker Blind Willie McTell Lucien Pissarro Raymond Queneau John Nicholson Luis Noval Ferrao Piet Mondrian Michelle Vian Jean-Baptiste de Lamarck Kōmei Tiberius Augustus Princess Tōchi Mark Antony Emilio Alarcos Llorach Monica of Hippo Franz Liszt Jean-Louis-Ernest Meissonier
Min number of albums and temples are by Winston Churchill, Albert Einstein and Nelson Mandela
Winston Churchill Albert Einstein Nelson Mandela
action argmin
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
[[{'concept': 'album'}, {'concept': 'temple'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = ?g ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:album ) ( ontology:temple ) } . ?h rdf:type ?l } GROUP BY ?y } . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:album ) ( ontology:temple ) } } GROUP BY ?w } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8016 Q937 Q8023
P26
Q502895
USER
Which people are married to those ones ?
(c(Q502895),P26,Q8016) (c(Q502895),P26,Q937) (c(Q502895),P26,Q8023)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q8016'] [{'concept': 'Q502895'}, 'P26', 'Q937'] [{'concept': 'Q502895'}, 'P26', 'Q8023']
SELECT DISTINCT ?x WHERE { ?k property:P26 ?x . VALUES ( ?k ) { ( resource:Q101698 ) ( resource:Q282498 ) ( resource:Q181707 ) } . ?x rdf:type ontology:Q502895 }
Winston Churchill Albert Einstein Nelson Mandela
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Winston Churchill'] [{'concept': 'common name'}, 'spouse', 'Albert Einstein'] [{'concept': 'common name'}, 'spouse', 'Nelson Mandela']
SELECT DISTINCT ?x WHERE { ?k property:spouse ?x . VALUES ( ?k ) { ( resource:Gaetano_Donizetti ) ( resource:Gaspar_Melchor_de_Jovellanos ) ( resource:Charles_Fourier ) } . ?x rdf:type ontology:common_name }
[]
common name
Q263454 Q76346 Q239105
SYSTEM
Clementine Churchill, Baroness Spencer-Churchill, Mileva Marić, Graça Machel
Q263454 Q76346 Q68761 Q10492742 Q239062 Q239105
(c(Q502895),P26,Q8016) (c(Q502895),P26,Q937) (c(Q502895),P26,Q8023)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q8016'] [{'concept': 'Q502895'}, 'P26', 'Q937'] [{'concept': 'Q502895'}, 'P26', 'Q8023']
SELECT DISTINCT ?x WHERE { ?k property:P26 ?x . VALUES ( ?k ) { ( resource:Q101698 ) ( resource:Q282498 ) ( resource:Q181707 ) } . ?x rdf:type ontology:Q502895 }
Clementine Churchill, Baroness Spencer-Churchill Mileva Marić Elsa Einstein Evelyn Mase Winnie Madikizela-Mandela Graça Machel
Clementine Churchill, Baroness Spencer-Churchill, Mileva Marić and Graça Machel are married to those ones
Clementine Churchill, Baroness Spencer-Churchill Mileva Marić Graça Machel
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Winston Churchill'] [{'concept': 'common name'}, 'spouse', 'Albert Einstein'] [{'concept': 'common name'}, 'spouse', 'Nelson Mandela']
SELECT DISTINCT ?x WHERE { ?k property:spouse ?x . VALUES ( ?k ) { ( resource:Gaetano_Donizetti ) ( resource:Gaspar_Melchor_de_Jovellanos ) ( resource:Charles_Fourier ) } . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q263454 Q76346 Q239105
P21
Q290
USER
What are the sex of Clementine Churchill, Baroness Spencer-Churchill, Mileva Marić and Graça Machel ?
(Q263454,P21,c(Q290)) (Q76346,P21,c(Q290)) (Q239105,P21,c(Q290))
action union
action filter_type
action find
entity Q263454
relation P21
type Q290
action filter_type
action find
entity Q76346
relation P21
type Q290
action filter_type
action find
entity Q239105
relation P21
type Q290
['Q263454', 'P21', {'concept': 'Q290'}] ['Q76346', 'P21', {'concept': 'Q290'}] ['Q239105', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { { resource:Q263454 property:P21 ?v . ?v rdf:type ontology:Q290 } UNION { resource:Q76346 property:P21 ?v . ?v rdf:type ontology:Q290 } }
Clementine Churchill, Baroness Spencer-Churchill Mileva Marić Graça Machel
action union
action filter_type
action find
entity Clementine Churchill, Baroness Spencer-Churchill
relation gender
type sex
action filter_type
action find
entity Mileva Marić
relation gender
type sex
action filter_type
action find
entity Graça Machel
relation gender
type sex
['Clementine Churchill, Baroness Spencer-Churchill', 'gender', {'concept': 'sex'}] ['Mileva Marić', 'gender', {'concept': 'sex'}] ['Graça Machel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { { resource:Clementine_Churchill,_Baroness_Spencer-Churchill property:gender ?v . ?v rdf:type ontology:sex } UNION { resource:Mileva_Marić property:gender ?v . ?v rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072 Q6581072
(Q263454,P21,c(Q290)) (Q76346,P21,c(Q290)) (Q239105,P21,c(Q290))
action union
action filter_type
action find
entity Q263454
relation P21
type Q290
action filter_type
action find
entity Q76346
relation P21
type Q290
action filter_type
action find
entity Q239105
relation P21
type Q290
The sex of Clementine Churchill , Baroness Spencer-Churchill , Mileva Marić and Graça Machel are the [ANSWER], [ANSWER] and [ANSWER]
['Q263454', 'P21', {'concept': 'Q290'}] ['Q76346', 'P21', {'concept': 'Q290'}] ['Q239105', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { { resource:Q263454 property:P21 ?v . ?v rdf:type ontology:Q290 } UNION { resource:Q76346 property:P21 ?v . ?v rdf:type ontology:Q290 } }
female female female
The sex of Clementine Churchill , Baroness Spencer-Churchill , Mileva Marić and Graça Machel are the female, female and female
female female female
action union
action filter_type
action find
entity Clementine Churchill, Baroness Spencer-Churchill
relation gender
type sex
action filter_type
action find
entity Mileva Marić
relation gender
type sex
action filter_type
action find
entity Graça Machel
relation gender
type sex
['Clementine Churchill, Baroness Spencer-Churchill', 'gender', {'concept': 'sex'}] ['Mileva Marić', 'gender', {'concept': 'sex'}] ['Graça Machel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { { resource:Clementine_Churchill,_Baroness_Spencer-Churchill property:gender ?v . ?v rdf:type ontology:sex } UNION { resource:Mileva_Marić property:gender ?v . ?v rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q263454
P466
Q3947
USER
Which house is occupied by Clementine Churchill, Baroness Spencer-Churchill ?
(c(Q3947),P466,Q263454)
action filter_type
action find_reverse
entity Q263454
relation P466
type Q3947
[{'concept': 'Q3947'}, 'P466', 'Q263454']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q263454 . ?u rdf:type ontology:Q3947 }
Clementine Churchill, Baroness Spencer-Churchill
action filter_type
action find_reverse
entity Clementine Churchill, Baroness Spencer-Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Clementine Churchill, Baroness Spencer-Churchill']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:Clementine_Churchill,_Baroness_Spencer-Churchill . ?u rdf:type ontology:house }
[]
house
Q1067909
SYSTEM
Chartwell
Q1067909
(c(Q3947),P466,Q263454)
action filter_type
action find_reverse
entity Q263454
relation P466
type Q3947
[ANSWER] is occupied by Clementine Churchill, Baroness Spencer-Churchill
[{'concept': 'Q3947'}, 'P466', 'Q263454']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q263454 . ?u rdf:type ontology:Q3947 }
Chartwell
Chartwell is occupied by Clementine Churchill, Baroness Spencer-Churchill
Chartwell
action filter_type
action find_reverse
entity Clementine Churchill, Baroness Spencer-Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Clementine Churchill, Baroness Spencer-Churchill']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:Clementine_Churchill,_Baroness_Spencer-Churchill . ?u rdf:type ontology:house }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q263454
P39
Q12737077
USER
What were the positions for which that person were appointed ?
(Q1067909,P39,c(Q12737077))
action filter_type
action find
entity Q263454
relation P39
type Q12737077
['Q1067909', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q263454 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Clementine Churchill, Baroness Spencer-Churchill
action filter_type
action find
entity Clementine Churchill, Baroness Spencer-Churchill
relation position held
type occupation
['Chartwell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Clementine_Churchill,_Baroness_Spencer-Churchill property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q921439 Q18952564
SYSTEM
Spouse of the Prime Minister of the United Kingdom, Member of the House of Lords
Q921439 Q18952564
(Q1067909,P39,c(Q12737077))
action filter_type
action find
entity Q263454
relation P39
type Q12737077
[ANSWERS]
['Q1067909', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q263454 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Spouse of the Prime Minister of the United Kingdom Member of the House of Lords
Spouse of the Prime Minister of the United Kingdom and Member of the House of Lords
Spouse of the Prime Minister of the United Kingdom Member of the House of Lords
action filter_type
action find
entity Clementine Churchill, Baroness Spencer-Churchill
relation position held
type occupation
['Chartwell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Clementine_Churchill,_Baroness_Spencer-Churchill property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q76346
P27 P26
Q502895
USER
Which people are the life partner of Mileva Marić and are a citizen of United States of America ?
AND((c(Q502895),P26,Q76346), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q76346
relation P26
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q76346'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?v WHERE { ?v property:P26 resource:Q76346 . ?v property:P27 resource:Q30 . ?v rdf:type ontology:Q502895 }
United States of America Mileva Marić
action filter_type
action intersection
action find_reverse
entity Mileva Marić
relation spouse
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Mileva Marić'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?v WHERE { ?v property:spouse resource:Mileva_Marić . ?v property:country_of_citizenship resource:United_States_of_America . ?v rdf:type ontology:common_name }
[]
common name
Q937
SYSTEM
Albert Einstein
Q937
AND((c(Q502895),P26,Q76346), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q76346
relation P26
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWER] is the life partner of Mileva Marić and is a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q76346'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?v WHERE { ?v property:P26 resource:Q76346 . ?v property:P27 resource:Q30 . ?v rdf:type ontology:Q502895 }
Albert Einstein
Albert Einstein is the life partner of Mileva Marić and is a citizen of United States of America
Albert Einstein
action filter_type
action intersection
action find_reverse
entity Mileva Marić
relation spouse
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Mileva Marić'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?v WHERE { ?v property:spouse resource:Mileva_Marić . ?v property:country_of_citizenship resource:United_States_of_America . ?v rdf:type ontology:common_name }
[]