Simple Question (Direct)
Simple Question
Q468851
P509
Q2057971
USER
Which health problem was the cause of death of Brian Jacques ?
(Q468851,P509,c(Q2057971))
action filter_type
action find
entity Q468851
relation P509
type Q2057971
['Q468851', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { resource:Q468851 property:P509 ?k . ?k rdf:type ontology:Q2057971 }
Brian Jacques
action filter_type
action find
entity Brian Jacques
relation cause of death
type health problem
['Brian Jacques', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { resource:Brian_Jacques property:cause_of_death ?k . ?k rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q468851,P509,c(Q2057971))
action filter_type
action find
entity Q468851
relation P509
type Q2057971
L [ANSWER] was the cause of death of Brian Jacques
['Q468851', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { resource:Q468851 property:P509 ?k . ?k rdf:type ontology:Q2057971 }
myocardial infarction
L myocardial infarction was the cause of death of Brian Jacques
myocardial infarction
action filter_type
action find
entity Brian Jacques
relation cause of death
type health problem
['Brian Jacques', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { resource:Brian_Jacques property:cause_of_death ?k . ?k rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q468851
P50
Q2342494
USER
Which collectables are written by Brian Jacques ?
(c(Q2342494),P50,Q468851)
action filter_type
action find_reverse
entity Q468851
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q468851']
SELECT DISTINCT ?m WHERE { ?m property:P50 resource:Q468851 . ?m rdf:type ontology:Q2342494 }
Brian Jacques
action filter_type
action find_reverse
entity Brian Jacques
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Brian Jacques']
SELECT DISTINCT ?m WHERE { ?m property:author resource:Brian_Jacques . ?m rdf:type ontology:collectable }
[]
collectable
Q2617336 Q664389 Q3060319
SYSTEM
Redwall, Martin the Warrior, Eulalia!
Q3064024 Q2617336 Q7840399 Q3135390 Q7759995 Q1247790 Q3211639 Q664389 Q3060319 Q3036906 Q4659182 Q3204428 Q3225994 Q2399558 Q2745946 Q14876643 Q3063726 Q7306438 Q7306439 Q3234346 Q683464 Q7713731 Q7737906 Q1977275 Q3522537 Q7760629 Q3522576 Q3223417 Q3063707 Q7840401 Q7840402 Q2576767 Q2346562 Q3063735 Q3209154 Q7457483
(c(Q2342494),P50,Q468851)
action filter_type
action find_reverse
entity Q468851
relation P50
type Q2342494
[ANSWERS] are written by Brian Jacques
[{'concept': 'Q2342494'}, 'P50', 'Q468851']
SELECT DISTINCT ?m WHERE { ?m property:P50 resource:Q468851 . ?m rdf:type ontology:Q2342494 }
The Bellmaker Redwall Tribes of Redwall Badgers High Rhulain The Redwall Cookbook Redwall Rakkety Tam Martin the Warrior Eulalia! Doomwyte A Redwall Winter's Tale Triss The Taggerung The Long Patrol Castaways of the Flying Dutchman Voyage of Slaves Mariel of Redwall Redwall Friend & Foe Redwall Map & Riddler Marlfox Mattimeo The Angel's Command The Great Redwall Feast Loamhedge The Rogue Crew The Ribbajack The Sable Quean The Legend of Luke The Pearls of Lutra Tribes of Redwall Mice Tribes of Redwall Otters Mossflower Salamandastron Outcast of Redwall Lord Brocktree Seven Strange and Ghostly Tales
Redwall, Martin the Warrior and Eulalia! are written by Brian Jacques
Redwall Martin the Warrior Eulalia!
action filter_type
action find_reverse
entity Brian Jacques
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Brian Jacques']
SELECT DISTINCT ?m WHERE { ?m property:author resource:Brian_Jacques . ?m rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2617336 Q664389 Q3060319
P110
Q502895
USER
Which people illustrated Redwall, Martin the Warrior and Eulalia! ?
(Q2617336,P110,c(Q502895)) (Q664389,P110,c(Q502895)) (Q3060319,P110,c(Q502895))
action union
action filter_type
action find
entity Q2617336
relation P110
type Q502895
action filter_type
action find
entity Q664389
relation P110
type Q502895
action filter_type
action find
entity Q3060319
relation P110
type Q502895
['Q2617336', 'P110', {'concept': 'Q502895'}] ['Q664389', 'P110', {'concept': 'Q502895'}] ['Q3060319', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Q2617336 ) ( resource:Q664389 ) } . ?s property:P110 ?r }
Redwall Martin the Warrior Eulalia!
action union
action filter_type
action find
entity Redwall
relation illustrator
type common name
action filter_type
action find
entity Martin the Warrior
relation illustrator
type common name
action filter_type
action find
entity Eulalia!
relation illustrator
type common name
['Redwall', 'illustrator', {'concept': 'common name'}] ['Martin the Warrior', 'illustrator', {'concept': 'common name'}] ['Eulalia!', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Redwall ) ( resource:Martin_the_Warrior ) } . ?s property:illustrator ?r }
[]
common name
Q5524826 Q5524826 Q5233345
SYSTEM
David Elliot for 3rd, Gary Chalk for 1st, 2nd
Q5524826 Q5524826 Q5233345
(Q2617336,P110,c(Q502895)) (Q664389,P110,c(Q502895)) (Q3060319,P110,c(Q502895))
action union
action filter_type
action find
entity Q2617336
relation P110
type Q502895
action filter_type
action find
entity Q664389
relation P110
type Q502895
action filter_type
action find
entity Q3060319
relation P110
type Q502895
[ANSWERS]
['Q2617336', 'P110', {'concept': 'Q502895'}] ['Q664389', 'P110', {'concept': 'Q502895'}] ['Q3060319', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Q2617336 ) ( resource:Q664389 ) } . ?s property:P110 ?r }
Gary Chalk Gary Chalk David Elliot
Gary Chalk, Gary Chalk and David Elliot illustrated Redwall, Martin the Warrior and Eulalia!
Gary Chalk Gary Chalk David Elliot
action union
action filter_type
action find
entity Redwall
relation illustrator
type common name
action filter_type
action find
entity Martin the Warrior
relation illustrator
type common name
action filter_type
action find
entity Eulalia!
relation illustrator
type common name
['Redwall', 'illustrator', {'concept': 'common name'}] ['Martin the Warrior', 'illustrator', {'concept': 'common name'}] ['Eulalia!', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Redwall ) ( resource:Martin_the_Warrior ) } . ?s property:illustrator ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2617336
P136
Q1792379
USER
What can be considered as category for that collectable ?
(Q2617336,P136,c(Q1792379))
action filter_type
action find
entity Q2617336
relation P136
type Q1792379
['Q2617336', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q2617336 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
Redwall
action filter_type
action find
entity Redwall
relation genre
type art genre
['Redwall', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Redwall property:genre ?s . ?s rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q2617336
SYSTEM
Did you mean Redwall ?
Q5524826 Q5524826 Q5233345
(Q5524826,P136,c(Q1792379)) (Q5524826,P136,c(Q1792379)) (Q5233345,P136,c(Q1792379))
[ANSWER]
['Q5524826', 'P136', {'concept': 'Q1792379'}] ['Q5524826', 'P136', {'concept': 'Q1792379'}] ['Q5233345', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q2617336 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
Gary Chalk Gary Chalk David Elliot
Did you mean Redwall ?
Redwall
['Gary Chalk', 'genre', {'concept': 'art genre'}] ['Gary Chalk', 'genre', {'concept': 'art genre'}] ['David Elliot', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Redwall property:genre ?s . ?s rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2617336,P136,c(Q1792379))
['Q2617336', 'P136', {'concept': 'Q1792379'}]
['Redwall', 'genre', {'concept': 'art genre'}]
[]
Q10992055 Q8261
SYSTEM
fantasy novel, novel
Q10992055 Q8261
(Q2617336,P136,c(Q1792379))
action filter_type
action find
entity Q2617336
relation P136
type Q1792379
The [ANSWERS] can be considered as category for that collectable
['Q2617336', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q2617336 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
fantasy novel novel
The fantasy novel and novel can be considered as category for that collectable
fantasy novel novel
action filter_type
action find
entity Redwall
relation genre
type art genre
['Redwall', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Redwall property:genre ?s . ?s rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7572545
P136
Q2342494
USER
Do Space Viking have those art genres as their category ?
(Q7572545,P136,Q10992055) (Q7572545,P136,Q8261)
action is_in
entity prev_answer
action find
entity Q7572545
relation P136
['Q7572545', 'P136', 'Q10992055'] ['Q7572545', 'P136', 'Q8261']
ASK WHERE { VALUES ( ?o ) { ( resource:Q10992055 ) ( resource:Q8261 ) } . resource:Q7572545 property:P136 ?o }
Space Viking
action is_in
entity prev_answer
action find
entity Space Viking
relation genre
['Space Viking', 'genre', 'fantasy novel'] ['Space Viking', 'genre', 'novel']
ASK WHERE { VALUES ( ?o ) { ( resource:fantasy_novel ) ( resource:novel ) } . resource:Space_Viking property:genre ?o }
[]
collectable
SYSTEM
NO
(Q7572545,P136,Q10992055) (Q7572545,P136,Q8261)
action is_in
entity prev_answer
action find
entity Q7572545
relation P136
[ANSWER]
['Q7572545', 'P136', 'Q10992055'] ['Q7572545', 'P136', 'Q8261']
ASK WHERE { VALUES ( ?o ) { ( resource:Q10992055 ) ( resource:Q8261 ) } . resource:Q7572545 property:P136 ?o }
No
action is_in
entity prev_answer
action find
entity Space Viking
relation genre
['Space Viking', 'genre', 'fantasy novel'] ['Space Viking', 'genre', 'novel']
ASK WHERE { VALUES ( ?o ) { ( resource:fantasy_novel ) ( resource:novel ) } . resource:Space_Viking property:genre ?o }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18691646
P1028
Q502895 Q1792379
USER
Which people gives approximately the same number of art genres in charity as Thelma Kieckhefer ?
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q18691646
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q18691646 property:P1028 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P1028 ?j . ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1792379 } GROUP BY ?j } }
Thelma Kieckhefer
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Thelma Kieckhefer
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Thelma_Kieckhefer property:donated_by ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:donated_by ?j . ?j rdf:type ontology:common_name . ?g rdf:type ontology:art_genre } GROUP BY ?j } }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q18691646
relation P1028
type Q502895
[ANSWERS] give approximately the same number of art genres in charity as Thelma Kieckhefer
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q18691646 property:P1028 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P1028 ?j . ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1792379 } GROUP BY ?j } }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump, Abdul Hamid II and Wilhelm II give approximately the same number of art genres in charity as Thelma Kieckhefer
Donald Trump Abdul Hamid II Wilhelm II
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Thelma Kieckhefer
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Thelma_Kieckhefer property:donated_by ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:donated_by ?j . ?j rdf:type ontology:common_name . ?g rdf:type ontology:art_genre } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q19754058
P1028
Q502895 Q1792379
USER
And what about Otto Kallir?
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q19754058
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q19754058 property:P1028 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?i = ?j ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P1028 ?o . ?o rdf:type ontology:Q502895 . ?w rdf:type ontology:Q1792379 } GROUP BY ?o } }
Otto Kallir
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Otto Kallir
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Otto_Kallir property:donated_by ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?i = ?j ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:donated_by ?o . ?o rdf:type ontology:common_name . ?w rdf:type ontology:art_genre } GROUP BY ?o } }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q19754058
relation P1028
type Q502895
[ANSWERS]
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q19754058 property:P1028 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?i = ?j ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P1028 ?o . ?o rdf:type ontology:Q502895 . ?w rdf:type ontology:Q1792379 } GROUP BY ?o } }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump Abdul Hamid II Wilhelm II
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Otto Kallir
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Otto_Kallir property:donated_by ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?i = ?j ) . { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:donated_by ?o . ?o rdf:type ontology:common_name . ?w rdf:type ontology:art_genre } GROUP BY ?o } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2677
P7
Q502895
USER
Who are that one a brother of ?
(c(Q502895),P7,Q2677)
action filter_type
action find_reverse
entity Q2677
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2677']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P7 resource:Q2677 }
Wilhelm II
action filter_type
action find_reverse
entity Wilhelm II
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Wilhelm II']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:brother resource:Wilhelm_II }
[]
common name
Clarification for simple ques.
Q22686
SYSTEM
Did you mean Donald Trump ?
Q22686 Q134817 Q2677
(c(Q502895),P7,Q22686) (c(Q502895),P7,Q134817) (c(Q502895),P7,Q2677)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q22686'] [{'concept': 'Q502895'}, 'P7', 'Q134817'] [{'concept': 'Q502895'}, 'P7', 'Q2677']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P7 resource:Q2677 }
Donald Trump Abdul Hamid II Wilhelm II
Did you mean Donald Trump ?
Donald Trump
[{'concept': 'common name'}, 'brother', 'Donald Trump'] [{'concept': 'common name'}, 'brother', 'Abdul Hamid II'] [{'concept': 'common name'}, 'brother', 'Wilhelm II']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:brother resource:Wilhelm_II }
[]
Simple Question (Coreferenced)
USER
No, I meant Wilhelm II. Could you tell me the answer for that?
(c(Q502895),P7,Q2677)
Q2677
[{'concept': 'Q502895'}, 'P7', 'Q2677']
[{'concept': 'common name'}, 'brother', 'Wilhelm II']
[]
Q57569 Q61338 Q155822
SYSTEM
Prince Henry of Prussia, Princess Margaret of Prussia, Sophia of Prussia
Q60382 Q61338 Q155822 Q3026877 Q57569 Q2800847 Q58670
(c(Q502895),P7,Q2677)
action filter_type
action find_reverse
entity Q2677
relation P7
type Q502895
That one a brother of are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q2677']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P7 resource:Q2677 }
Princess Viktoria of Prussia Princess Margaret of Prussia Sophia of Prussia Prince Waldemar of Prussia Prince Henry of Prussia Prince Sigismund of Prussia Princess Charlotte of Prussia
That one a brother of are the Prince Henry of Prussia, Princess Margaret of Prussia and Sophia of Prussia
Prince Henry of Prussia Princess Margaret of Prussia Sophia of Prussia
action filter_type
action find_reverse
entity Wilhelm II
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Wilhelm II']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:brother resource:Wilhelm_II }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q57569 Q61338 Q155822
P22
Q502895
USER
Who were the dad of Prince Henry of Prussia, Princess Margaret of Prussia and Sophia of Prussia ?
(Q57569,P22,c(Q502895)) (Q61338,P22,c(Q502895)) (Q155822,P22,c(Q502895))
action union
action filter_type
action find
entity Q57569
relation P22
type Q502895
action filter_type
action find
entity Q61338
relation P22
type Q502895
action filter_type
action find
entity Q155822
relation P22
type Q502895
['Q57569', 'P22', {'concept': 'Q502895'}] ['Q61338', 'P22', {'concept': 'Q502895'}] ['Q155822', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?z ) { ( resource:Q57569 ) ( resource:Q61338 ) } . ?z property:P22 ?n }
Prince Henry of Prussia Princess Margaret of Prussia Sophia of Prussia
action union
action filter_type
action find
entity Prince Henry of Prussia
relation father
type common name
action filter_type
action find
entity Princess Margaret of Prussia
relation father
type common name
action filter_type
action find
entity Sophia of Prussia
relation father
type common name
['Prince Henry of Prussia', 'father', {'concept': 'common name'}] ['Princess Margaret of Prussia', 'father', {'concept': 'common name'}] ['Sophia of Prussia', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?z ) { ( resource:Prince_Henry_of_Prussia ) ( resource:Princess_Margaret_of_Prussia ) } . ?z property:father ?n }
[]
common name
Q58600 Q58600 Q58600
SYSTEM
Friedrich III of Germany
Q58600 Q58600 Q58600
(Q57569,P22,c(Q502895)) (Q61338,P22,c(Q502895)) (Q155822,P22,c(Q502895))
action union
action filter_type
action find
entity Q57569
relation P22
type Q502895
action filter_type
action find
entity Q61338
relation P22
type Q502895
action filter_type
action find
entity Q155822
relation P22
type Q502895
The dad of Prince Henry of Prussia , Princess Margaret of Prussia and Sophia of Prussia were King [ANSWER], [ANSWER] and [ANSWER]
['Q57569', 'P22', {'concept': 'Q502895'}] ['Q61338', 'P22', {'concept': 'Q502895'}] ['Q155822', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?z ) { ( resource:Q57569 ) ( resource:Q61338 ) } . ?z property:P22 ?n }
Friedrich III of Germany Friedrich III of Germany Friedrich III of Germany
The dad of Prince Henry of Prussia , Princess Margaret of Prussia and Sophia of Prussia were King Friedrich III of Germany, Friedrich III of Germany and Friedrich III of Germany
Friedrich III of Germany Friedrich III of Germany Friedrich III of Germany
action union
action filter_type
action find
entity Prince Henry of Prussia
relation father
type common name
action filter_type
action find
entity Princess Margaret of Prussia
relation father
type common name
action filter_type
action find
entity Sophia of Prussia
relation father
type common name
['Prince Henry of Prussia', 'father', {'concept': 'common name'}] ['Princess Margaret of Prussia', 'father', {'concept': 'common name'}] ['Sophia of Prussia', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?z ) { ( resource:Prince_Henry_of_Prussia ) ( resource:Princess_Margaret_of_Prussia ) } . ?z property:father ?n }
[]