Simple Question (Direct)
Simple Question
Q5044640
P166
Q618779
USER
What was won by Carola Oman ?
(Q5044640,P166,c(Q618779))
action filter_type
action find
entity Q5044640
relation P166
type Q618779
['Q5044640', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q5044640 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Carola Oman
action filter_type
action find
entity Carola Oman
relation award received
type award
['Carola Oman', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Carola_Oman property:award_received ?r . ?r rdf:type ontology:award }
[]
award
Q392586
SYSTEM
James Tait Black Memorial Prize
Q392586
(Q5044640,P166,c(Q618779))
action filter_type
action find
entity Q5044640
relation P166
type Q618779
[ANSWER] was won by Carola Oman
['Q5044640', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q5044640 property:P166 ?r . ?r rdf:type ontology:Q618779 }
James Tait Black Memorial Prize
James Tait Black Memorial Prize was won by Carola Oman
James Tait Black Memorial Prize
action filter_type
action find
entity Carola Oman
relation award received
type award
['Carola Oman', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Carola_Oman property:award_received ?r . ?r rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5044640
P40
Q502895
USER
Which person has that one as an offspring ?
(c(Q502895),P40,Q392586)
action filter_type
action find_reverse
entity Q5044640
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q392586']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q5044640 . ?t rdf:type ontology:Q502895 }
Carola Oman
action filter_type
action find_reverse
entity Carola Oman
relation child
type common name
[{'concept': 'common name'}, 'child', 'James Tait Black Memorial Prize']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Carola_Oman . ?t rdf:type ontology:common_name }
[]
common name
Q29031
SYSTEM
Charles Oman
Q29031
(c(Q502895),P40,Q392586)
action filter_type
action find_reverse
entity Q5044640
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q392586']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q5044640 . ?t rdf:type ontology:Q502895 }
Charles Oman
Charles Oman has that one as an offspring
Charles Oman
action filter_type
action find_reverse
entity Carola Oman
relation child
type common name
[{'concept': 'common name'}, 'child', 'James Tait Black Memorial Prize']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Carola_Oman . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29031 Q1860
P1412
Q34770
USER
Does English can that person understand ?
(Q29031,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q29031
relation P1412
['Q29031', 'P1412', 'Q1860']
ASK WHERE { resource:Q29031 property:P1412 resource:Q1860 }
Charles Oman English
action is_in
entity English
action find
entity Charles Oman
relation languages spoken, written or signed
['Charles Oman', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Charles_Oman property:languages_spoken,_written_or_signed resource:English }
[]
language
SYSTEM
YES
(Q29031,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q29031
relation P1412
[ANSWER]
['Q29031', 'P1412', 'Q1860']
ASK WHERE { resource:Q29031 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Charles Oman
relation languages spoken, written or signed
['Charles Oman', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Charles_Oman property:languages_spoken,_written_or_signed resource:English }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q995265 Q392586
P69 P166
Q502895
USER
Which people were honoured with James Tait Black Memorial Prize and did n't go to school at Bryn Mawr College ?
AND((c(Q502895),P166,Q392586), NOT((c(Q502895),P69,Q995265)))
action filter_type
action difference
action find_reverse
entity Q392586
relation P166
action find_reverse
entity Q995265
relation P69
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q392586'], {'NOT': [[{'concept': 'Q502895'}, 'P69', 'Q995265']]}]}
SELECT DISTINCT ?j WHERE { MINUS { ?j property:P69 resource:Q995265 } . ?j property:P166 resource:Q392586 . ?j rdf:type ontology:Q502895 }
Bryn Mawr College James Tait Black Memorial Prize
action filter_type
action difference
action find_reverse
entity James Tait Black Memorial Prize
relation award received
action find_reverse
entity Bryn Mawr College
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'James Tait Black Memorial Prize'], {'NOT': [[{'concept': 'common name'}, 'educated at', 'Bryn Mawr College']]}]}
SELECT DISTINCT ?j WHERE { MINUS { ?j property:educated_at resource:Bryn_Mawr_College } . ?j property:award_received resource:James_Tait_Black_Memorial_Prize . ?j rdf:type ontology:common_name }
[]
common name
Q3809138 Q4647799 Q704860 Q7344795 Q530870 Q1442730 Q5470510 Q5345194 Q707796 Q7368376
SYSTEM
Some of them are John Carey, A. G. Macdonell, David Garnett, Robert Gittings, Elizabeth Pakenham, Countess of Longford, Keith Feiling, Forrest Reid, Edward Sackville-West, 5th Baron Sackville, Christopher Priest, Rosemary Hill
Q4726125 Q128560 Q2493658 Q456260 Q505887 Q981086 Q2408417 Q517826 Q1225832 Q234519 Q209641 Q2739768 Q237242 Q546097 Q540427 Q4647799 Q743424 Q639647 Q6179496 Q4684978 Q3760229 Q573813 Q8237 Q3081745 Q1086725 Q1998582 Q523064 Q1927883 Q201732 Q5441765 Q1392021 Q435262 Q1241117 Q716579 Q14946956 Q5470510 Q432994 Q430182 Q1176073 Q668090 Q6178253 Q1442730 Q178100 Q5372956 Q44183 Q6524081 Q510341 Q140201 Q5721201 Q102034 Q5733687 Q5980623 Q7343968 Q1703090 Q335331 Q4160372 Q287460 Q333004 Q2940723 Q444315 Q1343804 Q314158 Q5451078 Q7299233 Q370973 Q1732387 Q1065287 Q44306 Q711869 Q5312472 Q3017592 Q530870 Q3495420 Q434622 Q432322 Q6107500 Q382604 Q233956 Q649822 Q316048 Q319169 Q310176 Q7609373 Q349355 Q235308 Q7167464 Q8025392 Q548004 Q190379 Q3666271 Q7382954 Q1503011 Q5004460 Q313077 Q15997090 Q16199490 Q6525761 Q219784 Q437718 Q7344795 Q242796 Q336479 Q1373357 Q348916 Q316607 Q7507923 Q239307 Q7123723 Q6105497 Q3809138 Q7364921 Q187330 Q107002 Q1065637 Q528576 Q369526 Q333575 Q7688168 Q6708612 Q272610 Q5056381 Q7273619 Q523578 Q443528 Q333442 Q81447 Q7167563 Q43293 Q52207 Q40874 Q5550473 Q704860 Q1233576 Q5345194 Q1703210 Q5044640 Q4964714 Q440528 Q6297513 Q5548229 Q912791 Q6139971 Q654747 Q237639 Q5490034 Q720306 Q3296204 Q7368376 Q1282706 Q5321911 Q140052 Q6153222 Q446396 Q443908 Q471021 Q707796 Q6792980 Q15492592 Q363729 Q217495 Q450446 Q6712733 Q6988888 Q722103 Q1235328 Q4758145 Q213690 Q6819481 Q514998 Q4696709 Q3434910 Q2319515 Q5512352 Q189119 Q720806 Q510320 Q47619 Q34970 Q6377056
AND((c(Q502895),P166,Q392586), NOT((c(Q502895),P69,Q995265)))
action filter_type
action difference
action find_reverse
entity Q392586
relation P166
action find_reverse
entity Q995265
relation P69
type Q502895
[ANSWERS] were honoured with James Tait Black Memorial Prize and did n't go to school at Bryn Mawr College
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q392586'], {'NOT': [[{'concept': 'Q502895'}, 'P69', 'Q995265']]}]}
SELECT DISTINCT ?j WHERE { MINUS { ?j property:P69 resource:Q995265 } . ?j property:P166 resource:Q392586 . ?j rdf:type ontology:Q502895 }
Alice Thompson Graham Greene Victoria Glendinning John Connell Rex Warner Walter de la Mare George D. Painter Hilary Spurling Robin Lane Fox Angela Carter John le Carré Ian Gibson Beryl Bainbridge Veronica Wedgwood Lytton Strachey A. G. Macdonell Noel Annan, Baron Annan George Mackay Brown Jenny Uglow Adrian Desmond Geoffrey Scott Anthony Powell Richard Holmes Francis Yeats-Brown Christopher Hassall G. G. Coulton Lord David Cecil Michael Holroyd Robert Graves Felicitas Corrigan Timothy Mo Rose Tremain Eustace Percy, 1st Baron Percy of Newcastle Joyce Cary David Nokes Forrest Reid Diarmaid MacCulloch C. S. Forester David Peace Piers Paul Read Jennifer Dawson Keith Feiling Sebastian Barry Emma Smith William Golding Leo Myers Rosalind Belben J. G. Ballard Henry Festing Jones Ronald Ross Herbert Brook Workman Iain Sinclair Robert Edric Jonathan Bate Robert Skidelsky, Baron Skidelsky Jenny Joseph Angus Wilson John Buchan, 1st Baron Tweedsmuir Caryl Phillips Kate O'Brien John Wain Arnold Bennett Fiona MacCarthy Raymond Wilson Chambers Liam O'Flaherty Karl Miller Charles Langbridge Morgan Salman Rushdie Arthur Waley Dugald Sutherland MacColl David C. Douglas Elizabeth Pakenham, Countess of Longford Mary Moorman Alan Walker Ivy Compton-Burnett J. Y. T. Greig John Berger Muriel Spark Quentin Bell Alan Hollinghurst Peter Ackroyd Martin Amis Stephen Gwynn Adam Fox Elizabeth Bowen Percy Lubbock Winifred Gérin Hugh Walpole Ian McEwan Chapman Mortimer Ruth Dudley Edwards Geoffrey Keynes Byron Rogers John Banville Helen de Guerry Simpson Sue Prideaux Leonard Strong Lawrence Durrell Graham Swift Robert Gittings Antonia Fraser Arthur Ponsonby, 1st Baron Ponsonby of Shulbrede G. M. Trevelyan Bruce Chatwin Jonathan Franzen Sid Smith Margaret Drabble Padgett Powell J. E. Neale John Carey Ronald Hardy H. F. M. Prescott Evelyn Waugh Charles Nicholl Rose Macaulay Margaret Kennedy C. P. Snow Tatjana Soli Lyndall Gordon Cormac McCarthy Cecil Woodham-Smith R. F. Foster Winifred Holtby J. B. Priestley Herbert Fisher Aldous Huxley Percy Scholes J. M. Coetzee Claire Tomalin Doris Lessing Gerda Charles David Garnett Richard Ellmann Edward Sackville-West, 5th Baron Sackville Jonathan Keates Carola Oman Brian McGuinness Christine Brooke-Rose Joyce Hemlow Georgina Battiscombe Brian Moore James Moore L. P. Hartley Radclyffe Hall Frank Tuohy Andrew Miller Mary Lavin Rosemary Hill Jasper Ridley E. H. Young Zadie Smith Janet Browne Maurice Gee E. K. Chambers Morris West Christopher Priest Maurice Cranston Gordon Sherman Haight Siegfried Sassoon Iris Murdoch Oliver Onions M. K. Ashby Neil M. Gunn William Boyd Francis Brett Young Andrew O'Hagan Gitta Sereny Meriol Trevor Richard Aldington Aidan Higgins Robert Henriques St. John Greer Ervine G. M. Young E. M. Forster James Kelman Paul Theroux Nadine Gordimer D. H. Lawrence Kathryn Hughes
John Carey, A. G. Macdonell, David Garnett, Robert Gittings, Elizabeth Pakenham, Countess of Longford, Keith Feiling, Forrest Reid, Edward Sackville-West, 5th Baron Sackville, Christopher Priest and Rosemary Hill were honoured with James Tait Black Memorial Prize and did n't go to school at Bryn Mawr College
John Carey A. G. Macdonell David Garnett Robert Gittings Elizabeth Pakenham, Countess of Longford Keith Feiling Forrest Reid Edward Sackville-West, 5th Baron Sackville Christopher Priest Rosemary Hill
action filter_type
action difference
action find_reverse
entity James Tait Black Memorial Prize
relation award received
action find_reverse
entity Bryn Mawr College
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'James Tait Black Memorial Prize'], {'NOT': [[{'concept': 'common name'}, 'educated at', 'Bryn Mawr College']]}]}
SELECT DISTINCT ?j WHERE { MINUS { ?j property:educated_at resource:Bryn_Mawr_College } . ?j property:award_received resource:James_Tait_Black_Memorial_Prize . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5526060 Q704860
P27
Q15617994
USER
Which administrative territories are David Garnett or Gary Thompson a civilian of ?
OR((Q704860,P27,c(Q15617994)), (Q5526060,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q704860
relation P27
action find
entity Q5526060
relation P27
type Q15617994
{'OR': [['Q704860', 'P27', {'concept': 'Q15617994'}], ['Q5526060', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q704860 property:P27 ?h } UNION { resource:Q5526060 property:P27 ?h } } }
Gary Thompson David Garnett
action filter_type
action union
action find
entity David Garnett
relation country of citizenship
action find
entity Gary Thompson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['David Garnett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gary Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:David_Garnett property:country_of_citizenship ?h } UNION { resource:Gary_Thompson property:country_of_citizenship ?h } } }
[]
designation for an administrative territorial entity
Q145 Q27
SYSTEM
United Kingdom, Ireland
Q145 Q27
OR((Q704860,P27,c(Q15617994)), (Q5526060,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q704860
relation P27
action find
entity Q5526060
relation P27
type Q15617994
[ANSWERS] are David Garnett or Gary Thompson a civilian of
{'OR': [['Q704860', 'P27', {'concept': 'Q15617994'}], ['Q5526060', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q704860 property:P27 ?h } UNION { resource:Q5526060 property:P27 ?h } } }
United Kingdom Ireland
United Kingdom and Ireland are David Garnett or Gary Thompson a civilian of
United Kingdom Ireland
action filter_type
action union
action find
entity David Garnett
relation country of citizenship
action find
entity Gary Thompson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['David Garnett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gary Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:David_Garnett property:country_of_citizenship ?h } UNION { resource:Gary_Thompson property:country_of_citizenship ?h } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1748912
P17
Q623109
USER
Are 1989–90 Maltese Premier League present in those administrative territories ?
(Q1748912,P17,Q145) (Q1748912,P17,Q27)
action is_in
entity prev_answer
action find
entity Q1748912
relation P17
['Q1748912', 'P17', 'Q145'] ['Q1748912', 'P17', 'Q27']
ASK WHERE { resource:Q1748912 property:P17 ?t . VALUES ( ?t ) { ( resource:Q145 ) ( resource:Q27 ) } }
1989–90 Maltese Premier League
action is_in
entity prev_answer
action find
entity 1989–90 Maltese Premier League
relation country
['1989–90 Maltese Premier League', 'country', 'United Kingdom'] ['1989–90 Maltese Premier League', 'country', 'Ireland']
ASK WHERE { resource:1989–90_Maltese_Premier_League property:country ?t . VALUES ( ?t ) { ( resource:United_Kingdom ) ( resource:Ireland ) } }
[]
sports league
SYSTEM
NO
(Q1748912,P17,Q145) (Q1748912,P17,Q27)
action is_in
entity prev_answer
action find
entity Q1748912
relation P17
[ANSWER]
['Q1748912', 'P17', 'Q145'] ['Q1748912', 'P17', 'Q27']
ASK WHERE { resource:Q1748912 property:P17 ?t . VALUES ( ?t ) { ( resource:Q145 ) ( resource:Q27 ) } }
No
action is_in
entity prev_answer
action find
entity 1989–90 Maltese Premier League
relation country
['1989–90 Maltese Premier League', 'country', 'United Kingdom'] ['1989–90 Maltese Premier League', 'country', 'Ireland']
ASK WHERE { resource:1989–90_Maltese_Premier_League property:country ?t . VALUES ( ?t ) { ( resource:United_Kingdom ) ( resource:Ireland ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5366703
P106
Q12737077
USER
What does Elmer William Engstrom do for a living ?
(Q5366703,P106,c(Q12737077))
action filter_type
action find
entity Q5366703
relation P106
type Q12737077
['Q5366703', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5366703 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Elmer William Engstrom
action filter_type
action find
entity Elmer William Engstrom
relation occupation
type occupation
['Elmer William Engstrom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Elmer_William_Engstrom property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q81096
SYSTEM
engineer
Q81096
(Q5366703,P106,c(Q12737077))
action filter_type
action find
entity Q5366703
relation P106
type Q12737077
Elmer William Engstrom does not [ANSWER] for a living
['Q5366703', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5366703 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
engineer
Elmer William Engstrom does not engineer for a living
engineer
action filter_type
action find
entity Elmer William Engstrom
relation occupation
type occupation
['Elmer William Engstrom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Elmer_William_Engstrom property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q8013595 Q5366703
P106
Q12737077
USER
Or William John Blair?
OR((Q5366703,P106,c(Q12737077)), (Q8013595,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5366703
relation P106
action find
entity Q8013595
relation P106
type Q12737077
{'OR': [['Q5366703', 'P106', {'concept': 'Q12737077'}], ['Q8013595', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5366703 property:P106 ?a } UNION { resource:Q8013595 property:P106 ?a } } . ?a rdf:type ontology:Q12737077 }
William John Blair Elmer William Engstrom
action filter_type
action union
action find
entity Elmer William Engstrom
relation occupation
action find
entity William John Blair
relation occupation
type occupation
{'OR': [['Elmer William Engstrom', 'occupation', {'concept': 'occupation'}], ['William John Blair', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Elmer_William_Engstrom property:occupation ?a } UNION { resource:William_John_Blair property:occupation ?a } } . ?a rdf:type ontology:occupation }
[]
occupation
Q81096 Q82955
SYSTEM
engineer, politician
Q81096 Q82955
OR((Q5366703,P106,c(Q12737077)), (Q8013595,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5366703
relation P106
action find
entity Q8013595
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q5366703', 'P106', {'concept': 'Q12737077'}], ['Q8013595', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q5366703 property:P106 ?a } UNION { resource:Q8013595 property:P106 ?a } } . ?a rdf:type ontology:Q12737077 }
engineer politician
engineer politician
action filter_type
action union
action find
entity Elmer William Engstrom
relation occupation
action find
entity William John Blair
relation occupation
type occupation
{'OR': [['Elmer William Engstrom', 'occupation', {'concept': 'occupation'}], ['William John Blair', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Elmer_William_Engstrom property:occupation ?a } UNION { resource:William_John_Blair property:occupation ?a } } . ?a rdf:type ontology:occupation }
[]