Simple Question (Direct)
Simple Question
Q6258643
P69
Q1055028
USER
What is the college of the University of Cambridge where John Spencer was educated ?
(Q6258643,P69,c(Q1055028))
action filter_type
action find
entity Q6258643
relation P69
type Q1055028
['Q6258643', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?x WHERE { resource:Q6258643 property:P69 ?x . ?x rdf:type ontology:Q1055028 }
John Spencer
action filter_type
action find
entity John Spencer
relation educated at
type college of the University of Cambridge
['John Spencer', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?x WHERE { resource:John_Spencer property:educated_at ?x . ?x rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q765642
SYSTEM
Queens' College
Q765642
(Q6258643,P69,c(Q1055028))
action filter_type
action find
entity Q6258643
relation P69
type Q1055028
The college of the University of Cambridge John Spencer was educated is [ANSWER]
['Q6258643', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?x WHERE { resource:Q6258643 property:P69 ?x . ?x rdf:type ontology:Q1055028 }
Queens' College
The college of the University of Cambridge John Spencer was educated is Queens' College
Queens' College
action filter_type
action find
entity John Spencer
relation educated at
type college of the University of Cambridge
['John Spencer', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?x WHERE { resource:John_Spencer property:educated_at ?x . ?x rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q765642 Q1182421
P69
Q502895
USER
How many people were educated at Queens' College or Deep Springs College ?
(c(Q502895),P69,Q765642) (c(Q502895),P69,Q1182421)
action count
action union
action filter_type
action find_reverse
entity Q765642
relation P69
type Q502895
action filter_type
action find_reverse
entity Q1182421
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q765642'] [{'concept': 'Q502895'}, 'P69', 'Q1182421']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:P69 resource:Q765642 . ?x rdf:type ontology:Q502895 } UNION { ?x property:P69 resource:Q1182421 . ?x rdf:type ontology:Q502895 } }
Queens' College Deep Springs College
action count
action union
action filter_type
action find_reverse
entity Queens' College
relation educated at
type common name
action filter_type
action find_reverse
entity Deep Springs College
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', "Queens' College"] [{'concept': 'common name'}, 'educated at', 'Deep Springs College']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:educated_at resource:Queens'_College . ?x rdf:type ontology:common_name } UNION { ?x property:educated_at resource:Deep_Springs_College . ?x rdf:type ontology:common_name } }
[]
common name
SYSTEM
530
Q7793096 Q15994423 Q520537 Q4756712 Q3625961 Q823046 Q5235034 Q981897 Q5238471 Q5662703 Q323267 Q5339297 Q17424974 Q18346332 Q5982890 Q5546207 Q3133184 Q7526919 Q613191 Q6769585 Q7350827 Q387412 Q2791093 Q687424 Q326396 Q676560 Q5258495 Q7350438 Q930407 Q817585 Q5200641 Q221296 Q3374708 Q11239404 Q1248758 Q5346602 Q5075220 Q3365515 Q7528162 Q6829734 Q17418781 Q7966214 Q15990141 Q6223467 Q7407811 Q3525572 Q382777 Q15990349 Q15990348 Q15990346 Q5497834 Q3595369 Q374490 Q5714116 Q5718431 Q2659116 Q7137791 Q1627866 Q317979 Q5464672 Q7610220 Q16902117 Q5056135 Q15990026 Q7922113 Q1236243 Q5219128 Q19957769 Q15990213 Q19282467 Q7025163 Q7790886 Q21608174 Q3535919 Q15989934 Q5538125 Q7184338 Q16014959 Q14946882 Q7349970 Q6245516 Q5345730 Q336456 Q2048314 Q6834427 Q7792709 Q7342092 Q356275 Q4118610 Q4164136 Q6779095 Q7341679 Q4727159 Q15485587 Q433563 Q20054080 Q162821 Q5734960 Q7460864 Q5346626 Q19365001 Q969220 Q675190 Q7788693 Q5393278 Q6253129 Q17332626 Q5082437 Q6698229 Q5083469 Q5541566 Q3101772 Q5534681 Q337036 Q3182037 Q479098 Q7790705 Q15176630 Q5241103 Q18734460 Q7789157 Q7792962 Q5728434 Q2910477 Q727546 Q5240781 Q2134165 Q23752034 Q6767554 Q5079124 Q6128146 Q17421674 Q21685462 Q5480881 Q15989864 Q6256115 Q7787346 Q3241442 Q5539183 Q7787522 Q18009168 Q5975504 Q4757133 Q381312 Q337117 Q15070186 Q15070187 Q981521 Q15990136 Q7509495 Q18421906 Q6142051 Q18162070 Q7609746 Q8007184 Q19975162 Q1655533 Q7184193 Q5238959 Q6551947 Q6258643 Q19282345 Q14480438 Q540379 Q5520206 Q8014443 Q5941391 Q1909607 Q5161996 Q4786279 Q16857095 Q2101078 Q7610493 Q4102546 Q15990305 Q5722729 Q15989947 Q374210 Q15989945 Q7323816 Q15989943 Q29344 Q6939441 Q5235178 Q5534224 Q953139 Q5342255 Q6384902 Q7788874 Q3624293 Q6245304 Q5403653 Q15990126 Q7529032 Q3021025 Q911997 Q254635 Q7186351 Q6141337 Q2401430 Q8007153 Q15990255 Q7328709 Q5538355 Q20823719 Q376014 Q7364355 Q982677 Q4867143 Q8005193 Q744389 Q7176638 Q5495968 Q168890 Q441534 Q7527201 Q1354716 Q15990157 Q15990152 Q7610089 Q15989828 Q5790337 Q6261776 Q6247178 Q5128884 Q5077745 Q7183385 Q20932072 Q1824930 Q7347336 Q4738509 Q7087469 Q3798461 Q7087775 Q7898163 Q1766103 Q6138001 Q473302 Q5295079 Q1911252 Q6219310 Q7342246 Q4756654 Q931384 Q5567765 Q7528778 Q6247293 Q7787896 Q7184417 Q15989921 Q18217011 Q19282353 Q5079272 Q5301326 Q15972447 Q20739605 Q17306675 Q6261052 Q23008774 Q6228732 Q1530507 Q5302112 Q333998 Q5295174 Q5362497 Q17183304 Q5372273 Q18921570 Q4670375 Q14946863 Q5339516 Q9336877 Q7526341 Q5537839 Q18109142 Q671882 Q531345 Q1234371 Q6276123 Q6228789 Q15990170 Q6235719 Q15990379 Q24039476 Q7528011 Q15990372 Q1671766 Q1689180 Q5076301 Q6770249 Q7174583 Q591596 Q21166247 Q5481021 Q19587062 Q4861702 Q6395839 Q5534819 Q19282434 Q22679169 Q15999767 Q7172452 Q17388425 Q16856025 Q6555814 Q670599 Q6525077 Q4864317 Q7787783 Q3666606 Q2570928 Q7087385 Q4848609 Q15462620 Q6238135 Q4730951 Q5262146 Q6076734 Q8004672 Q10307857 Q15990100 Q2706206 Q7328035 Q19872300 Q796430 Q472897 Q5480314 Q5932186 Q16750552 Q7356602 Q5237858 Q5339808 Q5480091 Q373097 Q43499 Q6388308 Q7529235 Q12100713 Q5951293 Q6774878 Q6225571 Q15524517 Q6226829 Q11975113 Q335150 Q15990191 Q15990196 Q5941509 Q3435672 Q5489306 Q5076393 Q931484 Q5239499 Q3377178 Q5576506 Q4708000 Q6969512 Q15989995 Q6240295 Q7177044 Q4756258 Q7327602 Q1176649 Q13362164 Q463912 Q5645928 Q58140 Q16857906 Q368264 Q7341341 Q325417 Q6397371 Q7788294 Q4020000 Q6124717 Q6500504 Q8964044 Q7173653 Q7087849 Q22087268 Q5238791 Q7411357 Q952538 Q7789514 Q3308905 Q17489606 Q7608792 Q6225978 Q3418261 Q20853425 Q4215496 Q18685125 Q437718 Q4772875 Q6775628 Q3525519 Q7184329 Q7327189 Q5019214 Q7175027 Q5800654 Q5341893 Q5261807 Q6261709 Q1174689 Q11722957 Q21935462 Q5722713 Q5546328 Q5372125 Q6253136 Q4795292 Q15126876 Q6548742 Q6500825 Q17198404 Q7342916 Q4718753 Q8009293 Q7790829 Q6141419 Q6222810 Q2134553 Q5982217 Q6790103 Q7790393 Q5660559 Q5388737 Q6241766 Q4717766 Q7293587 Q8017648 Q6775699 Q305776 Q13136480 Q7183687 Q18009223 Q19997528 Q7519488 Q2077769 Q7175056 Q2739357 Q7026702 Q4988583 Q6793048 Q3430698 Q5076739 Q1431726 Q2086030 Q336709 Q7183887 Q7349246 Q6228619 Q7408651 Q5902720 Q722579 Q6265300 Q231086 Q7287689 Q453410 Q7352659 Q17306014 Q4117027 Q5941651 Q6291233 Q750260 Q19587153 Q6851417 Q24027935 Q7789493 Q1343537 Q6263369 Q11802478 Q7026032 Q7411248 Q24649891 Q5230626 Q7528405 Q6239829 Q7787677 Q5497689 Q6129528 Q8005984 Q5112785 Q5981399 Q7346417 Q488086 Q6237190 Q7327806 Q4867257 Q261718 Q17421309 Q21166533 Q18546847 Q3022141 Q5134582 Q5079002 Q5534531 Q5113477 Q1960974 Q5129467 Q7792729 Q6390270 Q7527211 Q192912 Q15989887 Q7527214 Q4772208 Q441349 Q5145543 Q5615999 Q5259863 Q18217792 Q7789749 Q16239953 Q24039449 Q6110160 Q7328039 Q6237344 Q15989859 Q21165427 Q5113473 Q5075775 Q7365345 Q5729041 Q6262019 Q7172660 Q4727280 Q18702981 Q19057027
(c(Q502895),P69,Q765642) (c(Q502895),P69,Q1182421)
action count
action union
action filter_type
action find_reverse
entity Q765642
relation P69
type Q502895
action filter_type
action find_reverse
entity Q1182421
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q765642'] [{'concept': 'Q502895'}, 'P69', 'Q1182421']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:P69 resource:Q765642 . ?x rdf:type ontology:Q502895 } UNION { ?x property:P69 resource:Q1182421 . ?x rdf:type ontology:Q502895 } }
Thomas Penny White Charles Boileau Elliott John George Children Andrew Crockett Alice Patten Bernardo Sepúlveda Amor David Hitz Khalid Abdalla David Pearl Harold Webbe Osborne Reynolds Edmund Bohun Richard Meggot Charles Plumptre Ian Shuttleworth George Whitaker Henry Bulkeley Sir George Savile, 8th Baronet Anwar Nusseibeh Mark Santer Robert Walmsley Iain Softley Thomas Edwards Max Black Robert John Tillyard John Pearson Dennis Hawker Robert Tounson Thomas Turton Benjamin Kunkel Cyril Bibby Mohamed A. El-Erian Oliver St John Michael Green Thomas Fuller Edwin Le Grice Charles Ashton G. William Skinner Sir John Wynn, 2nd Baronet Michael David Irving Gass Ewan Kirk Walter Strickland John Long John Brown Sam Lotu-Iiga Thomas Smith Thomas Fyshe Palmer William Welchman George Weeks John Waugh Frederick Gentle Arthur Agarde Bill Wedderburn, Baron Wedderburn of Charlton Heneage Finch, 3rd Earl of Winchilsea Henry Bovey Charles Baron Clarke Park Honan Horace Geoffrey Quaritch Wales Alexander Ales Folliott Sandford Pierpoint Stephen Pedley Sir Andrew Derbyshire Cecil Horsley John Hatsell Vernon Dubois Penner, Jr. Tom Holland Daniel Wray Suella Fernandes James Carleton Paget William Strong Nicholas Campion Thomas Hughes Robert Streatfeild William vanden Heuvel Peter Cresswell George Cornelius Gorham Philip Sabin Herbert Reich Francis Mallet Robert Sproull John Lumley, 1st Baron Lumley Edward Villiers Shenton Thomas Richard Eden Michael Skapinker Thomas Nettleship Staley Robert Bickersteth Paul Greengrass Fiona Hughes Norton Dodge Mary Bowers Robert B. Aird Alison Peacock Tony Bradman Geraint Anderson Peter Taylor Richard Hickox Herbert Loewe Shadrach Pryce Edwin M. Cronk Jenny Kleeman William Scoresby John Aylmer Thomas Creevey Ernest Hoare John Pomfret James Malett Charles Seltman Lucy Caldwell Charles Western, 1st Baron Western George Law George Montaigne Geoffrey Horrocks Spencer Compton, 2nd Earl of Northampton John McCallum David Ruffley Thomas Hingston John Barnard David Willey Robert More Thomas E. Fairchild Thomas Padmore Henry Smith Charles Nicholl M. S. Bartlett David Walker Raymond Jeanloz Hugh Morton Mark Evelyn Heath Charles Hopkins James A. Jackson John Moylan Laura Robson Francis Fane, 1st Earl of Westmorland Andrew Briggs John Ryder Thomas Ball Lindsay Ashford George Fane Thomas Bedford John Bossy Jeremy Black Andrew Goudie Gustavus Simmons Charles Falconer, Baron Falconer of Thoroton Henry Lawrence Humphrey Leech William Peel George Lloyd Sidrach Simpson Tim Barker James Rice Stephen Sidebotham Stephen Lander William Covell Charles Russell Ian Hargreaves Philip Parker David Rees Linda Savage John Spencer William Brown William Glyn Michael Foale Gamini Goonesena William Leeke Humphrey Fenn Matthew Taylor Connop Price Archibald Cullen James William Bellamy Jonathan Israel Stephen Sedley Daniel Weissbort Sir William Strickland, 1st Baronet Henry Hastings, 3rd Earl of Huntingdon Herbert Davies Edward de Vere, 17th Earl of Oxford Edward D'Avenant Richard Astry John Darrell William T. Vollmann Murray Roston David Howard Adeney Geoff Meeks Charles Tate Regan Edward Chaplin Keith Prosser Thomas Davies George Mooring John Lothropp Gino Costa Richard Lindley Sir Thomas Alston, 5th Baronet Declan Donnellan Brian Charlesworth Richard K. Morgan Phineas Fowke James Plumptre Simon Ockley William Cotton Richard Ernest Wycherley Richard Roderick George Dalston Walter Strickland Paul Ginsborg Ron Sandler Roland Penrose Basil Dale William Bates Thomas Villiers, 1st Earl of Clarendon Peter Rock Fred Morris Samuel Egerton Brydges Richard Peto Sir Henry Pickering, 2nd Baronet Roger Michell Owen Manning Don Macpherson Stephen Nettles Brent Barton Philip Yorke, 3rd Earl of Hardwicke John Van Reenen John Matthew Mitchell Claude Hermann Walter Johns Charles Foster Barham Philip Cox Louis Hayes Petit Geoffrey Hartman Robert Mapletoft Alwyn Crow Oliver Cromwell J. M. Cohen Oliver Popplewell Upali Wijewardene Alexander Crummell James Leslie John Whitgift Donald Robinson Maurice Wood John Archer Robert Bowes Andrew Colville Isaac Milner Glen Fukushima Sir Robert Gore-Booth, 4th Baronet John May Thomas Brightman Philip Stapleton Hayne Constant Charles Moseley Richard Cumberland Charles Iain Hamilton Douglas Chamberlain Geoffrey Grobecker Fred Brocklehurst Arthur Scratchley John Towers Michael Westall John Davies Edward Fraenkel Douglas Wilson John Peel Donald Snelgrove Elizabeth Burns Samuel Crowbrow Emily Maitlis John Constable Thomas Perronet Thompson Philip Ingham Edmund Gurney Silas Warner Sir Christopher Yelverton, 1st Baronet George Chase John W. Olmsted Arnold Spencer-Smith Thomas Digges Samuel Lee Joost de Blank John Davis Nick McKinnel John Goodwin Grantham Yorke Nigel Cumberland Sir John Pretyman, 1st Baronet Samuel Winter John Sherrington Jim Olin Charles Claxton Mark Watson Peter Hausted Simon Bird Thomas Harrison Francis Fuller George Moreby Acklom Barney Childs Kevin Billington Geoffrey Paul Thomas Parkyns, 1st Baron Rancliffe Jo Miller Arthur Armitage Peter Abbott William Harward Lestock Adams Lionel Tollemache, 3rd Earl of Dysart John Lambert Leonard Appleyard Barry Holmes Thomas Bowes Charles Tomlinson Waris Hussein Oliver Allison Baird Bryant Stephanie Merritt John Harvey Allan Rutter Derek Lewis Isaac Maddox William Atwood John Joscelyn Noel Kennaby Edward James Stone Richard Neville Ken Costa Graham Hough Lesslie Newbigin Francis Bramston Hugh Oldham John Terence Coppock Roderick Cook David Musselwhite Edmund Scambler Francis Bacon John Michell Erasmus Ken Pillar Sir Thomas Pelham, 1st Baronet James Niven Huw Thomas Martin Alabaster John Cavell John Banham John Comyns Henry Venn Hugh Thomas Andrew Munro Peter Newcome Humphrey Mackworth Robert Latham Frank Rutter Charles Collingwood Joshua King David Saunders-Davies Stephen Kinnock Godfrey Milton-Thompson Alan Watkins Nathaniel Borenstein Hope Gill John Hughes Peter Spencer Andrew Bailey Richard Maher Michael Ball Adeboye Babalola David Snellgrove Hamon le Strange Salman bin Hamad bin Isa Al Khalifa Edmund Henry Lushington Charles Villiers Stanford Robert Acklom Ingram Gareth Williams, Baron Williams of Mostyn Kevin Roberts Thomas Cawton William Feilding, 1st Earl of Denbigh Jake Hancock Laurence Brown Gilbert Harding Peter Dews Oliver St John, 5th Baron St John of Bletso Emily Grossman David R. Beatty Samuel Fairclough John E. Baldwin Thomas Fanshawe Michael F. Ashby Karen Duff Stephen Brown John Chisholm Ralph Harris, Baron Harris of High Cross Mark Wilson Jones John Carne Nicholas Bury Graham Swift Anthony Kelly Martin Harris Thomas Risley Odhiambo Philip S. Gorski Richard L. Hills Caleb Banks Peter Jones Thomas Heneage Edward Bigland Derek Birley John Vaizey, Baron Vaizey David Hatch John Downton Ian Pieris Henry Hastings, 1st Baron Loughborough George William Lemon Emily Critchley John Ponet Arnold W. G. Kean Richard F Disney Lim Pin Laurence Oxburgh James Northcote Robert Chote Alexander Douglas Campbell William Framyngham Thomas Horton James Prendergast John Bracegirdle Reader Bullard Ian Massey Matthew Babington Thomas Hannay Harold E. Lambert Erik Mueggler John Jegon Alex Scott Ranulph Bacon William Roberts Martin Holdgate Abba Eban John Preston Philip Hanawalt Stephen Wildman Graham Reynolds Simon Patrick Peter Redgrove Peter Jukes Robert Main Nick Alston Sean Eldridge Maurice Edwards Richard Dearlove Charles Daubuz Roger Manners, 5th Earl of Rutland Philip Allen, Baron Allen of Abbeydale John Eatwell, Baron Eatwell Philip Kelland Robert Reuland John Davenant Samantha Ellis Horatio Mosley Moule Vuk Jeremić John Zarnecki Hannah Murray Ralph Izzard T. H. White Robin Millar Richard Edwin Hills Joseph Dacre Carlyle Humphrey Toy José A. Cabranes Liz Kendall William Magan Campion Miles Hobart Adrian Clive Hayday Thomas Fairfax, 1st Lord Fairfax of Cameron Julian Steward John Weever John Heveningham Nicholas Pedley Samuel Day Geofroy Tory David Aers Sir Orlando Bridgeman, 1st Baronet, of Great Lever John Hopkins Thomas Blague Frederick Dwelly James Beament William Brooke, 10th Baron Cobham Christopher M. Tuckett Ian Dennis Robert Knight George Band John Hadley Richard Milbourne Basil Snell Alastair Robinson Harold Blacker Wilkinson Blanshard George Phillips Demis Hassabis Clive Gregory Charles Herbert Reilly Geoffrey Colin Shephard Christopher Yelverton Arthur Capell, 1st Baron Capell of Hadham Claudius Buchanan Thomas Newton Kenneth Jeyaretnam Sir Henry Russell, 1st Baronet Stephen Fry Harry Carpenter Sir Henry Slingsby, 1st Baronet Anthony Campbell Awn Shawkat Al-Khasawneh Colin Scott Rodney Dale Denys Pouncey Guy Newey Thomas Foster Barham Richard Hopkins Roberts Bishop Owen Jabez Whitley Richard Newcome John Hall Henry Bridgeman, 1st Baron Bradford Brian Selby Hartley Christopher Wyvill Charles Bridges Ronald Turner Henry Taylor John Vinelott Peter Ball Alistair Ferguson Ritchie Carol Stone Nigel Rodgers
530
action count
action union
action filter_type
action find_reverse
entity Queens' College
relation educated at
type common name
action filter_type
action find_reverse
entity Deep Springs College
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', "Queens' College"] [{'concept': 'common name'}, 'educated at', 'Deep Springs College']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x property:educated_at resource:Queens'_College . ?x rdf:type ontology:common_name } UNION { ?x property:educated_at resource:Deep_Springs_College . ?x rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1140611 Q765642
P112 P161
Q502895
USER
Which people are the names of the founders of Queens' College or were casted in Wuthering Heights ?
OR((Q765642,P112,c(Q502895)), (Q1140611,P161,c(Q502895)))
action filter_type
action union
action find
entity Q765642
relation P112
action find
entity Q1140611
relation P161
type Q502895
{'OR': [['Q765642', 'P112', {'concept': 'Q502895'}], ['Q1140611', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1140611 property:P161 ?a } UNION { resource:Q765642 property:P112 ?a } } . ?a rdf:type ontology:Q502895 }
Wuthering Heights Queens' College
action filter_type
action union
action find
entity Queens' College
relation founder
action find
entity Wuthering Heights
relation cast member
type common name
{'OR': [["Queens' College", 'founder', {'concept': 'common name'}], ['Wuthering Heights', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Wuthering_Heights property:cast_member ?a } UNION { resource:Queens'_College property:founder ?a } } . ?a rdf:type ontology:common_name }
[]
common name
Q55245 Q229214 Q891104 Q367073 Q919192 Q5933059 Q264004 Q230958 Q231145 Q236396
SYSTEM
Some of them are Laurence Olivier, Elizabeth Woodville, Cecil Kellaway, Donald Crisp, Leo G. Carroll, Hugh Williams, Flora Robson, Merle Oberon, Margaret of Anjou, Geraldine Fitzgerald
Q230958 Q891104 Q229214 Q919192 Q55245 Q231145 Q5933059 Q367073 Q181917 Q1237389 Q264004 Q236396
OR((Q765642,P112,c(Q502895)), (Q1140611,P161,c(Q502895)))
action filter_type
action union
action find
entity Q765642
relation P112
action find
entity Q1140611
relation P161
type Q502895
[ANSWERS] are the names of the founders of Queens' College or were casted in Wuthering Heights
{'OR': [['Q765642', 'P112', {'concept': 'Q502895'}], ['Q1140611', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1140611 property:P161 ?a } UNION { resource:Q765642 property:P112 ?a } } . ?a rdf:type ontology:Q502895 }
Merle Oberon Cecil Kellaway Elizabeth Woodville Leo G. Carroll Laurence Olivier Margaret of Anjou Hugh Williams Donald Crisp David Niven Miles Mander Flora Robson Geraldine Fitzgerald
Laurence Olivier, Elizabeth Woodville, Cecil Kellaway, Donald Crisp, Leo G. Carroll, Hugh Williams, Flora Robson, Merle Oberon, Margaret of Anjou and Geraldine Fitzgerald are the names of the founders of Queens' College or were casted in Wuthering Heights
Laurence Olivier Elizabeth Woodville Cecil Kellaway Donald Crisp Leo G. Carroll Hugh Williams Flora Robson Merle Oberon Margaret of Anjou Geraldine Fitzgerald
action filter_type
action union
action find
entity Queens' College
relation founder
action find
entity Wuthering Heights
relation cast member
type common name
{'OR': [["Queens' College", 'founder', {'concept': 'common name'}], ['Wuthering Heights', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Wuthering_Heights property:cast_member ?a } UNION { resource:Queens'_College property:founder ?a } } . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q55245 Q229214 Q891104 Q367073 Q919192 Q5933059 Q264004 Q230958 Q231145 Q236396
P21
Q290
USER
Which sexes do Laurence Olivier, Elizabeth Woodville, Cecil Kellaway, Donald Crisp, Leo G. Carroll, Hugh Williams, Flora Robson, Merle Oberon, Margaret of Anjou and Geraldine Fitzgerald possess ?
(Q55245,P21,c(Q290)) (Q229214,P21,c(Q290)) (Q891104,P21,c(Q290)) (Q367073,P21,c(Q290)) (Q919192,P21,c(Q290)) (Q5933059,P21,c(Q290)) (Q264004,P21,c(Q290)) (Q230958,P21,c(Q290)) (Q231145,P21,c(Q290)) (Q236396,P21,c(Q290))
action union
action filter_type
action find
entity Q55245
relation P21
type Q290
action filter_type
action find
entity Q229214
relation P21
type Q290
action filter_type
action find
entity Q891104
relation P21
type Q290
action filter_type
action find
entity Q367073
relation P21
type Q290
action filter_type
action find
entity Q919192
relation P21
type Q290
action filter_type
action find
entity Q5933059
relation P21
type Q290
action filter_type
action find
entity Q264004
relation P21
type Q290
action filter_type
action find
entity Q230958
relation P21
type Q290
action filter_type
action find
entity Q231145
relation P21
type Q290
action filter_type
action find
entity Q236396
relation P21
type Q290
['Q55245', 'P21', {'concept': 'Q290'}] ['Q229214', 'P21', {'concept': 'Q290'}] ['Q891104', 'P21', {'concept': 'Q290'}] ['Q367073', 'P21', {'concept': 'Q290'}] ['Q919192', 'P21', {'concept': 'Q290'}] ['Q5933059', 'P21', {'concept': 'Q290'}] ['Q264004', 'P21', {'concept': 'Q290'}] ['Q230958', 'P21', {'concept': 'Q290'}] ['Q231145', 'P21', {'concept': 'Q290'}] ['Q236396', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Q55245 ) ( resource:Q229214 ) } . ?o property:P21 ?m }
Laurence Olivier Elizabeth Woodville Cecil Kellaway Donald Crisp Leo G. Carroll Hugh Williams Flora Robson Merle Oberon Margaret of Anjou Geraldine Fitzgerald
action union
action filter_type
action find
entity Laurence Olivier
relation gender
type sex
action filter_type
action find
entity Elizabeth Woodville
relation gender
type sex
action filter_type
action find
entity Cecil Kellaway
relation gender
type sex
action filter_type
action find
entity Donald Crisp
relation gender
type sex
action filter_type
action find
entity Leo G. Carroll
relation gender
type sex
action filter_type
action find
entity Hugh Williams
relation gender
type sex
action filter_type
action find
entity Flora Robson
relation gender
type sex
action filter_type
action find
entity Merle Oberon
relation gender
type sex
action filter_type
action find
entity Margaret of Anjou
relation gender
type sex
action filter_type
action find
entity Geraldine Fitzgerald
relation gender
type sex
['Laurence Olivier', 'gender', {'concept': 'sex'}] ['Elizabeth Woodville', 'gender', {'concept': 'sex'}] ['Cecil Kellaway', 'gender', {'concept': 'sex'}] ['Donald Crisp', 'gender', {'concept': 'sex'}] ['Leo G. Carroll', 'gender', {'concept': 'sex'}] ['Hugh Williams', 'gender', {'concept': 'sex'}] ['Flora Robson', 'gender', {'concept': 'sex'}] ['Merle Oberon', 'gender', {'concept': 'sex'}] ['Margaret of Anjou', 'gender', {'concept': 'sex'}] ['Geraldine Fitzgerald', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Laurence_Olivier ) ( resource:Elizabeth_Woodville ) } . ?o property:gender ?m }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581072 Q6581072 Q6581072
(Q55245,P21,c(Q290)) (Q229214,P21,c(Q290)) (Q891104,P21,c(Q290)) (Q367073,P21,c(Q290)) (Q919192,P21,c(Q290)) (Q5933059,P21,c(Q290)) (Q264004,P21,c(Q290)) (Q230958,P21,c(Q290)) (Q231145,P21,c(Q290)) (Q236396,P21,c(Q290))
action union
action filter_type
action find
entity Q55245
relation P21
type Q290
action filter_type
action find
entity Q229214
relation P21
type Q290
action filter_type
action find
entity Q891104
relation P21
type Q290
action filter_type
action find
entity Q367073
relation P21
type Q290
action filter_type
action find
entity Q919192
relation P21
type Q290
action filter_type
action find
entity Q5933059
relation P21
type Q290
action filter_type
action find
entity Q264004
relation P21
type Q290
action filter_type
action find
entity Q230958
relation P21
type Q290
action filter_type
action find
entity Q231145
relation P21
type Q290
action filter_type
action find
entity Q236396
relation P21
type Q290
[ANSWERS]
['Q55245', 'P21', {'concept': 'Q290'}] ['Q229214', 'P21', {'concept': 'Q290'}] ['Q891104', 'P21', {'concept': 'Q290'}] ['Q367073', 'P21', {'concept': 'Q290'}] ['Q919192', 'P21', {'concept': 'Q290'}] ['Q5933059', 'P21', {'concept': 'Q290'}] ['Q264004', 'P21', {'concept': 'Q290'}] ['Q230958', 'P21', {'concept': 'Q290'}] ['Q231145', 'P21', {'concept': 'Q290'}] ['Q236396', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Q55245 ) ( resource:Q229214 ) } . ?o property:P21 ?m }
male female male male male male female female female female
Laurence Olivier , Elizabeth Woodville , Cecil Kellaway , Donald Crisp , Leo G. Carroll , Hugh Williams , Flora Robson , Merle Oberon , Margaret of Anjou and Geraldine Fitzgerald possess the male, female and male
male female male
action union
action filter_type
action find
entity Laurence Olivier
relation gender
type sex
action filter_type
action find
entity Elizabeth Woodville
relation gender
type sex
action filter_type
action find
entity Cecil Kellaway
relation gender
type sex
action filter_type
action find
entity Donald Crisp
relation gender
type sex
action filter_type
action find
entity Leo G. Carroll
relation gender
type sex
action filter_type
action find
entity Hugh Williams
relation gender
type sex
action filter_type
action find
entity Flora Robson
relation gender
type sex
action filter_type
action find
entity Merle Oberon
relation gender
type sex
action filter_type
action find
entity Margaret of Anjou
relation gender
type sex
action filter_type
action find
entity Geraldine Fitzgerald
relation gender
type sex
['Laurence Olivier', 'gender', {'concept': 'sex'}] ['Elizabeth Woodville', 'gender', {'concept': 'sex'}] ['Cecil Kellaway', 'gender', {'concept': 'sex'}] ['Donald Crisp', 'gender', {'concept': 'sex'}] ['Leo G. Carroll', 'gender', {'concept': 'sex'}] ['Hugh Williams', 'gender', {'concept': 'sex'}] ['Flora Robson', 'gender', {'concept': 'sex'}] ['Merle Oberon', 'gender', {'concept': 'sex'}] ['Margaret of Anjou', 'gender', {'concept': 'sex'}] ['Geraldine Fitzgerald', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?o ) { ( resource:Laurence_Olivier ) ( resource:Elizabeth_Woodville ) } . ?o property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55245
P1346
Q618779
USER
Which awards were Laurence Olivier decalred as a champion of ?
(c(Q618779),P1346,Q55245)
action filter_type
action find_reverse
entity Q55245
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q55245']
SELECT DISTINCT ?i WHERE { ?i property:P1346 resource:Q55245 . ?i rdf:type ontology:Q618779 }
Laurence Olivier
action filter_type
action find_reverse
entity Laurence Olivier
relation winner
type award
[{'concept': 'award'}, 'winner', 'Laurence Olivier']
SELECT DISTINCT ?i WHERE { ?i property:winner resource:Laurence_Olivier . ?i rdf:type ontology:award }
[]
award
Q963068 Q945887 Q989453
SYSTEM
Sonning Prize, Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie, Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie
Q963068 Q945887 Q989453
(c(Q618779),P1346,Q55245)
action filter_type
action find_reverse
entity Q55245
relation P1346
type Q618779
[ANSWERS] Laurence Olivier were decalred as a champion of
[{'concept': 'Q618779'}, 'P1346', 'Q55245']
SELECT DISTINCT ?i WHERE { ?i property:P1346 resource:Q55245 . ?i rdf:type ontology:Q618779 }
Sonning Prize Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie
Sonning Prize, Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie and Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie Laurence Olivier were decalred as a champion of
Sonning Prize Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie
action filter_type
action find_reverse
entity Laurence Olivier
relation winner
type award
[{'concept': 'award'}, 'winner', 'Laurence Olivier']
SELECT DISTINCT ?i WHERE { ?i property:winner resource:Laurence_Olivier . ?i rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q963068 Q945887 Q989453
P166
Q502895
USER
Who were awarded with those awards ?
(c(Q502895),P166,Q963068) (c(Q502895),P166,Q945887) (c(Q502895),P166,Q989453)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q963068'] [{'concept': 'Q502895'}, 'P166', 'Q945887'] [{'concept': 'Q502895'}, 'P166', 'Q989453']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:Q963068 ) ( resource:Q945887 ) ( resource:Q989453 ) } . ?f rdf:type ontology:Q502895 . ?f property:P166 ?l }
Sonning Prize Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Sonning Prize'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:Sonning_Prize ) ( resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Miniseries_or_a_Movie ) ( resource:Primetime_Emmy_Award_for_Outstanding_Lead_Actor_in_a_Miniseries_or_a_Movie ) } . ?f rdf:type ontology:common_name . ?f property:award_received ?l }
[]
common name
Q103876 Q103876 Q219546
SYSTEM
Peter O'Toole for 1st, 2nd, Albert Finney for 3rd
Q765 Q446717 Q310318 Q311615 Q103876 Q103876 Q103784 Q309486 Q211322 Q244674 Q223117 Q41163 Q41163 Q315604 Q219546 Q104081 Q313043 Q106481
(c(Q502895),P166,Q963068) (c(Q502895),P166,Q945887) (c(Q502895),P166,Q989453)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P166', 'Q963068'] [{'concept': 'Q502895'}, 'P166', 'Q945887'] [{'concept': 'Q502895'}, 'P166', 'Q989453']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:Q963068 ) ( resource:Q945887 ) ( resource:Q989453 ) } . ?f rdf:type ontology:Q502895 . ?f property:P166 ?l }
Dario Fo Dabney Coleman David Strathairn Thomas Haden Church Peter O'Toole Peter O'Toole Donald Sutherland Martin Freeman Tom Wilkinson Benedict Cumberbatch Stanley Tucci Al Pacino Al Pacino Barry Pepper Albert Finney Mickey Rooney Richard Jenkins Alan Rickman
Peter O'Toole, Peter O'Toole and Albert Finney were awarded with those awards
Peter O'Toole Peter O'Toole Albert Finney
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Sonning Prize'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie'] [{'concept': 'common name'}, 'award received', 'Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie']
SELECT DISTINCT ?f WHERE { VALUES ( ?l ) { ( resource:Sonning_Prize ) ( resource:Primetime_Emmy_Award_for_Outstanding_Supporting_Actor_in_a_Miniseries_or_a_Movie ) ( resource:Primetime_Emmy_Award_for_Outstanding_Lead_Actor_in_a_Miniseries_or_a_Movie ) } . ?f rdf:type ontology:common_name . ?f property:award_received ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q103876
P40
Q502895
USER
Who are an offsprings of that one ?
(Q103876,P40,c(Q502895))
action filter_type
action find
entity Q103876
relation P40
type Q502895
['Q103876', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q103876 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Peter O'Toole
action filter_type
action find
entity Peter O'Toole
relation child
type common name
["Peter O'Toole", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Peter_O'Toole property:child ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q219546
SYSTEM
Did you mean Albert Finney ?
Q103876 Q103876 Q219546
(Q103876,P40,c(Q502895)) (Q103876,P40,c(Q502895)) (Q219546,P40,c(Q502895))
[ANSWER]
['Q103876', 'P40', {'concept': 'Q502895'}] ['Q103876', 'P40', {'concept': 'Q502895'}] ['Q219546', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q103876 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Peter O'Toole Peter O'Toole Albert Finney
Did you mean Albert Finney ?
Albert Finney
["Peter O'Toole", 'child', {'concept': 'common name'}] ["Peter O'Toole", 'child', {'concept': 'common name'}] ['Albert Finney', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Peter_O'Toole property:child ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Peter O'Toole. Could you tell me the answer for that?
(Q103876,P40,c(Q502895))
Q103876
['Q103876', 'P40', {'concept': 'Q502895'}]
["Peter O'Toole", 'child', {'concept': 'common name'}]
[]
Q1735703 Q1869856
SYSTEM
Kate O'Toole, Lorcan O’Toole
Q1735703 Q1869856
(Q103876,P40,c(Q502895))
action filter_type
action find
entity Q103876
relation P40
type Q502895
Are an offsprings of that one of [ANSWERS]
['Q103876', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q103876 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Kate O'Toole Lorcan O’Toole
Are an offsprings of that one of Kate O'Toole and Lorcan O’Toole
Kate O'Toole Lorcan O’Toole
action filter_type
action find
entity Peter O'Toole
relation child
type common name
["Peter O'Toole", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Peter_O'Toole property:child ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q103876
P40
Q502895
USER
Do Peter O'Toole have those ones as a child ?
(Q103876,P40,Q1735703) (Q103876,P40,Q1869856)
action is_in
entity prev_answer
action find
entity Q103876
relation P40
['Q103876', 'P40', 'Q1735703'] ['Q103876', 'P40', 'Q1869856']
ASK WHERE { resource:Q103876 property:P40 ?q . VALUES ( ?q ) { ( resource:Q1735703 ) ( resource:Q1869856 ) } }
Peter O'Toole
action is_in
entity prev_answer
action find
entity Peter O'Toole
relation child
["Peter O'Toole", 'child', "Kate O'Toole"] ["Peter O'Toole", 'child', 'Lorcan O’Toole']
ASK WHERE { resource:Peter_O'Toole property:child ?q . VALUES ( ?q ) { ( resource:Kate_O'Toole ) ( resource:Lorcan_O’Toole ) } }
[]
common name
SYSTEM
YES
(Q103876,P40,Q1735703) (Q103876,P40,Q1869856)
action is_in
entity prev_answer
action find
entity Q103876
relation P40
[ANSWER]
['Q103876', 'P40', 'Q1735703'] ['Q103876', 'P40', 'Q1869856']
ASK WHERE { resource:Q103876 property:P40 ?q . VALUES ( ?q ) { ( resource:Q1735703 ) ( resource:Q1869856 ) } }
Yes
action is_in
entity prev_answer
action find
entity Peter O'Toole
relation child
["Peter O'Toole", 'child', "Kate O'Toole"] ["Peter O'Toole", 'child', 'Lorcan O’Toole']
ASK WHERE { resource:Peter_O'Toole property:child ?q . VALUES ( ?q ) { ( resource:Kate_O'Toole ) ( resource:Lorcan_O’Toole ) } }
[]