Simple Question (Direct)
Simple Question
Q10577
P27
Q15617994
USER
Which administrative territory is Tom Cleverley a civilian of ?
(Q10577,P27,c(Q15617994))
action filter_type
action find
entity Q10577
relation P27
type Q15617994
['Q10577', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q10577 property:P27 ?b }
Tom Cleverley
action filter_type
action find
entity Tom Cleverley
relation country of citizenship
type designation for an administrative territorial entity
['Tom Cleverley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tom_Cleverley property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q10577,P27,c(Q15617994))
action filter_type
action find
entity Q10577
relation P27
type Q15617994
[ANSWER] is Tom Cleverley a civilian of
['Q10577', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q10577 property:P27 ?b }
United Kingdom
United Kingdom is Tom Cleverley a civilian of
United Kingdom
action filter_type
action find
entity Tom Cleverley
relation country of citizenship
type designation for an administrative territorial entity
['Tom Cleverley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tom_Cleverley property:country_of_citizenship ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10577
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q145,P54,c(Q1194951))
action filter_type
action find
entity Q10577
relation P54
type Q1194951
['Q145', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1194951 . resource:Q10577 property:P54 ?v }
Tom Cleverley
action filter_type
action find
entity Tom Cleverley
relation member of sports team
type national sports team
['United Kingdom', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_sports_team . resource:Tom_Cleverley property:member_of_sports_team ?v }
[]
national sports team
Q47762
SYSTEM
England national football team
Q47762
(Q145,P54,c(Q1194951))
action filter_type
action find
entity Q10577
relation P54
type Q1194951
Which [ANSWER] is that person a member of
['Q145', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1194951 . resource:Q10577 property:P54 ?v }
England national football team
Which England national football team is that person a member of
England national football team
action filter_type
action find
entity Tom Cleverley
relation member of sports team
type national sports team
['United Kingdom', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_sports_team . resource:Tom_Cleverley property:member_of_sports_team ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3572319 Q10577
P19
Q56061
USER
Which administrative territories were Tom Cleverley or Ylipe born ?
OR((Q10577,P19,c(Q56061)), (Q3572319,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10577
relation P19
action find
entity Q3572319
relation P19
type Q56061
{'OR': [['Q10577', 'P19', {'concept': 'Q56061'}], ['Q3572319', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q10577 property:P19 ?o } UNION { resource:Q3572319 property:P19 ?o } } }
Ylipe Tom Cleverley
action filter_type
action union
action find
entity Tom Cleverley
relation place of birth
action find
entity Ylipe
relation place of birth
type administrative territorial entity
{'OR': [['Tom Cleverley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ylipe', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Tom_Cleverley property:place_of_birth ?o } UNION { resource:Ylipe property:place_of_birth ?o } } }
[]
administrative territorial entity
Q810196 Q1479
SYSTEM
Basingstoke, Bordeaux
Q810196 Q1479
OR((Q10577,P19,c(Q56061)), (Q3572319,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10577
relation P19
action find
entity Q3572319
relation P19
type Q56061
Tom Cleverley or Ylipe were born in [ANSWERS]
{'OR': [['Q10577', 'P19', {'concept': 'Q56061'}], ['Q3572319', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q10577 property:P19 ?o } UNION { resource:Q3572319 property:P19 ?o } } }
Basingstoke Bordeaux
Tom Cleverley or Ylipe were born in Basingstoke and Bordeaux
Basingstoke Bordeaux
action filter_type
action union
action find
entity Tom Cleverley
relation place of birth
action find
entity Ylipe
relation place of birth
type administrative territorial entity
{'OR': [['Tom Cleverley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ylipe', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Tom_Cleverley property:place_of_birth ?o } UNION { resource:Ylipe property:place_of_birth ?o } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23716890 Q10577
P19
Q56061
USER
Which administrative territories are the places of birth of Tom Cleverley or Margaret Peterson ?
OR((Q10577,P19,c(Q56061)), (Q23716890,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10577
relation P19
action find
entity Q23716890
relation P19
type Q56061
{'OR': [['Q10577', 'P19', {'concept': 'Q56061'}], ['Q23716890', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q10577 property:P19 ?q } UNION { resource:Q23716890 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Margaret Peterson Tom Cleverley
action filter_type
action union
action find
entity Tom Cleverley
relation place of birth
action find
entity Margaret Peterson
relation place of birth
type administrative territorial entity
{'OR': [['Tom Cleverley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Margaret Peterson', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Tom_Cleverley property:place_of_birth ?q } UNION { resource:Margaret_Peterson property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5083 Q810196
SYSTEM
Seattle, Basingstoke
Q5083 Q810196
OR((Q10577,P19,c(Q56061)), (Q23716890,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10577
relation P19
action find
entity Q23716890
relation P19
type Q56061
[ANSWERS] are the places of birth of Tom Cleverley or Margaret Peterson
{'OR': [['Q10577', 'P19', {'concept': 'Q56061'}], ['Q23716890', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q10577 property:P19 ?q } UNION { resource:Q23716890 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Seattle Basingstoke
Seattle and Basingstoke are the places of birth of Tom Cleverley or Margaret Peterson
Seattle Basingstoke
action filter_type
action union
action find
entity Tom Cleverley
relation place of birth
action find
entity Margaret Peterson
relation place of birth
type administrative territorial entity
{'OR': [['Tom Cleverley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Margaret Peterson', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Tom_Cleverley property:place_of_birth ?q } UNION { resource:Margaret_Peterson property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5083 Q810196
P20
Q502895
USER
Which people have those administrative territories as the area of death ?
(c(Q502895),P20,Q5083) (c(Q502895),P20,Q810196)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q5083'] [{'concept': 'Q502895'}, 'P20', 'Q810196']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . VALUES ( ?t ) { ( resource:Q5083 ) ( resource:Q810196 ) } . ?m property:P20 ?t }
Seattle Basingstoke
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Seattle'] [{'concept': 'common name'}, 'place of death', 'Basingstoke']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . VALUES ( ?t ) { ( resource:Seattle ) ( resource:Basingstoke ) } . ?m property:place_of_death ?t }
[]
common name
Q410 Q4115542 Q73692
SYSTEM
Carl Sagan, Abdul Majeed bin Abdulaziz Al Saud, Susan Butcher
Q337345 Q16059113 Q6504217 Q1469787 Q5588058 Q325118 Q4803332 Q368456 Q5082808 Q374134 Q6105084 Q1150009 Q7350247 Q19561054 Q379803 Q3030888 Q4726069 Q2563987 Q5338613 Q7346311 Q19364786 Q6792954 Q2578797 Q591513 Q1335257 Q19560511 Q887125 Q5812644 Q7804070 Q3505365 Q1949633 Q4711328 Q713871 Q6848661 Q7925675 Q541767 Q1095407 Q3517020 Q1700121 Q718492 Q653207 Q2156302 Q1346626 Q4115542 Q2000229 Q605844 Q1631895 Q3502615 Q13575409 Q7940158 Q2543724 Q296069 Q272042 Q184577 Q6246991 Q6905760 Q3722997 Q16019159 Q949018 Q4230665 Q2448688 Q764812 Q5294814 Q4841987 Q6167083 Q6838670 Q5423387 Q5371442 Q98955 Q4762931 Q885846 Q5346732 Q5128811 Q17119617 Q3038767 Q1193021 Q73692 Q1329428 Q1557848 Q2579059 Q4834112 Q4797991 Q15269797 Q4398191 Q458891 Q3077389 Q22575698 Q5342212 Q1329430 Q542232 Q6502831 Q91414 Q708495 Q96809 Q939138 Q525554 Q4561809 Q870909 Q1815925 Q7183533 Q2124432 Q11511175 Q7983865 Q1356799 Q5423909 Q3530947 Q1174652 Q4887923 Q3901333 Q7970580 Q6194293 Q3894123 Q109731 Q438941 Q6376596 Q100996 Q6665776 Q2408020 Q15993281 Q1709071 Q7792486 Q5339850 Q3751786 Q1362687 Q886927 Q889296 Q25273255 Q238256 Q7437219 Q5055930 Q16012872 Q15991146 Q886900 Q1239926 Q518708 Q410 Q15030108 Q7297119 Q18340366 Q467727 Q5561194 Q464796 Q3431254 Q5901608 Q7790931 Q7029620 Q1743461 Q2408457 Q1344139 Q5539129 Q23905227 Q381777 Q18152762 Q239739 Q3160889 Q3048229 Q2397157 Q20738633 Q2170925 Q5496223 Q6243697 Q1272620 Q2235695 Q1395404 Q4898719 Q26935172 Q952816 Q3805000 Q19360602 Q6192288 Q19361324 Q325437 Q15428519 Q2544548 Q481964 Q447145 Q885873 Q2157952 Q5666018 Q1349922 Q1347283 Q5494461 Q787704 Q15429827 Q2423575 Q19360677 Q2129651 Q877236 Q1430387 Q6774512 Q6133243 Q737442 Q454748 Q1066994 Q3641289 Q442369 Q14330245 Q6182848 Q3183933 Q5018119 Q4527905 Q5769278 Q952884 Q470495 Q2636094 Q1173114 Q352185 Q5040360 Q5545462 Q6662654 Q8008200 Q1356474 Q5298331 Q2003971 Q5769215 Q5596926 Q4352396 Q8009369 Q23019251 Q5234532 Q1066256 Q552432 Q1911062 Q4407135 Q309838 Q815335 Q6208574 Q3426133 Q6220049 Q976244 Q5495816 Q5752204 Q5213471 Q240554 Q2000098 Q5367243 Q18910601 Q4939242 Q4741834 Q693873 Q920857 Q2938719 Q3810255 Q5538581 Q7937749 Q464506 Q5733639 Q3440975 Q5650533 Q1689147 Q3430884 Q1534479 Q585159 Q4474942 Q6409506 Q608882 Q1523837 Q19876487 Q3180830 Q310485 Q2158105 Q12811081 Q6389939 Q16556066 Q1634482 Q7152567 Q2485489 Q1363355 Q1595543 Q1277150 Q5373574 Q2019000 Q5338911 Q14423677 Q7273606 Q16856685 Q4023937 Q4848353 Q5363730 Q4412810 Q7051531 Q6847630 Q2347934 Q5730634 Q7963909 Q16019391 Q7937695 Q214511 Q1445313 Q18940813 Q886178 Q21176775 Q8013188 Q4910957 Q74744 Q7373221 Q19561476 Q274239 Q7373219 Q4509578 Q7349087 Q7364366 Q355566 Q218001 Q16750605 Q214826 Q273230 Q3930647 Q2602165 Q323568 Q1378330 Q176562 Q108880 Q664450 Q4710078 Q5973650 Q2839063 Q5336358 Q6142399 Q21036763 Q8446 Q1383799 Q6530898 Q2061438 Q6722979 Q4893212 Q334368 Q6678927 Q10517242 Q14165764 Q2440090 Q5497504 Q1820539 Q5667545 Q5132730 Q725542 Q7377392 Q6555732 Q1264652 Q536973 Q5498078 Q5927172 Q5394460 Q2896020 Q15072590
(c(Q502895),P20,Q5083) (c(Q502895),P20,Q810196)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] have those administrative territories as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q5083'] [{'concept': 'Q502895'}, 'P20', 'Q810196']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . VALUES ( ?t ) { ( resource:Q5083 ) ( resource:Q810196 ) } . ?m property:P20 ?t }
Peter M. Bowers Alice Ball Lawrence James Beck John B. Allen Gottlieb Burian Leonhard Seppala Asahel Curtis Vincent Teresa Charles T. Cross Rusty Wailes J. California Cooper Caesar Hirsch Robert T. Paine I. B. Knickerbocker Jerry Norman Joe Sutter Alice Rollit Coe Wesley Livsey Jones Edith Macefield Robert Kendall Jeanette Williams Maurice Clemmons William Farrand Prosser Melvin Baldwin Warren Magnuson R. Mort Frayn Albert Rosellini James R. Holton Tim O'Rourke Surkhang Lhawang Topgyal Mother Damnable Albert Tillman Con Walsh Mike Ryan Victor Aloysius Meyers Kate Fleming Hec Edmundson Ted D'Arms John Franklin Miller Pete Schoening Robert Spitzer Robert A. Sutermeister Roy Chiao Abdul Majeed bin Abdulaziz Al Saud Robert L. Forward William Thompson Howard Roberts Peg Phillips Edwin London Volfgangs Dārziņš Walter Bowman Alex Haley Denise Levertov Walter Houser Brattain John Martin Leahy Montgomery Oliver Koelsch Elinor Fair Allen Morgan Turk Edwards Constantin Condrea Seosamh Ó hÉanaí August Wilson Donald Matthews Bagley Wright Jay Rabinowitz Mickey Ion Ezra Meeker Emil Sick Gustav Konstantin von Alvensleben Angelo Pellegrini Lyman Enos Knapp Edwin P. Wilson Claude E. Carpenter Gunhild Stenerud Foerster Ford Quint Elvidge Hsu Dau-lin Susan Butcher Elijah V. Brookshire Gwendolyn Knight William H. Harries B. Marcus Priteca Arthur Bestor A. W. Piper Paul Brand Lucia Valentini Terrani Frank Foyston Eugene Troobnick Edward Carlson Elijah S. Grammer Alan Hovhaness Lavrentis Dianellos Hellmut Wilhelm Arthur Ayrault Peter Bergmann Frank Silva Charles Dvorak Josef Lux Arvid Pardo Robert Klark Graham Philip F. Spaulding Maureen Starkey Tigrett Ai Saotome Wesley Wehr Seth Neddermeyer F. H. Luce Tom Van Flandern David Hall Beniah Longley Whitman Phil Lumpkin Warren Westlund Jim Compton Paolo Giorza Edwin G. Krebs Jon Brower Minnoch Kathi Goertzen Ernst Behler Lockrem Johnson Gene Amondson Richard McIver Martha Goldstein Thomas Milton Gatch Edmund T. Allen Frank Colacurcio Robert Guthrie Henry McBride John Philo Hoyt Clayton Corzatte Helene Madison Scott Scurlock Cecil Arden Stefanie Sargent Margaret Jewett Smith Bailey Roland H. Hartley Donald H. Magnuson Jeff Alexander Carl Sagan Paul Havas Ray A. Robinson R. Rajalakshmi Nicholas Poppe Gilbert S. Meem Rachel Beckwith Richard T. Heffron Horace Chapin Henry Thomas Huston Macbride Nicolas Dubois Dominic Beck Paul Tutmarc Al Ulbrickson Joe Venuti George F. Moore Ingrid Lyne Andrew Wood Harry Allen Octavia E. Butler James Acord Edouard Potjes Turrell Verl Wylie Harry Caplan Roy Wier Fred Schacht John L. Sloane Steve Anderson Steffi Sidney Forrest Mars Betty Binns Fletcher Cheryl Linn Glass Jean Hoerni Izaak Opatowski John L. O'Brien Jigdal Dagchen Sakya Hugh Alvin Bone Vernon Watkins Max Hicks Savelle Walter Guernsey Reynolds Amy Tryon Karol Kennedy John Franklin Alexander Strong Robert L. Letsinger Alex Krieger Lucky Thompson Frank Swift Bourns Fred Anhalt Ralph P. Boas, Jr. Howard Kottler Thomas E. Martin George F. Yantis Ralph Horr Otto Lang Floyd Standifer Martha Ostenso James E. West Michael Dibdin Betty MacDonald Charlie Rouse Bob Donham Don Samuelson Slim Wintermute Jerome Morford Jorma Salmi Cal Anderson Paul Shure Hiram Scofield Richard Achilles Ballinger Nesmith Ankeny Al Hood Dave Beck Sol Hoʻopiʻi Carl J. Lomen George Varnell Lloyd Morrison William E. Boone Ernest N. Hutchinson Dorothy Bullitt John Harron Hiram M. Chittenden Granville O. Haller James Fifer William Frazer Judson Toll Jennings David H. Jarvis Charles Tiebout John of Shanghai and San Francisco John Baker Saunders Gerhard Samuel Layne Staley Belding Hibbard Scribner Joe Bell Alexander L. George John B. McDiarmid Lisel Salzer Fred Lukoff Carlos de Luxán Meléndez Dan Fenno Henderson Kristen Pfaff Norris Brown Eloy Inos Edwin A. Start Bolesław Gładych Ambrose McCarthy Patterson Arnie Weinmeister Orange Jacobs Carey Wilber Joseph Ney Babson George Donworth Vivian Mason David Swinson Maynard Herbert Blau Charles Day Hans Neurath John Cherberg Richard Hugo Robert W. Ward Steve Goodman Edward Ullman Kim Thompson Mary Curtis Verna Peter Dunfield Ross Bragg John-Franklin Koenig E. Donnall Thomas Robert Lynn Nancy Hartsock Kenneth Callahan Filippo Marignoli Hugh Mitchell Paul Montgomery Mia Zapata Erwin Reifler Arthur A. Denny Earl Robinson Emmett Watson Pemmikan Edmond S. Meany Toby Saks R. E. Robertson Jacob Nist Zbysław Ciołkosz Bailey Gatzert Elizabeth Williams Champney Nils Fredrik Höijer Norm Maleng Mike Layton Stewart Stern Henry Yesler Walt Crowley Carl Gatto Vivian Dandridge August Kautz Franklyn F. Bond Dhongthog Rinpoché Watson C. Squire Nils August Johanson William J. Coyle Bill Speidel Elena Donaldson-Akhmilovskaya Roy Olmstead J. W. McDonnell Nicoletta Machiavelli Roy Nutt Mary Layne Boas Robert R. Beezer Ron Scollon Jacob Lawrence Zoa Sherburne Sarah Truax William Boeing Brigid Bazlen Ray W. Jones Marion Zioncheck William Bergsma Joe Hall Elisha P. Ferry Robert F. Furchgott David Weyhe Smith Albert E. Todd Lewis Sperry Chafer Alma Kruger Eddie O'Brien James Ronald Warren Malcolm Roberts Kurt Cobain John Gardner Leslie Housden Isaac Thomas Thornycroft Macdonald Hastings Bernard Harrison Denis Nowell Pritt Arthur Charles Hervey Bernard Radford Maire O'Neill Tom Simpson Frederick Cavendish Ponsonby Les Humphries Harry Brown Cliff Portwood Chad Varah Rudolph Bentinck Lionel Murton Dukinfield Henry Scott Sid Castle Frederick Hunt Hubert Broad Samuel James Augustus Salter Benjamin Caldwell Johnnie Cradock
Carl Sagan, Abdul Majeed bin Abdulaziz Al Saud and Susan Butcher have those administrative territories as the area of death
Carl Sagan Abdul Majeed bin Abdulaziz Al Saud Susan Butcher
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Seattle'] [{'concept': 'common name'}, 'place of death', 'Basingstoke']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . VALUES ( ?t ) { ( resource:Seattle ) ( resource:Basingstoke ) } . ?m property:place_of_death ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q410
P509
Q2057971
USER
How did that person die ?
(Q410,P509,c(Q2057971))
action filter_type
action find
entity Q410
relation P509
type Q2057971
['Q410', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q410 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
Carl Sagan
action filter_type
action find
entity Carl Sagan
relation cause of death
type health problem
['Carl Sagan', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Sagan property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q410
SYSTEM
Did you mean Carl Sagan ?
Q410 Q4115542 Q73692
(Q410,P509,c(Q2057971)) (Q4115542,P509,c(Q2057971)) (Q73692,P509,c(Q2057971))
[ANSWER]
['Q410', 'P509', {'concept': 'Q2057971'}] ['Q4115542', 'P509', {'concept': 'Q2057971'}] ['Q73692', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q410 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
Carl Sagan Abdul Majeed bin Abdulaziz Al Saud Susan Butcher
Did you mean Carl Sagan ?
Carl Sagan
['Carl Sagan', 'cause of death', {'concept': 'health problem'}] ['Abdul Majeed bin Abdulaziz Al Saud', 'cause of death', {'concept': 'health problem'}] ['Susan Butcher', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Sagan property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
Yes
(Q410,P509,c(Q2057971))
['Q410', 'P509', {'concept': 'Q2057971'}]
['Carl Sagan', 'cause of death', {'concept': 'health problem'}]
[]
Q12192
SYSTEM
pneumonia
Q12192
(Q410,P509,c(Q2057971))
action filter_type
action find
entity Q410
relation P509
type Q2057971
That person died in [ANSWER]
['Q410', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { resource:Q410 property:P509 ?z . ?z rdf:type ontology:Q2057971 }
pneumonia
That person died in pneumonia
pneumonia
action filter_type
action find
entity Carl Sagan
relation cause of death
type health problem
['Carl Sagan', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Sagan property:cause_of_death ?z . ?z rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12192 Q310476
P509
Q502895
USER
Did Fats Waller have that health problem as the reason for fatality ?
(Q310476,P509,Q12192)
action is_in
entity Q12192
action find
entity Q310476
relation P509
['Q310476', 'P509', 'Q12192']
ASK WHERE { resource:Q310476 property:P509 resource:Q12192 }
pneumonia Fats Waller
action is_in
entity pneumonia
action find
entity Fats Waller
relation cause of death
['Fats Waller', 'cause of death', 'pneumonia']
ASK WHERE { resource:Fats_Waller property:cause_of_death resource:pneumonia }
[]
common name
SYSTEM
YES
(Q310476,P509,Q12192)
action is_in
entity Q12192
action find
entity Q310476
relation P509
[ANSWER]
['Q310476', 'P509', 'Q12192']
ASK WHERE { resource:Q310476 property:P509 resource:Q12192 }
Yes
action is_in
entity pneumonia
action find
entity Fats Waller
relation cause of death
['Fats Waller', 'cause of death', 'pneumonia']
ASK WHERE { resource:Fats_Waller property:cause_of_death resource:pneumonia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q275308 Q10577
P19
Q56061
USER
Which administrative territories were Tom Cleverley or Gary Vitti born in ?
OR((Q10577,P19,c(Q56061)), (Q275308,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10577
relation P19
action find
entity Q275308
relation P19
type Q56061
{'OR': [['Q10577', 'P19', {'concept': 'Q56061'}], ['Q275308', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q10577 property:P19 ?e } UNION { resource:Q275308 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Gary Vitti Tom Cleverley
action filter_type
action union
action find
entity Tom Cleverley
relation place of birth
action find
entity Gary Vitti
relation place of birth
type administrative territorial entity
{'OR': [['Tom Cleverley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gary Vitti', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Tom_Cleverley property:place_of_birth ?e } UNION { resource:Gary_Vitti property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49169 Q810196
SYSTEM
Stamford, Basingstoke
Q49169 Q810196
OR((Q10577,P19,c(Q56061)), (Q275308,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10577
relation P19
action find
entity Q275308
relation P19
type Q56061
Tom Cleverley or Gary Vitti were born in [ANSWERS]
{'OR': [['Q10577', 'P19', {'concept': 'Q56061'}], ['Q275308', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q10577 property:P19 ?e } UNION { resource:Q275308 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Stamford Basingstoke
Tom Cleverley or Gary Vitti were born in Stamford and Basingstoke
Stamford Basingstoke
action filter_type
action union
action find
entity Tom Cleverley
relation place of birth
action find
entity Gary Vitti
relation place of birth
type administrative territorial entity
{'OR': [['Tom Cleverley', 'place of birth', {'concept': 'administrative territorial entity'}], ['Gary Vitti', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Tom_Cleverley property:place_of_birth ?e } UNION { resource:Gary_Vitti property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16177301 Q275308
P27
Q15617994
USER
Which administrative territories are Gary Vitti or Lee Byeng-Ju a civilian of ?
OR((Q275308,P27,c(Q15617994)), (Q16177301,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q275308
relation P27
action find
entity Q16177301
relation P27
type Q15617994
{'OR': [['Q275308', 'P27', {'concept': 'Q15617994'}], ['Q16177301', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q275308 property:P27 ?u } UNION { resource:Q16177301 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Lee Byeng-Ju Gary Vitti
action filter_type
action union
action find
entity Gary Vitti
relation country of citizenship
action find
entity Lee Byeng-Ju
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Gary Vitti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lee Byeng-Ju', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Gary_Vitti property:country_of_citizenship ?u } UNION { resource:Lee_Byeng-Ju property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q884
SYSTEM
United States of America, South Korea
Q30 Q884
OR((Q275308,P27,c(Q15617994)), (Q16177301,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q275308
relation P27
action find
entity Q16177301
relation P27
type Q15617994
[ANSWERS] are Gary Vitti or Lee Byeng-Ju a civilian of
{'OR': [['Q275308', 'P27', {'concept': 'Q15617994'}], ['Q16177301', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q275308 property:P27 ?u } UNION { resource:Q16177301 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
United States of America South Korea
United States of America and South Korea are Gary Vitti or Lee Byeng-Ju a civilian of
United States of America South Korea
action filter_type
action union
action find
entity Gary Vitti
relation country of citizenship
action find
entity Lee Byeng-Ju
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Gary Vitti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lee Byeng-Ju', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Gary_Vitti property:country_of_citizenship ?u } UNION { resource:Lee_Byeng-Ju property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]