Simple Question (Direct)
Simple Question
Q6228770
P69
Q1244442
USER
Which school building is the alma mater of John Davies ?
(Q6228770,P69,c(Q1244442))
action filter_type
action find
entity Q6228770
relation P69
type Q1244442
['Q6228770', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1244442 . resource:Q6228770 property:P69 ?b }
John Davies
action filter_type
action find
entity John Davies
relation educated at
type school building
['John Davies', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:school_building . resource:John_Davies property:educated_at ?b }
[]
school building
Q81174
SYSTEM
Jesus College
Q81174
(Q6228770,P69,c(Q1244442))
action filter_type
action find
entity Q6228770
relation P69
type Q1244442
[ANSWER] is the alma mater of John Davies
['Q6228770', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1244442 . resource:Q6228770 property:P69 ?b }
Jesus College
Jesus College is the alma mater of John Davies
Jesus College
action filter_type
action find
entity John Davies
relation educated at
type school building
['John Davies', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:school_building . resource:John_Davies property:educated_at ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6228770
P1412
Q34770
USER
Which language does John Davies speak in ?
(Q6228770,P1412,c(Q34770))
action filter_type
action find
entity Q6228770
relation P1412
type Q34770
['Q6228770', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q6228770 property:P1412 ?u }
John Davies
action filter_type
action find
entity John Davies
relation languages spoken, written or signed
type language
['John Davies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:John_Davies property:languages_spoken,_written_or_signed ?u }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6228770,P1412,c(Q34770))
action filter_type
action find
entity Q6228770
relation P1412
type Q34770
John Davies speaks Davies [ANSWER]
['Q6228770', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q6228770 property:P1412 ?u }
English
John Davies speaks Davies English
English
action filter_type
action find
entity John Davies
relation languages spoken, written or signed
type language
['John Davies', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:John_Davies property:languages_spoken,_written_or_signed ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81174
P20
Q502895
USER
Which person has Jesus College as place of death ?
(c(Q502895),P20,Q81174)
action filter_type
action find_reverse
entity Q81174
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q81174']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q81174 . ?f rdf:type ontology:Q502895 }
Jesus College
action filter_type
action find_reverse
entity Jesus College
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Jesus College']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Jesus_College . ?f rdf:type ontology:common_name }
[]
common name
Q3050565
SYSTEM
John Rhys
Q3050565
(c(Q502895),P20,Q81174)
action filter_type
action find_reverse
entity Q81174
relation P20
type Q502895
[ANSWER] has Jesus College as place of death
[{'concept': 'Q502895'}, 'P20', 'Q81174']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q81174 . ?f rdf:type ontology:Q502895 }
John Rhys
John Rhys has Jesus College as place of death
John Rhys
action filter_type
action find_reverse
entity Jesus College
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Jesus College']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Jesus_College . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81174
P159
Q515
USER
Where is the headquarter of that school building located ?
(Q3050565,P159,c(Q515))
action filter_type
action find
entity Q81174
relation P159
type Q515
['Q3050565', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q81174 property:P159 ?o . ?o rdf:type ontology:Q515 }
Jesus College
action filter_type
action find
entity Jesus College
relation headquarters location
type city
['John Rhys', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Jesus_College property:headquarters_location ?o . ?o rdf:type ontology:city }
[]
city
Q34217
SYSTEM
Oxford
Q34217
(Q3050565,P159,c(Q515))
action filter_type
action find
entity Q81174
relation P159
type Q515
The headquarter of that school building is located in [ANSWER]
['Q3050565', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q81174 property:P159 ?o . ?o rdf:type ontology:Q515 }
Oxford
The headquarter of that school building is located in Oxford
Oxford
action filter_type
action find
entity Jesus College
relation headquarters location
type city
['John Rhys', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Jesus_College property:headquarters_location ?o . ?o rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q81174
P69 P21
Q502895
USER
Which people were a student at Jesus College and are a male ?
AND((c(Q502895),P69,Q81174), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81174
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q81174'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P69 resource:Q81174 . ?l property:P21 resource:Q6581097 }
male Jesus College
action filter_type
action intersection
action find_reverse
entity Jesus College
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Jesus College'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:educated_at resource:Jesus_College . ?l property:gender resource:male }
[]
common name
Q6257385 Q4722807 Q15452800 Q7791884 Q5233450 Q607427 Q7174021 Q7527564 Q6790852 Q3397209
SYSTEM
Some of them are John Seys-Llewellyn, Alfred Hazel, Sylvester Houédard, Thomas Llewellyn Thomas, David Evans, Richard J. Evans, Peter Fogg, Sir John Aubrey, 3rd Baronet, Matthew Le Marinel, Thomas Vaughan
Q6255616 Q56170 Q5497227 Q5623809 Q7519221 Q5543960 Q1254398 Q6253276 Q5661571 Q6061870 Q335934 Q4706242 Q7387391 Q7526591 Q14945685 Q14945684 Q14945686 Q14945681 Q14945680 Q14945683 Q7793001 Q6536971 Q5360783 Q6229386 Q6255476 Q5720773 Q14945641 Q335331 Q6257385 Q6136324 Q7931909 Q6136329 Q8007305 Q7185680 Q5934005 Q7346170 Q4709018 Q5726568 Q904315 Q7346179 Q6318834 Q20860623 Q5537610 Q7791381 Q7791383 Q4822961 Q5486942 Q7795199 Q7323040 Q6231390 Q6252700 Q7795195 Q3181918 Q6129330 Q5236556 Q8017445 Q6261655 Q6222143 Q4977395 Q7527250 Q7610674 Q5515797 Q3180864 Q5729799 Q7529191 Q5729001 Q8009287 Q1152944 Q7792161 Q5257539 Q14945678 Q334339 Q5337276 Q7365023 Q7372121 Q6251444 Q1268367 Q7529420 Q1496443 Q6105491 Q5233354 Q8009266 Q7821760 Q7963140 Q7789574 Q4908928 Q5931322 Q5481266 Q8013623 Q7175716 Q5605412 Q717787 Q5593294 Q7526702 Q6132417 Q8014542 Q6531207 Q3181672 Q6130279 Q5932197 Q8014765 Q4754854 Q6225585 Q3400520 Q7387516 Q123870 Q7792907 Q7793288 Q7167566 Q7349408 Q7649150 Q4710596 Q2383305 Q13131858 Q8017089 Q778787 Q333616 Q5016643 Q4711022 Q5186026 Q5261735 Q8010926 Q6231293 Q1670218 Q2884713 Q5218555 Q456451 Q5572861 Q513197 Q501878 Q5339869 Q7327783 Q661947 Q6911804 Q4800586 Q8007609 Q1103936 Q321574 Q741437 Q5241144 Q5217090 Q7600042 Q14945669 Q14945668 Q14945667 Q14945665 Q14945664 Q14945663 Q14945662 Q14945660 Q6480396 Q5593152 Q5623621 Q5623620 Q7965269 Q6177547 Q6392945 Q5346009 Q5608888 Q5339455 Q5608886 Q7789331 Q7789332 Q6273024 Q3132605 Q6264334 Q6265051 Q3403756 Q7529259 Q5661512 Q5592776 Q7372204 Q5726920 Q1177203 Q7788357 Q6255172 Q6255179 Q6807448 Q4308689 Q7325626 Q6256556 Q6322989 Q6661978 Q5342738 Q5083603 Q5083602 Q7529608 Q5236706 Q5077323 Q8020603 Q4723655 Q718439 Q7328904 Q5718409 Q6242004 Q6249473 Q6259367 Q6196687 Q296689 Q7329445 Q7324005 Q5232850 Q5236559 Q4738543 Q5131398 Q4757109 Q1193243 Q2662258 Q7781956 Q7344710 Q6106665 Q958919 Q6106589 Q8017576 Q6832309 Q5107827 Q4761764 Q6241777 Q5628181 Q7114603 Q5393781 Q5239033 Q5534502 Q128956 Q1283501 Q5241114 Q7791891 Q7787900 Q6264378 Q5235668 Q5933063 Q1292179 Q3434884 Q5497279 Q6240268 Q6790852 Q7183682 Q7327801 Q5726737 Q6263796 Q6241779 Q5941416 Q5415457 Q4799846 Q5235221 Q5608910 Q5235223 Q6810308 Q5238649 Q545363 Q6981017 Q4708112 Q6984063 Q6536902 Q7526240 Q6238363 Q7273649 Q4868074 Q7794428 Q4786506 Q6242044 Q3398425 Q5733474 Q3180945 Q3291093 Q5301339 Q5608863 Q5107696 Q4719499 Q8020141 Q6144307 Q5384966 Q6833063 Q6242030 Q8017433 Q1273543 Q6261362 Q7380331 Q7791344 Q6224793 Q7293150 Q6662107 Q6662105 Q8019291 Q3561558 Q5344711 Q13129361 Q7321830 Q4710332 Q14945670 Q14945672 Q14945673 Q14945674 Q14945676 Q3045098 Q14945679 Q1606988 Q7328001 Q6260547 Q6251982 Q5586818 Q5941550 Q599439 Q6177538 Q7372733 Q6968854 Q5238679 Q5237240 Q5586817 Q607427 Q7529825 Q6177546 Q5415556 Q5240335 Q5232308 Q5724892 Q7358769 Q7788012 Q5623786 Q11805326 Q983409 Q5082797 Q5238411 Q4717961 Q26202326 Q6262936 Q14905638 Q7794662 Q7052589 Q7970034 Q5344857 Q8013720 Q7350843 Q7412383 Q6911681 Q1285142 Q7793241 Q6460551 Q7172638 Q5480569 Q950483 Q18109172 Q4863471 Q6384144 Q7351291 Q7884519 Q13127814 Q6253407 Q8001808 Q7793510 Q5236567 Q487491 Q5236568 Q5233167 Q7788210 Q5133079 Q5567919 Q8011018 Q5734186 Q6260506 Q2959651 Q7789678 Q506257 Q4722807 Q5494510 Q8020060 Q7183862 Q5725615 Q5725614 Q5548823 Q296866 Q6131182 Q7372178 Q6236409 Q7114613 Q7117572 Q5339668 Q4798982 Q7965960 Q5163822 Q7412587 Q6138029 Q6133749 Q7175522 Q14945648 Q1676310 Q5540799 Q14945640 Q14945643 Q14945645 Q14945644 Q14945647 Q7791884 Q5365877 Q5262152 Q7343516 Q3773585 Q5623865 Q7793237 Q5373701 Q6249412 Q7701960 Q6240153 Q732541 Q3397209 Q5415462 Q5941466 Q4710418 Q381329 Q5145250 Q562886 Q8005908 Q6141170 Q4801746 Q7792556 Q7793653 Q7526231 Q5341779 Q5343717 Q5723824 Q6239990 Q5342788 Q7325487 Q7117407 Q5727508 Q7790857 Q6228770 Q7348182 Q6231974 Q1507279 Q4764072 Q4764079 Q6231378 Q6245037 Q8014632 Q6245031 Q8014634 Q8014639 Q7509118 Q6253502 Q5396261 Q5962754 Q1701851 Q5233450 Q6969893 Q4786407 Q14508516 Q13127812 Q5384974 Q7983867 Q1397508 Q8020390 Q5618510 Q5345084 Q5056348 Q5481847 Q4799221 Q7114710 Q7365403 Q7795114 Q290367 Q7174021 Q1743855 Q7326925 Q4885324 Q7326929 Q5368368 Q6913946 Q5659955 Q6239031 Q7285924 Q5343539 Q6537180 Q5292197 Q6231655 Q6248607 Q7411872 Q6244742 Q8014537 Q5241133 Q6254880 Q5727256 Q4879478 Q6284017 Q5623771 Q6742898 Q5311758 Q5076288 Q3050565 Q8013731 Q733602 Q15452800 Q7527564 Q7527563 Q7360342 Q5240355 Q7184189 Q5623609 Q8014538 Q7787281 Q24249775 Q3933863 Q5721486 Q5951272 Q8020626 Q6261851 Q7167306 Q8020629 Q6524435 Q8006806 Q6225358 Q5662270 Q6662974 Q8017074 Q6240907 Q6263762 Q6263882 Q8007648 Q8019258 Q5346932 Q13634263 Q3538565 Q22003001 Q7966180 Q5546438 Q5981652 Q6264713 Q6256664 Q5981710 Q13127795 Q5346845 Q8008693 Q7793503 Q6237949 Q6140867 Q7183450 Q6144684 Q6282162 Q7788335 Q7183511 Q7349313 Q6536585 Q6264359 Q2484394 Q5239114 Q5540406 Q6264353 Q14945658 Q14945659 Q13129341 Q14945652 Q14945653 Q14945651 Q14945657 Q14945654 Q14945655 Q541502 Q7327487 Q2135978 Q5083599 Q5623639 Q3182558 Q7026012 Q722103 Q1182440 Q5727656 Q6227463 Q916607 Q6145638 Q8020577 Q5346011 Q5111917 Q5339318 Q3992101 Q4706063 Q4848345 Q6232017 Q7459225 Q170596 Q7328668 Q8016606 Q6232019 Q5585748
AND((c(Q502895),P69,Q81174), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81174
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were a student at Jesus College and are a male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q81174'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P69 resource:Q81174 . ?l property:P21 resource:Q6581097 }
John Rose Hugh Davies Frederick Ackerley Gwyn Thomas Simon Lloyd George Robinson Tom Becker John Powell Harold Loukes John Jones Nat Wei, Baron Wei Alan Brien S. Barry Cooper Sir Edward Morgan, 1st Baronet Robert Watkin Wynne Hugh Williams William Wynne James Vincent William Thomas David Williams Thomas Pardo Lewis Powell Eliezer Williams John Dickinson John Roland Lloyd Thomas Henry Edwards Paul Badham Robert Skidelsky, Baron Skidelsky John Seys-Llewellyn James Howell Vincent Lloyd-Jones James Howson William Cronon Phillip Garner Hugo Harper Robert Jones Alban Thomas Henry Owen Walter H. Stockmayer Robert Jones Pierce Lewis Nathaniel Williams George Cadogan Morgan Thomas Jones Thomas Jones Austin Amissah Frank Greenaway Thomas Williams Phillips Rice Rees John Edwards John Pettingall Thomas Williams John Le Patourel James Bandinel David Lewis William Rees John V. Fleming John Blake-Reed Bruce Douglas-Mann Sir Herbert Lloyd, 1st Baronet Stephen Thomas Knight Gabriel Powell John Adair Henry Walter Sir Thomas Littleton, 2nd Baronet Henry Tanner William Foxwist John Richard Green Thomas Mansel, 1st Baron Mansel Denis Stevens George Stradling Edward Garnier Edgar Hall Ronald King Murray, Lord Murray Rowland Ellis John Owen Terry Le Sueur Sir Watkin Williams-Wynn, 3rd Baronet Gavin Schmidt J. E. Meredith David Ellis William Foulkes Tony Ambrose Wallis Thomas Thomas Fielden Bill Evans Hugh Jones Francis Heiser William John Gruffydd Peter Maurice Greg Childs Beau Nash Graham Sutton Sir Francis Edwards, 1st Baronet James Davis William Lewis Leslie Walton John Rigby Hale James Brontë Gatenby Hugh Owen William Lucas Collins Andre Ptaszynski John Cayo Evans Vavasor Powell S. H. Hooke Paul Jones Thomas Owen Thomas Prichard Percy Seymour Robert Rowthorn Susobhan Sarkar Albert Joscelyne T. H. Parry-Williams Thomas Iorwerth Ellis William Prichard James Burke Peter Thomas, Baron Thomas of Gwydir Cadwallader Owen Albert Pollard Crispian Strachan Derec Llwyd Morgan William Harris John Edward Daniel William Dickey Barney Williams Daniel Rees Walter Evans-Wentz Glyn Mathias Cyril Burt Kenneth Cragg Edmund Tucker Richard Meredith John Davies Morgan Owen Arthur Wade-Evans William David Davies Herbert du Parcq, Baron du Parcq Dom Moraes Alfred Edwards David Williams Daniel Evans Stanley Whitehead Sir Roger Mostyn, 3rd Baronet Alec Monk Bernard Miller John Mason Inder Manocha John Duncan Mackie Thomas Lloyd John Lewis Lalith Athulathmudali Graham Pollard Gwilym Edwards Gwilym Davies Walter Jenkin Evans Jenkin Lloyd Kenyon Jones Edward Wynne Griffith Hartwell Jones Edmund Ffoulkes Griffith Griffith Thomas Ellis Thomas Ellis Jonathan Edwards Henry Bagenal John Williams John Wynne John Blackwell Sir Thomas Salusbury, 2nd Baronet Harold Littler Graham Dixon-Lewis Rowland Williams Henry Perry David Williams Thomas Charles Williams John Roberts John Roberts Medwin Hughes Anton Muttukumaru Richard Farrington John Salusbury K.P. Jayaswal John Jones Edward Edwards Charles Williams Charles Williams Sir William Glynne, 1st Baronet David Lloyd Charles Edwards William Wroth Alfred Wood Thomas Coke Richard Sayce Henry Bould John Jones John Morris-Jones John Strand-Jones Jim Mauldon Edward Davey Richard Thomas Richard Bassett David Davies David Lewis Alwyn Williams Clement Rogers Andrew Goatly John T. Houghton Theo Barker Theodore Price Robert Gentilis J. P. Collas Conway Rees J. N. L. Baker William Rider Michael Long Chris Rapley Aneurin Rees John Jenkins H. E. A. Cotton Owen Price Ernest Salter Davies David Richards Geoffrey Cass Harold Wilson Sir Thomas Herbert, 1st Baronet David William Evans Thomas Lloyd Thomas Briscoe John Williams David John Jones Hugh Williams Edward Faulks, Baron Faulks Robert Cyril Layton Perkins Frederick Atkinson John Hugh Jones Matthew Le Marinel Philip Hallie Richard Middleton Henry Parry John White John Jenkins Humphrey Foulkes Evan Lewis Arthur Nortje David Hughes Griffith Powell David Hughes Meirion Pennar David Poole Henry Vaughan Walter Garstang Alan Wynne Williams Neal Blewett Lewis Morris Sir Charles Lloyd, 1st Baronet, of Milfield John Haycraft R. Geraint Gruffydd Basset Jhones Thomas Thomas Archibald Rowlands John Jones David John Williams Herbert Armitage James John Aspinall Edward Hinds Douglas Cleverdon Griffith Arthur Jones Chris Parry Alexander Macdougall Cooke William Weekes Fowler James Tinn Erasmus Lewes Michael Nicholas John Jones William Reed Edward Maitland Wright John Tudno Williams Rupert Morris Thomas Johnes John Caldicott Ranjit Bhatia Llewelyn Lewellin Llewelyn Hughes William Thomas Vivian Jenkins Edward Owen John Williams Rhys Prichard Albert Goodwin Henry Yule Oldham Owen Owen James Philipps Emlyn Rhoderick William Bowen Rowlands Magnus Magnusson David Thomas Henry Lloyd Richard Nanney John Thomas Davies John Parry Goronwy Edwards Humphrey Owen John Wood Jenkin Alban Davies Roy Davies Nathan Alcock David Powel David Maurice Goronwy Daniel Richard J. Evans Sir William Williams, 1st Baronet, of Gray's Inn Jenkin Jones Evan Thomas David Thomas David Charles Henry Lewis Roger Parry Thomas Bulkeley, 7th Viscount Bulkeley Gwyn Jones Benjamin Parry Edward Lhuyd Charles Symmons David Parry Alex Wedderspoon W. Wynne Ffoulkes John Walters Blanc Wan Thomas Vane Norman Matthews Warren Ault Edward Pierce William Jones Robert Walter Steel Samuel Peploe Morgan Hector Phillips Pixley ka Isaka Seme Thomas Powell L C Tyler Peter Bailey Williams Francis Cole John Morris Paul Reddicliffe Barri Jones Keith Burnett Robert Wynne Ungoed Jacob David Ffrangcon-Davies John Price Wilfred Hinton Thomas Richards David Lewis Anatole Abragam David Lewis David E. Evans Thomas Canon Clifford Woodward Glen O'Hara William Havard Herbert George John Thomas Charles Lewis Thomas Floyd Andrew McIntosh, Baron McIntosh of Haringey Alfred Hazel Fred Bachrach William Watkin Edward Wynne Philip Jones Henry Maurice Henry Maurice Geraint Talfan Davies Geraint Davies James Chadwin Rowland Pugh John Griffiths Owen Roberts P. T. Rajan Edmund Meyrick Arthur Harry Church Walter Rice Evans Constantine Jessop Samuel Segal, Baron Segal James Lewis James Fairgrieve Peter Lovell-Davis, Baron Lovell-Davis Henry Eyre J Duncan M Derrett George Howells Roger Ainsworth J. R. Cohu J. D. Davies Francis Davies Arthur Evanson Thomas Llewellyn Thomas Ellis Evans Derek Long Robert Dewi Williams Goronwy Owen Gwynfryn Richards Thomas Powel Emory Lindquist John Morgan Terence Mitford John Howlett William Vaughan Thomas Vaughan Evan Lloyd Humphrey Humphreys Albert Hanson Jonathan Borwein Colin Jones Michael Woolfson William Brice James Perrot Arturo Goetz Thomas Morgan Thomas Rowland Hughes Sir Charles Kemeys, 2nd Baronet Edward Barnwell Edward James Henry James John House Edward Ernest Hughes Richard Ellis P. M. Hubbard Henry Rice Thomas Howell John Davies Robert Owen John Evans Edgar Vaughan Angus Buchanan Angus Cameron John Edwards John Lloyd William Lloyd John Lloyd William Lloyd William Lloyd Sidney Hayward John Pryce Eryl Davies Hywel Lewis John Strugnell David Evans Nathaniel Thomas Archibald Lush Humphrey Lloyd David Emrys Evans Erasmus Saunders Wesley Carr Norman Manley William Williams Gunasena de Soyza Edward Roberts Cecil Weir Francis Mansell Arthur James Owen Wynne Ronald Winckworth Thomas Wilkins John Owen Peter Fogg Thomas Jones Richard Jones Ben Bowen Thomas Richard Jones Elwyn Brook-Jones Morris Williams Harold Arthur Harris John Herbert Rajeeb Dey Edward Hughes Lewis Wogan Don Baron Jayatilaka John Ellis John Meyrick Samuel Jones John Lewis William Lewis David Williams John Rider Henry Probert Bedwyr Lewis Jones Joseph Hoare Gwyn Francis Maldwyn Jones Dudi Appleton Charles Clark John Rhys William Jones John Garstang Sylvester Houédard Sir John Aubrey, 3rd Baronet Sir John Aubrey, 2nd Baronet Roland Mathias David Thomas Philip Palmer Gwilliam Iwan Jones William Lewis Thomas Babington Jones Nicholas Adams Reuben Levy Henry Foulkes Huw Owen William Wynn John Vaughan, 1st Earl of Carbery Percy Dodd William Wynne Leoline Jenkins William Christopher Wordsworth John Carter Harold Rushworth Llywarch Reynolds William Price John Islan Jones John Whiston John Whitlock Nicholl Carne William Davies Thomas William Terriss Edwin Yoder Ellis Wynne Trevor Brewer William Dyke Walter St David Jenkins George Wingrove Cooke Ian Gillies John Wogan John Sankey, 1st Viscount Sankey Ian Grist Lewis Lloyd Edwin Stevens William Evans Thomas Richard Lloyd John Harris James Page Philip Dodd James Vincent Joseph Clearihue Thomas Charles Philip Ellis Robert Roberts Lewis Gilbertson John Williams William Boyd Dawkins David Roberts George Henderson John Williams Maurice Jones John Lewis John Lloyd-Jones John David Jenkins Owen Jenkins Robert James Hugh Jones Brian John Barzillai Jones Glyn Simon Richard Lucas Edward Bagnall Poulton Charles Williams Gwilym Williams John T. Koch Nicholas Owen William Boyd Deepak Lal Henry Rogers John Craig Nigel Hitchin James Williams William Worthington Edward Wynne Christopher Bassett Edmund Brice Tobias Jones Alan Aldous Bailey Davies John Evans Seymour Sharkey T. E. Lawrence Richard Richards William Parry John Evans Gordon Roe
John Seys-Llewellyn, Alfred Hazel, Sylvester Houédard, Thomas Llewellyn Thomas, David Evans, Richard J. Evans, Peter Fogg, Sir John Aubrey, 3rd Baronet, Matthew Le Marinel and Thomas Vaughan were a student at Jesus College and are a male
John Seys-Llewellyn Alfred Hazel Sylvester Houédard Thomas Llewellyn Thomas David Evans Richard J. Evans Peter Fogg Sir John Aubrey, 3rd Baronet Matthew Le Marinel Thomas Vaughan
action filter_type
action intersection
action find_reverse
entity Jesus College
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Jesus College'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:educated_at resource:Jesus_College . ?l property:gender resource:male }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3397209
P921
Q191067
USER
Which article has that person as its principal topic ?
(c(Q191067),P921,Q3397209)
action filter_type
action find_reverse
entity Q3397209
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q3397209']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q3397209 . ?m rdf:type ontology:Q191067 }
Thomas Vaughan
action filter_type
action find_reverse
entity Thomas Vaughan
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Thomas Vaughan']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Thomas_Vaughan . ?m rdf:type ontology:article }
[]
article
Clarification for simple ques.
Q6257385
SYSTEM
Did you mean John Seys-Llewellyn ?
Q6257385 Q4722807 Q15452800 Q7791884 Q5233450 Q607427 Q7174021 Q7527564 Q6790852 Q3397209
(c(Q191067),P921,Q6257385) (c(Q191067),P921,Q4722807) (c(Q191067),P921,Q15452800) (c(Q191067),P921,Q7791884) (c(Q191067),P921,Q5233450) (c(Q191067),P921,Q607427) (c(Q191067),P921,Q7174021) (c(Q191067),P921,Q7527564) (c(Q191067),P921,Q6790852) (c(Q191067),P921,Q3397209)
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q6257385'] [{'concept': 'Q191067'}, 'P921', 'Q4722807'] [{'concept': 'Q191067'}, 'P921', 'Q15452800'] [{'concept': 'Q191067'}, 'P921', 'Q7791884'] [{'concept': 'Q191067'}, 'P921', 'Q5233450'] [{'concept': 'Q191067'}, 'P921', 'Q607427'] [{'concept': 'Q191067'}, 'P921', 'Q7174021'] [{'concept': 'Q191067'}, 'P921', 'Q7527564'] [{'concept': 'Q191067'}, 'P921', 'Q6790852'] [{'concept': 'Q191067'}, 'P921', 'Q3397209']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q3397209 . ?m rdf:type ontology:Q191067 }
John Seys-Llewellyn Alfred Hazel Sylvester Houédard Thomas Llewellyn Thomas David Evans Richard J. Evans Peter Fogg Sir John Aubrey, 3rd Baronet Matthew Le Marinel Thomas Vaughan
Did you mean John Seys-Llewellyn ?
John Seys-Llewellyn
[{'concept': 'article'}, 'main subject', 'John Seys-Llewellyn'] [{'concept': 'article'}, 'main subject', 'Alfred Hazel'] [{'concept': 'article'}, 'main subject', 'Sylvester Houédard'] [{'concept': 'article'}, 'main subject', 'Thomas Llewellyn Thomas'] [{'concept': 'article'}, 'main subject', 'David Evans'] [{'concept': 'article'}, 'main subject', 'Richard J. Evans'] [{'concept': 'article'}, 'main subject', 'Peter Fogg'] [{'concept': 'article'}, 'main subject', 'Sir John Aubrey, 3rd Baronet'] [{'concept': 'article'}, 'main subject', 'Matthew Le Marinel'] [{'concept': 'article'}, 'main subject', 'Thomas Vaughan']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Thomas_Vaughan . ?m rdf:type ontology:article }
[]
Simple Question (Coreferenced)
USER
No, I meant Thomas Vaughan. Could you tell me the answer for that?
(c(Q191067),P921,Q3397209)
Q3397209
[{'concept': 'Q191067'}, 'P921', 'Q3397209']
[{'concept': 'article'}, 'main subject', 'Thomas Vaughan']
[]
Q19046177
SYSTEM
Vaughan, Thomas (1622-1666) (DNB00)
Q19046177
(c(Q191067),P921,Q3397209)
action filter_type
action find_reverse
entity Q3397209
relation P921
type Q191067
[ANSWER] has that person as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q3397209']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q3397209 . ?m rdf:type ontology:Q191067 }
Vaughan, Thomas (1622-1666) (DNB00)
Vaughan, Thomas (1622-1666) (DNB00) has that person as its principal topic
Vaughan, Thomas (1622-1666) (DNB00)
action filter_type
action find_reverse
entity Thomas Vaughan
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Thomas Vaughan']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:Thomas_Vaughan . ?m rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5262568
P241
Q781132
USER
Which military branch is Derick Ashe affiliated to ?
(Q5262568,P241,c(Q781132))
action filter_type
action find
entity Q5262568
relation P241
type Q781132
['Q5262568', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5262568 property:P241 ?e . ?e rdf:type ontology:Q781132 }
Derick Ashe
action filter_type
action find
entity Derick Ashe
relation military branch
type military branch
['Derick Ashe', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:Derick_Ashe property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5262568,P241,c(Q781132))
action filter_type
action find
entity Q5262568
relation P241
type Q781132
Derick Ashe is affiliated with [ANSWER]
['Q5262568', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5262568 property:P241 ?e . ?e rdf:type ontology:Q781132 }
British Army
Derick Ashe is affiliated with British Army
British Army
action filter_type
action find
entity Derick Ashe
relation military branch
type military branch
['Derick Ashe', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:Derick_Ashe property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q2342494 Q571
USER
How many people illustrated exactly 5 collectables or books ?
(c(Q2342494)|c(Q571),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
value 5
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P110 ?t . ?j rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } UNION { ?j property:P110 ?t . ?j rdf:type ontology:Q571 . ?t rdf:type ontology:Q502895 } } GROUP BY ?t } . FILTER ( ?c = 5 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
value 5
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:illustrator ?t . ?j rdf:type ontology:collectable . ?t rdf:type ontology:common_name } UNION { ?j property:illustrator ?t . ?j rdf:type ontology:book . ?t rdf:type ontology:common_name } } GROUP BY ?t } . FILTER ( ?c = 5 ) }
[]
common name collectable book
SYSTEM
15
Q457881 Q715383 Q360466 Q2330788 Q7352570 Q5534340 Q5536737 Q7509343 Q3232279 Q7976466 Q5662198 Q18011187 Q606557 Q913061 Q355030
(c(Q2342494)|c(Q571),P110,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
value 5
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P110 ?t . ?j rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } UNION { ?j property:P110 ?t . ?j rdf:type ontology:Q571 . ?t rdf:type ontology:Q502895 } } GROUP BY ?t } . FILTER ( ?c = 5 ) }
John Tenniel Virgil Finlay George Cruikshank Raymond Briggs Robin Jacques Geoff Taylor George Barr Sidney Sime Les Edwards Wayne McLoughlin Harold Robert Millar Matt Wilson Eric Carle Brian Selznick Yoshitaka Amano
15
action count
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
value 5
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:illustrator ?t . ?j rdf:type ontology:collectable . ?t rdf:type ontology:common_name } UNION { ?j property:illustrator ?t . ?j rdf:type ontology:book . ?t rdf:type ontology:common_name } } GROUP BY ?t } . FILTER ( ?c = 5 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q742787
P361
Q192350 Q781132
USER
Which ministries are lesser number of military branches a component of than United States Department of the Navy ?
(c(Q781132),P361,c(Q192350))
action less
action find_reverse_tuple_counts
relation P361
type Q192350
type Q781132
action count
action filter_type
action find_reverse
entity Q742787
relation P361
type Q781132
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?p ) WHERE { ?u rdf:type ontology:Q192350 . ?e rdf:type ontology:Q781132 . ?e property:P361 ?u } GROUP BY ?u } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P361 resource:Q742787 . ?a rdf:type ontology:Q781132 } } }
United States Department of the Navy
action less
action find_reverse_tuple_counts
relation part of
type ministry
type military branch
action count
action filter_type
action find_reverse
entity United States Department of the Navy
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?p ) WHERE { ?u rdf:type ontology:ministry . ?e rdf:type ontology:military_branch . ?e property:part_of ?u } GROUP BY ?u } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:part_of resource:United_States_Department_of_the_Navy . ?a rdf:type ontology:military_branch } } }
[]
ministry military branch
Q789915 Q640365 Q501542
SYSTEM
United States Department of State, Ministry of Interior of the Kingdom of Thailand, United States Department of Agriculture
Q640365 Q1191438 Q578269 Q2565708 Q3044742 Q6867670 Q2612011 Q4922984 Q6865959 Q1780908 Q1322605 Q6867382 Q1774229 Q491637 Q2081328 Q3268130 Q11781499 Q1197264 Q4294879 Q3347142 Q16874286 Q10547426 Q11775449 Q10517070 Q2081350 Q5995 Q4294689 Q4294535 Q628807 Q2081359 Q3708665 Q1041343 Q19315413 Q25991767 Q896375 Q608427 Q2605674 Q2976206 Q939757 Q13537355 Q262509 Q1037495 Q358834 Q944762 Q5892583 Q942326 Q6867043 Q7258698 Q5195474 Q7258696 Q7258697 Q4919401 Q811595 Q3359275 Q1627146 Q2661479 Q2726949 Q1054379 Q1416512 Q2982287 Q3002326 Q4294796 Q1419663 Q4294791 Q1862884 Q2080931 Q763388 Q25907383 Q1769416 Q2433166 Q1431423 Q4294734 Q4294807 Q6867588 Q1283287 Q2982684 Q20021288 Q592576 Q491566 Q2303759 Q699656 Q2641068 Q4294949 Q4294782 Q4294435 Q789915 Q1769657 Q4294683 Q56034 Q6866750 Q1707870 Q1143596 Q1771611 Q138515 Q1518496 Q1540348 Q501542 Q2565132 Q11209 Q2590151 Q3315253 Q2605975 Q18596534 Q4294838 Q3065145 Q2986560 Q782620 Q7258700 Q7258701 Q7258702 Q7258703 Q789889 Q1192838 Q6867033 Q1640407 Q731336 Q2565106 Q11231 Q1469956 Q7032562 Q1143261 Q1780898 Q2907759 Q4294757 Q3443880 Q2077979 Q4294665 Q2508854 Q11989565 Q11989566 Q1816353 Q877814 Q4294512 Q7258712 Q3125291 Q4294359 Q5260457 Q3648988 Q20021281 Q3315371 Q1398002 Q746439 Q217810 Q10495302 Q2909783 Q2611987 Q1479660 Q3555550 Q1049362 Q2091087 Q3362362 Q6866981 Q2639539 Q2091487 Q18611993 Q2612392 Q2982160 Q3181026 Q2119820 Q697158 Q2491421 Q2612001 Q3557111 Q1583463 Q861556 Q2611994 Q648666 Q3288496 Q13765742 Q16071066 Q2188136 Q4294526 Q6866996 Q776570 Q1037511 Q3319270 Q6866930
(c(Q781132),P361,c(Q192350))
action less
action find_reverse_tuple_counts
relation P361
type Q192350
type Q781132
action count
action filter_type
action find_reverse
entity Q742787
relation P361
type Q781132
[ANSWERS] are lesser number of military branches a component of than United States Department of the Navy
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?p ) WHERE { ?u rdf:type ontology:Q192350 . ?e rdf:type ontology:Q781132 . ?e property:P361 ?u } GROUP BY ?u } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P361 resource:Q742787 . ?a rdf:type ontology:Q781132 } } }
Ministry of Interior of the Kingdom of Thailand Department of Finance Canada HM Treasury Ministry of Foreign Affairs of Iran Department of Health ministry of propaganda Ministry of Justice Ministry of Culture Ministry for Refugees, Immigrants and Integration Ministry of Employment Ministry of Finance National Defence Ministry Ministry of Finance Federal Ministry of Transport and Digital Infrastructure Culture and Sport Ministry Ministry of Industry Ministry of the Interior of the Czech Republic Ministry of Economy, Trade and Industry (Japan) Ministry of Justice Ministry of Foreign Affairs of the People's Republic of Bangladesh Ministry of Foreign Affairs and Regional Integration of the Republic of Ghana Ministry of Communications Ministry of Culture of the Republic of Belarus Ministry of Trade Ministry of Agriculture and Rural Development of Israel Cabinet Office Ministry of Agriculture and Rural Development of Romania Ministry of Education and Research United States Department of Labor Ministry of Religious Services Puerto Rico Department of Natural and Environmental Resources Ministry of Security and Justice Justice Ministry Department for International Trade Federal Ministry in Germany United States Department of the Interior Ministry of Finance Ministry of Defence Ministry of General Affairs Finance Ministry of Slovakia Department of Energy Ministry of Foreign Affairs Foreign and Commonwealth Office Ministry of Environment Ministry of Finance United States Department of Health and Human Services Ministry of Foreign Affairs and African Integration of the Republic of Benin Puerto Rico Department of Housing Puerto Rico Department of Corrections and Rehabilitation Puerto Rico Department of Consumer Affairs Puerto Rico Department of Family Affairs Ministry of Tourism and Sports (Thailand) United States Department of Housing and Urban Development Ministry of Foreign Affairs Ministry of National Defense Ministry of Transport and Road Safety Ministry of Higher Education and Research Ministry of Education, Culture, Sports, Science and Technology Ministry of the Economy, Finances and Industry Department for Transport Department of Finance Ministry of Finance Ministry of Culture Ministry of Finance Ministry of Defense Ministry of Housing and Construction Home Office Department for Exiting the European Union Royal Norwegian Ministry of Finance Ministry of Transport, Public Works and Water Management Ministry of Foreign Affairs of Israel Danish Ministry of Transport Ministry of Finance and Planning Ministry of Tourism Ministry of Foreign Affairs of Portugal Ministry of Defence Development Ministry of Israel United States Department of Veterans Affairs Ministry of Health of Germany Home Affairs Bureau Federal Ministry of Food, Agriculture and Consumer Protection Ministry of Finance Energy and Water Resources Ministry Ministry of Finance Ministry of Culture United States Department of State Ministry of Education and Research Puerto Rico Department of Agriculture Foreign Office Ministry of Defence Ministry of Finance United States Department of War Ministry of Justice Security Bureau Ministry of the Interior Ministry of Posts and Telecommunications of the GDR United States Department of Agriculture Tourism Ministry Department of Defense Ministry of Education Ministry of Education and Culture Ministry of Health Ministry of Defense Puerto Rico Department of Economic Development and Commerce Ministry of Economy and Finance Ministry of Economic Affairs Ministry of Agricultural, Food and Forestry Policies Puerto Rico Department of Justice Puerto Rico Department of Sports and Recreation Puerto Rico Department of State Puerto Rico Department of Treasury Ministry of Foreign Affairs Ministry of Internal Affairs Ministry of Foreign Affairs Ministry of Defence of Azerbaijan Department of Finance Ministry of Public Security United States Department of Homeland Security Federal Public Service Justice Ministry of Law and Justice Ministry of Defence Ministry of Enterprise, Energy and Communications Environmental Protection Ministry Puerto Rico Department of Labor and Human Resources Ministry of Finance of the Republic of Croatia Ministry of Communications Ministry of Communications and Information Society Ministry of Foreign Affairs and European Integration Ministry of Ecclesiastical Affairs Danish Ministry of Education Ministry of Finance Federal Ministry of Finance Ministry of Defence of Finland Puerto Rico Department of Transportation and Public Works Ministry of Foreign Affairs of the Hellenic Republic of Greece Puerto Rico Department of Health Department of Prices and Consumer Protection Ministry of Defense Ministry of Labor Global Affairs Canada Ministry of Culture and National Patrimony Federal Public Service Health United States Department of Energy Ministry of Finance of Finland Ministry of Interior Ministry of Health and Social Affairs Federal Public Service Economy Ministry of the Interior Ministry of Education, Culture and Science Ministry of Science, Technology and Space Ministry of Finance Ministry of Foreign Affairs, Cooperation and African Integration Ministry for Foreign Affairs Ministry of Economy Ministry of National Defense Ministry of National Defence Ministry of Defence Ministry of Defence Ministry of Defence Ministry of Foreign Affairs Ministry of the Interior and Kingdom Relations Ministry of the Environment Ministry of Justice, Transparency and Human Rights Ministry of Regional Development and Public Administration United States Department of Education Ministry of Culture United States Department of the Treasury Ministry for Rural Affairs of Sweden Ministry of Employment and the Economy Ministry of Foreign Affairs of Mongolia Ministry of Infrastructure and the Environment Puerto Rico Department of Education Ministry of Foreign Affairs of Eritrea Ministry for Foreign Affairs of Sweden Ministry of Finance Ministry of Defence of Armenia Ministry of Finance
United States Department of State, Ministry of Interior of the Kingdom of Thailand and United States Department of Agriculture are lesser number of military branches a component of than United States Department of the Navy
United States Department of State Ministry of Interior of the Kingdom of Thailand United States Department of Agriculture
action less
action find_reverse_tuple_counts
relation part of
type ministry
type military branch
action count
action filter_type
action find_reverse
entity United States Department of the Navy
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?p ) WHERE { ?u rdf:type ontology:ministry . ?e rdf:type ontology:military_branch . ?e property:part_of ?u } GROUP BY ?u } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:part_of resource:United_States_Department_of_the_Navy . ?a rdf:type ontology:military_branch } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q11209
P361
Q192350 Q781132
USER
And what about Department of Defense?
(c(Q781132),P361,c(Q192350))
action less
action find_reverse_tuple_counts
relation P361
type Q192350
type Q781132
action count
action filter_type
action find_reverse
entity Q11209
relation P361
type Q781132
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P361 resource:Q11209 . ?p rdf:type ontology:Q781132 } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P361 ?y . ?y rdf:type ontology:Q192350 . ?e rdf:type ontology:Q781132 } GROUP BY ?y } }
Department of Defense
action less
action find_reverse_tuple_counts
relation part of
type ministry
type military branch
action count
action filter_type
action find_reverse
entity Department of Defense
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:part_of resource:Department_of_Defense . ?p rdf:type ontology:military_branch } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:part_of ?y . ?y rdf:type ontology:ministry . ?e rdf:type ontology:military_branch } GROUP BY ?y } }
[]
ministry military branch
Q789915 Q640365 Q501542
SYSTEM
United States Department of State, Ministry of Interior of the Kingdom of Thailand, United States Department of Agriculture
Q640365 Q1191438 Q578269 Q2565708 Q3044742 Q6867670 Q2612011 Q4922984 Q6865959 Q1780908 Q1322605 Q6867382 Q1774229 Q491637 Q2081328 Q3268130 Q11781499 Q1197264 Q4294879 Q3347142 Q16874286 Q10547426 Q11775449 Q10517070 Q2081350 Q5995 Q4294689 Q4294535 Q628807 Q2081359 Q3708665 Q1041343 Q19315413 Q25991767 Q896375 Q608427 Q2605674 Q2976206 Q939757 Q13537355 Q262509 Q1037495 Q358834 Q944762 Q5892583 Q942326 Q6867043 Q7258698 Q5195474 Q7258696 Q7258697 Q4919401 Q811595 Q3359275 Q1627146 Q2661479 Q2726949 Q1054379 Q1416512 Q2982287 Q3002326 Q4294796 Q1419663 Q4294791 Q1862884 Q2080931 Q763388 Q25907383 Q1769416 Q2433166 Q1431423 Q4294734 Q4294807 Q6867588 Q1283287 Q2982684 Q20021288 Q592576 Q491566 Q2303759 Q699656 Q2641068 Q4294949 Q4294782 Q4294435 Q789915 Q1769657 Q4294683 Q56034 Q6866750 Q1707870 Q1143596 Q1771611 Q138515 Q1518496 Q1540348 Q501542 Q2565132 Q2590151 Q3315253 Q2605975 Q18596534 Q4294838 Q3065145 Q2986560 Q782620 Q7258700 Q7258701 Q7258702 Q7258703 Q789889 Q1192838 Q6867033 Q1640407 Q731336 Q2565106 Q11231 Q1469956 Q7032562 Q1143261 Q1780898 Q2907759 Q4294757 Q3443880 Q2077979 Q4294665 Q2508854 Q11989565 Q11989566 Q1816353 Q877814 Q4294512 Q7258712 Q3125291 Q4294359 Q5260457 Q3648988 Q20021281 Q3315371 Q1398002 Q746439 Q217810 Q10495302 Q2909783 Q2611987 Q1479660 Q3555550 Q1049362 Q2091087 Q3362362 Q6866981 Q2639539 Q2091487 Q18611993 Q2612392 Q2982160 Q3181026 Q2119820 Q697158 Q2491421 Q2612001 Q3557111 Q1583463 Q861556 Q2611994 Q648666 Q3288496 Q13765742 Q16071066 Q2188136 Q4294526 Q6866996 Q776570 Q1037511 Q3319270 Q6866930
(c(Q781132),P361,c(Q192350))
action less
action find_reverse_tuple_counts
relation P361
type Q192350
type Q781132
action count
action filter_type
action find_reverse
entity Q11209
relation P361
type Q781132
[ANSWERS]
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q192350'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P361 resource:Q11209 . ?p rdf:type ontology:Q781132 } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P361 ?y . ?y rdf:type ontology:Q192350 . ?e rdf:type ontology:Q781132 } GROUP BY ?y } }
Ministry of Interior of the Kingdom of Thailand Department of Finance Canada HM Treasury Ministry of Foreign Affairs of Iran Department of Health ministry of propaganda Ministry of Justice Ministry of Culture Ministry for Refugees, Immigrants and Integration Ministry of Employment Ministry of Finance National Defence Ministry Ministry of Finance Federal Ministry of Transport and Digital Infrastructure Culture and Sport Ministry Ministry of Industry Ministry of the Interior of the Czech Republic Ministry of Economy, Trade and Industry (Japan) Ministry of Justice Ministry of Foreign Affairs of the People's Republic of Bangladesh Ministry of Foreign Affairs and Regional Integration of the Republic of Ghana Ministry of Communications Ministry of Culture of the Republic of Belarus Ministry of Trade Ministry of Agriculture and Rural Development of Israel Cabinet Office Ministry of Agriculture and Rural Development of Romania Ministry of Education and Research United States Department of Labor Ministry of Religious Services Puerto Rico Department of Natural and Environmental Resources Ministry of Security and Justice Justice Ministry Department for International Trade Federal Ministry in Germany United States Department of the Interior Ministry of Finance Ministry of Defence Ministry of General Affairs Finance Ministry of Slovakia Department of Energy Ministry of Foreign Affairs Foreign and Commonwealth Office Ministry of Environment Ministry of Finance United States Department of Health and Human Services Ministry of Foreign Affairs and African Integration of the Republic of Benin Puerto Rico Department of Housing Puerto Rico Department of Corrections and Rehabilitation Puerto Rico Department of Consumer Affairs Puerto Rico Department of Family Affairs Ministry of Tourism and Sports (Thailand) United States Department of Housing and Urban Development Ministry of Foreign Affairs Ministry of National Defense Ministry of Transport and Road Safety Ministry of Higher Education and Research Ministry of Education, Culture, Sports, Science and Technology Ministry of the Economy, Finances and Industry Department for Transport Department of Finance Ministry of Finance Ministry of Culture Ministry of Finance Ministry of Defense Ministry of Housing and Construction Home Office Department for Exiting the European Union Royal Norwegian Ministry of Finance Ministry of Transport, Public Works and Water Management Ministry of Foreign Affairs of Israel Danish Ministry of Transport Ministry of Finance and Planning Ministry of Tourism Ministry of Foreign Affairs of Portugal Ministry of Defence Development Ministry of Israel United States Department of Veterans Affairs Ministry of Health of Germany Home Affairs Bureau Federal Ministry of Food, Agriculture and Consumer Protection Ministry of Finance Energy and Water Resources Ministry Ministry of Finance Ministry of Culture United States Department of State Ministry of Education and Research Puerto Rico Department of Agriculture Foreign Office Ministry of Defence Ministry of Finance United States Department of War Ministry of Justice Security Bureau Ministry of the Interior Ministry of Posts and Telecommunications of the GDR United States Department of Agriculture Tourism Ministry Ministry of Education Ministry of Education and Culture Ministry of Health Ministry of Defense Puerto Rico Department of Economic Development and Commerce Ministry of Economy and Finance Ministry of Economic Affairs Ministry of Agricultural, Food and Forestry Policies Puerto Rico Department of Justice Puerto Rico Department of Sports and Recreation Puerto Rico Department of State Puerto Rico Department of Treasury Ministry of Foreign Affairs Ministry of Internal Affairs Ministry of Foreign Affairs Ministry of Defence of Azerbaijan Department of Finance Ministry of Public Security United States Department of Homeland Security Federal Public Service Justice Ministry of Law and Justice Ministry of Defence Ministry of Enterprise, Energy and Communications Environmental Protection Ministry Puerto Rico Department of Labor and Human Resources Ministry of Finance of the Republic of Croatia Ministry of Communications Ministry of Communications and Information Society Ministry of Foreign Affairs and European Integration Ministry of Ecclesiastical Affairs Danish Ministry of Education Ministry of Finance Federal Ministry of Finance Ministry of Defence of Finland Puerto Rico Department of Transportation and Public Works Ministry of Foreign Affairs of the Hellenic Republic of Greece Puerto Rico Department of Health Department of Prices and Consumer Protection Ministry of Defense Ministry of Labor Global Affairs Canada Ministry of Culture and National Patrimony Federal Public Service Health United States Department of Energy Ministry of Finance of Finland Ministry of Interior Ministry of Health and Social Affairs Federal Public Service Economy Ministry of the Interior Ministry of Education, Culture and Science Ministry of Science, Technology and Space Ministry of Finance Ministry of Foreign Affairs, Cooperation and African Integration Ministry for Foreign Affairs Ministry of Economy Ministry of National Defense Ministry of National Defence Ministry of Defence Ministry of Defence Ministry of Defence Ministry of Foreign Affairs Ministry of the Interior and Kingdom Relations Ministry of the Environment Ministry of Justice, Transparency and Human Rights Ministry of Regional Development and Public Administration United States Department of Education Ministry of Culture United States Department of the Treasury Ministry for Rural Affairs of Sweden Ministry of Employment and the Economy Ministry of Foreign Affairs of Mongolia Ministry of Infrastructure and the Environment Puerto Rico Department of Education Ministry of Foreign Affairs of Eritrea Ministry for Foreign Affairs of Sweden Ministry of Finance Ministry of Defence of Armenia Ministry of Finance
United States Department of State Ministry of Interior of the Kingdom of Thailand United States Department of Agriculture
action less
action find_reverse_tuple_counts
relation part of
type ministry
type military branch
action count
action filter_type
action find_reverse
entity Department of Defense
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'ministry'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:part_of resource:Department_of_Defense . ?p rdf:type ontology:military_branch } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:part_of ?y . ?y rdf:type ontology:ministry . ?e rdf:type ontology:military_branch } GROUP BY ?y } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P488
Q502895 Q192350
USER
Which ministries have more number of people as their chairperson than that ministry ?
(c(Q192350),P488,c(Q502895))
[{'concept': 'Q192350'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q502895 }
[{'concept': 'ministry'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:ministry . ?y rdf:type ontology:common_name }
[]
common name ministry
Comparative|More/Less|Single entity type|Clarification
Q789915
SYSTEM
Did you mean United States Department of State ?
(c(Q192350),P488,c(Q502895))
[ANSWER]
[{'concept': 'Q192350'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q502895 }
Did you mean United States Department of State ?
United States Department of State
[{'concept': 'ministry'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:ministry . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant United States Department of Agriculture. Could you tell me the answer for that?
(c(Q192350),P488,c(Q502895))
Q501542
[{'concept': 'Q192350'}, 'P488', {'concept': 'Q502895'}]
[{'concept': 'ministry'}, 'chairperson', {'concept': 'common name'}]
[]
Q789915
SYSTEM
United States Department of State
Q789915
(c(Q192350),P488,c(Q502895))
[ANSWER] have more number of people as their chairperson than that ministry
[{'concept': 'Q192350'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q502895 }
United States Department of State
United States Department of State have more number of people as their chairperson than that ministry
United States Department of State
[{'concept': 'ministry'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:ministry . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3397209
P106
Q151885
USER
Which concept has Thomas Vaughan as his/her 's career ?
(Q3397209,P106,c(Q151885))
action filter_type
action find
entity Q3397209
relation P106
type Q151885
['Q3397209', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q3397209 property:P106 ?n . ?n rdf:type ontology:Q151885 }
Thomas Vaughan
action filter_type
action find
entity Thomas Vaughan
relation occupation
type concept
['Thomas Vaughan', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Thomas_Vaughan property:occupation ?n . ?n rdf:type ontology:concept }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
(Q3397209,P106,c(Q151885))
action filter_type
action find
entity Q3397209
relation P106
type Q151885
The [ANSWER] has Thomas Vaughan as his/her 's career
['Q3397209', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q3397209 property:P106 ?n . ?n rdf:type ontology:Q151885 }
philosopher
The philosopher has Thomas Vaughan as his/her 's career
philosopher
action filter_type
action find
entity Thomas Vaughan
relation occupation
type concept
['Thomas Vaughan', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Thomas_Vaughan property:occupation ?n . ?n rdf:type ontology:concept }
[]