Simple Question (Direct)
Simple Question
Q3809681
P106
Q12737077
USER
What do John Wishart do for a living ?
(Q3809681,P106,c(Q12737077))
action filter_type
action find
entity Q3809681
relation P106
type Q12737077
['Q3809681', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3809681 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
John Wishart
action filter_type
action find
entity John Wishart
relation occupation
type occupation
['John Wishart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:John_Wishart property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q2732142 Q170790
SYSTEM
statistician, mathematician
Q2732142 Q170790
(Q3809681,P106,c(Q12737077))
action filter_type
action find
entity Q3809681
relation P106
type Q12737077
John Wishart do for a living a [ANSWERS]
['Q3809681', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3809681 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
statistician mathematician
John Wishart do for a living a statistician and mathematician
statistician mathematician
action filter_type
action find
entity John Wishart
relation occupation
type occupation
['John Wishart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:John_Wishart property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3809681
P19
Q56061
USER
Which administrative territory is the place of birth of John Wishart ?
(Q3809681,P19,c(Q56061))
action filter_type
action find
entity Q3809681
relation P19
type Q56061
['Q3809681', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q3809681 property:P19 ?t }
John Wishart
action filter_type
action find
entity John Wishart
relation place of birth
type administrative territorial entity
['John Wishart', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:John_Wishart property:place_of_birth ?t }
[]
administrative territorial entity
Q420303
SYSTEM
Montrose
Q420303
(Q3809681,P19,c(Q56061))
action filter_type
action find
entity Q3809681
relation P19
type Q56061
[ANSWER] is the place of birth of John Wishart
['Q3809681', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q3809681 property:P19 ?t }
Montrose
Montrose is the place of birth of John Wishart
Montrose
action filter_type
action find
entity John Wishart
relation place of birth
type administrative territorial entity
['John Wishart', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:John_Wishart property:place_of_birth ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3809681
P69
Q3918
USER
Which university is the alma mater of that person ?
(Q420303,P69,c(Q3918))
action filter_type
action find
entity Q3809681
relation P69
type Q3918
['Q420303', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q3809681 property:P69 ?u . ?u rdf:type ontology:Q3918 }
John Wishart
action filter_type
action find
entity John Wishart
relation educated at
type university
['Montrose', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:John_Wishart property:educated_at ?u . ?u rdf:type ontology:university }
[]
university
Q35794
SYSTEM
University of Cambridge
Q35794
(Q420303,P69,c(Q3918))
action filter_type
action find
entity Q3809681
relation P69
type Q3918
[ANSWER] is the alma mater of that person
['Q420303', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q3809681 property:P69 ?u . ?u rdf:type ontology:Q3918 }
University of Cambridge
University of Cambridge is the alma mater of that person
University of Cambridge
action filter_type
action find
entity John Wishart
relation educated at
type university
['Montrose', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:John_Wishart property:educated_at ?u . ?u rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q35794 Q111366
P17
Q15617994
USER
Is that university located in Pavone del Mella ?
(Q35794,P17,Q111366)
action is_in
entity Q111366
action find
entity Q35794
relation P17
['Q35794', 'P17', 'Q111366']
ASK WHERE { resource:Q35794 property:P17 resource:Q111366 }
University of Cambridge Pavone del Mella
action is_in
entity Pavone del Mella
action find
entity University of Cambridge
relation country
['University of Cambridge', 'country', 'Pavone del Mella']
ASK WHERE { resource:University_of_Cambridge property:country resource:Pavone_del_Mella }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q35794,P17,Q111366)
action is_in
entity Q111366
action find
entity Q35794
relation P17
[ANSWER]
['Q35794', 'P17', 'Q111366']
ASK WHERE { resource:Q35794 property:P17 resource:Q111366 }
No
action is_in
entity Pavone del Mella
action find
entity University of Cambridge
relation country
['University of Cambridge', 'country', 'Pavone del Mella']
ASK WHERE { resource:University_of_Cambridge property:country resource:Pavone_del_Mella }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35794
P361
Q1055028
USER
Which colleges of the University of Cambridge are a portion of that university ?
action filter_type
action find_reverse
entity Q35794
relation P361
type Q1055028
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q35794 . ?b rdf:type ontology:Q1055028 }
University of Cambridge
action filter_type
action find_reverse
entity University of Cambridge
relation part of
type college of the University of Cambridge
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:University_of_Cambridge . ?b rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q767650 Q776807
SYSTEM
Selwyn College, Magdalene College
Q767650 Q776807
action filter_type
action find_reverse
entity Q35794
relation P361
type Q1055028
[ANSWERS] are a portion of that university
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q35794 . ?b rdf:type ontology:Q1055028 }
Selwyn College Magdalene College
Selwyn College and Magdalene College are a portion of that university
Selwyn College Magdalene College
action filter_type
action find_reverse
entity University of Cambridge
relation part of
type college of the University of Cambridge
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:University_of_Cambridge . ?b rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q767650 Q776807
P69
Q502895
USER
Who studied at those colleges of the University of Cambridge ?
(c(Q502895),P69,Q767650) (c(Q502895),P69,Q776807)
action filter_type
action find_reverse
entity prev_answer
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q767650'] [{'concept': 'Q502895'}, 'P69', 'Q776807']
SELECT DISTINCT ?x WHERE { ?x property:P69 ?c . ?x rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q767650 ) ( resource:Q776807 ) } }
Selwyn College Magdalene College
action filter_type
action find_reverse
entity prev_answer
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Selwyn College'] [{'concept': 'common name'}, 'educated at', 'Magdalene College']
SELECT DISTINCT ?x WHERE { ?x property:educated_at ?c . ?x rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Selwyn_College ) ( resource:Magdalene_College ) } }
[]
common name
Q333080 Q332759 Q184499
SYSTEM
Selwyn Lloyd, Francis Pym, Baron Pym, Patrick Blackett, Baron Blackett
Q2979423 Q312124 Q334313 Q333635 Q720681 Q449108 Q328641 Q1581292 Q5236581 Q7983764 Q713388 Q732872 Q4719489 Q7343952 Q7282471 Q8215122 Q5671596 Q7025806 Q17489638 Q641835 Q17332338 Q7791504 Q7794192 Q2706259 Q6217944 Q6251768 Q170294 Q271800 Q5536496 Q5723313 Q5930147 Q731036 Q316669 Q5497684 Q7613759 Q547154 Q5342355 Q15990052 Q7611188 Q5622535 Q417748 Q370054 Q321624 Q7352856 Q7184416 Q1657706 Q5162697 Q99650 Q7349866 Q7172770 Q15525506 Q1234410 Q434996 Q6246626 Q262616 Q5481203 Q7528406 Q7525960 Q1352190 Q5236776 Q16063492 Q6135821 Q4777209 Q7329470 Q16931969 Q5115901 Q2150490 Q15990081 Q6181852 Q4772171 Q6119294 Q4757166 Q6835491 Q122473 Q5076597 Q312088 Q822764 Q6257039 Q7527745 Q5537676 Q7364806 Q5079168 Q17305830 Q7349591 Q1200019 Q5728591 Q8004924 Q571983 Q15990351 Q708951 Q5524237 Q7807180 Q5930434 Q522926 Q966870 Q689348 Q15990074 Q5343772 Q5075499 Q7352318 Q6413326 Q7027557 Q317436 Q18681493 Q708934 Q6531084 Q5343514 Q327372 Q8007896 Q7027076 Q15990314 Q5561607 Q8015092 Q1163083 Q333080 Q4798403 Q921140 Q17308824 Q6947827 Q3048455 Q334293 Q3376510 Q4798616 Q3750942 Q5481174 Q5481176 Q5734270 Q320604 Q15990221 Q6249506 Q3790100 Q5497758 Q6271636 Q1066338 Q15737983 Q5662454 Q5107251 Q6504243 Q6939750 Q6247238 Q1712045 Q8008928 Q7819436 Q7518892 Q336018 Q265445 Q5622676 Q200676 Q332759 Q943761 Q7412272 Q6679900 Q7529424 Q7529429 Q7965885 Q1699829 Q3527206 Q17424079 Q1702147 Q18109092 Q15989837 Q4787804 Q718585 Q3017250 Q5729406 Q7329674 Q3783537 Q335896 Q7821858 Q1334862 Q6377428 Q5482227 Q7341550 Q17514544 Q7324995 Q5930316 Q8004635 Q5341506 Q630274 Q6307234 Q7328375 Q6264709 Q6742703 Q7308632 Q311604 Q335374 Q422686 Q7528156 Q4977377 Q427291 Q3742523 Q199894 Q8006787 Q5113276 Q3853190 Q202248 Q7329067 Q15972418 Q15989898 Q8032050 Q5481346 Q7325185 Q353238 Q15989813 Q434517 Q3784941 Q6283042 Q2157350 Q7803765 Q3439553 Q7323820 Q7527391 Q7380328 Q2419136 Q7803771 Q15457452 Q5498518 Q5728613 Q5108077 Q1628 Q7606332 Q5545401 Q15971130 Q5492240 Q3434244 Q7184507 Q5750002 Q7326083 Q6142815 Q657778 Q17423973 Q5622166 Q7660162 Q7328659 Q6231485 Q4718800 Q5078817 Q950850 Q4964063 Q335398 Q334980 Q15442136 Q307784 Q611352 Q3595922 Q501790 Q16859443 Q4861329 Q335389 Q6581539 Q15989979 Q6846180 Q5131241 Q4679553 Q913203 Q5585167 Q6536635 Q5345355 Q7974676 Q5544568 Q7787298 Q503384 Q8006654 Q15989927 Q15989705 Q6222416 Q1442056 Q323028 Q655212 Q5083445 Q6261021 Q336569 Q503276 Q2150632 Q15989937 Q566658 Q7156818 Q5482561 Q11803033 Q5240534 Q3528485 Q291502 Q15989911 Q333452 Q1188959 Q7608066 Q6075018 Q7526541 Q333824 Q18686111 Q15976260 Q2161615 Q106143 Q14946868 Q6833642 Q710385 Q6904094 Q2205590 Q7427313 Q5080579 Q5344978 Q4354177 Q7346876 Q8001963 Q11625684 Q4797828 Q4853351 Q4758069 Q4756359 Q6939316 Q5670706 Q184499 Q21165940 Q15458673 Q15130790 Q5930319 Q2926176 Q7528506 Q15990161 Q6829318 Q18205254 Q6223150 Q8010872 Q15989998 Q5075491 Q6260419 Q5981813 Q7411301 Q7370733 Q318263 Q5216790 Q15433641 Q16859315 Q15526914 Q3435421 Q6252354 Q336213 Q15432136 Q6223123 Q16240767 Q7174112 Q5534961 Q11001005 Q356026 Q5144843 Q7518233 Q5082608 Q5241357 Q7343919 Q333283 Q4706928 Q5236618 Q6483626 Q4354147 Q7526955 Q14946691 Q1174949 Q1260214 Q7173424 Q7527892 Q7287171 Q6232651 Q194797 Q37802 Q18392479 Q5543213 Q4772206 Q6829211 Q6818305 Q1701049 Q8014752 Q5344241
(c(Q502895),P69,Q767650) (c(Q502895),P69,Q776807)
action filter_type
action find_reverse
entity prev_answer
relation P69
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P69', 'Q767650'] [{'concept': 'Q502895'}, 'P69', 'Q776807']
SELECT DISTINCT ?x WHERE { ?x property:P69 ?c . ?x rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q767650 ) ( resource:Q776807 ) } }
Clive Anderson Tom Hollander Simon Hughes John Gummer Malcolm Muggeridge Barry Morgan Graham Stuart Peter Beckingham David Li Wes Streeting John Warburton Paul David Lack Alexander Macdonald, 7th Baron Macdonald Robert Eden, 3rd Baron Auckland Rafał de Weryha-Wysoczański John Simpson Harry Pilkington Nicholas Luard Malcolm Grimston Michael Adeane, Baron Adeane Leonard Francis Tyrwhitt Thomas Kerrich Thomas Stevens Richard Cumberland John A. Shaw John Page Prince Richard, Duke of Gloucester Greg Clark George Augustus Chichester May Henry Howard, 6th Earl of Suffolk Hugh Broughton Nicholas Shakespeare Walter Rothschild, 2nd Baron Rothschild Frederick Duleep Singh James Saunderson, 1st Earl Castleton Richard Meade Edward Colborne Baber Henry Holland William Nevill, 4th Earl of Abergavenny Guy Pentreath Akhtar Hameed Khan Daniel Pedoe Henry Chadwick Robin Warwick Gibson Philip Stanhope Dodd Igor Judge, Baron Judge Conroy Ryder, 8th Earl of Harrowby Asfa-Wossen Asserate Robert Smith, 1st Baron Carrington Peter Bennett-Jones Henry Dunster Howard Flight George Cecil Ives John Manningham Henry Bellingham Francis H. Roberts Sir Orlando Bridgeman, 1st Baronet, of Ridley Sir Alexander Reid, 3rd Baronet Harold MacMichael David Loveday George Stephen James Heathcote-Drummond-Willoughby, 3rd Earl of Ancaster Antony Grey Richard Thornton Hewitt Nicholas Snowman Chudadhuj Dharadilok Richard Ryder, Baron Ryder of Wensum Soame Jenyns Jeremy Sams Anthony Bull Jacob Soll Andrew Green Michael Yorke Charles Shaughnessy Charles Curran Mike Newell Bernard Waley-Cohen John Scott-Ellis, 9th Baron Howard de Walden Sir John Dyke Acland, 16th Baronet George Carew, 4th Baron Carew Ronald Duncan Charles Howard, 7th Earl of Suffolk Michael Davis Robert Sawyer Derek Ezra, Baron Ezra Henry St John, 18th Baron St John of Bletso William Bagot, 3rd Baron Bagot Clement Francis Cornwall Francis West Arthur Cohen Garry Thomson Timothy Eggar Hugh Courtenay, 18th Earl of Devon Edward Smouha William Empson Adam Holloway John James Edward John Burrow Charles Beauclerk, 13th Duke of St Albans Robin Chichester-Clark Kingsley Martin Nick Mohammed Charles Stewart Parnell Giles Guthrie A. C. Benson Leslie Pym Edward Howard, 8th Earl of Suffolk Hugh Sebag-Montefiore William Donaldson Nick Estcourt Iain Tennant Giles Baring William Mann Daniel Waterland Selwyn Lloyd Arthur Dacres Alan Rusbridger Peniston Booth Mynors Bright Edward Behr Tony Colman Peter Coles Arthur Estcourt Francis Penrose Francis Gulston Francis Grimston Herbert Gwyer Michael Morris, 3rd Baron Killanin William Pell John Morrison, 1st Baron Margadale David Margesson, 1st Viscount Margesson Frederick Fermor-Hesketh, 2nd Baron Hesketh Jon Stock Charles Vyner Brooke John Young Stratton Harold Stannus Gray Chris Lintott Lawrence Joseph Murtogh O'Brien-Arra John Maunsell Richardson Julian Rathbone William Farish Tommy Garnett Simon Gunton Julian Fellowes Christopher Greenwood Guy Wilkinson Peter Woodthorpe Francis Pym, Baron Pym Charles Januarius Acton Samuel Nevill Lord Rhidian Crichton-Stuart Sir Watkin Williams-Wynn, 5th Baronet Sir Watkin Williams-Wynn, 6th Baronet Walter Pym John Donnelly Fage Martin Hawke, 7th Baron Hawke Robert Tyrwhit Samuel Marsden John Le Rougetel Peter Beck Ardal Powell I. A. Richards Dave Smith Henry Ussher Richard Vines Harry de Windt John Douglas, 9th Marquess of Queensberry Tony Bayfield Alfred Newton Katie Derham Francis Pott Robert Anton John Read Richard Culmer Hugh Cholmondeley, 5th Baron Delamere William Aspinwall Edward Adeane Muwenda Mutebi II of Buganda Julian Haviland Richard Perrinchief John Wodehouse, 4th Earl of Kimberley Malcolm White Reginald Capell, 9th Earl of Essex George Mallory Hugh FitzRoy, 11th Duke of Grafton Monty Don Sir John Wray, 3rd Baronet Bruce Dickins Gavin Hastings Ferdinand Dalberg-Acton Thomas Cranmer William Cholmeley Christopher Staughton Mayer Amschel de Rothschild Richard Dalton Richard Skeffington Peter Eliot William Chaytor Wong Yan-lung Francis Hoyland Richard Deverell Charles Kingsley William Ayling Nanavira Thera Henry Herbert, 1st Earl of Carnarvon Joseph Farrow Robert Grant Tim Kelsey Roger Vignoles Richard Atkinson Sir James Clavering, 1st Baronet Rupert McGuigan Theophilus Howard, 2nd Earl of Suffolk Tim Kevan Francis Wrangham Frederick Parker-Rhodes Henry Stafford-Jerningham, 9th Baron Stafford Chris Skilton David Cecil, 6th Marquess of Exeter Stefan Wolff George Uppleby Alan Cathcart, 6th Earl Cathcart Norman Hartnell Rob Wainwright Philip Vellacott Hezekiah Burton Richard Griffin, 3rd Baron Braybrooke James Scarlett, 8th Baron Abinger Prince William of Gloucester Thomas Doughty Guy Clutton-Brock Sydney Stern, 1st Baron Wandsworth Richard Rhys, 9th Baron Dynevor John Egerton, Viscount Alford Alexander Ellis Charles Hartley Samuel Morland Brian Hitch Guy Innes-Ker, 10th Duke of Roxburghe Arthur Tedder, 1st Baron Tedder Robert Keable Abdul Khalek Hassouna Maurice Goldhaber Thomas Walker Arnold Timothy Garden, Baron Garden William North, 6th Baron North Barnabas Gooch Robert Shirley, 13th Earl Ferrers Varananda Dhavaj Harold Fielding Mike Bullen Clemency Burton-Hill Adam Nicolson Brian Walton Gordon Giles Lewis H. Lapham Edward Smith Watkin Lewes George Sinclair, 15th Earl of Caithness Thomas Bailey Trafford Leigh-Mallory William Cecil, 5th Marquess of Exeter Henry Egerton Cotton Frank Dickens John Bond John Hunt, Baron Hunt of Tanworth Edward Waring Edmund Grindal Charles Wentworth-FitzWilliam John Tooley Michael Ramsey Charles Kay Ogden Richard Spring, Baron Risby Henry Cromwell-Williams John Boardman Payne Fisher Francis Tallents Ralph Neville-Grenville David Tustin Bob Barber Stella Creasy John Talbot Clifton Charles Grant, 1st Baron Glenelg Dennis Babbage Thomas Howard, 1st Earl of Berkshire Irwin Cox Sir Edward Dering, 1st Baronet William Sidney, 1st Viscount De L'Isle George E. Felton Joseph Rawson Lumby Roger Blandford Samuel Pepys Richard Jolly Michael Purefoy Leycester Coltman Montague Bertie, 12th Earl of Lindsey Lord Leopold Mountbatten Saul Klein Charles Madge Edward Rainbowe Antony Jay Robert Lewis-Lloyd Wilfrid Leng Masauji Hachisuka Arthur Annesley, 5th Earl of Anglesey Bamber Gascoigne Andrew Morritt Andrew Bisset Murray Irvine Harry Longueville Jones Patrick Blackett, Baron Blackett Samuel Reynolds Solly Piers Brendon William Buller Fagg Hugh Cholmondeley, 6th Marquess of Cholmondeley Brooks Richards Sir Ralph Assheton, 2nd Baronet, of Lever Lionel March Michael Cobb Nicholas Blake John Bridgeman William Hare, 5th Earl of Listowel Charles Godby Charles Beard Izard John Tedder, 2nd Baron Tedder Ian Hobson Samuel Eaton Roualeyn Cumming-Bruce Michael Redgrave Daniel Chandler John Groome John Villiers, 1st Earl Grandison Edward Lawrence Robert Howard John Peachell Mark Malloch Brown, Baron Malloch-Brown John Ure John Breynton Caspar Bowden Peter Fudakowski Geoffrey Webb Steve Henderson Mutesa II of Buganda Colin Allan Simon Barrington-Ward Charles St Clair, 17th Lord Sinclair David Yelland Robert Eagle Nick Herbert Alan Hyman David Lindesay-Bethune, 15th Earl of Lindsay Lancelot Lowther, 6th Earl of Lonsdale Kenneth Horne Sir Gerald Hanson, 2nd Baronet Loyd Grossman David Keilin Jon Ridgeon Peter Cowie Sir John Leslie, 4th Baronet Ralph Anstruther John Fairey Joscelyn Godwin Frederick Freake Guy Mayfield George Parry Anthony Caesar Michael Chaplin Mercer Simpson John McPhee William Lowther Edward Lyon Berthon
Selwyn Lloyd, Francis Pym, Baron Pym and Patrick Blackett, Baron Blackett studied at those colleges of the University of Cambridge
Selwyn Lloyd Francis Pym, Baron Pym Patrick Blackett, Baron Blackett
action filter_type
action find_reverse
entity prev_answer
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Selwyn College'] [{'concept': 'common name'}, 'educated at', 'Magdalene College']
SELECT DISTINCT ?x WHERE { ?x property:educated_at ?c . ?x rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Selwyn_College ) ( resource:Magdalene_College ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q333080
P937
Q56061
USER
Where did that person work ?
(Q333080,P937,c(Q56061))
action filter_type
action find
entity Q333080
relation P937
type Q56061
['Q333080', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q333080 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Selwyn Lloyd
action filter_type
action find
entity Selwyn Lloyd
relation work location
type administrative territorial entity
['Selwyn Lloyd', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Selwyn_Lloyd property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q332759
SYSTEM
Did you mean Francis Pym, Baron Pym ?
Q333080 Q332759 Q184499
(Q333080,P937,c(Q56061)) (Q332759,P937,c(Q56061)) (Q184499,P937,c(Q56061))
[ANSWER]
['Q333080', 'P937', {'concept': 'Q56061'}] ['Q332759', 'P937', {'concept': 'Q56061'}] ['Q184499', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q333080 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Selwyn Lloyd Francis Pym, Baron Pym Patrick Blackett, Baron Blackett
Did you mean Francis Pym, Baron Pym ?
Francis Pym, Baron Pym
['Selwyn Lloyd', 'work location', {'concept': 'administrative territorial entity'}] ['Francis Pym, Baron Pym', 'work location', {'concept': 'administrative territorial entity'}] ['Patrick Blackett, Baron Blackett', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Selwyn_Lloyd property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Selwyn Lloyd. Could you tell me the answer for that?
(Q333080,P937,c(Q56061))
Q333080
['Q333080', 'P937', {'concept': 'Q56061'}]
['Selwyn Lloyd', 'work location', {'concept': 'administrative territorial entity'}]
[]
Q84
SYSTEM
London
Q84
(Q333080,P937,c(Q56061))
action filter_type
action find
entity Q333080
relation P937
type Q56061
That person worked in [ANSWER]
['Q333080', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q333080 property:P937 ?y . ?y rdf:type ontology:Q56061 }
London
That person worked in London
London
action filter_type
action find
entity Selwyn Lloyd
relation work location
type administrative territorial entity
['Selwyn Lloyd', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Selwyn_Lloyd property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q84 Q9899 Q2448699
P190
Q13220204
USER
Is that administrative territory sister town of Amsterdam and Guamote Canton ?
(Q84,P190,Q9899) (Q84,P190,Q2448699)
action is_in
entity Q84
action intersection
action find_reverse
entity Q9899
relation P190
action find_reverse
entity Q2448699
relation P190
['Q84', 'P190', 'Q9899'] ['Q84', 'P190', 'Q2448699']
ASK WHERE { resource:Q84 property:P190 resource:Q2448699 . resource:Q84 property:P190 resource:Q9899 }
London Amsterdam Guamote Canton
action is_in
entity London
action intersection
action find_reverse
entity Amsterdam
relation sister city
action find_reverse
entity Guamote Canton
relation sister city
['London', 'sister city', 'Amsterdam'] ['London', 'sister city', 'Guamote Canton']
ASK WHERE { resource:London property:sister_city resource:Guamote_Canton . resource:London property:sister_city resource:Amsterdam }
[]
second-level administrative country subdivision
SYSTEM
YES and NO respectively
(Q84,P190,Q9899) (Q84,P190,Q2448699)
action is_in
entity Q84
action intersection
action find_reverse
entity Q9899
relation P190
action find_reverse
entity Q2448699
relation P190
[ANSWER]
['Q84', 'P190', 'Q9899'] ['Q84', 'P190', 'Q2448699']
ASK WHERE { resource:Q84 property:P190 resource:Q2448699 . resource:Q84 property:P190 resource:Q9899 }
YES and NO respectively
action is_in
entity London
action intersection
action find_reverse
entity Amsterdam
relation sister city
action find_reverse
entity Guamote Canton
relation sister city
['London', 'sister city', 'Amsterdam'] ['London', 'sister city', 'Guamote Canton']
ASK WHERE { resource:London property:sister_city resource:Guamote_Canton . resource:London property:sister_city resource:Amsterdam }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q767650 Q55074
P17
Q15617994
USER
Is Selwyn College located in Ospedaletto d'Alpinolo ?
(Q767650,P17,Q55074)
action is_in
entity Q55074
action find
entity Q767650
relation P17
['Q767650', 'P17', 'Q55074']
ASK WHERE { resource:Q767650 property:P17 resource:Q55074 }
Selwyn College Ospedaletto d'Alpinolo
action is_in
entity Ospedaletto d'Alpinolo
action find
entity Selwyn College
relation country
['Selwyn College', 'country', "Ospedaletto d'Alpinolo"]
ASK WHERE { resource:Selwyn_College property:country resource:Ospedaletto_d'Alpinolo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q767650,P17,Q55074)
action is_in
entity Q55074
action find
entity Q767650
relation P17
[ANSWER]
['Q767650', 'P17', 'Q55074']
ASK WHERE { resource:Q767650 property:P17 resource:Q55074 }
No
action is_in
entity Ospedaletto d'Alpinolo
action find
entity Selwyn College
relation country
['Selwyn College', 'country', "Ospedaletto d'Alpinolo"]
ASK WHERE { resource:Selwyn_College property:country resource:Ospedaletto_d'Alpinolo }
[]