Simple Question (Direct)
Simple Question
Q6774439
P734
Q82799
USER
Who is associated with Martha Johnson ?
(Q6774439,P734,c(Q82799))
action filter_type
action find
entity Q6774439
relation P734
type Q82799
['Q6774439', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q6774439 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Martha Johnson
action filter_type
action find
entity Martha Johnson
relation family name
type name
['Martha Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Martha_Johnson property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q6774439,P734,c(Q82799))
action filter_type
action find
entity Q6774439
relation P734
type Q82799
[ANSWER] is associated with Martha [ANSWER]
['Q6774439', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q6774439 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Johnson
Johnson is associated with Martha Johnson
Johnson
action filter_type
action find
entity Martha Johnson
relation family name
type name
['Martha Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Martha_Johnson property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6774439
P1050
Q2057971
USER
Which health problem does Martha Johnson have ?
(Q6774439,P1050,c(Q2057971))
action filter_type
action find
entity Q6774439
relation P1050
type Q2057971
['Q6774439', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2057971 . resource:Q6774439 property:P1050 ?m }
Martha Johnson
action filter_type
action find
entity Martha Johnson
relation medical condition
type health problem
['Martha Johnson', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:health_problem . resource:Martha_Johnson property:medical_condition ?m }
[]
health problem
Q11085
SYSTEM
Parkinson's disease
Q11085
(Q6774439,P1050,c(Q2057971))
action filter_type
action find
entity Q6774439
relation P1050
type Q2057971
Martha Johnson has a [ANSWER]
['Q6774439', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2057971 . resource:Q6774439 property:P1050 ?m }
Parkinson's disease
Martha Johnson has a Parkinson's disease
Parkinson's disease
action filter_type
action find
entity Martha Johnson
relation medical condition
type health problem
['Martha Johnson', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:health_problem . resource:Martha_Johnson property:medical_condition ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11085
P509
Q502895
USER
Which people died from that health problem ?
(c(Q502895),P509,Q11085)
action filter_type
action find_reverse
entity Q11085
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q11085']
SELECT DISTINCT ?x WHERE { ?x property:P509 resource:Q11085 . ?x rdf:type ontology:Q502895 }
Parkinson's disease
action filter_type
action find_reverse
entity Parkinson's disease
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', "Parkinson's disease"]
SELECT DISTINCT ?x WHERE { ?x property:cause_of_death resource:Parkinson's_disease . ?x rdf:type ontology:common_name }
[]
common name
Q989 Q313776 Q104146
SYSTEM
John Paul II, George Corley Wallace Jr., Deborah Kerr
Q7328435 Q13562350 Q1000498 Q7788562 Q11108924 Q7970010 Q15461016 Q313776 Q16089983 Q4684388 Q13220621 Q318263 Q16225809 Q2579783 Q376348 Q16824097 Q16019297 Q5450337 Q5725059 Q6113540 Q2069907 Q19858836 Q8008716 Q8017189 Q427308 Q547056 Q4772540 Q1941315 Q142567 Q881173 Q3808023 Q330160 Q823221 Q16015464 Q3101977 Q372078 Q123158 Q4666408 Q3211865 Q6829759 Q4353520 Q989 Q666088 Q7052486 Q6830197 Q7804435 Q6525504 Q7927647 Q61240 Q346988 Q318497 Q6530675 Q4768667 Q4965679 Q234145 Q7173244 Q5334823 Q952789 Q688930 Q15693173 Q4915452 Q902654 Q6114714 Q333193 Q167458 Q4703639 Q2783780 Q2746687 Q5044240 Q1236412 Q1294134 Q1100270 Q4893439 Q7349046 Q8000193 Q482318 Q1680357 Q213905 Q1819388 Q6762873 Q88997 Q1616618 Q750855 Q297469 Q633222 Q7693409 Q3481037 Q17711220 Q681576 Q436910 Q3154598 Q19798240 Q741130 Q778005 Q666931 Q5495237 Q6266876 Q7788278 Q6209206 Q470503 Q252126 Q5933696 Q737626 Q6796733 Q111190 Q3453285 Q7329205 Q1757958 Q471342 Q6552900 Q380156 Q97624 Q2263974 Q4815670 Q329156 Q15498548 Q87941 Q1728768 Q254430 Q3038840 Q219499 Q93005 Q18631545 Q15993025 Q1613742 Q327963 Q1207524 Q1507169 Q5921041 Q457455 Q969149 Q312833 Q6372298 Q330786 Q6120201 Q14505195 Q1919251 Q13005 Q4717260 Q3538748 Q1363814 Q2578807 Q189741 Q765539 Q463708 Q530928 Q17180541 Q2639026 Q899264 Q680288 Q183655 Q5083160 Q5585528 Q672692 Q508242 Q4885766 Q7116732 Q5125060 Q51570 Q2939353 Q660571 Q5980511 Q1631115 Q7298292 Q6797420 Q7509236 Q1677029 Q5366680 Q7660167 Q142462 Q647596 Q4721997 Q3182067 Q979652 Q5326067 Q2403264 Q552019 Q7945440 Q466746 Q380550 Q14920679 Q167877 Q280673 Q18921205 Q323411 Q734471 Q5298659 Q57375 Q6724199 Q6166645 Q7522046 Q5006648 Q5668232 Q104146 Q15506220 Q518858 Q956297 Q6255639 Q625794 Q7025641 Q13004600 Q5021365 Q357718 Q4911252 Q8019680 Q5540633 Q7410835 Q95330 Q5485042 Q5543423 Q939458 Q337033 Q16939469 Q238364 Q7329458 Q7380279 Q3235877 Q777066 Q1686366 Q3960172 Q5229042 Q5673131 Q663928 Q3247471 Q1664440 Q551783 Q5163740 Q1406527 Q1132617 Q1239792 Q935532 Q1064593 Q1911276 Q15429462 Q6390422 Q6939446 Q15989543 Q4908481 Q1356799 Q5407657 Q433044 Q7485441 Q6687639 Q8003407 Q395522 Q6255877 Q1687803 Q810026 Q7172994 Q550521 Q6751243 Q273128 Q5230955 Q1477751 Q979242 Q3840378 Q6831300 Q6397335 Q7342696 Q962308 Q179780 Q7233072 Q653404 Q7373256 Q1796215 Q173547 Q16564872 Q16977 Q687505 Q19365644 Q1000556 Q333889 Q6297527 Q15992982 Q554094 Q950542 Q711129 Q1777235 Q17306036 Q321344 Q7373107 Q6176030 Q15486658 Q1529885 Q256893 Q6752847 Q5492959 Q4934138 Q5200883 Q5128874 Q7172439 Q7052084 Q66674 Q431416 Q5485123 Q1691552 Q3372657 Q95444 Q1544099 Q6253875 Q1314686 Q18589052 Q63074 Q7240872 Q1131716 Q2886435 Q2581876 Q8002894 Q98770 Q4935265 Q4861702 Q544016 Q10816073 Q332400 Q7345764 Q5350479 Q12405787 Q5318138 Q4707235 Q6062994 Q1064090 Q159609 Q5214273 Q15525021 Q93117 Q3112 Q2612400 Q3491941 Q16018741 Q7346486 Q3327470 Q77795 Q5293760 Q1067033 Q6209710 Q6530821 Q7039058 Q4793531 Q1566651 Q5133718 Q713788 Q5701914 Q334376 Q5042531 Q5040417 Q4910049 Q4910900
(c(Q502895),P509,Q11085)
action filter_type
action find_reverse
entity Q11085
relation P509
type Q502895
[ANSWERS] died from that health problem
[{'concept': 'Q502895'}, 'P509', 'Q11085']
SELECT DISTINCT ?x WHERE { ?x property:P509 resource:Q11085 . ?x rdf:type ontology:Q502895 }
Richard Pilkington Patricia Donoho Hughes Bud Greenspan Thomas Congdon Charles G. Overberger Warren A. Morton Ben Earl Looney George Corley Wallace Jr. Bernard Spitzer Adolph R. Hanslik Bazy Tankersley Michael Redgrave Richard Hewes William Ludwig Richard Edmund Lyng Leo Boyle Jack Benaroya Finis Jennings Dake Henry Loomis Jack Kuehler Joan Franks Williams Henry P. Ayres William Everson William R. Callahan Howard Zieff Herta Ware Anthony Forwood Mo Udall Jack Anderson Henry Bellmon Jerry Haynes Abraham Klausner David C. Jones James Dworak George W. George Chet Jastremski Gus Arriola Abe Lemons Yuli Turovsky Michael DeBose Bob Banner John Paul II Jimmy Knepper Norman Lessing Michael Fainstat Tim Wall Leonard Lief Vida Stout Hermann Graf Edward Weston Carlo Maria Martini Leslie Buck Anne Mueller Brian Wood Giulio Natta Peter Cheeseman Ed Freeman Malcolm Browne Peter Hofmann Kondapalli Seetharamaiah Biplab Dasgupta David L. Wolper Jack R. Fenton Anthony Barber Peter Claver Al C. Kalmbach Roberto Piva V. G. Jog Carol Anne O'Marie Jim Backus Edward Winter Clement Meadmore Bernard Meltzer Robert Pritzker Wilbur H. Ferry Donald Pederson James F. McNulty, Jr. Stefan Wolpe Leonid Shamkovich Marie Hicks Ferdy Mayne Heward Grafftey Donald M. Ashton Leo Fender Kenneth More Ted Kroll Seymour Greenberg Bill Wyman Robert P. Abelson Pauline Kael Irvin Shapiro David Laventhol Michael Baxandall Art Saaf John Lindsay Mario Báncora Johnny Hawke Thomas Catto, 1st Baron Catto Joe Cook Walter Rudin Louie Bellson Hugo Adam Bedau Genrich Altshuller Maya Romanoff Frank Sherwood Rowland Prince Rupert Loewenstein Richard Stahl Matt Robinson Learco Guerra Lindsey Nelson Jay Van Andel Karl-Heinz Schnibbe Zez Confrey Athos Bulcão Whit Bissell Helen Kalvak Carl Möhner Kapu Rajaiah Chidananda Dasgupta David Blewitt Erle C. Kenton Herman Goldstine David Tyack Geoffrey Gowan Nicholas Browne Richard Vernon Robert Ressler George Coulouris Howard Thomas Markey Charles Mathias James Counsilman Gordon Cooper Karl Targownik Don Scott Jacqueline S. Moore Pixie Williams Meldrim Thomson, Jr. Ba Jin Alex Josey Adolph Malan Maurice Baring Bill Finnegan Melvin Schwartz Vojtech Zamarovský Ulysses Kay Leonard Pennario Dom Cardillo Albert Whitlock Martin Fleischmann Alfons Schilling Owen Chamberlain Charles W. Bailey Gordon McClymont Celso Yegros Estigarribia Ralph McQuarrie Ben H. Procter Ozzie Simmons Claiborne Cary George Roy Hill Carlos António Gomes Edna Kramer Iain MacKintosh Stan Greig Ray Wilkinson Maynard Pennell Sidney Miller Jack English Hightower Elmer Tarbox Sydney Sturgess Booth Gardner Robert William Seton-Watson Alfonso Arana John McLiam Felice Andreasi Earl Rose June Marlowe George C. Williams W. D. Workman, Jr. William R. Ratchford Eugene McCarthy Rod Masterson Michael Jackson Farnsworth Wright Herman E. Lauhoff John van Hengel Mickey Walker Dorothy Van Helmut Haller Mack Cleveland Jay Gluck Sinclair Ross C. L. Schmitt Harry Dalton Deborah Kerr George Kirby Joseph Samachson Franck Pourcel John Rosenbaum John Money Nicholas J. Phillips Boyi Bhimanna Stanley Cohen Brock Adams Bill Waddington William Van Regenmorter George Hislop Samuel B. Nunez, Jr. James Ingo Freed Frank Annunzio George Pinker Vincent R. Impellitteri Daniel Bekker Dale Thorn Margaret Bourke-White Richard Thompson Rupert E. Billingham William H. Masters Dorothy Hayden Truscott Jeff Torrington Sidney Skolsky Dave Jennings Harry W. Trudell M. Scott Peck Jack Buck Joe Skeen Roger Peyrefitte Constantin Lecca Fernand Nault Corey Allen Donald D. Clancy Ran Laurie Charlie Rose Maurice Ascalon Don Nelson Kenneth Macke Murray Sayle Martin Arnold Bill Clarke Seth Neddermeyer Eugene Power Anna Neagle Ubaldo Calabresi Louis Lefkowitz Willard Franklyn Searle Agostinho José Sartori John Royston Coleman Jerry Byrd Basil D'Oliveira Peter Brown Chester Himes Manolo Reyes Mary Jackson David B. Bleak William Boyd Rudy LaRusso Luis Marden Michael Hurll Kevin Reilly Robert Callahan John Betjeman David Bodian Jimmy Creighton Norval Morrisseau Roy Peterson Terence Alexander Teddy Mayer Arlene McQuade Deng Xiaoping Joseph Dunninger Joseph Sohet Bud Poile Henry Brooke, Baron Brooke of Cumnor Joyce Jacobs Ian Fowler Guy Kibbee Gilles Carle Terry-Thomas Vidar Theisen Maury Meyers Erland Josephson Roy Magee Jeffrey Hamm Joe Hirsch Peter Hoagland Frances Shand Kydd Manuel Rodríguez Gómez Franz Schurmann Bob Switzer Cyril Stanley Pickard Claude Hall Peter A. Peyser Norman Collier Anton Schwarzkopf Rita Joe Frank B. Livingstone Joe Pasternak Lynn Willis Sig Arno Matthew John Rinaldo John R. Hendricks Lawrence Patrick Cargill MacMillan Jr. Maxi Herber Prescott Townsend Cor Brom Ken Harris Willy Burgdorfer Will Inman Fritz Teufel Bobby Kuntz Barney Childs Norman Panama Bill Guttridge Oswald Mosley Robert I. Levy Ekkehard von Kuenssberg Didi Menosi Dwight Dickinson Alan Mansell Ion Cojar Charles Delaunay Prince Claus of the Netherlands Dan Resin Nathan Heard William Norris Phil Hill Nicholas Bethell, 4th Baron Bethell George Patton IV John Baird Finlay Robert Kupperman Blas Cabrera Felipe Hugo Rahner Don Yarborough Charlie Williams Joe Erautt Leslie Froggatt Nino Quevedo Moya Cole Jean Conan Doyle Cline Paden Walter Lord Helen Boehm Margo MacDonald Carlos Rafael Rodríguez Carl Karcher Bill Matheson Bill Slater
John Paul II, George Corley Wallace Jr. and Deborah Kerr died from that health problem
John Paul II George Corley Wallace Jr. Deborah Kerr
action filter_type
action find_reverse
entity Parkinson's disease
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', "Parkinson's disease"]
SELECT DISTINCT ?x WHERE { ?x property:cause_of_death resource:Parkinson's_disease . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q989
P411
Q82799
USER
Which name represents the canonization status of John Paul II ?
(Q989,P411,c(Q82799))
action filter_type
action find
entity Q989
relation P411
type Q82799
['Q989', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q989 property:P411 ?y . ?y rdf:type ontology:Q82799 }
John Paul II
action filter_type
action find
entity John Paul II
relation canonization status
type name
['John Paul II', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:John_Paul_II property:canonization_status ?y . ?y rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q989,P411,c(Q82799))
action filter_type
action find
entity Q989
relation P411
type Q82799
On [ANSWER] represents the canonization status of John Paul II
['Q989', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q989 property:P411 ?y . ?y rdf:type ontology:Q82799 }
saint
On saint represents the canonization status of John Paul II
saint
action filter_type
action find
entity John Paul II
relation canonization status
type name
['John Paul II', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:John_Paul_II property:canonization_status ?y . ?y rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q218134
Q82799
USER
And also tell me about Stephen III of Moldavia?
(Q218134,P411,c(Q82799))
action filter_type
action find
entity Q218134
relation P411
type Q82799
['Q218134', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q218134 property:P411 ?g . ?g rdf:type ontology:Q82799 }
Stephen III of Moldavia
action filter_type
action find
entity Stephen III of Moldavia
relation canonization status
type name
['Stephen III of Moldavia', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Stephen_III_of_Moldavia property:canonization_status ?g . ?g rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q218134,P411,c(Q82799))
action filter_type
action find
entity Q218134
relation P411
type Q82799
[ANSWER]
['Q218134', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q218134 property:P411 ?g . ?g rdf:type ontology:Q82799 }
saint
saint
action filter_type
action find
entity Stephen III of Moldavia
relation canonization status
type name
['Stephen III of Moldavia', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Stephen_III_of_Moldavia property:canonization_status ?g . ?g rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q989
P509
Q18123741 Q2057971
USER
How many infectious diseases and health problems lead to the death of John Paul II ?
(Q989,P509,c(Q18123741)) (Q989,P509,c(Q2057971))
action count
action union
action filter_type
action find
entity Q989
relation P509
type Q18123741
action filter_type
action find
entity Q989
relation P509
type Q2057971
['Q989', 'P509', {'concept': 'Q18123741'}] ['Q989', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { resource:Q989 property:P509 ?p . ?p rdf:type ontology:Q18123741 } UNION { resource:Q989 property:P509 ?p . ?p rdf:type ontology:Q2057971 } }
John Paul II
action count
action union
action filter_type
action find
entity John Paul II
relation cause of death
type infectious disease
action filter_type
action find
entity John Paul II
relation cause of death
type health problem
['John Paul II', 'cause of death', {'concept': 'infectious disease'}] ['John Paul II', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { resource:John_Paul_II property:cause_of_death ?p . ?p rdf:type ontology:infectious_disease } UNION { resource:John_Paul_II property:cause_of_death ?p . ?p rdf:type ontology:health_problem } }
[]
infectious disease health problem
SYSTEM
1 infectious diseases and 1 health problems
Q183134 Q11085
(Q989,P509,c(Q18123741)) (Q989,P509,c(Q2057971))
action count
action union
action filter_type
action find
entity Q989
relation P509
type Q18123741
action filter_type
action find
entity Q989
relation P509
type Q2057971
[ANSWER]
['Q989', 'P509', {'concept': 'Q18123741'}] ['Q989', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { resource:Q989 property:P509 ?p . ?p rdf:type ontology:Q18123741 } UNION { resource:Q989 property:P509 ?p . ?p rdf:type ontology:Q2057971 } }
sepsis Parkinson's disease
1 infectious diseases and 1 health problems
action count
action union
action filter_type
action find
entity John Paul II
relation cause of death
type infectious disease
action filter_type
action find
entity John Paul II
relation cause of death
type health problem
['John Paul II', 'cause of death', {'concept': 'infectious disease'}] ['John Paul II', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { resource:John_Paul_II property:cause_of_death ?p . ?p rdf:type ontology:infectious_disease } UNION { resource:John_Paul_II property:cause_of_death ?p . ?p rdf:type ontology:health_problem } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q68366
P674
Q502895 Q838948 Q15416
USER
How many people plays a role in less number of works of art and television programs than Siward, Earl of Northumbria ?
(c(Q838948)|c(Q15416),P674,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q68366
relation P674
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?f WHERE { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?x rdf:type ?z } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P674 resource:Q68366 . { { ?n rdf:type ontology:Q838948 } UNION { ?n rdf:type ontology:Q15416 } } } } . FILTER ( ?r < ?c ) }
Siward, Earl of Northumbria
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Siward, Earl of Northumbria
relation characters
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?f WHERE { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?x rdf:type ?z } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:characters resource:Siward,_Earl_of_Northumbria . { { ?n rdf:type ontology:work_of_art } UNION { ?n rdf:type ontology:television_program } } } } . FILTER ( ?r < ?c ) }
[]
common name work of art television program
SYSTEM
461
Q13562217 Q315726 Q5254 Q18720650 Q216362 Q457881 Q33923 Q2054 Q33760 Q315795 Q676555 Q2635523 Q744125 Q157 Q152513 Q1353836 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q43706 Q36724 Q1093574 Q200902 Q12316446 Q7322 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q12591 Q118653 Q353879 Q955856 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q21916822 Q6113413 Q6323112 Q456931 Q2085338 Q41155 Q270438 Q43353 Q206459 Q765624 Q312660 Q2254800 Q6139425 Q44265 Q172480 Q1234647 Q830183 Q1937560 Q317554 Q256663 Q62788 Q4679883 Q313421 Q47365 Q104804 Q294147 Q460763 Q230677 Q6562057 Q244912 Q1347324 Q13560546 Q1338025 Q6777920 Q234811 Q41980 Q2721219 Q185101 Q24061503 Q286238 Q229702 Q282220 Q55398 Q1411 Q1413 Q363636 Q1416 Q1419 Q2521377 Q1067 Q42305 Q1140161 Q367387 Q937415 Q7200 Q5343069 Q20749193 Q312332 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q34428 Q8778 Q223440 Q5015 Q7523 Q169329 Q83041 Q271278 Q353188 Q1227273 Q603096 Q83235 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q5264 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q359237 Q662533 Q317188 Q378053 Q469118 Q17410 Q594805 Q719418 Q991 Q43600 Q128358 Q3090807 Q5598 Q531748 Q7243 Q4344 Q19844997 Q172353 Q256439 Q193232 Q43939 Q297285 Q335173 Q8462 Q692 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q315628 Q209535 Q1981295 Q321166 Q40787 Q737533 Q236243 Q1281235 Q532354 Q111559 Q297776 Q185476 Q953718 Q81506 Q3860377 Q154971 Q83400 Q200817 Q76721 Q352489 Q76723 Q83159 Q1030008 Q951503 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q3080825 Q310303 Q1398 Q7328 Q434217 Q638973 Q215512 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q24062019 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q6184 Q145746 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q706003 Q228896 Q19348839 Q57652 Q7071043 Q131412 Q743858 Q1773005 Q237201 Q353081 Q166056 Q131002 Q229432 Q47180 Q122290 Q170172 Q452048 Q5582 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q3261049 Q335165 Q544680 Q717441 Q211246 Q9588 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q83808 Q1824066 Q66107 Q199991 Q106077 Q141791 Q200637 Q2755054 Q193660 Q6780526 Q182637 Q4230107 Q15463333 Q466048 Q670332 Q5944261 Q868 Q19118331 Q5544435 Q318726 Q80048 Q247137 Q9458 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q3275910 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q1771963 Q365695 Q2497107 Q313817 Q7647581 Q4403346 Q443256 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q2116944 Q360798 Q203792 Q981902 Q205523 Q325026 Q347133 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q1048 Q983502 Q453382 Q85393 Q665165 Q6691 Q36456 Q517 Q39837 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q1960623 Q131463 Q158707 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q190116 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q1401 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q838948)|c(Q15416),P674,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q68366
relation P674
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?f WHERE { VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?x rdf:type ?z } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P674 resource:Q68366 . { { ?n rdf:type ontology:Q838948 } UNION { ?n rdf:type ontology:Q15416 } } } } . FILTER ( ?r < ?c ) }
Mary Cecilia Bailly Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Nyssia August von Goethe John Tenniel Peter Seneca Bertrand Russell Bernal Díaz del Castillo Francis of Assisi Henry Percy, 6th Earl of Northumberland Chaerephon François Hollande Henry Wadsworth Longfellow Hrothgar Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Antoine Barnave John Chrysostom Attila the Hun Ruggieri degli Ubaldini Shem Henrik Sass Larsen Christopher Columbus Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard Nebuchadnezzar II August Engelhardt Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Giovanni Corrado Orsini Rucio Nahor Sextus Tarquinius Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Feodor II of Russia Willem Adriaan van der Stel Gaius Mucius Scaevola Cunizza da Romano Thomas Hayward Benedict of Nursia Isaac of Armenia Mark Smeaton Eve Mogens Lykketoft Hugh of Saint Victor Anne Geneviève de Bourbon Jethro Adam Tas Abel Marie Antoinette Saint Mesrob William Bligh Benjamin Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Heidi Blickenstaff Emma Forsayth Maruja Pachón Emma, Lady Hamilton Democritus Farinata degli Uberti Hamilcar Barca Petrus Kalden Thaïs Ham Judah Bernadette Soubirous Claudius Nero Cardinal de Rohan Otho Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England Marina Mniszech William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Edward Garrard Marsh Irma Le Fer de la Motte Alessandro Cagliostro John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Philip Galen Lucius Junius Brutus Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Lucius Tarquinius Collatinus Henry Mayhew Leon Klinghoffer Horatio Nelson Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Hippocrates Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Zhou Enlai Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Bayezid I Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Arnaut Daniel Sahakanuysh Pyrrhus Claudia Acte Vasili IV of Russia Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Timur William Shakespeare Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Grigori Rasputin Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac False Dmitriy I Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Giulia Farnese Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Flavius Aetius Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Paulo da Gama Titus van Rijn Godfrey of Bouillon Aulus Plautius Maurice de Saxe Clement VII Tamar Ashot II of Armenia Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Frances Nelson Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Levi Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Henning Huising Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Plotius Tucca Joseph Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ugolino della Gherardesca Salome Salammbô Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Simeon Adrienne Lecouvreur Robert de Sablé Cardinal Mazarin Harun al-Rashid Lucretia Petronius Jean-Paul Marat Boris Godunov Hasdrubal Gisco Vincent van Gogh Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Socrates Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Louis Ange Pitou Osceola John Thurloe Alberto Salazar Caiaphas Richard Nixon Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France François Joseph Lefebvre Arturo Bandini Henry Kissinger Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Guido I da Montefeltro Ramon Llull Mary Pius Regnier Jane Seymour William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini Comte de Troisville Hunter Bell Aristotle Andrey Shchelkalov George Seton, 7th Lord Seton Publius Valerius Publicola Al Capone Aelius Donatus Muhammad Mao Zedong Diana Turbay Poppaea Sabina Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Anne Françoise Elisabeth Lange Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Naphtali Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Wealhþeow Saint Eligius Robert Guiscard Charles Simon Favart Zipporah Anacharsis George Boleyn, Viscount Rochford Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar St. Nerses I John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Napoleon Averroes Agrippina the Younger Mary Bernard Laughlin Arshak II Conte Attilio Pomponia Graecina Marie de Rohan Francis Drake Oliver Cromwell Sir Thomas Hardy, 1st Baronet John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Tsarevna Xenia Borisovna of Russia Clement V Pat Nixon Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Benvenuto Cellini Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan Petrarch Leo I Étienne François, duc de Choiseul Jiang Qing Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
461
action count
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type television program
action count
action filter_multi_types
action find_reverse
entity Siward, Earl of Northumbria
relation characters
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?f WHERE { VALUES ( ?z ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?x rdf:type ?z } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:characters resource:Siward,_Earl_of_Northumbria . { { ?n rdf:type ontology:work_of_art } UNION { ?n rdf:type ontology:television_program } } } } . FILTER ( ?r < ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q989 Q742028
P27
Q15617994
USER
How many administrative territories are John Paul II or Lasse Stefanz an inhabitant of ?
(Q989,P27,c(Q15617994)) (Q742028,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q989
relation P27
type Q15617994
action filter_type
action find
entity Q742028
relation P27
type Q15617994
['Q989', 'P27', {'concept': 'Q15617994'}] ['Q742028', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q742028 property:P27 ?g } UNION { resource:Q989 property:P27 ?g . ?g rdf:type ontology:Q15617994 } }
John Paul II Lasse Stefanz
action count
action union
action filter_type
action find
entity John Paul II
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Lasse Stefanz
relation country of citizenship
type designation for an administrative territorial entity
['John Paul II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Lasse Stefanz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lasse_Stefanz property:country_of_citizenship ?g } UNION { resource:John_Paul_II property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q36 Q34
(Q989,P27,c(Q15617994)) (Q742028,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q989
relation P27
type Q15617994
action filter_type
action find
entity Q742028
relation P27
type Q15617994
[ANSWER]
['Q989', 'P27', {'concept': 'Q15617994'}] ['Q742028', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q742028 property:P27 ?g } UNION { resource:Q989 property:P27 ?g . ?g rdf:type ontology:Q15617994 } }
Poland Sweden
2
action count
action union
action filter_type
action find
entity John Paul II
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Lasse Stefanz
relation country of citizenship
type designation for an administrative territorial entity
['John Paul II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Lasse Stefanz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lasse_Stefanz property:country_of_citizenship ?g } UNION { resource:John_Paul_II property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q989
P7
Q502895
USER
How many people had John Paul II as brother ?
(c(Q502895),P7,Q989)
action count
action filter_type
action find_reverse
entity Q989
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q989']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P7 resource:Q989 . ?w rdf:type ontology:Q502895 }
John Paul II
action count
action filter_type
action find_reverse
entity John Paul II
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Paul II']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:brother resource:John_Paul_II . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q3505550
(c(Q502895),P7,Q989)
action count
action filter_type
action find_reverse
entity Q989
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q989']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P7 resource:Q989 . ?w rdf:type ontology:Q502895 }
Edmund Wojtyła
1
action count
action filter_type
action find_reverse
entity John Paul II
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Paul II']
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:brother resource:John_Paul_II . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q989
P841
Q186081
USER
Which time interval is the feast day of that person ?
action filter_type
action find
entity Q989
relation P841
type Q186081
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q186081 . resource:Q989 property:P841 ?x }
John Paul II
action filter_type
action find
entity John Paul II
relation feast day
type time interval
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:time_interval . resource:John_Paul_II property:feast_day ?x }
[]
time interval
Q2957
SYSTEM
October 22
Q2957
action filter_type
action find
entity Q989
relation P841
type Q186081
[ANSWER] is the feast day of that person
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q186081 . resource:Q989 property:P841 ?x }
October 22
October 22 is the feast day of that person
October 22
action filter_type
action find
entity John Paul II
relation feast day
type time interval
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:time_interval . resource:John_Paul_II property:feast_day ?x }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2093327 Q989
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of John Paul II or are adjacent to Jhalokati District ?
OR((Q989,P27,c(Q15617994)), (Q2093327,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q989
relation P27
action find
entity Q2093327
relation P47
type Q15617994
{'OR': [['Q989', 'P27', {'concept': 'Q15617994'}], ['Q2093327', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q989 property:P27 ?l } UNION { resource:Q2093327 property:P47 ?l } } . ?l rdf:type ontology:Q15617994 }
Jhalokati District John Paul II
action filter_type
action union
action find
entity John Paul II
relation country of citizenship
action find
entity Jhalokati District
relation shares border with
type designation for an administrative territorial entity
{'OR': [['John Paul II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jhalokati District', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:John_Paul_II property:country_of_citizenship ?l } UNION { resource:Jhalokati_District property:shares_border_with ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q808172 Q36 Q1763301 Q609190
SYSTEM
Barguna District, Poland, Barisal District, Pirojpur District
Q808172 Q36 Q1763301 Q609190
OR((Q989,P27,c(Q15617994)), (Q2093327,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q989
relation P27
action find
entity Q2093327
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of John Paul II or are adjacent to Jhalokati District
{'OR': [['Q989', 'P27', {'concept': 'Q15617994'}], ['Q2093327', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q989 property:P27 ?l } UNION { resource:Q2093327 property:P47 ?l } } . ?l rdf:type ontology:Q15617994 }
Barguna District Poland Barisal District Pirojpur District
Barguna District, Poland, Barisal District and Pirojpur District are the countries of citizenship of John Paul II or are adjacent to Jhalokati District
Barguna District Poland Barisal District Pirojpur District
action filter_type
action union
action find
entity John Paul II
relation country of citizenship
action find
entity Jhalokati District
relation shares border with
type designation for an administrative territorial entity
{'OR': [['John Paul II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jhalokati District', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:John_Paul_II property:country_of_citizenship ?l } UNION { resource:Jhalokati_District property:shares_border_with ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q571 Q2342494
USER
How many people had done the illustration of exactly 15 books and collectables ?
(c(Q571)|c(Q2342494),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 15
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?q = 15 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?j } }
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 15
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?q = 15 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?j } }
[]
common name book collectable
SYSTEM
2
Q6104584 Q841310
(c(Q571)|c(Q2342494),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 15
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?q = 15 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q571 ) ( ontology:Q2342494 ) } } GROUP BY ?j } }
J. Allen St. John Garth Williams
2
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 15
[[{'concept': 'book'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?q = 15 ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:book ) ( ontology:collectable ) } } GROUP BY ?j } }
[]