Simple Question (Direct)
Simple Question
Q7925900
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Victor FitzGeorge-Balfour ?
(Q7925900,P27,c(Q15617994))
action filter_type
action find
entity Q7925900
relation P27
type Q15617994
['Q7925900', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7925900 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Victor FitzGeorge-Balfour
action filter_type
action find
entity Victor FitzGeorge-Balfour
relation country of citizenship
type designation for an administrative territorial entity
['Victor FitzGeorge-Balfour', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Victor_FitzGeorge-Balfour property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7925900,P27,c(Q15617994))
action filter_type
action find
entity Q7925900
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Victor FitzGeorge-Balfour
['Q7925900', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7925900 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Victor FitzGeorge-Balfour
United Kingdom
action filter_type
action find
entity Victor FitzGeorge-Balfour
relation country of citizenship
type designation for an administrative territorial entity
['Victor FitzGeorge-Balfour', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Victor_FitzGeorge-Balfour property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7925900
P410
Q4189293
USER
What is the title conferred upon Victor FitzGeorge-Balfour ?
(Q7925900,P410,c(Q4189293))
action filter_type
action find
entity Q7925900
relation P410
type Q4189293
['Q7925900', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?f WHERE { resource:Q7925900 property:P410 ?f . ?f rdf:type ontology:Q4189293 }
Victor FitzGeorge-Balfour
action filter_type
action find
entity Victor FitzGeorge-Balfour
relation military rank
type title
['Victor FitzGeorge-Balfour', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?f WHERE { resource:Victor_FitzGeorge-Balfour property:military_rank ?f . ?f rdf:type ontology:title }
[]
title
Q5531654
SYSTEM
general
Q5531654
(Q7925900,P410,c(Q4189293))
action filter_type
action find
entity Q7925900
relation P410
type Q4189293
The title conferred upon Victor FitzGeorge-Balfour is a [ANSWER]
['Q7925900', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?f WHERE { resource:Q7925900 property:P410 ?f . ?f rdf:type ontology:Q4189293 }
general
The title conferred upon Victor FitzGeorge-Balfour is a general
general
action filter_type
action find
entity Victor FitzGeorge-Balfour
relation military rank
type title
['Victor FitzGeorge-Balfour', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?f WHERE { resource:Victor_FitzGeorge-Balfour property:military_rank ?f . ?f rdf:type ontology:title }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5531654 Q7543669 Q117186
P17
Q15617994
USER
Is that title present in Smallford and Pontecorvo ?
(Q5531654,P17,Q7543669) (Q5531654,P17,Q117186)
action is_in
entity Q5531654
action intersection
action find_reverse
entity Q7543669
relation P17
action find_reverse
entity Q117186
relation P17
['Q5531654', 'P17', 'Q7543669'] ['Q5531654', 'P17', 'Q117186']
ASK WHERE { resource:Q5531654 property:P17 resource:Q7543669 . resource:Q5531654 property:P17 resource:Q117186 }
general Smallford Pontecorvo
action is_in
entity general
action intersection
action find_reverse
entity Smallford
relation country
action find_reverse
entity Pontecorvo
relation country
['general', 'country', 'Smallford'] ['general', 'country', 'Pontecorvo']
ASK WHERE { resource:general property:country resource:Smallford . resource:general property:country resource:Pontecorvo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5531654,P17,Q7543669) (Q5531654,P17,Q117186)
action is_in
entity Q5531654
action intersection
action find_reverse
entity Q7543669
relation P17
action find_reverse
entity Q117186
relation P17
[ANSWER]
['Q5531654', 'P17', 'Q7543669'] ['Q5531654', 'P17', 'Q117186']
ASK WHERE { resource:Q5531654 property:P17 resource:Q7543669 . resource:Q5531654 property:P17 resource:Q117186 }
No
action is_in
entity general
action intersection
action find_reverse
entity Smallford
relation country
action find_reverse
entity Pontecorvo
relation country
['general', 'country', 'Smallford'] ['general', 'country', 'Pontecorvo']
ASK WHERE { resource:general property:country resource:Smallford . resource:general property:country resource:Pontecorvo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7925900 Q17750412 Q362
P607
Q198
USER
Did War of the Birkebeiners and World War II participate in Victor FitzGeorge-Balfour ?
(Q7925900,P607,Q17750412) (Q7925900,P607,Q362)
action is_in
entity Q7925900
action intersection
action find_reverse
entity Q17750412
relation P607
action find_reverse
entity Q362
relation P607
['Q7925900', 'P607', 'Q17750412'] ['Q7925900', 'P607', 'Q362']
ASK WHERE { resource:Q7925900 property:P607 resource:Q362 . resource:Q7925900 property:P607 resource:Q17750412 }
Victor FitzGeorge-Balfour War of the Birkebeiners World War II
action is_in
entity Victor FitzGeorge-Balfour
action intersection
action find_reverse
entity War of the Birkebeiners
relation conflict
action find_reverse
entity World War II
relation conflict
['Victor FitzGeorge-Balfour', 'conflict', 'War of the Birkebeiners'] ['Victor FitzGeorge-Balfour', 'conflict', 'World War II']
ASK WHERE { resource:Victor_FitzGeorge-Balfour property:conflict resource:World_War_II . resource:Victor_FitzGeorge-Balfour property:conflict resource:War_of_the_Birkebeiners }
[]
war
SYSTEM
NO and YES respectively
(Q7925900,P607,Q17750412) (Q7925900,P607,Q362)
action is_in
entity Q7925900
action intersection
action find_reverse
entity Q17750412
relation P607
action find_reverse
entity Q362
relation P607
[ANSWER]
['Q7925900', 'P607', 'Q17750412'] ['Q7925900', 'P607', 'Q362']
ASK WHERE { resource:Q7925900 property:P607 resource:Q362 . resource:Q7925900 property:P607 resource:Q17750412 }
NO and YES respectively
action is_in
entity Victor FitzGeorge-Balfour
action intersection
action find_reverse
entity War of the Birkebeiners
relation conflict
action find_reverse
entity World War II
relation conflict
['Victor FitzGeorge-Balfour', 'conflict', 'War of the Birkebeiners'] ['Victor FitzGeorge-Balfour', 'conflict', 'World War II']
ASK WHERE { resource:Victor_FitzGeorge-Balfour property:conflict resource:World_War_II . resource:Victor_FitzGeorge-Balfour property:conflict resource:War_of_the_Birkebeiners }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5531654 Q574197
P17
Q15617994
USER
Does general belong to Mutlangen ?
(Q5531654,P17,Q574197)
action is_in
entity Q574197
action find
entity Q5531654
relation P17
['Q5531654', 'P17', 'Q574197']
ASK WHERE { resource:Q5531654 property:P17 resource:Q574197 }
general Mutlangen
action is_in
entity Mutlangen
action find
entity general
relation country
['general', 'country', 'Mutlangen']
ASK WHERE { resource:general property:country resource:Mutlangen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5531654,P17,Q574197)
action is_in
entity Q574197
action find
entity Q5531654
relation P17
[ANSWER]
['Q5531654', 'P17', 'Q574197']
ASK WHERE { resource:Q5531654 property:P17 resource:Q574197 }
No
action is_in
entity Mutlangen
action find
entity general
relation country
['general', 'country', 'Mutlangen']
ASK WHERE { resource:general property:country resource:Mutlangen }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7692756
Q15617994
USER
And what about Tecnológico de Pucallpa?
(Q7692756,P17,c(Q15617994))
action filter_type
action find
entity Q7692756
relation P17
type Q15617994
['Q7692756', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7692756 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Tecnológico de Pucallpa
action filter_type
action find
entity Tecnológico de Pucallpa
relation country
type designation for an administrative territorial entity
['Tecnológico de Pucallpa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tecnológico_de_Pucallpa property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
(Q7692756,P17,c(Q15617994))
action filter_type
action find
entity Q7692756
relation P17
type Q15617994
[ANSWER]
['Q7692756', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7692756 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Peru
Peru
action filter_type
action find
entity Tecnológico de Pucallpa
relation country
type designation for an administrative territorial entity
['Tecnológico de Pucallpa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tecnológico_de_Pucallpa property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5531654
P410 P21
Q502895
USER
Which people holds a military rank named general and have the gender as male ?
AND((c(Q502895),P410,Q5531654), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5531654
relation P410
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P410', 'Q5531654'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P21 resource:Q6581097 . ?f property:P410 resource:Q5531654 . ?f rdf:type ontology:Q502895 }
male general
action filter_type
action intersection
action find_reverse
entity general
relation military rank
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'military rank', 'general'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:gender resource:male . ?f property:military_rank resource:general . ?f rdf:type ontology:common_name }
[]
common name
Q8016349 Q2308118 Q6263856 Q15459771 Q21531303 Q5026323 Q7411172 Q18671826 Q6233892 Q8016566
SYSTEM
Some of them are William Olpherts, Thomas Kelly-Kenny, John Whiteley, William McMurdo, William Nelson Hutchinson, Cameron Nicholson, Samuel Cowan, John Hodgson, John Francis Gathorne-Hardy, William Parke
Q21209271 Q22019275 Q4786488 Q6244329 Q16859171 Q5733831 Q7306134 Q5538108 Q19901677 Q7177564 Q6138944 Q6390004 Q22018577 Q5056320 Q7004775 Q8020615 Q5929977 Q5883596 Q6099460 Q5230763 Q1506865 Q22674348 Q5078782 Q5723012 Q18671100 Q5264724 Q922004 Q6143537 Q8016349 Q5232496 Q1291776 Q2865103 Q7342093 Q5498803 Q6969877 Q7965358 Q18730295 Q7004559 Q5534684 Q716899 Q15971158 Q5536849 Q6678888 Q23022153 Q5026372 Q3750919 Q5902868 Q7826805 Q5134576 Q23018872 Q5237768 Q18671439 Q5545881 Q7807127 Q7344679 Q336300 Q3135001 Q540552 Q7529633 Q7329403 Q3017816 Q6145537 Q6138246 Q5342064 Q637730 Q7527423 Q5524160 Q1258787 Q4722566 Q6222248 Q12800038 Q12407877 Q17986235 Q980814 Q21665104 Q23613728 Q8010284 Q8016542 Q8013961 Q7787160 Q3806728 Q6397138 Q5342257 Q5078004 Q333223 Q5078361 Q7325983 Q20987278 Q5623627 Q8009220 Q1064489 Q3938466 Q7326290 Q16230500 Q6233892 Q732627 Q5534469 Q334092 Q2578799 Q5081627 Q8005136 Q5728118 Q3423440 Q7411172 Q6775410 Q5725192 Q1981931 Q22018791 Q5028081 Q5671705 Q6221413 Q4115406 Q5342080 Q23616715 Q6235227 Q16059659 Q15971243 Q4722709 Q1791677 Q5054791 Q23018896 Q14425000 Q5720742 Q7359112 Q5721599 Q7793080 Q6131893 Q5076807 Q4251082 Q5497797 Q8010911 Q23913847 Q7807223 Q5442313 Q4019994 Q7330094 Q23620988 Q4706987 Q1606730 Q6140339 Q2308118 Q19667109 Q5725955 Q7146761 Q5217990 Q5080219 Q7925900 Q336227 Q25323648 Q5975278 Q6234947 Q5081906 Q1702199 Q1108479 Q22020073 Q5078420 Q1971445 Q1372092 Q5026323 Q5546708 Q22019421 Q22018918 Q19936144 Q19668088 Q1722601 Q7329805 Q336953 Q4720334 Q3375218 Q4719083 Q5344816 Q8018222 Q302438 Q25346625 Q7113157 Q3664092 Q1792629 Q6390021 Q958348 Q14507348 Q22020420 Q6112942 Q3301855 Q5539696 Q15432650 Q15967904 Q7329025 Q4893519 Q7527979 Q767917 Q939676 Q5498787 Q5931095 Q5084058 Q7308645 Q23618062 Q3703184 Q657454 Q6264467 Q7348752 Q17308863 Q348632 Q6679347 Q334404 Q6227367 Q18576068 Q7228612 Q6263856 Q6181652 Q5542634 Q5080318 Q6258259 Q1700765 Q4160119 Q18109124 Q5546385 Q1063761 Q16031749 Q252196 Q804342 Q5082648 Q6770197 Q7360257 Q21531303 Q5083205 Q15072640 Q7342324 Q2579180 Q7792516 Q5480568 Q4773338 Q4964334 Q7341919 Q7323649 Q8010019 Q7147444 Q7792564 Q2554039 Q8012088 Q726293 Q5497782 Q74338 Q3438209 Q7526012 Q5055960 Q3783704 Q6134250 Q5720528 Q7175426 Q168177 Q8016566 Q18671826 Q1132618 Q7978650 Q8019414 Q4831431 Q6258739 Q22019988 Q15971138 Q5079254 Q968340 Q5077292 Q4017882 Q5314251 Q23018855 Q15452379 Q5549335 Q5346674 Q336366 Q5667011 Q5541083 Q8013569 Q5075900 Q7349844 Q15229263 Q4020122 Q4287924 Q26222290 Q5622680 Q16065683 Q8011942 Q570152 Q22020016 Q4877415 Q6133848 Q336819 Q6142005 Q18612575 Q335766 Q327939 Q7343248 Q6132761 Q4798571 Q19932764 Q23688750 Q543131 Q4706839 Q6835347 Q22018889 Q22018882 Q2958766 Q4799229 Q5112220 Q5540592 Q16065827 Q321456 Q6279198 Q7327284 Q7047233 Q5534786 Q8018850 Q5147305 Q20712000 Q5222759 Q18115270 Q20979663 Q6835299 Q7527241 Q5536507 Q2668631 Q7308710 Q573834 Q7071874 Q7323979 Q6244627 Q4800763 Q1606534 Q7372619 Q3809121 Q7526892 Q5536761 Q3435343 Q4719056 Q2865379 Q5536165 Q581935 Q7308810 Q4772488 Q6257433 Q2654367 Q2246151 Q15439023 Q1701419 Q1890375 Q5343816 Q7027677 Q4722886 Q3931857 Q8012451 Q6286786 Q5422990 Q2092845 Q21664779 Q4718614 Q7325517 Q6500755 Q4773660 Q2450751 Q5538536 Q4914039 Q459415 Q5464685 Q4867153 Q7026864 Q5077353 Q5344626 Q6259193 Q15459771 Q5660709 Q5723754 Q5339269 Q6181125 Q5536870 Q5487685 Q6830709 Q6218933 Q2629217 Q4684883 Q23620020 Q7966335 Q532574 Q3624271 Q6218394 Q4977613 Q7793539
AND((c(Q502895),P410,Q5531654), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5531654
relation P410
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] hold a military rank named general and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P410', 'Q5531654'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P21 resource:Q6581097 . ?f property:P410 resource:Q5531654 . ?f rdf:type ontology:Q502895 }
Peter Margetson Wallace William Pollexfen Radcliffe Archibald Rice Cameron John Learmont Thomas Trigge Herbert Cox Redmond Watt George Cooper Charles Stuart Peter Wall James Marshall-Cornwall Kenneth Crawford Edward Greathed Cecil Sugden Neville Lyttelton William Wylde Hugh Beach Gore Browne Ivor Maxse David Anderson George Anson Thomas Henry Johnston Charles Harington Harington Henry Hildyard Edwin Johnson Desmond Fitzpatrick David Julian Richards, Baron Richards of Herstmonceux James Steele William Olpherts David Colyear, 1st Earl of Portmore Edward Bulfin Arthur Fremantle Robert Biddulph Frederick Stovin Nathaniel Stevenson Walter Kirke Frederick Markham Nevil Brownjohn Geoffrey Howlett Michael David Jackson Frank Simpson George Beckwith Lord Adam Gordon Richard Wilbraham Cameron Shute Francis Davies Horatius Murray Torquhil Matheson Clive Gerard Liddell James Coates David Mostyn Henry Longden George Warde Timothy Creasey Robert Garrett Frederic Thesiger, 2nd Baron Chelmsford Sir Hew Dalrymple, 1st Baronet, of High Mark Dallas Brooks Sir William Houston, 1st Baronet Richard Taylor David Dundas James Willcocks James Love Edward Bulwer William Francis Patrick Napier Sir James Gordon, 1st Baronet Garry Johnson Henry Augustus Smyth Alfred Dudley Ward John Bloomfield Reginald Hewetson Hugh Stockwell Alexander Cameron Richard McCreery Robert White Edward Rowley Hill William Gustavus Brown William Pakenham, 4th Earl of Longford William Keppel Thomas Ashburnham James Simpson Kevin O'Donoghue Edward Chapman Charles George James Arbuthnot James Yorke Scarlett Charles Grant Richard Goodbody Frederick William Hamilton Gwilym Ivor Thomas William Forster Charles Gairdner Robert Whigham Richard Harrison Frederick St John John Francis Gathorne-Hardy Jack Deverell Geoffrey Bourne, Baron Bourne Gerard Lake, 1st Viscount Lake William Fawcett Charles Phibbs Jones William Bartholomew Henry Sclater David Ochterlony Samuel Cowan Martin Farndale Henry Luttrell, 2nd Earl of Carhampton Sidney Kirkman Richard Kelly Campbell Hardy Harry Prendergast John Bell Charles Keightley Edward Burgess William Sankey John Gibbon James Talbot Airey Harry Knox Alfred Gaselee Sir David Baird, 1st Baronet Cavalié Mercer Clement Alexander Edwards Nick Houghton Henry Edward Fox Roger Wheeler Henry Frederick Campbell Thomas Pearson James Craufurd Charles Deedes Sir Alexander Campbell, 1st Baronet Frederick Francis Maude William Harris, 2nd Baron Harris Edward Hodge Timothy Granville-Chapman Felix Ready William Duthie Morgan Richard Worsley William Lovelace Walton Alan Jolly Henry Grant James Newton Rodney Moore Thomas Kelly-Kenny Frederick Edward Chapman Henry Montagu, 6th Baron Rokeby Patrick Howard-Dobson Daniel Lysons Charles Leslie Richardson Victor FitzGeorge-Balfour Charles Cathcart, 2nd Earl Cathcart Percy Feilding William Mansfield, 1st Baron Sandhurst John Garvock Charles Rainsford John Hackett Colin Halkett Sir Charles Green, 1st Baronet Charles Grene Ellicombe Ronald Forbes Adam James Henry Craig Cameron Nicholson Sir Archibald Alison, 2nd Baronet Henry Smyth Eyre Massey, 4th Baron Clarina Harold English Pyman William Gabriel Davy Robert Abercromby of Airthrey Richard Ward John Hope, 4th Earl of Hopetoun Alexander Wardrop Percy Radcliffe Alexander Harley Edward Pemberton Leach William Scotter Reginald Hildyard David Russell Ouvry Lindfield Roberts Cecil Romer William Thomas Knollys Kenneth Darling Henry Rawlinson, 1st Baron Rawlinson Thomas Simson Pratt Thomas Murray Jack Harman Eyre Coote George Giffard Michael Biddulph Robert Ford Richard Shirreff Bernard Paget Sir John Ormsby Vandeleur George Cathcart Frederick Dobson Middleton Frederick Stephenson Hugh Henry Gough Charles van Straubenzee Reginald Clare Hart John Spink David Fraser George Brown John Wilsey Robert Pascoe George Campbell of Inverneill John Maxwell Lord Henry Percy Robert Thomas Wilson John Cowans Edmund Haythorne Poole England John Whiteley Jeremy Mackenzie George Morrison Charles Loewen John Smith John Lysaght Pennefather William Jackson Henry Murray George Willis Charles Bonham-Carter George Greaves Leslie Rundle Baker Russell Charles Staveley Mark Walker Roland Guy William Nelson Hutchinson Charles W. H. Douglas John Fitzwilliam Robert Bray William Heneker Thomas Montagu Steele Francis Colborne Anthony Read Brian Kenny Robert Barton Richard Airey, 1st Baron Airey William Gordon Cameron Patrick Palmer Thomas Morony Alfred Reade Godwin-Austen William Henry Mackinnon Redvers Buller Frederick Forestier-Walker Charles Warren Andrew Thorne Sir Anthony Farrington, 1st Baronet Cecil Blacker Havelock Hudson James Freeth Henry Dundas, 3rd Viscount Melville Peter Leng David Ramsbotham, Baron Ramsbotham William Parke John Hodgson James Hope Grant Webb Gillman William Thwaites Aylmer Haldane John St George Henry William Breton Harold Pyman Charles Huxtable Peter de la Billière Charles Edward Nairne Walter Braithwaite Duncan Alexander Cameron Robert Bruce John Irwin Gerald Lathbury Edwin Morris Richard Dannatt, Baron Dannatt Harry Aubrey de Vere Maclean George Jeffreys, 1st Baron Jeffreys William Jervois Charles Burnett Robert Sloper James Inglis Hamilton William Peyton William Medows Robert Onesiphorus Bright Guy Williams Charles Ashe Windham William Henry Clinton Beauvoir De Lisle Sir Cornelius Cuyler, 1st Baronet Beauchamp Duff James Fergusson John Campbell, 4th Earl of Loudoun James Reynett Henry Wynyard William Cathcart, 1st Earl Cathcart Evelyn Barker Robert Cuninghame, 1st Baron Rossmore James Douglas Arthur Edward Hardinge William Henry Bartholomew Alan Bourne Gordon Drummond Alan Hartley Michael Wilkes Thomas Lyons Edward Lugard Charles Colville Arthur James Herbert Christopher Deverell George Higginson Harry Jones Brian Robertson, 1st Baron Robertson of Oakridge Josceline Wodehouse Richard Lawson Noel Thomas Geoffrey Musson William Stirling Collingwood Dickson Robert Ellice Daril Watson George Buller Alexander George Montgomery Moore Michael West Sir Henry de Bathe, 4th Baronet George Augustus Wetherall Archibald Murray Reginald Gipps De Lacy Evans O'Moore Creagh Richard Barrons John Leslie, 10th Earl of Rothes Arthur Wynne Henry Brackenbury Roy Bucher John Burnett-Stuart Sir George Hewett, 1st Baronet George Barrow Robert Haining Alexander Hamilton-Gordon Arthur Grenfell Wauchope George Alexander Weir Thomas Gage Reginald May Anthony Farrar-Hockley John Sharp Archibald Hunter Montagu Stopford Robert Gardiner John Philip Du Cane Lashmer Whistler Edward Jones Nick Parker Alfred Horsford Reginald Byng Stephens William Holmes Joseph Sabine Eyre Massey, 1st Baron Clarina George Erskine Richard Thomas Farren Alexander Cobbe Richard England Laurence Oliphant Anthony Walker Frederick Alfred Pile George Digby Barker Bindon Blood Walter Walker Sir Charles Fergusson, 7th Baronet Basil Eugster Nick Carter Charles Ellice Edward Nicolls John Stibbon William McMurdo Harold Franklyn Henry Jackson Edmund Barrow Jeremy Blacker George Bell Frank King Michael Gow John Anderson William Platt Adrian Bradshaw Charles Trollope Walter Venning Horace Smith-Dorrien Arthur Paget John Akehurst Bruce Hamilton Thomas Riddell-Webster
William Olpherts, Thomas Kelly-Kenny, John Whiteley, William McMurdo, William Nelson Hutchinson, Cameron Nicholson, Samuel Cowan, John Hodgson, John Francis Gathorne-Hardy and William Parke hold a military rank named general and have the gender as male
William Olpherts Thomas Kelly-Kenny John Whiteley William McMurdo William Nelson Hutchinson Cameron Nicholson Samuel Cowan John Hodgson John Francis Gathorne-Hardy William Parke
action filter_type
action intersection
action find_reverse
entity general
relation military rank
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'military rank', 'general'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:gender resource:male . ?f property:military_rank resource:general . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1026036 Q14856
P47
Q15617994
USER
How many administrative territories have an adjacent border with Landrethun-lès-Ardres or Laatzen ?
(c(Q15617994),P47,Q1026036) (c(Q15617994),P47,Q14856)
action count
action union
action filter_type
action find_reverse
entity Q1026036
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q14856
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q1026036'] [{'concept': 'Q15617994'}, 'P47', 'Q14856']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P47 resource:Q1026036 . ?j rdf:type ontology:Q15617994 } UNION { ?j property:P47 resource:Q14856 . ?j rdf:type ontology:Q15617994 } }
Landrethun-lès-Ardres Laatzen
action count
action union
action filter_type
action find_reverse
entity Landrethun-lès-Ardres
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Laatzen
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Landrethun-lès-Ardres'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Laatzen']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:shares_border_with resource:Landrethun-lès-Ardres . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:shares_border_with resource:Laatzen . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
5
Q501636 Q625095 Q558620 Q534259 Q574412
(c(Q15617994),P47,Q1026036) (c(Q15617994),P47,Q14856)
action count
action union
action filter_type
action find_reverse
entity Q1026036
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q14856
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q1026036'] [{'concept': 'Q15617994'}, 'P47', 'Q14856']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:P47 resource:Q1026036 . ?j rdf:type ontology:Q15617994 } UNION { ?j property:P47 resource:Q14856 . ?j rdf:type ontology:Q15617994 } }
Pattensen Sehnde Sarstedt Hemmingen Algermissen
5
action count
action union
action filter_type
action find_reverse
entity Landrethun-lès-Ardres
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Laatzen
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Landrethun-lès-Ardres'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Laatzen']
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { ?j property:shares_border_with resource:Landrethun-lès-Ardres . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:shares_border_with resource:Laatzen . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6233892
P241
Q781132
USER
Which military branch was John Francis Gathorne-Hardy a part of ?
(Q6233892,P241,c(Q781132))
action filter_type
action find
entity Q6233892
relation P241
type Q781132
['Q6233892', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q6233892 property:P241 ?g . ?g rdf:type ontology:Q781132 }
John Francis Gathorne-Hardy
action filter_type
action find
entity John Francis Gathorne-Hardy
relation military branch
type military branch
['John Francis Gathorne-Hardy', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:John_Francis_Gathorne-Hardy property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q6233892,P241,c(Q781132))
action filter_type
action find
entity Q6233892
relation P241
type Q781132
[ANSWER] was John Francis Gathorne-Hardy a part of
['Q6233892', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?g WHERE { resource:Q6233892 property:P241 ?g . ?g rdf:type ontology:Q781132 }
British Army
British Army was John Francis Gathorne-Hardy a part of
British Army
action filter_type
action find
entity John Francis Gathorne-Hardy
relation military branch
type military branch
['John Francis Gathorne-Hardy', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?g WHERE { resource:John_Francis_Gathorne-Hardy property:military_branch ?g . ?g rdf:type ontology:military_branch }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q14856
P19 P21
Q502895
USER
Which people were born at Laatzen and are a male ?
AND((c(Q502895),P19,Q14856), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q14856
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q14856'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q14856 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
male Laatzen
action filter_type
action intersection
action find_reverse
entity Laatzen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Laatzen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Laatzen . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]
common name
Q823071 Q468483
SYSTEM
Marcel Halstenberg, Gerhard Schulenburg
Q823071 Q468483
AND((c(Q502895),P19,Q14856), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q14856
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Laatzen and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q14856'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q14856 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
Marcel Halstenberg Gerhard Schulenburg
Marcel Halstenberg and Gerhard Schulenburg were born at Laatzen and are a male
Marcel Halstenberg Gerhard Schulenburg
action filter_type
action intersection
action find_reverse
entity Laatzen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Laatzen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Laatzen . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 2215 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2215
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?s = 2215 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2215
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?s = 2215 ) }
[]
musical instrument common name
Q46185 Q8338 Q8371
SYSTEM
bass guitar, trumpet, cello
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2215
[ANSWERS] are played by approximately 2215 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?s = 2215 ) }
bass guitar trumpet cello organ drum kit
Bass guitar, trumpet and cello are played by approximately 2215 people
bass guitar trumpet cello
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2215
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?s = 2215 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16014700 Q15459771
P1433 P921
Q191067
USER
Which articles were primarily based on William McMurdo and were published in Dictionary of National Biography, first supplement ?
AND((c(Q191067),P921,Q15459771), (c(Q191067),P1433,Q16014700))
action filter_type
action intersection
action find_reverse
entity Q15459771
relation P921
action find_reverse
entity Q16014700
relation P1433
type Q191067
{'AND': [[{'concept': 'Q191067'}, 'P921', 'Q15459771'], [{'concept': 'Q191067'}, 'P1433', 'Q16014700']]}
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q15459771 . ?a property:P1433 resource:Q16014700 . ?a rdf:type ontology:Q191067 }
Dictionary of National Biography, first supplement William McMurdo
action filter_type
action intersection
action find_reverse
entity William McMurdo
relation main subject
action find_reverse
entity Dictionary of National Biography, first supplement
relation published in
type article
{'AND': [[{'concept': 'article'}, 'main subject', 'William McMurdo'], [{'concept': 'article'}, 'published in', 'Dictionary of National Biography, first supplement']]}
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:William_McMurdo . ?a property:published_in resource:Dictionary_of_National_Biography,_first_supplement . ?a rdf:type ontology:article }
[]
article
Q19035578
SYSTEM
McMurdo, William Montagu Scott (DNB01)
Q19035578
AND((c(Q191067),P921,Q15459771), (c(Q191067),P1433,Q16014700))
action filter_type
action intersection
action find_reverse
entity Q15459771
relation P921
action find_reverse
entity Q16014700
relation P1433
type Q191067
[ANSWER] was primarily based on William McMurdo and was published in Dictionary of National Biography, first supplement
{'AND': [[{'concept': 'Q191067'}, 'P921', 'Q15459771'], [{'concept': 'Q191067'}, 'P1433', 'Q16014700']]}
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q15459771 . ?a property:P1433 resource:Q16014700 . ?a rdf:type ontology:Q191067 }
McMurdo, William Montagu Scott (DNB01)
McMurdo, William Montagu Scott (DNB01) was primarily based on William McMurdo and was published in Dictionary of National Biography, first supplement
McMurdo, William Montagu Scott (DNB01)
action filter_type
action intersection
action find_reverse
entity William McMurdo
relation main subject
action find_reverse
entity Dictionary of National Biography, first supplement
relation published in
type article
{'AND': [[{'concept': 'article'}, 'main subject', 'William McMurdo'], [{'concept': 'article'}, 'published in', 'Dictionary of National Biography, first supplement']]}
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:William_McMurdo . ?a property:published_in resource:Dictionary_of_National_Biography,_first_supplement . ?a rdf:type ontology:article }
[]