Simple Question (Direct)
Simple Question
Q11951594
P1412
Q34770
USER
Which language does Teresa Maria Castanyer i Bachs speak in ?
(Q11951594,P1412,c(Q34770))
action filter_type
action find
entity Q11951594
relation P1412
type Q34770
['Q11951594', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q11951594 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Teresa Maria Castanyer i Bachs
action filter_type
action find
entity Teresa Maria Castanyer i Bachs
relation languages spoken, written or signed
type language
['Teresa Maria Castanyer i Bachs', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Teresa_Maria_Castanyer_i_Bachs property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q11951594,P1412,c(Q34770))
action filter_type
action find
entity Q11951594
relation P1412
type Q34770
Teresa Maria Castanyer i Bachs speaks in [ANSWER]
['Q11951594', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q11951594 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Spanish
Teresa Maria Castanyer i Bachs speaks in Spanish
Spanish
action filter_type
action find
entity Teresa Maria Castanyer i Bachs
relation languages spoken, written or signed
type language
['Teresa Maria Castanyer i Bachs', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Teresa_Maria_Castanyer_i_Bachs property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11951594
P21
Q290
USER
Which sex does that person have ?
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q11951594
relation P21
type Q290
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q11951594 property:P21 ?n . ?n rdf:type ontology:Q290 }
Teresa Maria Castanyer i Bachs
action filter_type
action find
entity Teresa Maria Castanyer i Bachs
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Teresa_Maria_Castanyer_i_Bachs property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q11951594
relation P21
type Q290
That person has a [ANSWER]
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q11951594 property:P21 ?n . ?n rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Teresa Maria Castanyer i Bachs
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Teresa_Maria_Castanyer_i_Bachs property:gender ?n . ?n rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q16970 Q207628
USER
Which people are min number of churches or musical compositions dedicated to ?
(c(Q16970)|c(Q207628),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
[[{'concept': 'Q16970'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?z WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:Q207628 ) ( ontology:Q16970 ) } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:P825 ?u . ?q rdf:type ontology:Q16970 . ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q502895 . ?q rdf:type ontology:Q207628 . ?q property:P825 ?u } } GROUP BY ?u } . FILTER ( ?k = ?y ) }
action argmin
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type church
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
[[{'concept': 'church'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?z WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:musical_composition ) ( ontology:church ) } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:dedicated_to ?u . ?q rdf:type ontology:church . ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:common_name . ?q rdf:type ontology:musical_composition . ?q property:dedicated_to ?u } } GROUP BY ?u } . FILTER ( ?k = ?y ) }
[]
common name church musical composition
Q8016 Q937 Q8023
SYSTEM
Winston Churchill, Albert Einstein, Nelson Mandela
Q101698 Q152457 Q7402197 Q282498 Q4304989 Q4452364 Q7859824 Q181707 Q360420 Q1357149 Q318636 Q4218975 Q249719 Q18684004 Q534049 Q16846308 Q983142 Q314700 Q676555 Q392 Q11403872 Q312747 Q12688 Q336692 Q770633 Q611078 Q207113 Q20748855 Q44344 Q16202312 Q184935 Q65318 Q658756 Q1774929 Q183126 Q382053 Q88927 Q572684 Q17812378 Q3190301 Q93373 Q457863 Q43675 Q2575112 Q989 Q3109901 Q157176 Q2288858 Q44047 Q352978 Q1442 Q2959487 Q972905 Q448890 Q937 Q935 Q849 Q283447 Q179718 Q313737 Q2974965 Q7593283 Q747 Q5858974 Q173061 Q607495 Q235863 Q8605 Q19629510 Q5147053 Q43999 Q295090 Q18412922 Q351670 Q683792 Q3348840 Q2639031 Q685156 Q888326 Q62068 Q297 Q2959955 Q171411 Q558261 Q87621 Q94316 Q1236699 Q458014 Q11074321 Q7683954 Q7401372 Q93341 Q4218947 Q442516 Q313548 Q935496 Q461258 Q151967 Q132684 Q45380 Q192236 Q4130411 Q4127503 Q14345 Q38337 Q7446899 Q1398314 Q732526 Q200895 Q65290 Q1889720 Q55398 Q1394 Q22985873 Q43945 Q1064 Q4275175 Q1284971 Q5561411 Q612390 Q44032 Q20643690 Q9025343 Q37693 Q704817 Q1666 Q120180 Q41117 Q174231 Q23900430 Q200188 Q170547 Q43399 Q417686 Q276404 Q541634 Q244383 Q460876 Q5249703 Q8023 Q155540 Q381815 Q878671 Q6699463 Q535 Q2381536 Q115550 Q9439 Q539 Q42887 Q272899 Q170726 Q187550 Q2594000 Q313942 Q464192 Q379753 Q461104 Q298185 Q966298 Q1196817 Q433995 Q43600 Q271651 Q244852 Q5593 Q183085 Q57240 Q737198 Q466428 Q1246313 Q2376505 Q85760 Q284560 Q314846 Q41568 Q20173462 Q1429 Q697765 Q25089 Q20683560 Q724153 Q1425 Q1427 Q160614 Q369691 Q313093 Q43982 Q44248 Q1078192 Q32613 Q191039 Q454840 Q20644286 Q236326 Q42511 Q3719466 Q44258 Q18363 Q3401960 Q163900 Q4340905 Q7179512 Q11633375 Q499022 Q719428 Q237149 Q17590 Q311080 Q6695484 Q37064 Q160445 Q5623897 Q7732 Q1288566 Q541694 Q152727 Q29179 Q313970 Q6918007 Q3262373 Q426814 Q7327 Q35548 Q231690 Q6527 Q8195163 Q18535501 Q44024 Q44020 Q77187 Q6955878 Q5837054 Q9455 Q2573616 Q313196 Q691402 Q369668 Q1714244 Q297483 Q1380238 Q1496 Q1036864 Q102527 Q3392202 Q15432686 Q3398098 Q539427 Q462255 Q1088014 Q20757530 Q314802 Q2454699 Q8016 Q8018 Q645141 Q215333 Q272280 Q2853967 Q165274 Q700317 Q171977 Q316599 Q1398704 Q11403852 Q5318618 Q13132095 Q311791 Q4161262 Q167477 Q501 Q297742 Q2093405 Q183332 Q12872638 Q19595674 Q269520 Q2722964 Q204503 Q78657 Q234908 Q71231 Q7402252 Q4893207 Q27036912 Q727717 Q17308940 Q1132756 Q35149 Q23892327 Q636533 Q11619989 Q154353 Q2360522 Q13131020 Q119957 Q2025679 Q160149 Q382005 Q3401592 Q3770666 Q154232 Q551735 Q3618054 Q354519 Q349287 Q537553 Q154045 Q3399340 Q457433 Q1430 Q767 Q552220 Q215572 Q3099236 Q157100 Q160435 Q3398315 Q316658 Q23894387 Q23991012 Q711836 Q3069570 Q6258837 Q1016482 Q709118 Q328341 Q581537 Q93362 Q179971 Q11368835 Q773580 Q164294 Q164522 Q117710 Q11403867 Q461600 Q712653 Q23559 Q7401328 Q130777 Q130805 Q1268 Q504529 Q603655 Q352748 Q163366 Q6108547 Q20643663 Q6804706 Q1153323 Q17509259 Q11107790 Q43669 Q18126070 Q558148 Q289215 Q351715 Q33477 Q149727 Q7349 Q468122 Q16859956 Q1834624 Q503886 Q444380 Q1183310 Q360798 Q3372785 Q1769 Q1446 Q310462 Q10881970 Q170842 Q12718 Q132232 Q47120 Q63070 Q87567 Q216873 Q232803 Q238090 Q374467 Q3781346 Q174367 Q6203829 Q680538 Q894757 Q5992912 Q3395811 Q7110271 Q45682 Q472851 Q982696 Q317997 Q221263 Q51885 Q123062 Q181689 Q964608 Q218690 Q80513 Q469572 Q5984068 Q151803 Q16766274 Q1293017 Q743830 Q3405091 Q16636868 Q82122 Q299179 Q1407 Q1405 Q836214 Q51673 Q1337419 Q13132105 Q3305109 Q5623522 Q354786
(c(Q16970)|c(Q207628),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P825
type Q502895
type Q207628
Min number of churches or musical compositions are by [ANSWERS]
[[{'concept': 'Q16970'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?z WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:Q207628 ) ( ontology:Q16970 ) } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:P825 ?u . ?q rdf:type ontology:Q16970 . ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q502895 . ?q rdf:type ontology:Q207628 . ?q property:P825 ?u } } GROUP BY ?u } . FILTER ( ?k = ?y ) }
Gaetano Donizetti Saint Roch Saint Sulien Gaspar Melchor de Jovellanos Mawgan Tathan Tyfrydog Charles Fourier Serge Lifar Giacomo Bassi Neville Marriner Saint Keyne Yui Caroline Weber Saint Petroc Saint Rhian Julian the Hospitaller Joachim Francis of Assisi Bob Dylan Kitabatake Akiyoshi Leopoldo Alas Jean Jaurès Rodolphe Kreutzer Padarn António José de Ávila, 1st Duke of Ávila and Bolama Hippolytus Llawddog Hilary of Poitiers Nidan Mihai Eminescu Kibitsuhiko-no-mikoto Alof de Wignacourt Ferreolus Ramakrishna Antonio Sant'Elia Louis de Montfort Thomas-Alexandre Dumas Francisco Pintado Fe Just of Lyon Archduke Rudolf of Austria Ingeborg Bronsart von Schellendorf Philip the Apostle Winefride John Paul II Gohard Władysław Szpilman Moriyoshi-shinnō James, son of Alphaeus Antoine Wiertz Septimius Severus Charles Joseph Lenoir Léon Goossens Charlotte Saunders Cushman Albert Einstein Isaac Newton François Villon Lambert of Maastricht Catherine of Alexandria Drusus Julius Caesar Clair of Nantes St Govan Pierre Corneille Fermín Canella Secades Syd Barrett Giuseppe De Nittis Genevieve Simón Bolívar Saint Goustan Collet Barker James Léon Gambetta Johann Georg von Browne-Camus Komitas Vardapet Kitabatake Chikafusa Octave Gréard Illtud Karl Alois, Prince Lichnowsky Bob Wills 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ō Tanwg Iestyn Miles Davis Ceidio ap Einion Germanus of Auxerre Absalon Abundius Yamato Takeru Saint Blaise Saint-John Perse John Lewis Thomas Becket Anastasia Vyaltseva Ferrutio Roh Moo-hyun Alexandre Dumas Seiriol Paul Ladmirault José Guadalupe Posada Agatha of Sicily Constantine, Prince of Hohenzollern-Hechingen Cadoc Bernadette Soubirous Vladimir Lenin Elizabeth Jean Scott Jude the Apostle Alessandro Manzoni Maethlu Victor Maurus José Tartiere y Lenegre Beuno Egon Schiele Claude-Emma Debussy Luis Riera Posada Paul Gauguin Gorgonius Jacques Brel Alexander III of Russia Kim Il-sung Meiji Gwenog Jimmu Anthony the Great Andrew Nazarius Takeda Shingen Bobby Bland Rose of Lima Lenny Bruce Decuman Nelson Mandela Hans von Bülow Edmund the Martyr Untash-Napirisha Ludwika Jędrzejewicz Victor Hugo Brynach 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 Matthew the Apostle Michel Eugène Chevreul Gediminas Pablo Picasso Isabella II of Spain Ernst Bloch Kevin of Glendalough Philomena Dorothea von Ertmann Edith Cowan Giulietta Guicciardi Manuel Puig Emperor Kammu Michel de Montaigne Natalia Vladimirovna Trouhanowa Antoninus Pius Rudolf Maister Woody Allen Saeran Jesse Lauriston Livermore Trajan Hadrian Skanderbeg Saint Ursula Herman Boerhaave Bartholomew the Apostle Jerome Dubricius Minamoto no Yoshiie Germanicus William Cullen Bryant Mathilde Zemlinsky Columba H. G. Wells Edmund Clarence Stedman Basil of Caesarea Alfonso XIII of Spain Fagan Saint Francis Xavier Bridget O'Connor Peulan Prince Toyokiirihiko Emmanuel Fremiet William Michael Rossetti Ida Rubinstein Lawrence of Rome Uesugi Kenshin Trillo Alexander Fleming Saint Boniface Gwynno Louis XVI of France Len Lye Joseph Merk Frederick William, Elector of Brandenburg Francisco Franco Anton Arensky Motoharu Sano Louis Jou Emmanuel de Rohan-Polduc Yuri Gagarin Paul Cézanne B. R. Ambedkar Jean-Jacques Rousseau Alfonso Iglesias Celynnin Athanasius of Alexandria Saint Matthias Ferdinand von Hompesch zu Bolheim Defendens Ernesto Winter Blanco Vallabhbhai Patel Eric Fletcher Waters Louis Desaix Philip IV of Spain William Osler Justin the Confessor Ferdinando I de' Medici, Grand Duke of Tuscany Hugh d'Avranches, 1st Earl of Chester Ferdinand Magellan Kitabatake Akiie Robert Falcon Scott Plechelm Georges Vallet Sadwrn Johann Jacob Bach Marino Lejarreta Tewdrig Madame Autard de Bragard Tenji Cadwaladr Winston Churchill Augustine of Hippo Armando Palacio Valdés Carl Czerny Æthelwold Antoine Gailleton Jacques Prévert Yasuhito Chichibu Tokugawa Ieyasu Saint Maurice Alexander Wilhelm Gottschalg Kitabatake Morichika Dyfodwg Tybïe Nikolai Rubinstein Dyfnan Anthony of Padua Charles Baudelaire Margaret the Virgin Digain Saint Sebastian David of Euboea Tyfei Shōken Albinus of Angers Pablo Martín Melitón de Sarasate y Navascués Alfred Grünfeld Nezami| Charles the Bald Twrog Sabino Fernández Campo, 1st Count of Latores Cwyfan Ramón Pérez de Ayala James William Davison Sakai Tadatsugu Wilhelm Röntgen Morhaiarn Pedro Rodríguez, Conde de Campomanes Prince Uji no Wakiiratsuko François Arago Anna Petrovna Kern Rhidian Alexis Roland-Manuel Albert Thomas Mark Rothko Sugawara no Michizane Cynllo Giuseppe Ghislanzoni Alexander Suvorov Edgar Quinet Annibale Cressoni Charley Patton Sutoku Ludwig Schuncke Alexei Nikolaevich Cybi Sara Dylan Marcus Aurelius Antoninus Stéphane Mallarmé Giuseppe Zanardelli Felix Nussbaum Minamoto no Tsunemoto Margaret of Austria, Duchess of Savoy Gerrit Rietveld Tudno Go-Toba Rhwydrus Senwyr Philippe Pot Fernando de Valdés y Salas John Thomas Stanley, 1st Baron Stanley of Alderley Burkhard Nadolny Tim Birkin Robert Smithson Saint Cadfan Archduke Maximilian Francis of Austria Chūai Shizuko Nogi Gianni Brera Saint Anna Hieda no Are Lorin Maazel Kitabatake Akinobu Teréz Brunszvik Henri Vernes Benito Mussolini Gredifael Kazimir Malevich George I of Great Britain Frédéric Chopin Theodore of Tarsus Fidelis of Como John Spencer Ezra Pound Ricardo Vázquez-Prada Blanco Hélène Bardac Mechell Danguolė Rasalaitė Saint Elli Kristjan Cavazza Thomas the Apostle Isan Leonard of Noblac Alejandro Boliviano Fruela I of Asturias Eugène Delacroix Saint Giles Joseph Haydn Nogi Maresuke Cawrdaf Gummarus Sterling Morrison Imogen Holst Deiniol Saint Eligius Paulino Vicente (padre) Alexander Severus Caracalla Saigō Takamori Itsuse no Mikoto Sergei Koroliov Auguste Comte Clara Schumann David Oistrakh Mary Magdalene Anton Rubinstein Pierre Puvis de Chavannes Empress Jingu Sholem Aleichem Gabriel of Our Lady of Sorrows Aida Lafuente Penaos Djoser Jiří Tancibudek Saint Teilo Botwulf of Thorney Manuel Fernández Avello Dolores Medio Oudoceus Jean Sibelius Count Ferdinand Ernst Gabriel von Waldstein Bassel Khartabil Ōjin Philibert II, Duke of Savoy Thecla Jacques Necker Blind Willie McTell Lucien Pissarro Raymond Queneau Saint Cecilia John Nicholson Luis Noval Ferrao Piet Mondrian Michelle Vian Tysilio Wulfram of Sens Dyfan Crallo Jean-Baptiste de Lamarck Kōmei Tiberius Augustus Princess Tōchi Mark Antony Emilio Alarcos Llorach Tysul Donatus of Evorea Gwenllwyfo Jean-Louis-Ernest Meissonier
Min number of churches or musical compositions 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 church
action find_reverse_tuple_counts
relation dedicated to
type common name
type musical composition
[[{'concept': 'church'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?z WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:musical_composition ) ( ontology:church ) } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:dedicated_to ?u . ?q rdf:type ontology:church . ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:common_name . ?q rdf:type ontology:musical_composition . ?q property:dedicated_to ?u } } GROUP BY ?u } . FILTER ( ?k = ?y ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P161
Q201658 Q838948
USER
How many film genres and works of art have that person as actor ?
(c(Q201658),P161,Q8016) (c(Q838948),P161,Q8016) (c(Q201658),P161,Q8016) (c(Q838948),P161,Q8016) (c(Q201658),P161,Q937) (c(Q838948),P161,Q937) (c(Q201658),P161,Q8023) (c(Q838948),P161,Q8023)
[{'concept': 'Q201658'}, 'P161', 'Q8016'] [{'concept': 'Q838948'}, 'P161', 'Q8016'] [{'concept': 'Q201658'}, 'P161', 'Q8016'] [{'concept': 'Q838948'}, 'P161', 'Q8016'] [{'concept': 'Q201658'}, 'P161', 'Q937'] [{'concept': 'Q838948'}, 'P161', 'Q937'] [{'concept': 'Q201658'}, 'P161', 'Q8023'] [{'concept': 'Q838948'}, 'P161', 'Q8023']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q2916076 } UNION { ?y property:Q3297652 resource:Q2916076 } UNION { ?z property:Q3297652 resource:Q2916076 } UNION { ?y property:Q3297652 resource:Q2916076 } UNION { ?z property:Q3297652 resource:Q13426745 } UNION { ?y property:Q3297652 resource:Q13426745 } UNION { ?z property:Q3297652 resource:Q10797487 } UNION { ?y property:Q3297652 resource:Q10797487 } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q838948 }
[{'concept': 'film genre'}, 'cast member', 'Winston Churchill'] [{'concept': 'work of art'}, 'cast member', 'Winston Churchill'] [{'concept': 'film genre'}, 'cast member', 'Winston Churchill'] [{'concept': 'work of art'}, 'cast member', 'Winston Churchill'] [{'concept': 'film genre'}, 'cast member', 'Albert Einstein'] [{'concept': 'work of art'}, 'cast member', 'Albert Einstein'] [{'concept': 'film genre'}, 'cast member', 'Nelson Mandela'] [{'concept': 'work of art'}, 'cast member', 'Nelson Mandela']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Winston_Churchill } UNION { ?y property:cast_member resource:Winston_Churchill } UNION { ?z property:cast_member resource:Winston_Churchill } UNION { ?y property:cast_member resource:Winston_Churchill } UNION { ?z property:cast_member resource:Albert_Einstein } UNION { ?y property:cast_member resource:Albert_Einstein } UNION { ?z property:cast_member resource:Nelson_Mandela } UNION { ?y property:cast_member resource:Nelson_Mandela } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:work_of_art }
[]
film genre work of art
Quantitative|Count|Mult. entity type|Clarification
Q8023
SYSTEM
Did you mean Nelson Mandela ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q2916076 } UNION { ?y property:Q3297652 resource:Q2916076 } UNION { ?z property:Q3297652 resource:Q2916076 } UNION { ?y property:Q3297652 resource:Q2916076 } UNION { ?z property:Q3297652 resource:Q13426745 } UNION { ?y property:Q3297652 resource:Q13426745 } UNION { ?z property:Q3297652 resource:Q10797487 } UNION { ?y property:Q3297652 resource:Q10797487 } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q838948 }
Did you mean Nelson Mandela ?
Nelson Mandela
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Winston_Churchill } UNION { ?y property:cast_member resource:Winston_Churchill } UNION { ?z property:cast_member resource:Winston_Churchill } UNION { ?y property:cast_member resource:Winston_Churchill } UNION { ?z property:cast_member resource:Albert_Einstein } UNION { ?y property:cast_member resource:Albert_Einstein } UNION { ?z property:cast_member resource:Nelson_Mandela } UNION { ?y property:cast_member resource:Nelson_Mandela } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Winston Churchill. Could you tell me the answer for that?
(c(Q201658),P161,Q8016) (c(Q838948),P161,Q8016) (c(Q201658),P161,Q8016) (c(Q838948),P161,Q8016) (c(Q201658),P161,Q937) (c(Q838948),P161,Q937) (c(Q201658),P161,Q8023) (c(Q838948),P161,Q8023)
Q8016
[{'concept': 'Q201658'}, 'P161', 'Q8016'] [{'concept': 'Q838948'}, 'P161', 'Q8016'] [{'concept': 'Q201658'}, 'P161', 'Q8016'] [{'concept': 'Q838948'}, 'P161', 'Q8016'] [{'concept': 'Q201658'}, 'P161', 'Q937'] [{'concept': 'Q838948'}, 'P161', 'Q937'] [{'concept': 'Q201658'}, 'P161', 'Q8023'] [{'concept': 'Q838948'}, 'P161', 'Q8023']
[{'concept': 'film genre'}, 'cast member', 'Winston Churchill'] [{'concept': 'work of art'}, 'cast member', 'Winston Churchill'] [{'concept': 'film genre'}, 'cast member', 'Winston Churchill'] [{'concept': 'work of art'}, 'cast member', 'Winston Churchill'] [{'concept': 'film genre'}, 'cast member', 'Albert Einstein'] [{'concept': 'work of art'}, 'cast member', 'Albert Einstein'] [{'concept': 'film genre'}, 'cast member', 'Nelson Mandela'] [{'concept': 'work of art'}, 'cast member', 'Nelson Mandela']
[]
SYSTEM
1 film genres and 2 works of art
Q14783948 Q25835 Q6423170
(c(Q201658),P161,Q8016) (c(Q838948),P161,Q8016) (c(Q201658),P161,Q8016) (c(Q838948),P161,Q8016) (c(Q201658),P161,Q937) (c(Q838948),P161,Q937) (c(Q201658),P161,Q8023) (c(Q838948),P161,Q8023)
[ANSWER]
[{'concept': 'Q201658'}, 'P161', 'Q8016'] [{'concept': 'Q838948'}, 'P161', 'Q8016'] [{'concept': 'Q201658'}, 'P161', 'Q8016'] [{'concept': 'Q838948'}, 'P161', 'Q8016'] [{'concept': 'Q201658'}, 'P161', 'Q937'] [{'concept': 'Q838948'}, 'P161', 'Q937'] [{'concept': 'Q201658'}, 'P161', 'Q8023'] [{'concept': 'Q838948'}, 'P161', 'Q8023']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q2916076 } UNION { ?y property:Q3297652 resource:Q2916076 } UNION { ?z property:Q3297652 resource:Q2916076 } UNION { ?y property:Q3297652 resource:Q2916076 } UNION { ?z property:Q3297652 resource:Q13426745 } UNION { ?y property:Q3297652 resource:Q13426745 } UNION { ?z property:Q3297652 resource:Q10797487 } UNION { ?y property:Q3297652 resource:Q10797487 } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q838948 }
The Spirit of '45 Cast a Giant Shadow Know Your Ally: Britain
1 film genres and 2 works of art
[{'concept': 'film genre'}, 'cast member', 'Winston Churchill'] [{'concept': 'work of art'}, 'cast member', 'Winston Churchill'] [{'concept': 'film genre'}, 'cast member', 'Winston Churchill'] [{'concept': 'work of art'}, 'cast member', 'Winston Churchill'] [{'concept': 'film genre'}, 'cast member', 'Albert Einstein'] [{'concept': 'work of art'}, 'cast member', 'Albert Einstein'] [{'concept': 'film genre'}, 'cast member', 'Nelson Mandela'] [{'concept': 'work of art'}, 'cast member', 'Nelson Mandela']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Winston_Churchill } UNION { ?y property:cast_member resource:Winston_Churchill } UNION { ?z property:cast_member resource:Winston_Churchill } UNION { ?y property:cast_member resource:Winston_Churchill } UNION { ?z property:cast_member resource:Albert_Einstein } UNION { ?y property:cast_member resource:Albert_Einstein } UNION { ?z property:cast_member resource:Nelson_Mandela } UNION { ?y property:cast_member resource:Nelson_Mandela } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14287316 Q11951594
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Teresa Maria Castanyer i Bachs or Rosita Steenbeek ?
OR((Q11951594,P27,c(Q15617994)), (Q14287316,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11951594
relation P27
action find
entity Q14287316
relation P27
type Q15617994
{'OR': [['Q11951594', 'P27', {'concept': 'Q15617994'}], ['Q14287316', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q11951594 property:P27 ?p } UNION { resource:Q14287316 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Rosita Steenbeek Teresa Maria Castanyer i Bachs
action filter_type
action union
action find
entity Teresa Maria Castanyer i Bachs
relation country of citizenship
action find
entity Rosita Steenbeek
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Teresa Maria Castanyer i Bachs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rosita Steenbeek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Teresa_Maria_Castanyer_i_Bachs property:country_of_citizenship ?p } UNION { resource:Rosita_Steenbeek property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q29999
SYSTEM
Spain, Kingdom of the Netherlands
Q29 Q29999
OR((Q11951594,P27,c(Q15617994)), (Q14287316,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11951594
relation P27
action find
entity Q14287316
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Teresa Maria Castanyer i Bachs or Rosita Steenbeek
{'OR': [['Q11951594', 'P27', {'concept': 'Q15617994'}], ['Q14287316', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q11951594 property:P27 ?p } UNION { resource:Q14287316 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Spain Kingdom of the Netherlands
Spain and Kingdom of the Netherlands are the countries of citizenship of Teresa Maria Castanyer i Bachs or Rosita Steenbeek
Spain Kingdom of the Netherlands
action filter_type
action union
action find
entity Teresa Maria Castanyer i Bachs
relation country of citizenship
action find
entity Rosita Steenbeek
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Teresa Maria Castanyer i Bachs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rosita Steenbeek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Teresa_Maria_Castanyer_i_Bachs property:country_of_citizenship ?p } UNION { resource:Rosita_Steenbeek property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29 Q29999
P463
Q484652
USER
Which organizations were Spain and Kingdom of the Netherlands a member of ?
(Q29,P463,c(Q484652)) (Q29999,P463,c(Q484652))
action union
action filter_type
action find
entity Q29
relation P463
type Q484652
action filter_type
action find
entity Q29999
relation P463
type Q484652
['Q29', 'P463', {'concept': 'Q484652'}] ['Q29999', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?v WHERE { { resource:Q29 property:P463 ?v . ?v rdf:type ontology:Q484652 } UNION { resource:Q29999 property:P463 ?v . ?v rdf:type ontology:Q484652 } }
Spain Kingdom of the Netherlands
action union
action filter_type
action find
entity Spain
relation member of
type international organization
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type international organization
['Spain', 'member of', {'concept': 'international organization'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?v WHERE { { resource:Spain property:member_of ?v . ?v rdf:type ontology:international_organization } UNION { resource:Kingdom_of_the_Netherlands property:member_of ?v . ?v rdf:type ontology:international_organization } }
[]
international organization
Q81299 Q42262 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, European Space Agency, United Nations
Q81299 Q190008 Q7184 Q1043527 Q188822 Q42262 Q1065 Q1065 Q188822 Q842490 Q678524 Q1043527
(Q29,P463,c(Q484652)) (Q29999,P463,c(Q484652))
action union
action filter_type
action find
entity Q29
relation P463
type Q484652
action filter_type
action find
entity Q29999
relation P463
type Q484652
[ANSWERS] were Spain and Kingdom of the Netherlands a member of
['Q29', 'P463', {'concept': 'Q484652'}] ['Q29999', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?v WHERE { { resource:Q29 property:P463 ?v . ?v rdf:type ontology:Q484652 } UNION { resource:Q29999 property:P463 ?v . ?v rdf:type ontology:Q484652 } }
Organization for Security and Co-operation in Europe Central American Bank for Economic Integration North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency Asian Development Bank European Space Agency United Nations United Nations Asian Development Bank Organisation for the Prohibition of Chemical Weapons Netherlands-Indonesian Union Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, European Space Agency and United Nations were Spain and Kingdom of the Netherlands a member of
Organization for Security and Co-operation in Europe European Space Agency United Nations
action union
action filter_type
action find
entity Spain
relation member of
type international organization
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type international organization
['Spain', 'member of', {'concept': 'international organization'}] ['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?v WHERE { { resource:Spain property:member_of ?v . ?v rdf:type ontology:international_organization } UNION { resource:Kingdom_of_the_Netherlands property:member_of ?v . ?v rdf:type ontology:international_organization } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q81299 Q42262 Q1065
P159
Q56061
USER
Where are the head office for Organization for Security and Co-operation in Europe, European Space Agency and United Nations located ?
(Q81299,P159,c(Q56061)) (Q42262,P159,c(Q56061)) (Q1065,P159,c(Q56061))
action union
action filter_type
action find
entity Q81299
relation P159
type Q56061
action filter_type
action find
entity Q42262
relation P159
type Q56061
action filter_type
action find
entity Q1065
relation P159
type Q56061
['Q81299', 'P159', {'concept': 'Q56061'}] ['Q42262', 'P159', {'concept': 'Q56061'}] ['Q1065', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?i ) { ( resource:Q81299 ) ( resource:Q42262 ) } . ?i property:P159 ?t }
Organization for Security and Co-operation in Europe European Space Agency United Nations
action union
action filter_type
action find
entity Organization for Security and Co-operation in Europe
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity European Space Agency
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity United Nations
relation headquarters location
type administrative territorial entity
['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}] ['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Nations', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?i ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:European_Space_Agency ) } . ?i property:headquarters_location ?t }
[]
administrative territorial entity
Q1741 Q90 Q60
SYSTEM
Vienna, Paris, New York City
Q1741 Q90 Q60
(Q81299,P159,c(Q56061)) (Q42262,P159,c(Q56061)) (Q1065,P159,c(Q56061))
action union
action filter_type
action find
entity Q81299
relation P159
type Q56061
action filter_type
action find
entity Q42262
relation P159
type Q56061
action filter_type
action find
entity Q1065
relation P159
type Q56061
The head office for Organization for Security and Co-operation in Europe , European Space Agency and United Nations located are in [ANSWERS]
['Q81299', 'P159', {'concept': 'Q56061'}] ['Q42262', 'P159', {'concept': 'Q56061'}] ['Q1065', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?i ) { ( resource:Q81299 ) ( resource:Q42262 ) } . ?i property:P159 ?t }
Vienna Paris New York City
The head office for Organization for Security and Co-operation in Europe , European Space Agency and United Nations located are in Vienna, Paris and New York City
Vienna Paris New York City
action union
action filter_type
action find
entity Organization for Security and Co-operation in Europe
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity European Space Agency
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity United Nations
relation headquarters location
type administrative territorial entity
['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}] ['European Space Agency', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Nations', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?i ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:European_Space_Agency ) } . ?i property:headquarters_location ?t }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1741 Q90 Q60
P291
Q21114848
USER
Which magazine genres have those administrative territories as their publication place ?
(c(Q21114848),P291,Q1741) (c(Q21114848),P291,Q90) (c(Q21114848),P291,Q60)
action filter_type
action find_reverse
entity prev_answer
relation P291
type Q21114848
[{'concept': 'Q21114848'}, 'P291', 'Q1741'] [{'concept': 'Q21114848'}, 'P291', 'Q90'] [{'concept': 'Q21114848'}, 'P291', 'Q60']
SELECT DISTINCT ?k WHERE { ?k property:P291 ?n . ?k rdf:type ontology:Q21114848 . VALUES ( ?n ) { ( resource:Q1741 ) ( resource:Q90 ) ( resource:Q60 ) } }
Vienna Paris New York City
action filter_type
action find_reverse
entity prev_answer
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', 'Vienna'] [{'concept': 'magazine genre'}, 'place of publication', 'Paris'] [{'concept': 'magazine genre'}, 'place of publication', 'New York City']
SELECT DISTINCT ?k WHERE { ?k property:place_of_publication ?n . ?k rdf:type ontology:magazine_genre . VALUES ( ?n ) { ( resource:Vienna ) ( resource:Paris ) ( resource:New_York_City ) } }
[]
magazine genre
Q19851135 Q1709878 Q13548386
SYSTEM
America (Paris), Journal of the ACM, Abhandlungen der Geologischen Bundesanstalt, Wien
Q13548386 Q18249024 Q15938897 Q19851135 Q15727359 Q4883946 Q4552020 Q7621466 Q6647570 Q1120519 Q5153379 Q5090035 Q2884634 Q7271440 Q3381547 Q1946330 Q5033564 Q15766004 Q6806409 Q15752693 Q5156550 Q3662054 Q1709878 Q4797268 Q20821004 Q7722357
(c(Q21114848),P291,Q1741) (c(Q21114848),P291,Q90) (c(Q21114848),P291,Q60)
action filter_type
action find_reverse
entity prev_answer
relation P291
type Q21114848
[ANSWERS]
[{'concept': 'Q21114848'}, 'P291', 'Q1741'] [{'concept': 'Q21114848'}, 'P291', 'Q90'] [{'concept': 'Q21114848'}, 'P291', 'Q60']
SELECT DISTINCT ?k WHERE { ?k property:P291 ?n . ?k rdf:type ontology:Q21114848 . VALUES ( ?n ) { ( resource:Q1741 ) ( resource:Q90 ) ( resource:Q60 ) } }
Abhandlungen der Geologischen Bundesanstalt, Wien & Radieschen Verhandlungen des Zoologisch-Botanischen Vereins in Wien America (Paris) Bulletin de la Société Nationale d'Horticulture de France Bellevue Literary Review 16 Strange Tales Literal Latte Communications of the ACM Common Ground Chelsea La Llumanera de Nova York Quest Photo District News Monthly Review Canteen Audubon Medical Record Ballet Review Complex Yachting Journal of the ACM Art on Paper Engineering News The Chess Monthly
America (Paris), Journal of the ACM and Abhandlungen der Geologischen Bundesanstalt, Wien have those administrative territories as their publication place
America (Paris) Journal of the ACM Abhandlungen der Geologischen Bundesanstalt, Wien
action filter_type
action find_reverse
entity prev_answer
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', 'Vienna'] [{'concept': 'magazine genre'}, 'place of publication', 'Paris'] [{'concept': 'magazine genre'}, 'place of publication', 'New York City']
SELECT DISTINCT ?k WHERE { ?k property:place_of_publication ?n . ?k rdf:type ontology:magazine_genre . VALUES ( ?n ) { ( resource:Vienna ) ( resource:Paris ) ( resource:New_York_City ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19851135 Q1709878 Q13548386
P291
Q56061
USER
Which administrative territories are the locations of publication of America (Paris), Journal of the ACM and Abhandlungen der Geologischen Bundesanstalt, Wien ?
(Q19851135,P291,c(Q56061)) (Q1709878,P291,c(Q56061)) (Q13548386,P291,c(Q56061))
action union
action filter_type
action find
entity Q19851135
relation P291
type Q56061
action filter_type
action find
entity Q1709878
relation P291
type Q56061
action filter_type
action find
entity Q13548386
relation P291
type Q56061
['Q19851135', 'P291', {'concept': 'Q56061'}] ['Q1709878', 'P291', {'concept': 'Q56061'}] ['Q13548386', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:Q19851135 ) ( resource:Q1709878 ) } . ?m property:P291 ?f }
America (Paris) Journal of the ACM Abhandlungen der Geologischen Bundesanstalt, Wien
action union
action filter_type
action find
entity America (Paris)
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Journal of the ACM
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Abhandlungen der Geologischen Bundesanstalt, Wien
relation place of publication
type administrative territorial entity
['America (Paris)', 'place of publication', {'concept': 'administrative territorial entity'}] ['Journal of the ACM', 'place of publication', {'concept': 'administrative territorial entity'}] ['Abhandlungen der Geologischen Bundesanstalt, Wien', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:America_(Paris) ) ( resource:Journal_of_the_ACM ) } . ?m property:place_of_publication ?f }
[]
administrative territorial entity
Q90 Q60 Q1741
SYSTEM
Paris, New York City, Vienna
Q90 Q60 Q1741
(Q19851135,P291,c(Q56061)) (Q1709878,P291,c(Q56061)) (Q13548386,P291,c(Q56061))
action union
action filter_type
action find
entity Q19851135
relation P291
type Q56061
action filter_type
action find
entity Q1709878
relation P291
type Q56061
action filter_type
action find
entity Q13548386
relation P291
type Q56061
[ANSWERS] are the locations of publication of America (Paris), Journal of the ACM and Abhandlungen der Geologischen Bundesanstalt, Wien
['Q19851135', 'P291', {'concept': 'Q56061'}] ['Q1709878', 'P291', {'concept': 'Q56061'}] ['Q13548386', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:Q19851135 ) ( resource:Q1709878 ) } . ?m property:P291 ?f }
Paris New York City Vienna
Paris, New York City and Vienna are the locations of publication of America (Paris), Journal of the ACM and Abhandlungen der Geologischen Bundesanstalt, Wien
Paris New York City Vienna
action union
action filter_type
action find
entity America (Paris)
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Journal of the ACM
relation place of publication
type administrative territorial entity
action filter_type
action find
entity Abhandlungen der Geologischen Bundesanstalt, Wien
relation place of publication
type administrative territorial entity
['America (Paris)', 'place of publication', {'concept': 'administrative territorial entity'}] ['Journal of the ACM', 'place of publication', {'concept': 'administrative territorial entity'}] ['Abhandlungen der Geologischen Bundesanstalt, Wien', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:America_(Paris) ) ( resource:Journal_of_the_ACM ) } . ?m property:place_of_publication ?f }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q90 Q60 Q1741
P6
Q502895
USER
What people are those administrative territories the head of goverment of ?
(Q90,P6,c(Q502895)) (Q60,P6,c(Q502895)) (Q1741,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q90', 'P6', {'concept': 'Q502895'}] ['Q60', 'P6', {'concept': 'Q502895'}] ['Q1741', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?b property:P6 ?y . VALUES ( ?b ) { ( resource:Q90 ) ( resource:Q60 ) ( resource:Q1741 ) } . ?y rdf:type ontology:Q502895 }
Paris New York City Vienna
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}] ['New York City', 'head of government', {'concept': 'common name'}] ['Vienna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?b property:head_of_government ?y . VALUES ( ?b ) { ( resource:Paris ) ( resource:New_York_City ) ( resource:Vienna ) } . ?y rdf:type ontology:common_name }
[]
common name
Q2105 Q607 Q289303
SYSTEM
Jacques Chirac, Michael Bloomberg, Étienne Arago
Q1986521 Q2105 Q289303 Q1685859 Q256294 Q1685102 Q601266 Q2596877 Q677730 Q959708 Q3131449 Q947901 Q2851133 Q656015 Q1684642 Q1685301 Q204135 Q467133 Q312502 Q2274772 Q3182321 Q441554 Q2156376 Q6287566 Q467122 Q939458 Q607 Q6233903 Q329910 Q212648 Q4121154 Q4911497 Q1701296 Q2544704 Q666931 Q439156 Q5536568 Q95865 Q94496 Q13014 Q78531 Q85512 Q94472 Q78983 Q94424 Q84204 Q84254 Q112462 Q45377 Q2150882 Q78999 Q1705370 Q86676
(Q90,P6,c(Q502895)) (Q60,P6,c(Q502895)) (Q1741,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
Those administrative territories the head of goverment of are [ANSWERS]
['Q90', 'P6', {'concept': 'Q502895'}] ['Q60', 'P6', {'concept': 'Q502895'}] ['Q1741', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?b property:P6 ?y . VALUES ( ?b ) { ( resource:Q90 ) ( resource:Q60 ) ( resource:Q1741 ) } . ?y rdf:type ontology:Q502895 }
Nicolas Chambon Jacques Chirac Étienne Arago Jean Tiberi Bertrand Delanoë Jean-Nicolas Pache Louis-Antoine Garnier-Pagès René Boucher Armand Marrast Jules Ferry Henri Lefèvre d'Ormesson Jérôme Pétion de Villeneuve Anne Hidalgo Philibert Borie Jean-Baptiste Fleuriot-Lescot Jean Sylvain Bailly Jimmy Walker David Dinkins Fiorello H. La Guardia Seth Low John Purroy Mitchel William O'Dwyer Robert Anderson Van Wyck Joseph V. McKee Ed Koch Vincent R. Impellitteri Michael Bloomberg John Francis Hylan Abraham Beame Rudy Giuliani Ardolph L. Kline Bill de Blasio John P. O'Brien William Jay Gaynor John Lindsay Robert F. Wagner George B. McClellan, Jr. Philipp Wilhelm Jung Felix Slavik Franz Jonas Karl Lueger Hanns Blaschke Bruno Marek Helmut Zilk Jakob Reumann Theodor Körner Karl Seitz Hermann Neubacher Michael Häupl Richard Weiskirchner Leopold Gratz Josef Neumayer Richard Schmitz
Those administrative territories the head of goverment of are Jacques Chirac, Michael Bloomberg and Étienne Arago
Jacques Chirac Michael Bloomberg Étienne Arago
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}] ['New York City', 'head of government', {'concept': 'common name'}] ['Vienna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?b property:head_of_government ?y . VALUES ( ?b ) { ( resource:Paris ) ( resource:New_York_City ) ( resource:Vienna ) } . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2105 Q607 Q289303
P6
Q56061
USER
Which administrative territories have those people as their administrative leader ?
(c(Q56061),P6,Q2105) (c(Q56061),P6,Q607) (c(Q56061),P6,Q289303)
action filter_type
action find_reverse
entity prev_answer
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q2105'] [{'concept': 'Q56061'}, 'P6', 'Q607'] [{'concept': 'Q56061'}, 'P6', 'Q289303']
SELECT DISTINCT ?k WHERE { VALUES ( ?b ) { ( resource:Q1986521 ) ( resource:Q2105 ) ( resource:Q289303 ) } . ?k rdf:type ontology:Q56061 . ?k property:P6 ?b }
Jacques Chirac Michael Bloomberg Étienne Arago
action filter_type
action find_reverse
entity prev_answer
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Jacques Chirac'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Michael Bloomberg'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Étienne Arago']
SELECT DISTINCT ?k WHERE { VALUES ( ?b ) { ( resource:Nicolas_Chambon ) ( resource:Jacques_Chirac ) ( resource:Étienne_Arago ) } . ?k rdf:type ontology:administrative_territorial_entity . ?k property:head_of_government ?b }
[]
administrative territorial entity
Q90 Q60 Q90
SYSTEM
New York City for 2nd, Paris for 1st, 3rd
Q90 Q60 Q90
(c(Q56061),P6,Q2105) (c(Q56061),P6,Q607) (c(Q56061),P6,Q289303)
action filter_type
action find_reverse
entity prev_answer
relation P6
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P6', 'Q2105'] [{'concept': 'Q56061'}, 'P6', 'Q607'] [{'concept': 'Q56061'}, 'P6', 'Q289303']
SELECT DISTINCT ?k WHERE { VALUES ( ?b ) { ( resource:Q1986521 ) ( resource:Q2105 ) ( resource:Q289303 ) } . ?k rdf:type ontology:Q56061 . ?k property:P6 ?b }
Paris New York City Paris
Paris, New York City and Paris have those people as their administrative leader
Paris New York City Paris
action filter_type
action find_reverse
entity prev_answer
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Jacques Chirac'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Michael Bloomberg'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Étienne Arago']
SELECT DISTINCT ?k WHERE { VALUES ( ?b ) { ( resource:Nicolas_Chambon ) ( resource:Jacques_Chirac ) ( resource:Étienne_Arago ) } . ?k rdf:type ontology:administrative_territorial_entity . ?k property:head_of_government ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2105
P25
Q502895
USER
Which female person has a child named Jacques Chirac ?
(Q2105,P25,c(Q502895))
action filter_type
action find
entity Q2105
relation P25
type Q502895
['Q2105', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2105 property:P25 ?x . ?x rdf:type ontology:Q502895 }
Jacques Chirac
action filter_type
action find
entity Jacques Chirac
relation mother
type common name
['Jacques Chirac', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Jacques_Chirac property:mother ?x . ?x rdf:type ontology:common_name }
[]
common name
Q16354830
SYSTEM
Marie-Louise Valette
Q16354830
(Q2105,P25,c(Q502895))
action filter_type
action find
entity Q2105
relation P25
type Q502895
[ANSWER] has a child named Jacques Chirac
['Q2105', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2105 property:P25 ?x . ?x rdf:type ontology:Q502895 }
Marie-Louise Valette
Marie-Louise Valette has a child named Jacques Chirac
Marie-Louise Valette
action filter_type
action find
entity Jacques Chirac
relation mother
type common name
['Jacques Chirac', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Jacques_Chirac property:mother ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16354830
P26
Q502895
USER
Who is married to that one ?
(Q16354830,P26,c(Q502895))
action filter_type
action find
entity Q16354830
relation P26
type Q502895
['Q16354830', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q16354830 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Marie-Louise Valette
action filter_type
action find
entity Marie-Louise Valette
relation spouse
type common name
['Marie-Louise Valette', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Marie-Louise_Valette property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q16354565
SYSTEM
Abel François Marie Chirac
Q16354565
(Q16354830,P26,c(Q502895))
action filter_type
action find
entity Q16354830
relation P26
type Q502895
[ANSWER] is married to that one
['Q16354830', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q16354830 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Abel François Marie Chirac
Abel François Marie Chirac is married to that one
Abel François Marie Chirac
action filter_type
action find
entity Marie-Louise Valette
relation spouse
type common name
['Marie-Louise Valette', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Marie-Louise_Valette property:spouse ?f . ?f rdf:type ontology:common_name }
[]