Simple Question (Direct)
Simple Question
Q4940303
P102
Q7210356
USER
Which political organization is Helena Bouveng a member of ?
(Q4940303,P102,c(Q7210356))
action filter_type
action find
entity Q4940303
relation P102
type Q7210356
['Q4940303', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q4940303 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Helena Bouveng
action filter_type
action find
entity Helena Bouveng
relation member of political party
type political organization
['Helena Bouveng', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Helena_Bouveng property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q110843
SYSTEM
Moderate Party
Q110843
(Q4940303,P102,c(Q7210356))
action filter_type
action find
entity Q4940303
relation P102
type Q7210356
Party [ANSWER] is Helena Bouveng a member of
['Q4940303', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q4940303 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Moderate Party
Party Moderate Party is Helena Bouveng a member of
Moderate Party
action filter_type
action find
entity Helena Bouveng
relation member of political party
type political organization
['Helena Bouveng', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Helena_Bouveng property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4940303
P22
Q502895
USER
Who was the dad of that one ?
(Q110843,P22,c(Q502895))
action filter_type
action find
entity Q4940303
relation P22
type Q502895
['Q110843', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4940303 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Helena Bouveng
action filter_type
action find
entity Helena Bouveng
relation father
type common name
['Moderate Party', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Helena_Bouveng property:father ?p . ?p rdf:type ontology:common_name }
[]
common name
Q10600809
SYSTEM
Nils Bouveng
Q10600809
(Q110843,P22,c(Q502895))
action filter_type
action find
entity Q4940303
relation P22
type Q502895
The dad of that one was the [ANSWER]
['Q110843', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4940303 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Nils Bouveng
The dad of that one was the Nils Bouveng
Nils Bouveng
action filter_type
action find
entity Helena Bouveng
relation father
type common name
['Moderate Party', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Helena_Bouveng property:father ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q10600809 Q7912216 Q1654018
P27
Q15617994
USER
Is Nils Bouveng a civilian of Valley Stream Central High School District and Umkhanyakude District Municipality ?
(Q10600809,P27,Q7912216) (Q10600809,P27,Q1654018)
action is_in
entity Q10600809
action intersection
action find_reverse
entity Q7912216
relation P27
action find_reverse
entity Q1654018
relation P27
['Q10600809', 'P27', 'Q7912216'] ['Q10600809', 'P27', 'Q1654018']
ASK WHERE { resource:Q10600809 property:P27 resource:Q7912216 . resource:Q10600809 property:P27 resource:Q1654018 }
Nils Bouveng Valley Stream Central High School District Umkhanyakude District Municipality
action is_in
entity Nils Bouveng
action intersection
action find_reverse
entity Valley Stream Central High School District
relation country of citizenship
action find_reverse
entity Umkhanyakude District Municipality
relation country of citizenship
['Nils Bouveng', 'country of citizenship', 'Valley Stream Central High School District'] ['Nils Bouveng', 'country of citizenship', 'Umkhanyakude District Municipality']
ASK WHERE { resource:Nils_Bouveng property:country_of_citizenship resource:Valley_Stream_Central_High_School_District . resource:Nils_Bouveng property:country_of_citizenship resource:Umkhanyakude_District_Municipality }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q10600809,P27,Q7912216) (Q10600809,P27,Q1654018)
action is_in
entity Q10600809
action intersection
action find_reverse
entity Q7912216
relation P27
action find_reverse
entity Q1654018
relation P27
[ANSWER]
['Q10600809', 'P27', 'Q7912216'] ['Q10600809', 'P27', 'Q1654018']
ASK WHERE { resource:Q10600809 property:P27 resource:Q7912216 . resource:Q10600809 property:P27 resource:Q1654018 }
No
action is_in
entity Nils Bouveng
action intersection
action find_reverse
entity Valley Stream Central High School District
relation country of citizenship
action find_reverse
entity Umkhanyakude District Municipality
relation country of citizenship
['Nils Bouveng', 'country of citizenship', 'Valley Stream Central High School District'] ['Nils Bouveng', 'country of citizenship', 'Umkhanyakude District Municipality']
ASK WHERE { resource:Nils_Bouveng property:country_of_citizenship resource:Valley_Stream_Central_High_School_District . resource:Nils_Bouveng property:country_of_citizenship resource:Umkhanyakude_District_Municipality }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q110843 Q34
P17
Q15617994
USER
Is Moderate Party a part of Sweden ?
(Q110843,P17,Q34)
action is_in
entity Q34
action find
entity Q110843
relation P17
['Q110843', 'P17', 'Q34']
ASK WHERE { resource:Q110843 property:P17 resource:Q34 }
Moderate Party Sweden
action is_in
entity Sweden
action find
entity Moderate Party
relation country
['Moderate Party', 'country', 'Sweden']
ASK WHERE { resource:Moderate_Party property:country resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q110843,P17,Q34)
action is_in
entity Q34
action find
entity Q110843
relation P17
[ANSWER]
['Q110843', 'P17', 'Q34']
ASK WHERE { resource:Q110843 property:P17 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Moderate Party
relation country
['Moderate Party', 'country', 'Sweden']
ASK WHERE { resource:Moderate_Party property:country resource:Sweden }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110843
P159
Q56061
USER
Which administrative territory is the HQ of that political organization ?
action filter_type
action find
entity Q110843
relation P159
type Q56061
SELECT DISTINCT ?f WHERE { resource:Q110843 property:P159 ?f . ?f rdf:type ontology:Q56061 }
Moderate Party
action filter_type
action find
entity Moderate Party
relation headquarters location
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:Moderate_Party property:headquarters_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q579854
SYSTEM
Gamla stan
Q579854
action filter_type
action find
entity Q110843
relation P159
type Q56061
[ANSWER] is the HQ of that political organization
SELECT DISTINCT ?f WHERE { resource:Q110843 property:P159 ?f . ?f rdf:type ontology:Q56061 }
Gamla stan
Gamla stan is the HQ of that political organization
Gamla stan
action filter_type
action find
entity Moderate Party
relation headquarters location
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:Moderate_Party property:headquarters_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q838948 Q15961987
USER
Which people are min number of works of art or television genres adapted from ?
(c(Q838948)|c(Q15961987),P144,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
[[{'concept': 'Q838948'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?m ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?h rdf:type ?r } GROUP BY ?q } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?v ) WHERE { { ?f rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 . ?c property:P144 ?f } UNION { ?c property:P144 ?f . ?c rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 } } GROUP BY ?f } }
action argmin
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type television genre
[[{'concept': 'work of art'}, {'concept': 'television genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?m ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?h rdf:type ?r } GROUP BY ?q } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?v ) WHERE { { ?f rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art . ?c property:based_on ?f } UNION { ?c property:based_on ?f . ?c rdf:type ontology:television_genre . ?f rdf:type ontology:common_name } } GROUP BY ?f } }
[]
common name work of art television genre
Q937 Q76 Q692
SYSTEM
Albert Einstein, Barack Obama, William Shakespeare
Q7804399 Q696052 Q4924985 Q467216 Q485508 Q1136623 Q298920 Q16560426 Q5591308 Q51513 Q11413422 Q125970 Q40939 Q897973 Q188296 Q1964376 Q5889990 Q134958 Q7117020 Q45260 Q704997 Q5685 Q1093885 Q5673 Q5679 Q4800383 Q937 Q334993 Q6851849 Q3568976 Q4216886 Q7789278 Q93839 Q6968888 Q1493568 Q5537975 Q294931 Q70326 Q6818964 Q5321676 Q222831 Q6687108 Q5338634 Q348001 Q717294 Q5703041 Q310800 Q6227202 Q93349 Q14395546 Q744183 Q160333 Q907550 Q2843390 Q2686976 Q313866 Q4877153 Q5358877 Q296313 Q327426 Q207 Q7226 Q6748293 Q7200 Q448606 Q7183998 Q1658606 Q79031 Q2850177 Q236278 Q5592 Q6389787 Q222134 Q6218902 Q60029 Q7555592 Q312692 Q357498 Q4768685 Q232913 Q5264 Q4971073 Q157040 Q47551 Q4800758 Q724506 Q154438 Q434317 Q229556 Q20968737 Q57242 Q22088567 Q292808 Q37085 Q619787 Q2274948 Q1354071 Q692 Q715909 Q1263456 Q808209 Q168962 Q7341746 Q5701939 Q1357554 Q10133 Q734955 Q4864591 Q3619249 Q6796494 Q1445614 Q6264086 Q3296847 Q269812 Q76 Q202749 Q47216 Q2413649 Q1385693 Q503068 Q1394 Q185696 Q8963 Q1398 Q57619 Q920200 Q3036753 Q467646 Q6523671 Q154010 Q557360 Q154014 Q6104852 Q14544902 Q5354229 Q11950533 Q1342909 Q202650 Q276615 Q5487034 Q5588501 Q197359 Q7151235 Q1681907 Q4974043 Q189081 Q4532024 Q3161193 Q6814106 Q2449527 Q5296634 Q3105052 Q297743 Q57652 Q26267872 Q350552 Q508218 Q5079691 Q192218 Q3839050 Q6721439 Q81445 Q5345906 Q11584822 Q184935 Q6284021 Q6376290 Q110714 Q284812 Q41223 Q3083638 Q2618824 Q6184230 Q9640 Q1394497 Q466488 Q5213429 Q182788 Q3741955 Q699619 Q22670 Q306914 Q5665780 Q3079968 Q51505 Q4884844 Q43718 Q1391877 Q23722455 Q176819 Q6101 Q2580253 Q6691 Q188794 Q213549 Q159905 Q13378842 Q7106226 Q5082874 Q3564902 Q1441684 Q191305 Q106255 Q4977335 Q370392 Q4877593 Q82180 Q317894 Q1485988 Q311966 Q1048 Q319261 Q315607 Q1383201 Q5342811 Q132695 Q309643 Q7167474 Q7146872 Q154732 Q6832927 Q5538382 Q36268 Q5201165 Q155855 Q5345201 Q152779 Q152672 Q12768607 Q7373284 Q3037185 Q8011009 Q150471 Q161154 Q4758379 Q4963602 Q549242 Q237196 Q900541 Q40096 Q634100 Q646852 Q879812 Q4118071 Q318462 Q521095 Q4954433 Q4225064
(c(Q838948)|c(Q15961987),P144,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15961987
[ANSWERS] are min number of works of art or television genres adapted from
[[{'concept': 'Q838948'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?m ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q15961987 ) } . ?h rdf:type ?r } GROUP BY ?q } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?v ) WHERE { { ?f rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 . ?c property:P144 ?f } UNION { ?c property:P144 ?f . ?c rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 } } GROUP BY ?f } }
Tim Toyama Arnold Rothstein Bland Holt Amy Fisher Charles Manson Fujiwara no Hidesato Charles M. Schulz Giulia Varano Grace Miller White Hugo von Hofmannsthal Yasumi Yoshizawa Keigo Higashino Aeschylus Pavol Dobšinský Boris Gryzlov Anthony Poshepny Homer Croy Taras Shevchenko P.J. Ramster Hans Kohlhase Ivan Boesky Anton Chekhov Hathi Hans Christian Andersen Lord Byron Arthur Stringer Albert Einstein Eugene V. Debs Milicent Bagot William Still Egerton Castle Thomas Edward Spencer Gary M. Heidnik Nathan Barksdale James Porter George Clifford Shedd William Randolph Hearst Pierre Beaumarchais Meredith Nicholson E. V. Timms Ilich Ramírez Sánchez Louis Esson Edith O'Shaughnessy Rainis Krystyna Skarbek Helen Reimensnyder Martin John Reed John Cosgrove Bessie Smith Mikhail Alexeyevich Khludov Charles de Batz-Castelmore d'Artagnan Prosper Mérimée Eugène Turpin Amina Andrea Evans William Adams Beatrice Grimshaw Jun Ikeido Kim Philby Sean Flynn George W. Bush Joan of Arc Mandy Grunwald Alexander Pushkin Theresa Saldana Philip Lytton Ilja Prachař Mike Tyson Anita Hill Tonya Harding Michelangelo Kenneth A. Jackson Ted Kaczynski John Ames Mitchell Oskar Schindler Sol Wachtler Bud Powell Gary Ridgway Anne Nichols Beatrice Portinari Hippocrates Sara Jane Olson Lajos Kossuth Titian Arthur Wright John E. Douglas Franz Grillparzer Dee Dee Myers Patty Hearst Christian Friedrich Haupt August von Kotzebue Philip Hamilton Sunny von Bülow Solomon Tin Hinan Philostratus Paul Jennings Hill William Shakespeare Louis-Léopold Boilly Dan White Barisan of Ibelin Torquato Tasso Robert B. Rheault Helen Brach Svetozár Hurban-Vajanský Suetonius Robinson Jeffers Barry Pain Antonio Beltramelli May Edginton František Kubka John Willard Dave Toschi Christina Nilsson Barack Obama Edmond Rostand Condoleezza Rice John List Jerry Brudos Andrej Sládkovič Vladimir Lenin Louisa May Alcott Johannes Kepler Virgil Frank Wedekind Charles Starkweather Brian Oswald Donn-Byrne Jane Franklin Leo Ditrichstein Christoph Martin Wieland Ármin Vámbéry Georg Büchner J. Breckenridge Ellis Henri d'Aramitz Eleanor Bumpurs Sun Xia Albert DeSalvo Abd el-Krim Gabriela Preissová Frank H. Spearman Gouverneur Morris IV Empress Zhang Paul Hemphill Sophie van der Stap Bronson Howard Howard Hughes Beulah Annan James R. Jordan, Sr. Melvin Williams Susan Smith Donnie Andrews Giacomo Francesco Bussani Lillie Langtry Helle Thorning-Schmidt Marianne Ihlen Kálmán Mikszáth Nisio Isin Charles Keating Ted Bundy Lucy Hay, Countess of Carlisle Mabel Forrest Salawat Yulayev Edward William O'Sullivan Ayumi Ishii Mihai Eminescu Joseph Hocking Katherine Ann Power Lester Young Samuel Wilson Boris Pasternak François-René Crespin du Bec Caril Ann Fugate Jerry Parr Lyndon B. Johnson Tawana Brawley rape allegations Estella Marie Thompson Dan Dunn Newt Gingrich Isaac de Porthau Vladislav Vančura Friedrich Schiller Abbé Faria Harrison Owen Ted Key Jean Baptiste Antoine Marcellin de Marbot Belva Gaertner Nikolai Gogol František Hrubín Andrei Thomas W. Sneddon, Jr. Marco Polo William Pittenger Homer Isaiah Friedrich Maximilian Klinger Hipparchus George Lutz Oscar Requer Charles Tazewell Zikmund Winter Francis Paudras Gérard de Nerval Jean-Paul Belmondo Bruce Cutler Borisav Stanković Beaumont Smith Mata Hari Galeazzo Maria Sforza Mikheil Javakhishvili Roger Casement Julius Caesar Eugène Scribe David Farragut Ján Hollý Edward Everett Rose Harry Martinson Ed Gein Percy Marks Patrick Joseph Hartigan Agrippina the Younger Michael Morton George Darrell Brigitte Bardot Cyrus Woods Karel Čapek Edward Salisbury Field Louise Brooks John Demjanjuk Ján Poničan Roy Radin Dorothy Scarborough William Hatfield E. T. A. Hoffmann Lola Montez Andrew Revkin Brian Dowling Edmund Kemper H. Rider Haggard Cecil Jacobson Will Smith Josef Kajetán Tyl Aleksandr Figner Pōmare V Pamela Smart Edward Bulwer-Lytton Robert M. Morgenthau Wanda Holloway Richard Cobbold
Albert Einstein, Barack Obama and William Shakespeare are min number of works of art or television genres adapted from
Albert Einstein Barack Obama William Shakespeare
action argmin
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type television genre
[[{'concept': 'work of art'}, {'concept': 'television genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?m ) { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:television_genre ) } . ?h rdf:type ?r } GROUP BY ?q } } . FILTER ( ?v = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?v ) WHERE { { ?f rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art . ?c property:based_on ?f } UNION { ?c property:based_on ?f . ?c rdf:type ontology:television_genre . ?f rdf:type ontology:common_name } } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q937 Q76 Q692
P50
Q2342494
USER
Which collectables have Albert Einstein, Barack Obama and William Shakespeare as their author ?
(c(Q2342494),P50,Q937) (c(Q2342494),P50,Q76) (c(Q2342494),P50,Q692)
action union
action filter_type
action find_reverse
entity Q937
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q76
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q692
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q937'] [{'concept': 'Q2342494'}, 'P50', 'Q76'] [{'concept': 'Q2342494'}, 'P50', 'Q692']
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Q937 ) ( resource:Q76 ) } . ?c property:P50 ?m }
Albert Einstein Barack Obama William Shakespeare
action union
action filter_type
action find_reverse
entity Albert Einstein
relation author
type collectable
action filter_type
action find_reverse
entity Barack Obama
relation author
type collectable
action filter_type
action find_reverse
entity William Shakespeare
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Albert Einstein'] [{'concept': 'collectable'}, 'author', 'Barack Obama'] [{'concept': 'collectable'}, 'author', 'William Shakespeare']
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Albert_Einstein ) ( resource:Barack_Obama ) } . ?c property:author ?m }
[]
collectable
Q1859308 Q31385 Q662550
SYSTEM
Of Thee I Sing, The Audacity of Hope, Shakespeare's sonnets
Q596511 Q2986155 Q7732729 Q1305386 Q1859308 Q31385 Q7744806 Q662550 Q2629728 Q833645 Q2284425 Q3007844 Q17058107 Q7443302
(c(Q2342494),P50,Q937) (c(Q2342494),P50,Q76) (c(Q2342494),P50,Q692)
action union
action filter_type
action find_reverse
entity Q937
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q76
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q692
relation P50
type Q2342494
[ANSWERS] have Albert Einstein, Barack Obama and William Shakespeare as their author
[{'concept': 'Q2342494'}, 'P50', 'Q937'] [{'concept': 'Q2342494'}, 'P50', 'Q76'] [{'concept': 'Q2342494'}, 'P50', 'Q692']
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Q937 ) ( resource:Q76 ) } . ?c property:P50 ?m }
The Oxford Book of Modern Science Writing The World as I See It The Evolution of Physics Dreams from My Father Of Thee I Sing The Audacity of Hope The Klingon Hamlet Shakespeare's sonnets William Shakespeare's late romances First Folio Shakespearean history The Plays of William Shakespeare The Pattern of Painful Adventures Second Folio
Of Thee I Sing, The Audacity of Hope and Shakespeare's sonnets have Albert Einstein, Barack Obama and William Shakespeare as their author
Of Thee I Sing The Audacity of Hope Shakespeare's sonnets
action union
action filter_type
action find_reverse
entity Albert Einstein
relation author
type collectable
action filter_type
action find_reverse
entity Barack Obama
relation author
type collectable
action filter_type
action find_reverse
entity William Shakespeare
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Albert Einstein'] [{'concept': 'collectable'}, 'author', 'Barack Obama'] [{'concept': 'collectable'}, 'author', 'William Shakespeare']
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Albert_Einstein ) ( resource:Barack_Obama ) } . ?c property:author ?m }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1859308 Q31385 Q662550
P50
Q502895
USER
Who were the writers of those collectables ?
(Q1859308,P50,c(Q502895)) (Q31385,P50,c(Q502895)) (Q662550,P50,c(Q502895))
action filter_type
action find
entity prev_answer
relation P50
type Q502895
['Q1859308', 'P50', {'concept': 'Q502895'}] ['Q31385', 'P50', {'concept': 'Q502895'}] ['Q662550', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?d property:P50 ?g . VALUES ( ?d ) { ( resource:Q596511 ) ( resource:Q2986155 ) ( resource:Q7732729 ) } }
Of Thee I Sing The Audacity of Hope Shakespeare's sonnets
action filter_type
action find
entity prev_answer
relation author
type common name
['Of Thee I Sing', 'author', {'concept': 'common name'}] ['The Audacity of Hope', 'author', {'concept': 'common name'}] ["Shakespeare's sonnets", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?d property:author ?g . VALUES ( ?d ) { ( resource:The_Oxford_Book_of_Modern_Science_Writing ) ( resource:The_World_as_I_See_It ) ( resource:The_Evolution_of_Physics ) } }
[]
common name
Q76 Q76 Q692
SYSTEM
Barack Obama for 1st, 2nd, William Shakespeare for 3rd
Q76 Q76 Q692
(Q1859308,P50,c(Q502895)) (Q31385,P50,c(Q502895)) (Q662550,P50,c(Q502895))
action filter_type
action find
entity prev_answer
relation P50
type Q502895
[ANSWERS]
['Q1859308', 'P50', {'concept': 'Q502895'}] ['Q31385', 'P50', {'concept': 'Q502895'}] ['Q662550', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?d property:P50 ?g . VALUES ( ?d ) { ( resource:Q596511 ) ( resource:Q2986155 ) ( resource:Q7732729 ) } }
Barack Obama Barack Obama William Shakespeare
The writers of those collectables were President Barack Obama, Barack Obama and William Shakespeare
Barack Obama Barack Obama William Shakespeare
action filter_type
action find
entity prev_answer
relation author
type common name
['Of Thee I Sing', 'author', {'concept': 'common name'}] ['The Audacity of Hope', 'author', {'concept': 'common name'}] ["Shakespeare's sonnets", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?d property:author ?g . VALUES ( ?d ) { ( resource:The_Oxford_Book_of_Modern_Science_Writing ) ( resource:The_World_as_I_See_It ) ( resource:The_Evolution_of_Physics ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937
P825
Q838948
USER
Which work of art is devoted to Albert Einstein ?
(c(Q838948),P825,Q937)
action filter_type
action find_reverse
entity Q937
relation P825
type Q838948
[{'concept': 'Q838948'}, 'P825', 'Q937']
SELECT DISTINCT ?v WHERE { ?v property:P825 resource:Q937 . ?v rdf:type ontology:Q838948 }
Albert Einstein
action filter_type
action find_reverse
entity Albert Einstein
relation dedicated to
type work of art
[{'concept': 'work of art'}, 'dedicated to', 'Albert Einstein']
SELECT DISTINCT ?v WHERE { ?v property:dedicated_to resource:Albert_Einstein . ?v rdf:type ontology:work_of_art }
[]
work of art
Q24666136
SYSTEM
Monument für Albert Einstein
Q24666136
(c(Q838948),P825,Q937)
action filter_type
action find_reverse
entity Q937
relation P825
type Q838948
The [ANSWER] is devoted to Albert Einstein
[{'concept': 'Q838948'}, 'P825', 'Q937']
SELECT DISTINCT ?v WHERE { ?v property:P825 resource:Q937 . ?v rdf:type ontology:Q838948 }
Monument für Albert Einstein
The Monument für Albert Einstein is devoted to Albert Einstein
Monument für Albert Einstein
action filter_type
action find_reverse
entity Albert Einstein
relation dedicated to
type work of art
[{'concept': 'work of art'}, 'dedicated to', 'Albert Einstein']
SELECT DISTINCT ?v WHERE { ?v property:dedicated_to resource:Albert_Einstein . ?v rdf:type ontology:work_of_art }
[]