Simple Question (Direct)
Simple Question
Q6220362
P106
Q12737077
USER
Which occupation has John Baker as his/her 's career ?
(Q6220362,P106,c(Q12737077))
action filter_type
action find
entity Q6220362
relation P106
type Q12737077
['Q6220362', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6220362 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
John Baker
action filter_type
action find
entity John Baker
relation occupation
type occupation
['John Baker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:John_Baker property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6220362,P106,c(Q12737077))
action filter_type
action find
entity Q6220362
relation P106
type Q12737077
A [ANSWER] has John Baker as his/her 's career
['Q6220362', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6220362 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
A politician has John Baker as his/her 's career
politician
action filter_type
action find
entity John Baker
relation occupation
type occupation
['John Baker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:John_Baker property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P921
Q2342494
USER
Which collectable was primarily based on that occupation ?
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q82955 . ?y rdf:type ontology:Q2342494 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:politician . ?y rdf:type ontology:collectable }
[]
collectable
Q21601944
SYSTEM
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Q21601944
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[ANSWER] was primarily based on that occupation
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q82955 . ?y rdf:type ontology:Q2342494 }
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales was primarily based on that occupation
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:politician . ?y rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Which person was responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q21601944)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q21601944']
SELECT DISTINCT ?g WHERE { ?g property:P39 resource:Q82955 . ?g rdf:type ontology:Q502895 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales']
SELECT DISTINCT ?g WHERE { ?g property:position_held resource:politician . ?g rdf:type ontology:common_name }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q21601944)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q21601944']
SELECT DISTINCT ?g WHERE { ?g property:P39 resource:Q82955 . ?g rdf:type ontology:Q502895 }
Morteza Azari
Morteza Azari was responsible for occupying the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales']
SELECT DISTINCT ?g WHERE { ?g property:position_held resource:politician . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26215129
P21
Q290
USER
Which sex does that person possess ?
(Q26215129,P21,c(Q290))
action filter_type
action find
entity Q26215129
relation P21
type Q290
['Q26215129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q26215129 property:P21 ?c . ?c rdf:type ontology:Q290 }
Morteza Azari
action filter_type
action find
entity Morteza Azari
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Morteza_Azari property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q26215129,P21,c(Q290))
action filter_type
action find
entity Q26215129
relation P21
type Q290
That person possesses a [ANSWER]
['Q26215129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q26215129 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Morteza Azari
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Morteza_Azari property:gender ?c . ?c rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q12299841 Q82955
P106
Q502895
USER
Which people have the profession of politician and cricketer ?
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q12299841))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q12299841
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q12299841']]}
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q82955 . ?n property:P106 resource:Q12299841 . ?n rdf:type ontology:Q502895 }
cricketer politician
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity cricketer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'cricketer']]}
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:politician . ?n property:occupation resource:cricketer . ?n rdf:type ontology:common_name }
[]
common name
Q12988184 Q6914832 Q3080867 Q4799026 Q333617 Q6129662 Q5610529 Q5081559 Q3568513 Q495977
SYSTEM
Some of them are Michael Falcon, Morton Cohen, Syed Shah Mardan Shah-II, Arthur Henry Aylmer Morton, Maurice Bonham Carter, James Benn Bradshaw, Wenman Coke, Charles Peat, William Collins, James Graham, 4th Duke of Montrose
Q14633124 Q6388650 Q8014434 Q2047162 Q155164 Q2984597 Q5544782 Q580086 Q7167613 Q13592719 Q12989603 Q6225256 Q336268 Q4696679 Q5346516 Q6740851 Q6250269 Q15995796 Q5321890 Q1606850 Q495977 Q6751147 Q5560556 Q7914010 Q181590 Q6253140 Q14945475 Q3524872 Q5081559 Q4799026 Q333488 Q13529930 Q7527186 Q5337395 Q8020006 Q8013712 Q5343505 Q5082366 Q7380353 Q5725113 Q7342461 Q5341919 Q4881236 Q1397997 Q35610 Q683907 Q5539524 Q336507 Q332783 Q1699331 Q8015944 Q4800306 Q4786292 Q6287965 Q7617511 Q7162143 Q5497244 Q6226706 Q5717809 Q5549467 Q5671733 Q7322458 Q5259920 Q8014327 Q128976 Q5586304 Q16063633 Q3073452 Q600636 Q5083361 Q5233457 Q5111948 Q7609831 Q8007167 Q5722174 Q6233512 Q5498658 Q7285483 Q333370 Q786474 Q4963534 Q7529597 Q6829051 Q8010842 Q7526278 Q5538954 Q270100 Q7528061 Q5481370 Q3522572 Q5345728 Q5610529 Q6248836 Q336335 Q1453083 Q6914832 Q7327509 Q5724877 Q5723318 Q334234 Q6505167 Q6679456 Q5343196 Q333364 Q2374406 Q378810 Q5216914 Q3395941 Q5076936 Q15999959 Q7817940 Q7821887 Q16225722 Q469661 Q3345095 Q7319330 Q3524797 Q5258290 Q5902774 Q11803653 Q711568 Q5082311 Q6142467 Q11283925 Q5714132 Q5661732 Q3814537 Q4960975 Q332995 Q5480592 Q5345107 Q4795297 Q7787181 Q7787180 Q333601 Q4798743 Q134068 Q4777895 Q7173080 Q5079428 Q4686933 Q5261284 Q7586387 Q332580 Q4499485 Q1176135 Q3016466 Q5006833 Q5078302 Q5719665 Q6135005 Q1026930 Q8015886 Q5487102 Q3568513 Q334218 Q2728260 Q5728825 Q3080867 Q966008 Q7527281 Q333617 Q14317045 Q12988184 Q4799073 Q603107 Q1066450 Q3132661 Q5644068 Q5614408 Q5345405 Q2756943 Q6145179 Q16066161 Q5301690 Q4356938 Q4800520 Q6239069 Q333628 Q7407817 Q5543052 Q3006661 Q7792888 Q4799005 Q337447 Q5721267 Q7529482 Q6129662 Q4800026 Q1401295 Q335394 Q11803607 Q336192 Q334145 Q11803514 Q7293136 Q5982330 Q3520421 Q742508 Q577347
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q12299841))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q12299841
relation P106
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q12299841']]}
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q82955 . ?n property:P106 resource:Q12299841 . ?n rdf:type ontology:Q502895 }
Kynaston Studd Ken Vowles William Lee Rees Abdul Hafeez Kardar Imran Khan Colville Deverell George Stanhope, 7th Earl of Chesterfield James Morris Percy Thornton Sir James Horlick, 4th Baronet Henry Holroyd, 3rd Earl of Sheffield John Carpenter Garnier Frederic Thesiger, 1st Viscount Chelmsford Aidan Crawley Edwin Hill-Trevor, 1st Baron Trevor Malachy Bowes Daly John Nesbitt Kirchhoffer George Kemp, 1st Baron Rochdale E. H. Coombe Henry Herbert, 3rd Earl of Carnarvon James Graham, 4th Duke of Montrose Manoharsinhji Pradyumansinhji, 15th Thakore Saheb of Rajkot Gil Langley Vance Amory George Greenwood John Ponsonby, 5th Earl of Bessborough Charles Wynne Rowland Prothero, 1st Baron Ernle Charles Peat Arthur Henry Aylmer Morton Charles Gordon-Lennox, 6th Duke of Richmond Sir William Hart Dyke, 7th Baronet Sir Henry Mulholland, 1st Baronet Edgar Neale William Ward William Jolliffe, 1st Baron Hylton Edward Hornby Charles Savile Roundell Rupert Roopnaraine Henry Lowther Robert Brudenell, 6th Earl of Cardigan Edward Bligh Beilby Lawley, 3rd Baron Wenlock Fatehsinghrao Gaekwad Arthur Conan Doyle Samuel Hill-Wood George Fuller Charles Lyttelton, 10th Viscount Cobham John Jacob Astor, 1st Baron Astor of Hever John Beverley Robinson William Murison Arthur Smith-Barry, 1st Baron Barrymore Archibald Douglas, 8th Marquess of Queensberry Joseph William Chitty Thomas Colyear, 4th Earl of Portmore Penaia Kadavulevu Frederick Alers Hankey John Collinge Henry Barnett Gerald Palmer Harry Primrose, 6th Earl of Rosebery Ric Charlesworth Denzil Roberts Onslow William Lascelles Alec Douglas-Home William Bridgeman, 1st Viscount Bridgeman Edward Royd Rice Arthur Hope, 2nd Baron Rankeillour George Cavendish-Bentinck Charles Warren David Evans Christopher Bethell-Codrington Stephen Lushington William Courtenay, 10th Earl of Devon Henry Grayson John Floyer Frederick Romilly Raja Maharaj Singh Edward Horsman Stanley Jackson Brian Davison Sir William Gage, 7th Baronet Hubert Ashton William Harbord, 2nd Baron Suffield Sir Charles Ponsonby, 1st Baronet George Elliot Navjot Singh Sidhu Sir John Shelley, 6th Baronet Francis Hurt Arjuna Ranatunga Edward Villiers, 5th Earl of Clarendon Wenman Coke John Mills Lionel Tennyson, 3rd Baron Tennyson John Sackville, 3rd Duke of Dorset Morton Cohen Richard Luyt Henry Lette Henry Howard John Manners-Sutton, 3rd Viscount Canterbury Laxman Singh Lord John Sackville Edward Grimston Henry Forster, 1st Baron Forster William Kenyon-Slaney Sanath Jayasuriya Daniel Dalton Alfred Lyttelton Charles Douglas, 3rd Baron Douglas William Rupert Rees-Davies Tom Veivers Tony Benneworth John Tufton Junius Richard Jayewardene Mohammad Azharuddin Rex Townley Richard Barry, 7th Earl of Barrymore Dennis Coleridge Boles Horatio Ross Sir Michael Shaw-Stewart, 7th Baronet Arthur Somers-Cocks, 6th Baron Somers Charles Sackville, 2nd Duke of Dorset James Round William Deedes junior Heneage Finch, 6th Earl of Aylesford Harold McGiverin Thomas de Grey, 6th Baron Walsingham Brendan Lyons Walter Monckton, 1st Viscount Monckton of Brenchley Francis Compton Edward Romilly Arnold Ward Thomas Assheton Smith Thomas Assheton Smith George Spencer-Churchill, 6th Duke of Marlborough Arthur Frederick Jeffreys Nawaz Sharif Anurag Thakur Peter Burrell, 1st Baron Gwydyr Charles James Barnett Adye Douglas George Vane-Tempest, 5th Marquess of Londonderry srikanta datta narasimha raja wadiyar Thomas Hughes Mac Holten De Villiers Graaff Darrel Baldock C. S. Hyman Charles Gordon, 10th Marquess of Huntly Henry Cole James Grimston, 2nd Earl of Verulam Charles Lyttelton, 8th Viscount Cobham William Moule Frank Hardcastle William Collins Charles Du Cane Kirti Azad Henry Strutt, 2nd Baron Belper Syed Shah Mardan Shah-II Charles Lennox, 2nd Duke of Richmond Sir Horatio Mann, 2nd Baronet Maurice Bonham Carter Tejashwi Yadav Michael Falcon Arthur Hill, 4th Marquess of Downshire Freeman Freeman-Thomas, 1st Marquess of Willingdon Charles Williams, Baron Williams of Elvel Henry Brand, 2nd Viscount Hampden Hamar Alfred Bass Ronald McNeill, 1st Baron Cushendun Edward Stanhope Chetan Chauhan James Watney, Jr. Anthony Henry Ashley-Cooper Douglas Kinnaird Francis Seymour-Conway, 3rd Marquess of Hertford Arthur Upton John Heron-Maxwell Lord George Hamilton Sam Loxton George Osbaldeston Robert Reid, 1st Earl Loreburn Thomas Onslow, 2nd Earl of Onslow Arthur Heath Charles Montagu-Scott, 4th Duke of Buccleuch Henry FitzHerbert Wright Sir William Bagge, 1st Baronet James Benn Bradshaw Arthur Priestley George Lyttelton, 4th Baron Lyttelton Charles Lennox, 4th Duke of Richmond Paul Methuen, 1st Baron Methuen George Douglas-Hamilton, 10th Earl of Selkirk George Sutherland-Leveson-Gower, 2nd Duke of Sutherland Henry Tufton, 11th Earl of Thanet Ranjib Biswal Ian McLachlan Maharajkumar of Vizianagram Francis Bell David Sheppard
Michael Falcon, Morton Cohen, Syed Shah Mardan Shah-II, Arthur Henry Aylmer Morton, Maurice Bonham Carter, James Benn Bradshaw, Wenman Coke, Charles Peat, William Collins and James Graham, 4th Duke of Montrose have the profession of politician and cricketer
Michael Falcon Morton Cohen Syed Shah Mardan Shah-II Arthur Henry Aylmer Morton Maurice Bonham Carter James Benn Bradshaw Wenman Coke Charles Peat William Collins James Graham, 4th Duke of Montrose
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity cricketer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'cricketer']]}
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:politician . ?n property:occupation resource:cricketer . ?n rdf:type ontology:common_name }
[]