Simple Question (Direct)
Simple Question
Q19932311
P106
Q12737077
USER
Which occupations have Robert Frankland Russell as his/her 's career ?
(Q19932311,P106,c(Q12737077))
action filter_type
action find
entity Q19932311
relation P106
type Q12737077
['Q19932311', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q19932311 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Robert Frankland Russell
action filter_type
action find
entity Robert Frankland Russell
relation occupation
type occupation
['Robert Frankland Russell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Robert_Frankland_Russell property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q1028181 Q82955
SYSTEM
painter, politician
Q1028181 Q82955
(Q19932311,P106,c(Q12737077))
action filter_type
action find
entity Q19932311
relation P106
type Q12737077
The [ANSWERS] have Robert Frankland Russell as his/her 's career
['Q19932311', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q19932311 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
painter politician
The painter and politician have Robert Frankland Russell as his/her 's career
painter politician
action filter_type
action find
entity Robert Frankland Russell
relation occupation
type occupation
['Robert Frankland Russell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Robert_Frankland_Russell property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19932311
P1412
Q34770
USER
Which language is spoken by that person ?
(Q1028181,P1412,c(Q34770)) (Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q19932311
relation P1412
type Q34770
['Q1028181', 'P1412', {'concept': 'Q34770'}] ['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q19932311 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Robert Frankland Russell
action filter_type
action find
entity Robert Frankland Russell
relation languages spoken, written or signed
type language
['painter', 'languages spoken, written or signed', {'concept': 'language'}] ['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Robert_Frankland_Russell property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1028181,P1412,c(Q34770)) (Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q19932311
relation P1412
type Q34770
Are [ANSWER] is spoken by that person
['Q1028181', 'P1412', {'concept': 'Q34770'}] ['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q19932311 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
Are English is spoken by that person
English
action filter_type
action find
entity Robert Frankland Russell
relation languages spoken, written or signed
type language
['painter', 'languages spoken, written or signed', {'concept': 'language'}] ['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Robert_Frankland_Russell property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19932311
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q1860)
action filter_type
action find_reverse
entity Q19932311
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1860']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q19932311 . ?s rdf:type ontology:Q502895 }
Robert Frankland Russell
action filter_type
action find_reverse
entity Robert Frankland Russell
relation child
type common name
[{'concept': 'common name'}, 'child', 'English']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Robert_Frankland_Russell . ?s rdf:type ontology:common_name }
[]
common name
Q7529125
SYSTEM
Sir Thomas Frankland, 6th Baronet
Q7529125
(c(Q502895),P40,Q1860)
action filter_type
action find_reverse
entity Q19932311
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q1860']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q19932311 . ?s rdf:type ontology:Q502895 }
Sir Thomas Frankland, 6th Baronet
Sir Thomas Frankland, 6th Baronet has that one as a child
Sir Thomas Frankland, 6th Baronet
action filter_type
action find_reverse
entity Robert Frankland Russell
relation child
type common name
[{'concept': 'common name'}, 'child', 'English']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Robert_Frankland_Russell . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7529125
P39
Q12737077
USER
Which occupations were the positions occupied by that person ?
(Q7529125,P39,c(Q12737077))
action filter_type
action find
entity Q7529125
relation P39
type Q12737077
['Q7529125', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7529125 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Sir Thomas Frankland, 6th Baronet
action filter_type
action find
entity Sir Thomas Frankland, 6th Baronet
relation position held
type occupation
['Sir Thomas Frankland, 6th Baronet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sir_Thomas_Frankland,_6th_Baronet property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q18015642 Q16707842
SYSTEM
Member of Parliament in the Parliament of Great Britain, Member of Parliament in the United Kingdom
Q18015642 Q16707842
(Q7529125,P39,c(Q12737077))
action filter_type
action find
entity Q7529125
relation P39
type Q12737077
The [ANSWERS] were the positions occupied by that person
['Q7529125', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7529125 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
The Member of Parliament in the Parliament of Great Britain and Member of Parliament in the United Kingdom were the positions occupied by that person
Member of Parliament in the Parliament of Great Britain Member of Parliament in the United Kingdom
action filter_type
action find
entity Sir Thomas Frankland, 6th Baronet
relation position held
type occupation
['Sir Thomas Frankland, 6th Baronet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sir_Thomas_Frankland,_6th_Baronet property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1064724
P39
Q502895
USER
Were Sir Charles Hamilton, 2nd Baronet of Trebinshun House responsible for occupying the position of those occupations ?
(Q1064724,P39,Q18015642) (Q1064724,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q1064724
relation P39
['Q1064724', 'P39', 'Q18015642'] ['Q1064724', 'P39', 'Q16707842']
ASK WHERE { resource:Q1064724 property:P39 ?s . VALUES ( ?s ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } }
Sir Charles Hamilton, 2nd Baronet of Trebinshun House
action is_in
entity prev_answer
action find
entity Sir Charles Hamilton, 2nd Baronet of Trebinshun House
relation position held
['Sir Charles Hamilton, 2nd Baronet of Trebinshun House', 'position held', 'Member of Parliament in the Parliament of Great Britain'] ['Sir Charles Hamilton, 2nd Baronet of Trebinshun House', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Sir_Charles_Hamilton,_2nd_Baronet_of_Trebinshun_House property:position_held ?s . VALUES ( ?s ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]
common name
SYSTEM
YES
(Q1064724,P39,Q18015642) (Q1064724,P39,Q16707842)
action is_in
entity prev_answer
action find
entity Q1064724
relation P39
[ANSWER]
['Q1064724', 'P39', 'Q18015642'] ['Q1064724', 'P39', 'Q16707842']
ASK WHERE { resource:Q1064724 property:P39 ?s . VALUES ( ?s ) { ( resource:Q18015642 ) ( resource:Q16707842 ) } }
Yes
action is_in
entity prev_answer
action find
entity Sir Charles Hamilton, 2nd Baronet of Trebinshun House
relation position held
['Sir Charles Hamilton, 2nd Baronet of Trebinshun House', 'position held', 'Member of Parliament in the Parliament of Great Britain'] ['Sir Charles Hamilton, 2nd Baronet of Trebinshun House', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Sir_Charles_Hamilton,_2nd_Baronet_of_Trebinshun_House property:position_held ?s . VALUES ( ?s ) { ( resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain ) ( resource:Member_of_Parliament_in_the_United_Kingdom ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q16707842
P39 P21
Q502895
USER
Which people were responsible for occupying the position of Member of Parliament in the United Kingdom and have female as the sex ?
AND((c(Q502895),P39,Q16707842), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q16707842
relation P39
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q16707842'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q16707842 . ?e property:P21 resource:Q6581072 . ?e rdf:type ontology:Q502895 }
female Member of Parliament in the United Kingdom
action filter_type
action intersection
action find_reverse
entity Member of Parliament in the United Kingdom
relation position held
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Member of Parliament in the United Kingdom'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:Member_of_Parliament_in_the_United_Kingdom . ?e property:gender resource:female . ?e rdf:type ontology:common_name }
[]
common name
Q6859600 Q267930 Q6721501 Q740654 Q5986973 Q334443 Q16013699 Q7405184 Q262727 Q1878797
SYSTEM
Some of them are Millie Miller, Yasmin Qureshi, Mabel Philipson, Gillian Merron, Ida Copeland, Jean Corston, Baroness Corston, Margaret McKay, Sally Keeble, Mo Mowlam, Lynda, Baroness Chalker of Wallasey
Q5271257 Q19883132 Q333680 Q6808694 Q334128 Q578772 Q334498 Q5478591 Q392101 Q4858727 Q5702525 Q258088 Q584062 Q750135 Q264766 Q333722 Q7634060 Q291470 Q4941661 Q17057181 Q544947 Q153454 Q4943807 Q336111 Q6698422 Q16012745 Q262727 Q266793 Q7493042 Q4859256 Q3411409 Q291502 Q332799 Q1533969 Q580464 Q256225 Q580784 Q262335 Q7405184 Q6721510 Q334348 Q577897 Q5986973 Q5451069 Q727460 Q290554 Q391605 Q750421 Q4766483 Q1878797 Q16121348 Q7095360 Q15968114 Q689166 Q300389 Q4767335 Q695272 Q265190 Q251095 Q4935679 Q727410 Q7313013 Q6205220 Q260429 Q5702814 Q6794266 Q263969 Q6069293 Q575217 Q750078 Q6121041 Q5349851 Q4725980 Q19868554 Q6205517 Q19882771 Q4898834 Q694996 Q532347 Q5248514 Q338322 Q6708590 Q266238 Q19881816 Q261553 Q580431 Q389855 Q263416 Q19883053 Q9670 Q332696 Q267930 Q5496643 Q6470476 Q334261 Q333903 Q337162 Q584320 Q333992 Q6698469 Q6171089 Q7188628 Q334006 Q6759511 Q334097 Q291057 Q5353173 Q263923 Q391792 Q24034408 Q6304520 Q13530031 Q5549794 Q576208 Q479171 Q6205279 Q694639 Q391483 Q6499217 Q544101 Q24668273 Q676781 Q19874405 Q264776 Q682694 Q19871785 Q19882420 Q20027903 Q291748 Q333012 Q5110952 Q3714285 Q19883129 Q6759736 Q581095 Q20648527 Q7422588 Q6698437 Q580375 Q264374 Q5761464 Q265870 Q4940673 Q237217 Q6205412 Q1686926 Q302036 Q392064 Q4693048 Q5363505 Q501942 Q6820932 Q6418606 Q5126940 Q15968427 Q285249 Q4944283 Q6204390 Q5338644 Q7050227 Q303411 Q6551892 Q6850973 Q775059 Q7279412 Q7920843 Q303253 Q501883 Q7933220 Q4966571 Q300049 Q302815 Q7382939 Q391442 Q6766268 Q1557837 Q263653 Q333058 Q7500345 Q694984 Q258586 Q583783 Q264510 Q7416 Q7660931 Q564093 Q1208851 Q6152317 Q7498860 Q15229376 Q291557 Q5338693 Q286043 Q5416313 Q272644 Q501860 Q272642 Q750188 Q264023 Q16107112 Q580321 Q19875589 Q24165 Q373814 Q333235 Q337970 Q5242429 Q2628635 Q137911 Q266978 Q6376234 Q1866867 Q676658 Q665743 Q695047 Q3363355 Q234182 Q5222678 Q5338643 Q6792660 Q6779785 Q264560 Q290855 Q6938655 Q19874839 Q5163567 Q16013699 Q6205083 Q5045078 Q545964 Q5591062 Q19871637 Q263299 Q576175 Q4766346 Q15047180 Q259359 Q373047 Q6308404 Q390756 Q332968 Q660827 Q5298474 Q6551595 Q6760035 Q302763 Q19871819 Q18164278 Q332660 Q182408 Q3411330 Q334280 Q290474 Q728176 Q272500 Q4768207 Q13529870 Q6859600 Q575452 Q578037 Q695007 Q298846 Q694759 Q4990196 Q6116208 Q303011 Q271828 Q390949 Q195013 Q4762477 Q6765333 Q391029 Q334443 Q574896 Q575337 Q4939430 Q750293 Q6792693 Q478832 Q533649 Q195768 Q4768805 Q6152441 Q337563 Q4820193 Q576615 Q19872361 Q391986 Q332843 Q2883936 Q7245582 Q333087 Q7145583 Q333326 Q4355733 Q5349373 Q749793 Q332751 Q13530019 Q6709370 Q168606 Q7702150 Q6778777 Q333250 Q333550 Q5460742 Q578990 Q5057975 Q6205378 Q577362 Q4936901 Q4966745 Q4725802 Q327790 Q6721501 Q695147 Q727933 Q4877214 Q16732295 Q478305 Q13529903 Q4768656 Q575669 Q391416 Q4899014 Q740654 Q7648103 Q695131 Q266078 Q337529 Q3829225 Q6205153 Q6778791 Q750381 Q479115 Q1716798 Q334024 Q19882967 Q16190712 Q5701951 Q269638 Q6116474 Q328682 Q7422176 Q4768503 Q478738 Q577227 Q6153138 Q4793375 Q7422880 Q6811295 Q304302 Q750091 Q6303339 Q272201 Q19883283 Q688913 Q182904 Q7493176 Q1660170 Q4944413 Q19957769 Q7145639 Q5703202 Q261773 Q337833 Q333953 Q676383 Q333852 Q15969400 Q303157 Q5298607 Q15525275 Q270042 Q7160658 Q4725734 Q19863151 Q7705570 Q5416253 Q4762543 Q7368880 Q578272 Q260876 Q334015 Q222985 Q332954 Q7781055 Q272408 Q259423 Q727347 Q750260 Q334376 Q19882845 Q232639 Q300107 Q575733 Q689041
AND((c(Q502895),P39,Q16707842), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q16707842
relation P39
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q16707842'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q16707842 . ?e property:P21 resource:Q6581072 . ?e rdf:type ontology:Q502895 }
Diana Organ Patricia Gibson Chloe Smith Megan Lloyd George Helen Liddell, Baroness Liddell of Coatdyke Tessa Munt Irene Adams, Baroness Adams of Craigielea Frances Davidson, Viscountess Davidson Nia Griffith Barbara Ayrton-Gould Helen Jackson Debbie Abrahams Esther McVey Pauline Latham Theresa May Betty Boothroyd Sue Doughty Mary Creagh Patsy Calton Karin Smyth Anne McIntosh Diane Abbott Claire Curtis-Thomas Lynda Clark, Baroness Clark of Calton Lucy Middleton Joyce Butler Mo Mowlam Theresa Villiers Sheila Faith Barbara Roche Catherine McKinnell Stella Creasy Patricia Hewitt Sally Oppenheim-Barnes, Baroness Oppenheim-Barnes Penny Mordaunt Oona King Anne Milton Jenny Willott Sally Keeble Mabel Ridealgh Jenny Tonge, Baroness Tonge Pamela Nash Ida Copeland Fiona Jones Cathy Jamieson Therese Coffey Helen Goodman Helen Jones Ann Keen Lynda, Baroness Chalker of Wallasey Jenny Jones Oonagh McDonald Patricia McLaughlin Kate Hoey Gemma Doyle Anna McCurley Naomi Long Annette Brooke Caroline Flint Janet Anderson Siân James Renee Short Joan Lestor, Baroness Lestor of Eccles Harriett Baldwin Helen McElhone Mavis Tate Nicola Blackwood Irene Ward, Baroness Ward Dawn Primarolo Jessica Lee Jacqui Lait Eirene White, Baroness White Alice Mahon Kirsty Blackman Joan Vickers, Baroness Vickers Alison Thewliss Betty Harvie Anderson Anne Main Angela Browning Debra Shipley Kali Mountford Lynda Waltho Karen Buck Marion Fellows Sarah Wollaston Jessica Morden Anna Soubry Joan Walley Angela Crawley Caroline Lucas Virginia Bottomley Yasmin Qureshi Freda Corbet Lady Olga Maitland Maria Miller Margaret Ewing Jill Knight Anne McGuire Eleanor Rathbone Lucy Powell Jean Mann Phyllis Starkey Gwyneth Dunwoody Margaret Herbison Emma Nicholson Yvette Cooper Elaine Burton, Baroness Burton of Coventry Roberta Blackman-Woods Helen Grant Gill Furniss Judy Mallaber Marion Roe Geraldine Smith Chi Onwurah Amber Rudd Joan Maynard Alison McGovern Mary Glindon Laura Moffatt Sandra Gidley Rosena Allin-Khan Julie Hilling Philippa Whitford Angie Bray Julie Kirkbride Ruth Cadbury Hannah Bardell Michelle Thomson Margaret Curran Justine Greening Christine Butler Doris Fisher, Baroness Fisher of Rednal Margaret Ferrier Margaret Moran Kerry McCarthy Marie Rimmer Sarah McCarthy-Fry Lucy Noel-Buxton, Baroness Noel-Buxton Nicky Morgan Heather Wheeler Hilda Runciman, Viscountess Runciman of Doxford Lyn Brown Helen Clark Jacqui Smith Joan Ryan Jennie Lee, Baroness Lee of Asheridge Jackie Doyle-Price Lilian Greenwood Agnes Hardie Elizabeth Shields Emma Reynolds Mervyn Pike, Baroness Pike Kitty Ussher Clarice Shaw Mary McAlister Ann Clwyd Valerie Davey Jo Richardson Edith Pitt Norah Runge Natascha Engel Linda Perham Mildred Gordon Beverley Hughes Rachel Squire Vera Woodhouse, Lady Terrington Louise Ellman Linda Riordan Violet Bathurst, Lady Apsley Christine McCafferty Gloria De Piero Maria Eagle Ruth Dalton Pat Glass Marjorie Graves Gwendolen Guinness, Countess of Iveagh Angela Watkinson Gillian Shephard Shona McIsaac Seema Malhotra Nadine Dorries Louise Mensch Eilidh Whiteford Margaret Thatcher Sylvia Heal Annabelle Ewing Diana Maddock, Baroness Maddock Jane Griffiths Shirley Summerskill Lena Jeger, Baroness Jeger Tracey Crouch Edith Wills Ann Coffey Evelyn Emmet, Baroness Emmet of Amberley Ruth Kelly Margaret Ritchie Tessa Jowell Eleanor Laing Hazel Blears Christine Russell Anne Marie Morris Carol Monaghan Hélène Hayman Rosemary McKenna Iris Robinson Michelle Gildernew Dawn Butler Bernadette Devlin McAliskey Joyce Quin, Baroness Quin Valerie Vaz Katharine Stewart-Murray, Duchess of Atholl Llin Golding, Baroness Golding Meg Hillier Edith Summerskill, Baroness Summerskill Fiona Mactaggart Bessie Braddock Harriet Harman Dari Taylor Edith Picton-Turbervill Maureen Colquhoun Mary Holt Karen Bradley Rosie Cooper Muriel Nichol Kirsten Oswald Constance Monks Margaret McKay Joan Hall Caroline Ganley Lorna Fitzsimons Grace Colman Deidre Brock Luciana Berger Sandra Osborne Ann Cryer Maria Fyfe Heidi Alexander Anne McLaughlin Julie Morgan Yvonne Fovargue Susan Kramer Barbara Follett Dorothy Jewson Linda Gilroy Margaret Wintringham Angela Eagle Lisa Cameron Angela Rayner Hilary Armstrong Glenda Jackson Ann McKechin Florence Horsbrugh, Baroness Horsbrugh Madeleine Moon Julia Goldsworthy Sarah Teather Anne Campbell Judith Chaplin Millie Miller Claire Perry Lisa Nandy Shabana Mahmood Ann Widdecombe Siobhain McDonagh Claire Ward Jackie Ballard Julie Elliott Katy Clark Angela Smith Nancy Astor, Viscountess Astor Angela Knight Marion Phillips Lorraine Fullbrook Jean Corston, Baroness Corston Rachel Reeves Bridget Phillipson Liz Blackman Barbara Keeley Maureen Hicks Laura Sandys Lady Cynthia Mosley Constance Markievicz Anne Snelgrove Jane Kennedy Vera Baird Audrey Wise Fiona O'Donnell Jo Cox Kate Green Ann Taylor, Baroness Taylor of Bolton Barbara Castle, Baroness Castle of Blackburn Priscilla Buchan, Baroness Tweedsmuir Judith Hart Patricia Ford Estelle Morris, Baroness Morris of Yardley Elaine Kellett-Bowman Eileen Gordon Charlotte Leslie Ellen Wilkinson Elizabeth Peacock Lynne Jones Angela Smith, Baroness Smith of Basildon Teresa Gorman Mary Ada Pickford Shirley Williams Clare Short Florence Paton Meg Munn Celia Barlow Joan Quennell Sarah Newton Charlotte Atkins Bridget Prentice Alice Cullen Jo Swinson Mabel Philipson Karen Lumley Diana Johnson Beatrice Wright Natalie McGarry Rebecca Harris Muriel Gammans Anne Moffat Teresa Pearce Sheila Gilmore Betty Williams Gillian Merron Susan Lawrence Mary Macleod Fiona Bruce Ann Winterton Leah Manning Joan Humble Mary Agnes Hamilton Susan Jones Joan Ruddock Ray Michie, Baroness Michie of Gallanach Liz Lynne Joanna Cherry Emma Lewell-Buck Helen Brown Shaw Jennifer Chapman Jackie Lawrence Gisela Stuart Sarah Champion Anne Kerr Alison Seabeck Caroline Nokes Janet Adamson Ethel Bentham Sarah Ward Melanie Johnson Lynne Featherstone Andrea Leadsom Judith Church Elizabeth Truss Corri Wilson Margaret Hodge Margaret Bondfield Sheila Wright Edwina Currie Janet Dean Suella Fernandes Patricia Hornsby-Smith Helen Southworth Rosie Winterton Candy Atherton Roseanna Cunningham Sylvia Hermon Cheryl Gillan Harriet Slater Jane Ellison Dorothy Rees Julia Drown Lorely Burt Peggy Fenner Alice Bacon, Baroness Bacon Mhairi Black Tess Kingham Eveline Hill Angela Rumbold Rosie Barnes Sheryll Murray Anne Begg Winnie Ewing Janet Fookes, Baroness Fookes Caroline Spelman Thelma Cazalet-Keir Emily Thornberry Rushanara Ali Margot James Liz Kendall Margo MacDonald Naseem Shah Margaret Beckett Caroline Dinenage Priti Patel Sharon Hodgson
Millie Miller, Yasmin Qureshi, Mabel Philipson, Gillian Merron, Ida Copeland, Jean Corston, Baroness Corston, Margaret McKay, Sally Keeble, Mo Mowlam and Lynda, Baroness Chalker of Wallasey were responsible for occupying the position of Member of Parliament in the United Kingdom and have female as the sex
Millie Miller Yasmin Qureshi Mabel Philipson Gillian Merron Ida Copeland Jean Corston, Baroness Corston Margaret McKay Sally Keeble Mo Mowlam Lynda, Baroness Chalker of Wallasey
action filter_type
action intersection
action find_reverse
entity Member of Parliament in the United Kingdom
relation position held
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Member of Parliament in the United Kingdom'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:Member_of_Parliament_in_the_United_Kingdom . ?e property:gender resource:female . ?e rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of that person ?
(Q740654,P27,c(Q15617994))
['Q740654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q740654 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Gillian Merron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Gillian_Merron property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q7405184
SYSTEM
Did you mean Sally Keeble ?
(Q6859600,P27,c(Q15617994)) (Q267930,P27,c(Q15617994)) (Q6721501,P27,c(Q15617994)) (Q740654,P27,c(Q15617994)) (Q5986973,P27,c(Q15617994)) (Q334443,P27,c(Q15617994)) (Q16013699,P27,c(Q15617994)) (Q7405184,P27,c(Q15617994)) (Q262727,P27,c(Q15617994)) (Q1878797,P27,c(Q15617994))
[ANSWER]
['Q6859600', 'P27', {'concept': 'Q15617994'}] ['Q267930', 'P27', {'concept': 'Q15617994'}] ['Q6721501', 'P27', {'concept': 'Q15617994'}] ['Q740654', 'P27', {'concept': 'Q15617994'}] ['Q5986973', 'P27', {'concept': 'Q15617994'}] ['Q334443', 'P27', {'concept': 'Q15617994'}] ['Q16013699', 'P27', {'concept': 'Q15617994'}] ['Q7405184', 'P27', {'concept': 'Q15617994'}] ['Q262727', 'P27', {'concept': 'Q15617994'}] ['Q1878797', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q740654 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Sally Keeble ?
Sally Keeble
['Millie Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Yasmin Qureshi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mabel Philipson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Gillian Merron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ida Copeland', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jean Corston, Baroness Corston', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Margaret McKay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sally Keeble', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mo Mowlam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Lynda, Baroness Chalker of Wallasey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Gillian_Merron property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gillian Merron. Could you tell me the answer for that?
(Q740654,P27,c(Q15617994))
Q740654
['Q740654', 'P27', {'concept': 'Q15617994'}]
['Gillian Merron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q145
(Q740654,P27,c(Q15617994))
[ANSWER]
['Q740654', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q740654 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
1
['Gillian Merron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Gillian_Merron property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atleast 2987 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2987
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { FILTER ( ?w >= 2987 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?w ) WHERE { ?c rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?c } GROUP BY ?c } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2987
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { FILTER ( ?w >= 2987 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?w ) WHERE { ?c rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?c } GROUP BY ?c } }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2987
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { FILTER ( ?w >= 2987 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?w ) WHERE { ?c rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?c } GROUP BY ?c } }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2987
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { FILTER ( ?w >= 2987 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?w ) WHERE { ?c rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?c } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7529125
P27
Q7275
USER
Which state is Sir Thomas Frankland, 6th Baronet an inhabitant of ?
(Q7529125,P27,c(Q7275))
action filter_type
action find
entity Q7529125
relation P27
type Q7275
['Q7529125', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q7529125 property:P27 ?s . ?s rdf:type ontology:Q7275 }
Sir Thomas Frankland, 6th Baronet
action filter_type
action find
entity Sir Thomas Frankland, 6th Baronet
relation country of citizenship
type state
['Sir Thomas Frankland, 6th Baronet', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Sir_Thomas_Frankland,_6th_Baronet property:country_of_citizenship ?s . ?s rdf:type ontology:state }
[]
state
Q161885
SYSTEM
Kingdom of Great Britain
Q161885
(Q7529125,P27,c(Q7275))
action filter_type
action find
entity Q7529125
relation P27
type Q7275
[ANSWER] is Sir Thomas Frankland, 6th Baronet an inhabitant of
['Q7529125', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q7529125 property:P27 ?s . ?s rdf:type ontology:Q7275 }
Kingdom of Great Britain
Kingdom of Great Britain is Sir Thomas Frankland, 6th Baronet an inhabitant of
Kingdom of Great Britain
action filter_type
action find
entity Sir Thomas Frankland, 6th Baronet
relation country of citizenship
type state
['Sir Thomas Frankland, 6th Baronet', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Sir_Thomas_Frankland,_6th_Baronet property:country_of_citizenship ?s . ?s rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24249596
Q7275
USER
And also tell me about W. H. Reid?
(Q24249596,P27,c(Q7275))
action filter_type
action find
entity Q24249596
relation P27
type Q7275
['Q24249596', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q24249596 property:P27 ?r . ?r rdf:type ontology:Q7275 }
W. H. Reid
action filter_type
action find
entity W. H. Reid
relation country of citizenship
type state
['W. H. Reid', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:W._H._Reid property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]
state
Q174193
SYSTEM
United Kingdom of Great Britain and Ireland
Q174193
(Q24249596,P27,c(Q7275))
action filter_type
action find
entity Q24249596
relation P27
type Q7275
[ANSWER]
['Q24249596', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q24249596 property:P27 ?r . ?r rdf:type ontology:Q7275 }
United Kingdom of Great Britain and Ireland
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity W. H. Reid
relation country of citizenship
type state
['W. H. Reid', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:W._H._Reid property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]