Simple Question (Direct)
Simple Question
Q183094
P21
Q290
USER
What is the sex of Adam Ferguson ?
(Q183094,P21,c(Q290))
action filter_type
action find
entity Q183094
relation P21
type Q290
['Q183094', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q183094 property:P21 ?g . ?g rdf:type ontology:Q290 }
Adam Ferguson
action filter_type
action find
entity Adam Ferguson
relation gender
type sex
['Adam Ferguson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Adam_Ferguson property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183094,P21,c(Q290))
action filter_type
action find
entity Q183094
relation P21
type Q290
The sex of Adam Ferguson is the [ANSWER]
['Q183094', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q183094 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of Adam Ferguson is the male
male
action filter_type
action find
entity Adam Ferguson
relation gender
type sex
['Adam Ferguson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Adam_Ferguson property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183094
P69
Q3918
USER
Which university was Adam Ferguson educated at ?
(Q183094,P69,c(Q3918))
action filter_type
action find
entity Q183094
relation P69
type Q3918
['Q183094', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q183094 property:P69 ?u . ?u rdf:type ontology:Q3918 }
Adam Ferguson
action filter_type
action find
entity Adam Ferguson
relation educated at
type university
['Adam Ferguson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:Adam_Ferguson property:educated_at ?u . ?u rdf:type ontology:university }
[]
university
Q216273
SYSTEM
University of St Andrews
Q216273
(Q183094,P69,c(Q3918))
action filter_type
action find
entity Q183094
relation P69
type Q3918
Adam Ferguson was educated in [ANSWER]
['Q183094', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q183094 property:P69 ?u . ?u rdf:type ontology:Q3918 }
University of St Andrews
Adam Ferguson was educated in University of St Andrews
University of St Andrews
action filter_type
action find
entity Adam Ferguson
relation educated at
type university
['Adam Ferguson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:Adam_Ferguson property:educated_at ?u . ?u rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4693568
Q3918
USER
And what about Agop Terzan?
(Q4693568,P69,c(Q3918))
action filter_type
action find
entity Q4693568
relation P69
type Q3918
['Q4693568', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q4693568 property:P69 ?b . ?b rdf:type ontology:Q3918 }
Agop Terzan
action filter_type
action find
entity Agop Terzan
relation educated at
type university
['Agop Terzan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Agop_Terzan property:educated_at ?b . ?b rdf:type ontology:university }
[]
university
Q10176
SYSTEM
University of Lyon
Q10176
(Q4693568,P69,c(Q3918))
action filter_type
action find
entity Q4693568
relation P69
type Q3918
[ANSWER]
['Q4693568', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q4693568 property:P69 ?b . ?b rdf:type ontology:Q3918 }
University of Lyon
University of Lyon
action filter_type
action find
entity Agop Terzan
relation educated at
type university
['Agop Terzan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Agop_Terzan property:educated_at ?b . ?b rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179854
P7
Q502895
USER
Who is Sidney Lee a brother of ?
(c(Q502895),P7,Q179854)
action filter_type
action find_reverse
entity Q179854
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q179854']
SELECT DISTINCT ?l WHERE { ?l property:P7 resource:Q179854 . ?l rdf:type ontology:Q502895 }
Sidney Lee
action filter_type
action find_reverse
entity Sidney Lee
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sidney Lee']
SELECT DISTINCT ?l WHERE { ?l property:brother resource:Sidney_Lee . ?l rdf:type ontology:common_name }
[]
common name
Q5363109
SYSTEM
Elizabeth Lee
Q5363109
(c(Q502895),P7,Q179854)
action filter_type
action find_reverse
entity Q179854
relation P7
type Q502895
Sidney Lee a brother of is the [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q179854']
SELECT DISTINCT ?l WHERE { ?l property:P7 resource:Q179854 . ?l rdf:type ontology:Q502895 }
Elizabeth Lee
Sidney Lee a brother of is the Elizabeth Lee
Elizabeth Lee
action filter_type
action find_reverse
entity Sidney Lee
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Sidney Lee']
SELECT DISTINCT ?l WHERE { ?l property:brother resource:Sidney_Lee . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5363109
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q5363109,P19,c(Q56061))
action filter_type
action find
entity Q5363109
relation P19
type Q56061
['Q5363109', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5363109 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Elizabeth Lee
action filter_type
action find
entity Elizabeth Lee
relation place of birth
type administrative territorial entity
['Elizabeth Lee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Elizabeth_Lee property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5363109,P19,c(Q56061))
action filter_type
action find
entity Q5363109
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q5363109', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q5363109 property:P19 ?l . ?l rdf:type ontology:Q56061 }
London
London is the place of birth of that person
London
action filter_type
action find
entity Elizabeth Lee
relation place of birth
type administrative territorial entity
['Elizabeth Lee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Elizabeth_Lee property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26992315 Q216273
P17
Q15617994
USER
Which administrative territories are University of St Andrews or 2003 Belgian Badminton Championships situated in ?
OR((Q216273,P17,c(Q15617994)), (Q26992315,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q216273
relation P17
action find
entity Q26992315
relation P17
type Q15617994
{'OR': [['Q216273', 'P17', {'concept': 'Q15617994'}], ['Q26992315', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q216273 property:P17 ?a } UNION { resource:Q26992315 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
2003 Belgian Badminton Championships University of St Andrews
action filter_type
action union
action find
entity University of St Andrews
relation country
action find
entity 2003 Belgian Badminton Championships
relation country
type designation for an administrative territorial entity
{'OR': [['University of St Andrews', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2003 Belgian Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:University_of_St_Andrews property:country ?a } UNION { resource:2003_Belgian_Badminton_Championships property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q145
SYSTEM
Belgium, United Kingdom
Q31 Q145
OR((Q216273,P17,c(Q15617994)), (Q26992315,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q216273
relation P17
action find
entity Q26992315
relation P17
type Q15617994
University of St Andrews or 2003 Belgian Badminton Championships are situated in [ANSWERS]
{'OR': [['Q216273', 'P17', {'concept': 'Q15617994'}], ['Q26992315', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q216273 property:P17 ?a } UNION { resource:Q26992315 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Belgium United Kingdom
University of St Andrews or 2003 Belgian Badminton Championships are situated in Belgium and United Kingdom
Belgium United Kingdom
action filter_type
action union
action find
entity University of St Andrews
relation country
action find
entity 2003 Belgian Badminton Championships
relation country
type designation for an administrative territorial entity
{'OR': [['University of St Andrews', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2003 Belgian Badminton Championships', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:University_of_St_Andrews property:country ?a } UNION { resource:2003_Belgian_Badminton_Championships property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q216273
P69 P21
Q502895
USER
Which people are an alumni of University of St Andrews and are a male ?
AND((c(Q502895),P69,Q216273), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q216273
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q216273'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P69 resource:Q216273 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male University of St Andrews
action filter_type
action intersection
action find_reverse
entity University of St Andrews
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'University of St Andrews'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:educated_at resource:University_of_St_Andrews . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q20876913 Q5294766 Q3434493 Q6226339 Q5497702 Q892818 Q6405538 Q11971849 Q14949124 Q6768676
SYSTEM
Some of them are Paul Litchfield, Donald Macgregor, Robert Balfour, John Clephane, Frederick Easson, John Graham, 1st Viscount Dundee, Kieron O'Hara, George Kennedy Young, John Alfred Lush, Mark M. Newell
Q5528165 Q6108724 Q2619904 Q16931392 Q4759020 Q7323613 Q36812 Q8007549 Q4719383 Q5544425 Q5111967 Q7273530 Q6255617 Q14949129 Q14949124 Q4719844 Q24073731 Q14949120 Q14949121 Q1168239 Q647150 Q7027627 Q327716 Q7344222 Q4727309 Q6831367 Q2576989 Q2255249 Q7341573 Q7791880 Q4772404 Q272864 Q6259484 Q5232255 Q5314611 Q20638875 Q6145133 Q2171001 Q6140221 Q19875413 Q8017564 Q1545460 Q6146548 Q5980547 Q8007164 Q5764533 Q1173183 Q432469 Q3161454 Q6131474 Q415928 Q5107495 Q335981 Q4764236 Q16065446 Q7328474 Q21664307 Q19931412 Q19561264 Q18526760 Q4708767 Q1893669 Q7347224 Q271715 Q1174850 Q5290642 Q4757978 Q6253585 Q1009482 Q15994264 Q6239728 Q5528093 Q8014263 Q2847762 Q6218248 Q7341939 Q5722337 Q6218243 Q6218245 Q3701242 Q5231630 Q262861 Q3379658 Q979180 Q428771 Q14949114 Q977300 Q3036050 Q14949116 Q606585 Q7790116 Q750104 Q1681420 Q14949056 Q707825 Q1329203 Q5342870 Q3509767 Q4965455 Q14949118 Q3806508 Q20027836 Q608491 Q2855423 Q7147024 Q4727291 Q313906 Q8010763 Q14949127 Q719623 Q1765791 Q5112204 Q158997 Q1680238 Q14948908 Q20740843 Q4756858 Q6132938 Q7173081 Q5294774 Q21661765 Q5720908 Q5083218 Q18206675 Q5236638 Q2366276 Q5236637 Q7349275 Q327823 Q6135420 Q723850 Q6135425 Q4678756 Q3132606 Q8019570 Q1984955 Q16216842 Q7804225 Q6270165 Q20876913 Q804927 Q332940 Q334480 Q8014086 Q1071778 Q18822342 Q3119932 Q1660944 Q10652 Q5233416 Q6265228 Q5450000 Q7273938 Q7508992 Q5540606 Q5538484 Q435816 Q718435 Q2157371 Q949230 Q110974 Q1333546 Q5545371 Q391169 Q4758647 Q5543435 Q715169 Q4758102 Q5301648 Q2729820 Q5645403 Q266113 Q14949143 Q7171870 Q4887283 Q14948941 Q3041243 Q1057041 Q8018838 Q304095 Q6226786 Q7323792 Q334357 Q981990 Q16030477 Q5237883 Q4718350 Q6385005 Q5537261 Q4718296 Q1677658 Q389096 Q6231534 Q333737 Q731300 Q20731776 Q7349218 Q3057222 Q6143223 Q8015083 Q2005797 Q3435583 Q21068968 Q6536279 Q7793201 Q5593262 Q6144041 Q1818992 Q5387141 Q6236643 Q6405538 Q4719094 Q4719176 Q1065382 Q6263367 Q5528082 Q92855 Q16976820 Q6130260 Q6769664 Q7052039 Q5585891 Q7341887 Q16066471 Q4757717 Q5218270 Q6145273 Q183094 Q4759006 Q7345628 Q2381189 Q892818 Q5026250 Q1887050 Q5542024 Q8014053 Q7411132 Q4892099 Q4708685 Q257054 Q5314527 Q1439561 Q3124592 Q3529088 Q17496343 Q20675599 Q5301258 Q14507348 Q3434493 Q8009274 Q14949108 Q6221469 Q2714246 Q7626375 Q130567 Q7807460 Q443907 Q5615845 Q6244095 Q472470 Q539740 Q3760500 Q5231838 Q2835607 Q7343419 Q460882 Q4756925 Q14949032 Q7183366 Q4756845 Q5344073 Q5980637 Q3525786 Q18527348 Q7822902 Q1583870 Q185189 Q5302141 Q6143811 Q995067 Q22667001 Q16859686 Q5337411 Q19665789 Q11034074 Q189937 Q7965888 Q4798413 Q17479227 Q8014338 Q6257060 Q7349365 Q159592 Q6134688 Q15990340 Q1452552 Q16499754 Q7344388 Q7790366 Q4799090 Q7666047 Q6220644 Q6220640 Q1140191 Q2679370 Q4764117 Q6265617 Q20984601 Q18228529 Q918958 Q5259168 Q6290233 Q7350924 Q4718875 Q19974197 Q4678639 Q5606657 Q6132711 Q7146103 Q5497702 Q2778350 Q20027888 Q20027887 Q5930356 Q7018876 Q40852 Q7341596 Q7146565 Q17022923 Q5542239 Q3394805 Q8015759 Q20984109 Q5386021 Q346723 Q6235759 Q2482444 Q6939260 Q389666 Q1965255 Q11309446 Q7174292 Q14945739 Q7526389 Q5181289 Q7343609 Q122290 Q5717117 Q1173876 Q21061986 Q15691498 Q7345453 Q787355 Q5585740 Q7349321 Q5927430 Q5301783 Q7174066 Q18619123 Q3177551 Q1068423 Q4491812 Q1699692 Q1332801 Q8018078 Q380869 Q1176763 Q3161406 Q7788673 Q16858149 Q7175631 Q16846432 Q7176658 Q6247277 Q4941212 Q6234925 Q6142092 Q5239587 Q335098 Q2758864 Q8724383 Q19974328 Q19877395 Q361653 Q5300247 Q138545 Q2545334 Q7342443 Q1329542 Q7965822 Q7348958 Q5730781 Q14949138 Q16301001 Q1173680 Q14949133 Q14949132 Q14949137 Q5238367 Q14949134 Q7611985 Q1379123 Q5540157 Q5728359 Q510424 Q3546366 Q6988345 Q2900101 Q1386031 Q8010027 Q950764 Q945584 Q7609408 Q18921993 Q6226339 Q4965541 Q365181 Q19881592 Q6421564 Q7926251 Q924515 Q5525004 Q7365086 Q16201883 Q315495 Q7343166 Q5539745 Q8067753 Q6835295 Q6396199 Q5540138 Q5536661 Q6386679 Q6831284 Q336208 Q6728744 Q505827 Q7609085 Q15968658 Q7340868 Q3351364 Q5560962 Q7793611 Q762659 Q5339786 Q5931547 Q1750468 Q509471 Q5240735 Q6525715 Q19980399 Q6263348 Q5540237 Q4861799 Q5341792 Q5294141 Q14949101 Q5528127 Q5233414 Q7528051 Q74329 Q902546 Q11971849 Q5981402 Q17152182 Q923718 Q337000 Q7342128 Q5538483 Q7345761 Q4730988 Q5325544 Q7527022 Q2580738 Q334971 Q8016781 Q4708698 Q1160532 Q5107831 Q5145078 Q7795379 Q7329843 Q7790601 Q6139627 Q5542242 Q4758051 Q349771 Q662282 Q5592245 Q15042554 Q5538687 Q4756860 Q16844117 Q6768676 Q18670628 Q2846555 Q7794019 Q1028861 Q726447 Q2347891 Q18187023 Q5294766 Q6261611 Q1063733 Q1348255 Q3435547 Q6137832 Q5728139 Q6227463 Q6259369 Q5232448 Q2579868 Q563069 Q5336488 Q7349851 Q6143662 Q708980
AND((c(Q502895),P69,Q216273), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q216273
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are an alumni of University of St Andrews and are a male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q216273'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P69 resource:Q216273 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
Gavin Hamilton Richard Webb Duarte Archibald Constable Iain Campbell Andrew de Durisdeer Richard Abbott Prince William, Duke of Cambridge William Dalrymple Alexander Leighton George Sessford Christopher Booth R. C. Stevenson John Rose John Mantle John Alfred Lush Alexander Philip, Lord Philip Mike Glazer John Jebb John Forfar Henry Craik William Dunbar Nick Nuttall Hugo Swire Robert F. Thompson Alistair Moffat Michael J. Belton William Wallace James Crichton Robert Archibald Armstrong Thomas Livingston Anthony Dickson Home James II of Scotland John Stroyan David Caves Duncan Sommerville Raymond Keiller Butchart James Wardrop Andrew Gray James Mylne Chris Law William Richmond Peter John Wyllie Jamie Allan Brown Iain McHardy William Couper John Goodsir Dave Duncan James Browne James Valentine James Clinkskill Akanu Ibiam Chris Morgan John Hamilton-Gordon, 1st Marquess of Aberdeen and Temair Angus Robertson Fulton David Berry Richard Poole Peter Comrie Nicolas Vilant Gordon Lowden James Gourlay Clunie Alastair Reid Marco Biagi Robert MacGregor Mitchell Christopher Chope David Jackson Dominic Sandbrook Andrew McLellan John Purvis George Mackenzie John Maxwell Anderson John Honey Gavin Campbell, 1st Marquess of Breadalbane William Lamb alias Paniter Andrew Forman John Adamson Robert Batty Henry Guthry John Adamson John Adamson Damian Hopley David Boyle, Lord Boyle Danny Blanchflower Philippe Cousteau, Jr. James Graham, 1st Marquis of Montrose Robert Henryson Sir John Eliot, 1st Baronet Archibald Campbell, 1st Marquess of Argyll Donald MacCrimmon MacKay Henry Forrest Richard Oram Thomas Goss Mark Lazarowicz Jamie Stone Matthew Armour Michael Berry Peter Comensoli Edward Farrer Victor Omololu Olunloyo Brian Taylor James Guthrie James Irvine Alexander M. S. Green Alan Haworth, Baron Haworth John Scott Keltie Patrick Lindsay Alistair Irwin James Gregory William Hamilton John Macrae Robert Moray Thomas Shaw, 1st Baron Craigmyle Christopher Davidson Russell Kirk James D. Murray William Colvill Iain Ferguson Andrew Durie James Dundas Peter Burt Donald Mackenzie Smeaton Bryan Molloy Henry Erskine Charles W. J. Withers Okechukwu Nwadiuto Emuchay David Lindsay Patrick Forbes David Lindsay Robert Richardson Desmond Swayne James Halyburton David Lyndsay James Hamilton, 1st Viscount Claneboye Adam Bond Henry Balnaves William Turnbull Nicholas Moore Luke Williams Tim Samuels Jolyon Connell Paul Litchfield Balfour Stewart John MacGregor, Baron MacGregor of Pulham Market George Reid William Knighton Chic Brodie Bill Harris William Chisholm John Hunt Alex Salmond David Erskine John Young Bown Findlay S. Douglas R. R. Rockingham Gill Sidney Clarke George Hill George Denholm Armour John Arbuthnot Bertie Charles Forbes Robert Groves Sandeman Francis Robert Japp James Black Thomas Bowdler George Turner Orton Barry Gardiner Andrew Stewart George Pirie George Buchanan Andrew Nairne Douglas J. Moo John Wood Hamish Watt Malcolm Bruce Colin Young Pete Brown Benedict Jones James Graeme Duncan Macrae Patrick Brydone William Stewart Michael Fallon John Colville Richard Arthur Michael Forsyth, Baron Forsyth of Drumlean Robert Fergusson William Alexander Young David N. Hempton Alexander Berry Keith Shannon George Britton Halford Alexander Balfour William Douglas, 10th Earl of Angus Gavin Douglas John Elder Lyon Playfair, 1st Baron Playfair Ian Stevenson Peter Dangerfield Robert Reid Ernest William Lyons Holt James Simson William Manderstown William Craigie Robert Kirk James Crabb Lewis Ayres Thomas Pole Graham Spiers James Taylor Leonard Huxley Eric Motley John Guthrie Kieron O'Hara Alexander Haslam Alexander Hume Charles Lyell John Weemes Gavin Brown Ian Sommerville Ian Duncan James Brodie of Brodie Mark Sedwill Norman Cameron Gordon Sutherland Robert Baron Lord Colin Campbell Andrew Lawrence Daniel Noble James Wedderburn Adam Ferguson Andrew Zawacki Robert Horton James Beaton John Graham, 1st Viscount Dundee Cameron Glasgow Malcolm Longair George Mackenzie, 1st Earl of Cromartie William Kirk Dickson Samuel Cockburn Berkeley Smith Alastair Balls Dougal Dixon Duncan McNeill, 1st Baron Colonsay Gordon Jackson William Forbes Skene Timothy Williams Ernest William Brady Morris McInnes Douglas Black Thomas Simson Pratt Robert Balfour William Fowler William Crichton John Bellenden Andrew Bell Stuart Butler John Fulton, Baron Fulton Timothy Pont G. W. S. Barrow Guildford Slingsby John Lauder William Elford Leach Joe Ward George Gillespie David Bruce Alfredo Lalanne Robert Davidson Jonathan Taylor Thomas Andrew Fairfoul John Tulloch Philip Colbert Andrew Duncan Edward Lawrence Wheelwright Iain Torrance Kim Elgie George Cook Tony Mason James Bowman Lindsay William Cullen, Baron Cullen of Whitekirk Douglas Young James Stuart Bryan Nelson Ben Twiston-Davies Alexander Dicsone Edgar Paul Boyko José Zalabardo John Glas John Knox Walter Quin Arthur David Ritchie Andrew Jameson, Lord Ardwall William Lauder John Scott Robert Rollock John Napier James Glenie Michael Ward Fred Watson Stephen A. Hayner Robert Fleming Thomas Halyburton Arthur Hobhouse Séon Carsuel John Barclay John Barclay Crispin Bonham-Carter James Drummond, 4th Earl of Perth Angus Fulton John de Ralston Andrew H. Wallace Iain T. A. C. Adamson John Leslie Denny Delk Joshua Stacher Robert Wedderburn Alexander Forbes Thomas Lockhart Adam Anderson Gregor MacGregor James Donaldson Patrick Bell Frederick Easson Douglas Argyll Robertson Hugh Ross Bob Reid Hugh Cleghorn Thomas Dundas, 1st Baron Dundas Edward Jenner Robert Arnot Patrick Gillespie Angus Wallace George Mathewson Norman Kemp Smith William Moodie Marco Schöller Eric Anderson Golding Bird John Gordon Frank Close Murray Grigor John Playfair Narendra Patel, Baron Patel James Main Dixon Peter Goodwin Roger Lewis Sir David Carnegie, 4th Baronet Craig Oliver Robert Douglas Jean-Paul Marat Henry Adamson David Butler Daniel Hutto Thomas Finlayson Henderson Robert Herbert Story Maxwell T. Masters Gordon Ritchie Robert Robertson Hubert Lacey Douglas Mason Peter Francis Peter Daniel Anthonisz Jerzy Pietrkiewicz Douglas Scott Falconer Duncan Forbes John Cuckney, Baron Cuckney William M'Intosh William Samson Alastair Reynolds David Stuart James Sharp Thomas Craig David Page Peter Mandaville Ifedayo Oladapo Peter Rollock John Maxwell Bonaventure Hepburn John Garrow James Riddell David Scott Thomas Bruce, 7th Earl of Elgin Alexander Duff Patrick Abercromby Alexander Gunn E. Calvin Beisner James A. Michener Doug Anderson John Scott Russell Walter Ledermann Robert Bruce Jay Parini Walter Perry Robert Pont Henry de Lichton George Wishart Jules Knight David Beaton John Paterson John Munro of Tain John Winram David Panter Alan T. Peacock Steve Boardman James Wedderburn George Haliburton Henry Sinclair John Hutton Balfour Tyrone Howe Neil Campbell Bethwell Allan Ogot Alexander Wilson William Gordon Rutherfurd James Alexander Green Neil Smith Stephen Haliczer John Sackville John Clephane Brian Viner James Wilson Calum Kerr Klyne Snodgrass Victor Premasagar Hugh Blair Gary Dunion Ronald Mackay Michael Byers Ian McDiarmid Robert Cox George Gledstanes Zbigniew Pełczyński Michael Wesley Kevin Dunion George Hadow George Ballingall Kelvin Holdsworth Michael Hulse Alexander Scrymgeour, 12th Earl of Dundee Madsen Pirie Andrew Lang Stephen Doughty David Niven Robbie Collin Olivier Sarkozy Gilbert Hay Thomas Rodger Patrick Adamson Edmund Robertson, 1st Baron Lochee Hugh Lyon Playfair Leslie Hilton Brown William Wright David W. Potter Leonard Searle Aleksandar Boskovic John Wedderburn George Hargreaves Barney White-Spunner Edward Barry Donald Campbell Joseph Bancroft Gavin Dunbar David Erskine, 11th Earl of Buchan Sir John Scott of Scotstarvet Lewis Moonie, Baron Moonie Thomas Thomson George Kennedy Young Ian Diamond Jack Somerville Robert Aytoun Alexander Henderson Robert Blackadder George Dempster of Dunnichen Robert I. Frost Allan Stewart Eamonn Butler Sir Guy Campbell, 5th Baronet William Tennant John Campbell, 9th Duke of Argyll William Perfect Alastair Crooke Daniel Edwin Rutherford Chris Rea Colin Falconer Thomas Young Richard Watson Dickson Thomas Henry Duthie James Melville George Matthew McNaughton Andrew Montford Andrew Melville James Ogilvy Graeme Davis Andrew Mackenzie George Durie Andrew Dutney Hugh Montgomerie, 3rd Earl of Eglinton Mark M. Newell Abraham Hume Andrew Balfour Thomas Smeton Donald Luddington William Wright Stewart Duke-Elder Dick W. Emuchay Donald Macgregor John Urquhart Cameron Charles B. Macdonald John Pringle Robert Jones James Law Henry Scrimgeour John Craig John Strang David Cockburn William Maitland of Lethington Thomas Chalmers Eddie Shirras Robert Small James Stuart Stewart Patrick Hamilton
Paul Litchfield, Donald Macgregor, Robert Balfour, John Clephane, Frederick Easson, John Graham, 1st Viscount Dundee, Kieron O'Hara, George Kennedy Young, John Alfred Lush and Mark M. Newell are an alumni of University of St Andrews and are a male
Paul Litchfield Donald Macgregor Robert Balfour John Clephane Frederick Easson John Graham, 1st Viscount Dundee Kieron O'Hara George Kennedy Young John Alfred Lush Mark M. Newell
action filter_type
action intersection
action find_reverse
entity University of St Andrews
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'University of St Andrews'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:educated_at resource:University_of_St_Andrews . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 838 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 838
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?m ) WHERE { ?j rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?j } GROUP BY ?j } . FILTER ( ?m >= 838 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 838
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?m ) WHERE { ?j rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?j } GROUP BY ?j } . FILTER ( ?m >= 838 ) }
[]
musical instrument common name
SYSTEM
7
Q46185 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 838
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?m ) WHERE { ?j rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?j } GROUP BY ?j } . FILTER ( ?m >= 838 ) }
bass guitar piano trumpet cello violin organ drum kit
7
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 838
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?m ) WHERE { ?j rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?j } GROUP BY ?j } . FILTER ( ?m >= 838 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5116079
P172
Q2472587
USER
Which people does that person have as ethnic origin ?
action filter_type
action find
entity Q5116079
relation P172
type Q2472587
SELECT DISTINCT ?g WHERE { resource:Q5116079 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
Chula De Silva
action filter_type
action find
entity Chula De Silva
relation ethnic group
type people
SELECT DISTINCT ?g WHERE { resource:Chula_De_Silva property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
people
Q932244
SYSTEM
Sinhalese people
Q932244
action filter_type
action find
entity Q5116079
relation P172
type Q2472587
That person has as ethnic origin to [ANSWER]
SELECT DISTINCT ?g WHERE { resource:Q5116079 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
Sinhalese people
That person has as ethnic origin to Sinhalese people
Sinhalese people
action filter_type
action find
entity Chula De Silva
relation ethnic group
type people
SELECT DISTINCT ?g WHERE { resource:Chula_De_Silva property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5116079
P106
Q28640
USER
What is the profession of Chula De Silva ?
(Q5116079,P106,c(Q28640))
action filter_type
action find
entity Q5116079
relation P106
type Q28640
['Q5116079', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { resource:Q5116079 property:P106 ?k . ?k rdf:type ontology:Q28640 }
Chula De Silva
action filter_type
action find
entity Chula De Silva
relation occupation
type profession
['Chula De Silva', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { resource:Chula_De_Silva property:occupation ?k . ?k rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q5116079,P106,c(Q28640))
action filter_type
action find
entity Q5116079
relation P106
type Q28640
The profession of Chula De Silva is a [ANSWER]
['Q5116079', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { resource:Q5116079 property:P106 ?k . ?k rdf:type ontology:Q28640 }
lawyer
The profession of Chula De Silva is a lawyer
lawyer
action filter_type
action find
entity Chula De Silva
relation occupation
type profession
['Chula De Silva', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { resource:Chula_De_Silva property:occupation ?k . ?k rdf:type ontology:profession }
[]