Simple Question (Direct)
Simple Question
Q17384365
P39
Q12737077
USER
Which occupation was a position held by Walto Tuomioja ?
(Q17384365,P39,c(Q12737077))
action filter_type
action find
entity Q17384365
relation P39
type Q12737077
['Q17384365', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q17384365 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Walto Tuomioja
action filter_type
action find
entity Walto Tuomioja
relation position held
type occupation
['Walto Tuomioja', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Walto_Tuomioja property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q17592486
SYSTEM
member of the Parliament of Finland
Q17592486
(Q17384365,P39,c(Q12737077))
action filter_type
action find
entity Q17384365
relation P39
type Q12737077
The [ANSWER] was a position held by Walto Tuomioja
['Q17384365', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q17384365 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the Parliament of Finland
The member of the Parliament of Finland was a position held by Walto Tuomioja
member of the Parliament of Finland
action filter_type
action find
entity Walto Tuomioja
relation position held
type occupation
['Walto Tuomioja', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Walto_Tuomioja property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17384365
P735
Q378408
USER
What is the name Walto Tuomioja is known by ?
(Q17384365,P735,c(Q378408))
action filter_type
action find
entity Q17384365
relation P735
type Q378408
['Q17384365', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?s WHERE { resource:Q17384365 property:P735 ?s . ?s rdf:type ontology:Q378408 }
Walto Tuomioja
action filter_type
action find
entity Walto Tuomioja
relation given name
type initial
['Walto Tuomioja', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?s WHERE { resource:Walto_Tuomioja property:given_name ?s . ?s rdf:type ontology:initial }
[]
initial
Q19803523
SYSTEM
W.
Q19803523
(Q17384365,P735,c(Q378408))
action filter_type
action find
entity Q17384365
relation P735
type Q378408
[ANSWER] the name Walto Tuomioja is known is by
['Q17384365', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?s WHERE { resource:Q17384365 property:P735 ?s . ?s rdf:type ontology:Q378408 }
W.
W. the name Walto Tuomioja is known is by
W.
action filter_type
action find
entity Walto Tuomioja
relation given name
type initial
['Walto Tuomioja', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?s WHERE { resource:Walto_Tuomioja property:given_name ?s . ?s rdf:type ontology:initial }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7945527
Q378408
USER
And what about W. F. McCoy?
(Q7945527,P735,c(Q378408))
action filter_type
action find
entity Q7945527
relation P735
type Q378408
['Q7945527', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?g WHERE { resource:Q7945527 property:P735 ?g . ?g rdf:type ontology:Q378408 }
W. F. McCoy
action filter_type
action find
entity W. F. McCoy
relation given name
type initial
['W. F. McCoy', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?g WHERE { resource:W._F._McCoy property:given_name ?g . ?g rdf:type ontology:initial }
[]
initial
Q19803523
SYSTEM
W.
Q19803523
(Q7945527,P735,c(Q378408))
action filter_type
action find
entity Q7945527
relation P735
type Q378408
[ANSWER]
['Q7945527', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?g WHERE { resource:Q7945527 property:P735 ?g . ?g rdf:type ontology:Q378408 }
W.
W.
action filter_type
action find
entity W. F. McCoy
relation given name
type initial
['W. F. McCoy', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?g WHERE { resource:W._F._McCoy property:given_name ?g . ?g rdf:type ontology:initial }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7945527
P241
Q781132
USER
Which military branch was that person a part of ?
(Q19803523,P241,c(Q781132))
action filter_type
action find
entity Q7945527
relation P241
type Q781132
['Q19803523', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { resource:Q7945527 property:P241 ?q . ?q rdf:type ontology:Q781132 }
W. F. McCoy
action filter_type
action find
entity W. F. McCoy
relation military branch
type military branch
['W.', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { resource:W._F._McCoy property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q19803523,P241,c(Q781132))
action filter_type
action find
entity Q7945527
relation P241
type Q781132
The [ANSWER] was that person a part of
['Q19803523', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { resource:Q7945527 property:P241 ?q . ?q rdf:type ontology:Q781132 }
British Army
The British Army was that person a part of
British Army
action filter_type
action find
entity W. F. McCoy
relation military branch
type military branch
['W.', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { resource:W._F._McCoy property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q222595 Q1363814
P241
Q502895
USER
Is Maurice Baring affiliated to the military branch named that one ?
(Q1363814,P241,Q222595)
action is_in
entity Q222595
action find
entity Q1363814
relation P241
['Q1363814', 'P241', 'Q222595']
ASK WHERE { resource:Q1363814 property:P241 resource:Q222595 }
British Army Maurice Baring
action is_in
entity British Army
action find
entity Maurice Baring
relation military branch
['Maurice Baring', 'military branch', 'British Army']
ASK WHERE { resource:Maurice_Baring property:military_branch resource:British_Army }
[]
common name
SYSTEM
YES
(Q1363814,P241,Q222595)
action is_in
entity Q222595
action find
entity Q1363814
relation P241
[ANSWER]
['Q1363814', 'P241', 'Q222595']
ASK WHERE { resource:Q1363814 property:P241 resource:Q222595 }
Yes
action is_in
entity British Army
action find
entity Maurice Baring
relation military branch
['Maurice Baring', 'military branch', 'British Army']
ASK WHERE { resource:Maurice_Baring property:military_branch resource:British_Army }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q222595
P361
Q21506450
USER
Which military unit size class is a part of that military branch ?
action filter_type
action find_reverse
entity Q222595
relation P361
type Q21506450
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q222595 . ?t rdf:type ontology:Q21506450 }
British Army
action filter_type
action find_reverse
entity British Army
relation part of
type military unit size class
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:British_Army . ?t rdf:type ontology:military_unit_size_class }
[]
military unit size class
Q1517243
SYSTEM
Yeomanry
Q1517243
action filter_type
action find_reverse
entity Q222595
relation P361
type Q21506450
[ANSWER] is a part of that military branch
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q222595 . ?t rdf:type ontology:Q21506450 }
Yeomanry
Yeomanry is a part of that military branch
Yeomanry
action filter_type
action find_reverse
entity British Army
relation part of
type military unit size class
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:British_Army . ?t rdf:type ontology:military_unit_size_class }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1247373 Q222595
P69 P241
Q502895
USER
Which people have British Army as the associated miltary branch and were educated at Harrow School ?
AND((c(Q502895),P241,Q222595), (c(Q502895),P69,Q1247373))
action filter_type
action intersection
action find_reverse
entity Q222595
relation P241
action find_reverse
entity Q1247373
relation P69
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P241', 'Q222595'], [{'concept': 'Q502895'}, 'P69', 'Q1247373']]}
SELECT DISTINCT ?k WHERE { ?k property:P241 resource:Q222595 . ?k property:P69 resource:Q1247373 . ?k rdf:type ontology:Q502895 }
Harrow School British Army
action filter_type
action intersection
action find_reverse
entity British Army
relation military branch
action find_reverse
entity Harrow School
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'military branch', 'British Army'], [{'concept': 'common name'}, 'educated at', 'Harrow School']]}
SELECT DISTINCT ?k WHERE { ?k property:military_branch resource:British_Army . ?k property:educated_at resource:Harrow_School . ?k rdf:type ontology:common_name }
[]
common name
Q7349560 Q5341962 Q5538102 Q5622371 Q15072586 Q1452891 Q15072627 Q2159731 Q4864839 Q7965705
SYSTEM
Some of them are Robert Sanders, 1st Baron Bayford, Edward Bowater, George Cooke, Guy Jackson, James Ramsay Montagu Butler, Frederick Gustavus Burnaby, Horace Annesley Vachell, Robin Cayzer, 3rd Baron Rotherwick, Barry Till, Walter Napleton Stone
Q6105456 Q1890375 Q12988184 Q6390461 Q2364372 Q336580 Q7326290 Q7526224 Q309980 Q5301617 Q6679825 Q335420 Q930203 Q4154874 Q6847197 Q5739967 Q5044464 Q5549256 Q518393 Q11279105 Q7103053 Q7327666 Q6144076 Q6259223 Q5394043 Q15072594 Q7152730 Q5079208 Q5538102 Q16061349 Q5480156 Q15072609 Q5498849 Q7184480 Q7350434 Q6260191 Q7787007 Q266452 Q8016 Q7527105 Q7793567 Q5534707 Q7527100 Q4772387 Q5080266 Q11802729 Q4786226 Q14945567 Q7004578 Q7527064 Q5386204 Q5387107 Q267579 Q4798258 Q4730508 Q8020168 Q5667744 Q5234246 Q8005084 Q3357504 Q15072586 Q608103 Q333121 Q5343375 Q337106 Q7989447 Q5075502 Q7965478 Q5727247 Q7324499 Q15990179 Q7508994 Q7791871 Q7344946 Q302187 Q6679043 Q4799034 Q5927282 Q4867100 Q335449 Q6831280 Q8010084 Q5076398 Q3040905 Q7576040 Q5730708 Q5481746 Q6146026 Q15999887 Q4977230 Q3611538 Q7087720 Q13529783 Q5902127 Q15072627 Q334984 Q5458500 Q3081745 Q13522548 Q7328612 Q786474 Q5486457 Q7695003 Q7328362 Q7793539 Q5718593 Q1496455 Q335517 Q5541285 Q7528399 Q3787726 Q6096846 Q5728825 Q5536165 Q7103054 Q15429036 Q5442158 Q1804453 Q6135007 Q7004690 Q6248836 Q5340248 Q336729 Q7365303 Q8008633 Q4867184 Q6119114 Q6119110 Q637459 Q7899928 Q5622371 Q6140339 Q6256600 Q5620315 Q5930622 Q5549593 Q8012088 Q7527933 Q335270 Q15072590 Q7032494 Q4111755 Q7528702 Q7527302 Q39168 Q5262796 Q733045 Q3828136 Q4719669 Q7344679 Q5542726 Q6229408 Q957699 Q532574 Q2837714 Q5341962 Q1245728 Q5723308 Q7526823 Q4772643 Q5723304 Q1237389 Q2166151 Q7525966 Q5534925 Q15072577 Q12798541 Q2159731 Q7807488 Q890109 Q1477948 Q7341839 Q6835229 Q16030413 Q332347 Q5056253 Q5546683 Q5497071 Q8012594 Q5524369 Q7528250 Q2153404 Q7346926 Q6240380 Q7327436 Q970185 Q5536981 Q5343469 Q5422989 Q7526800 Q968340 Q5056091 Q768374 Q15971120 Q337142 Q1452891 Q7528925 Q7795111 Q5729188 Q5733912 Q246026 Q4864839 Q8005976 Q166635 Q333694 Q7344985 Q7344986 Q3132669 Q5174264 Q2545678 Q5982526 Q6829318 Q5236588 Q1685265 Q5498636 Q548928 Q7032381 Q7525995 Q7350806 Q15072599 Q4684458 Q5085172 Q2545470 Q5314327 Q5930808 Q130799 Q4786750 Q1792629 Q4357724 Q6239069 Q427394 Q6110971 Q16031622 Q7965705 Q5537525 Q15072585 Q7183875 Q3790100 Q7364667 Q5660230 Q6233948 Q721915 Q5537238 Q1680868 Q5482511 Q7527444 Q7598653 Q5079683 Q7529487 Q6128501 Q333628 Q5546198 Q11801571 Q654747 Q4722461 Q6134804 Q7610754 Q7615802 Q7052562 Q5548958 Q2483097 Q4685113 Q7343105 Q7349560
AND((c(Q502895),P241,Q222595), (c(Q502895),P69,Q1247373))
action filter_type
action intersection
action find_reverse
entity Q222595
relation P241
action find_reverse
entity Q1247373
relation P69
type Q502895
[ANSWERS] have British Army as the associated miltary branch and were educated at Harrow School
{'AND': [[{'concept': 'Q502895'}, 'P241', 'Q222595'], [{'concept': 'Q502895'}, 'P69', 'Q1247373']]}
SELECT DISTINCT ?k WHERE { ?k property:P241 resource:Q222595 . ?k property:P69 resource:Q1247373 . ?k rdf:type ontology:Q502895 }
John Seely, 1st Baron Mottistone Lashmer Whistler Michael Falcon Kenneth McLaren Francis Charles Bridgeman Gerald Grosvenor, 6th Duke of Westminster Richard Harrison Sir Charles James Buchanan, 4th Baronet Edward Fox Douglas Howard Lord Ninian Crichton-Stuart Bill Deedes William Augustus Adam Alexander Roberts Dunn Sir Anthony Mather-Jackson, 6th Baronet Herman Landon Carol Mather Gerald Howard Michael Denison Henry Arkwright Orlando Bridgeman Richard Martin Bingham James Templer John Stirling Ernest Wright Alexander Charles Granville Fortescue Paul Nicholson Charles Hubert Boulby Blount George Cooke Cranley Onslow Francis Basset, 1st Baron de Dunstanville and Basset Gerald Maitland-Carew Frederick Thomas Penton Philip Tower Robert Torrens O'Neill John Talbot Coke Thomas Algernon Smith-Dorrien-Smith Percy Cox Winston Churchill Sir Henry Bowles, 1st Baronet Thomas Riversdale Colyer-Fergusson Geoffrey Jackson Sir Henry Bellingham, 4th Baronet Anthony Denison-Smith Charles Lindsay Orr-Ewing Henry Eyre Archibald Boyd-Carpenter John Poulett, 5th Earl Poulett Nevile Wilkinson Sir Harry Verney, 2nd Baronet Eric Buller Eric Milner-White Chandos Blair Arthur Chichester, 4th Baron Templemore Allan Cameron William Wells Harry Calvert David Gordon, 4th Marquess of Aberdeen and Temair William Barnard Rhodes-Moorhouse Oswald Birley James Ramsay Montagu Butler Antony Lambton Patrick Buchan-Hepburn, 1st Baron Hailes Edward Hay Mackenzie Elliot Eric Lubbock, 4th Baron Avebury Weston Jarvis Charles Beaumont Phipps Walter Long Henry Prittie, 4th Baron Dunalley Richard Butler Charles Spring Rice, 5th Baron Monteagle of Brandon Sidney Clive Thomas Lister, 4th Baron Ribblesdale Robert Gregory Richard Drax Lord Charles FitzRoy Arthur Henry Freeling Hubert Foster Basil Arthur John Peto James Brudenell, 7th Earl of Cardigan Michael Hughes-Young, 1st Baron St Helens William Graham Nicholson Charles Colville, 1st Viscount Colville of Culross Dudley Gordon, 3rd Marquess of Aberdeen and Temair Spencer Edmund Hollond Henry d'Avigdor-Goldsmid Francis Lloyd James d'Avigdor-Goldsmid Arthur Lang Bruce Canning Vernon-Wentworth Algar Howard Oliver Nugent Wilfrid Ashley, 1st Baron Mount Temple Horace Sewell Horace Annesley Vachell John Vereker, 6th Viscount Gort Fleetwood Edwards Francis Yeats-Brown Hugh Wyld Richard Raymond Willis Stanley Jackson Frank Elliott Teignmouth Melvill Richard Penruddocke Long Thomas Riddell-Webster Henry Bridgeman Gavin de Beer Charles Guthrie, Baron Guthrie of Craigiebank George Kemball Sir Nugent Everard, 1st Baronet Hussey Vivian, 1st Baron Vivian Ivan Lyon Henry Strutt, 2nd Baron Belper George Alexander Weir Orlando Bridgeman, 5th Earl of Bradford Samuel Barrett Miles Felix Cassel Ronald Sanderson James Grimston, 3rd Earl of Verulam Neville Ford John Mills Edric Gifford, 3rd Baron Gifford John Moore-Brabazon, 1st Baron Brabazon of Tara Ronald Strutt, 4th Baron Belper William Ernest Brymer Basil Henriques Jacob Pleydell-Bouverie, 6th Earl of Radnor Jacob Pleydell-Bouverie, 2nd Earl of Radnor Henry Bentinck, 11th Earl of Portland Urban Huttleston Broughton, 1st Baron Fairhaven Guy Jackson James Newton Rodney Moore John Sanctuary Nicholson Gurth Hoyer-Millar Hugh E. Mitchell Gerald Spring Rice, 6th Baron Monteagle of Brandon William Henry Mackinnon Sir John Milbanke, 10th Baronet James Hamilton, 2nd Duke of Abercorn Johnnie Cradock Nigel Kennedy George Herbert, 11th Earl of Pembroke Sir Robert Anstruther, 5th Baronet Sir Hugh Cholmeley, 3rd Baronet Harold Alexander, 1st Earl Alexander of Tunis Dermot Chichester, 7th Marquess of Donegall Esme Howard, 1st Baron Howard of Penrith Lawrence Dundas, 1st Marquess of Zetland Alexander Mitchell Robert Garrett George Murray Rolland John Dickson-Poynder, 1st Baron Islington Henry Horne, 1st Baron Horne Horace Smith-Dorrien Sir Allan Adair, 6th Baronet Edward Bowater Tom Harrisson Henry Howard, 2nd Earl of Effingham Sir Geoffrey Cory-Wright, 3rd Baronet Anthony Gustav de Rothschild Henry Howard, 3rd Earl of Effingham Miles Mander R. E. B. Crompton Sir Alexander Sprot, 1st Baronet Geoffrey Taylour, 4th Marquess of Headfort James Somerville, 2nd Baron Athlumney Percy Laurie Robin Cayzer, 3rd Baron Rotherwick Timothy Royle Thomas Slingsby Duncombe Reginald Talbot Robert Ballard Long Michael Warriner Thomas Pilcher John Profumo Cecil Paget George de Cardonnel Elmsall Findlay Frederic John Sidney Parry William Howe DeLancey Garth Neville Walford Sir Leonard Ropner, 1st Baronet John Thomas Perceval Robert Lister Bower John Humphrey Davidson Richard Long, 4th Viscount Long Lancelot Royle George Bingham, 5th Earl of Lucan Edward Hoblyn Warren Bolitho Eyre Macdonell Stewart Crabbe Sir Fulque Agnew, 10th Baronet Peter de la Billière Cecil Goodden Andrew Hamilton Russell Guy Brownlow Alan Brooke, 3rd Viscount Brookeborough Frederick Gustavus Burnaby Sir Rupert Mackeson, 2nd Baronet Thomas Wildman Henry Thynne, 6th Marquess of Bath Herbert Dixon, 1st Baron Glentoran Patrick Anson, 5th Earl of Lichfield Barry Till William Bromley-Davenport Stanley Baldwin Keith Joseph Robert Grosvenor, 2nd Baron Ebury Robert Grosvenor, 5th Baron Ebury Henry Bulwer, 1st Baron Dalling and Bulwer Cosmo Nevill Walter Norris Congreve Ian Oswald Liddell Michael Cobb David Liddell Jean-Pierre Warner Frederick Robb Charles Sturt Nigel Forbes, 22nd Lord Forbes Sir Andrew Agnew, 8th Baronet Robert Wallace Lord Ernest Hamilton Adolphus Dalrymple Charlie MacEwan George Lambert Duncan Davidson Hugh Fortescue, 4th Earl Fortescue James Blunt Archie Michaelis William Thomas Knollys John Abercromby, 5th Baron Abercromby John Heron-Maxwell Reginald Dorman-Smith Jack Ainslie Frederick Eveleigh-de-Moleyns, 5th Baron Ventry Walter Napleton Stone George Byron, 9th Baron Byron Sir George Bullough, 1st Baronet Philip Joubert de la Ferté David Margesson, 1st Viscount Margesson Ronald Barnes, 3rd Baron Gorell Harold Buxton John Francis William, 6th Count de Salis-Soglio John Strange Spencer-Churchill George Bridgeman, 4th Earl of Bradford James Wolfe-Murray Francis Stone Sir James Hutchison, 1st Baronet Standish Vereker, 7th Viscount Gort Charles Kavanagh Sir William Bass, 2nd Baronet James Alexander, 4th Earl of Caledon Lord George Hamilton George Whatford Percival Marling L. P. Hartley Alfred Codrington James Gowans Stephen Verney Stewart Gore-Browne Norman Magnus MacLeod Gerald Bridgeman, 6th Earl of Bradford Alastair Gordon, 6th Marquess of Aberdeen and Temair Adrian Holman Robert Copland-Crawford Robert Sanders, 1st Baron Bayford
Robert Sanders, 1st Baron Bayford, Edward Bowater, George Cooke, Guy Jackson, James Ramsay Montagu Butler, Frederick Gustavus Burnaby, Horace Annesley Vachell, Robin Cayzer, 3rd Baron Rotherwick, Barry Till and Walter Napleton Stone have British Army as the associated miltary branch and were educated at Harrow School
Robert Sanders, 1st Baron Bayford Edward Bowater George Cooke Guy Jackson James Ramsay Montagu Butler Frederick Gustavus Burnaby Horace Annesley Vachell Robin Cayzer, 3rd Baron Rotherwick Barry Till Walter Napleton Stone
action filter_type
action intersection
action find_reverse
entity British Army
relation military branch
action find_reverse
entity Harrow School
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'military branch', 'British Army'], [{'concept': 'common name'}, 'educated at', 'Harrow School']]}
SELECT DISTINCT ?k WHERE { ?k property:military_branch resource:British_Army . ?k property:educated_at resource:Harrow_School . ?k rdf:type ontology:common_name }
[]