Simple Question (Direct)
Simple Question
Q4899518
P39
Q12737077
USER
Which occupation was a position for which Beverly Fawell was appointed ?
(Q4899518,P39,c(Q12737077))
action filter_type
action find
entity Q4899518
relation P39
type Q12737077
['Q4899518', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4899518 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Beverly Fawell
action filter_type
action find
entity Beverly Fawell
relation position held
type occupation
['Beverly Fawell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Beverly_Fawell property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q17495450
SYSTEM
member of the Illinois House of Representatives
Q17495450
(Q4899518,P39,c(Q12737077))
action filter_type
action find
entity Q4899518
relation P39
type Q12737077
A [ANSWER] was a position for which Beverly Fawell was appointed
['Q4899518', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4899518 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the Illinois House of Representatives
A member of the Illinois House of Representatives was a position for which Beverly Fawell was appointed
member of the Illinois House of Representatives
action filter_type
action find
entity Beverly Fawell
relation position held
type occupation
['Beverly Fawell', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Beverly_Fawell property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4899518
P937
Q852446
USER
What is the location where that person worked ?
(Q17495450,P937,c(Q852446))
action filter_type
action find
entity Q4899518
relation P937
type Q852446
['Q17495450', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { resource:Q4899518 property:P937 ?w . ?w rdf:type ontology:Q852446 }
Beverly Fawell
action filter_type
action find
entity Beverly Fawell
relation work location
type administrative territorial entity of the United States
['member of the Illinois House of Representatives', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { resource:Beverly_Fawell property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q28515
SYSTEM
Springfield
Q28515
(Q17495450,P937,c(Q852446))
action filter_type
action find
entity Q4899518
relation P937
type Q852446
The location that person worked is [ANSWER]
['Q17495450', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { resource:Q4899518 property:P937 ?w . ?w rdf:type ontology:Q852446 }
Springfield
The location that person worked is Springfield
Springfield
action filter_type
action find
entity Beverly Fawell
relation work location
type administrative territorial entity of the United States
['member of the Illinois House of Representatives', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { resource:Beverly_Fawell property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q17495450
P39 P21
Q502895
USER
Which people held the position of member of the Illinois House of Representatives and have the gender as male ?
AND((c(Q502895),P39,Q17495450), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17495450
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q17495450'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P39 resource:Q17495450 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male member of the Illinois House of Representatives
action filter_type
action intersection
action find_reverse
entity member of the Illinois House of Representatives
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'member of the Illinois House of Representatives'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:position_held resource:member_of_the_Illinois_House_of_Representatives . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q6132468 Q131929 Q15992816 Q6829413 Q91 Q6251057 Q553626 Q6128064 Q6390046 Q5540455
SYSTEM
Some of them are James DeLeo, Edward Dickinson Baker, George Burditt, Michael Connelly, Abraham Lincoln, John O. Jones, Dennis Hastert, James A. Connolly, Kenneth Dunkin, George Henry Hamilton
Q213960 Q16063088 Q861115 Q6209621 Q7323197 Q16885732 Q17421815 Q16030635 Q4419889 Q7350739 Q6137541 Q5336558 Q16150373 Q6135963 Q16059302 Q4120842 Q5218954 Q4120845 Q368062 Q16199137 Q7708990 Q5342487 Q6218781 Q4411229 Q712134 Q16241220 Q17479537 Q17421987 Q5671406 Q16729662 Q16886507 Q6685595 Q3269456 Q7105234 Q6183919 Q16062619 Q4723245 Q6138531 Q5235244 Q5545603 Q6166706 Q4264973 Q16012840 Q5237466 Q8019338 Q7794741 Q6799284 Q7317448 Q8013172 Q881608 Q6384339 Q4704756 Q6388683 Q7412844 Q4961416 Q553626 Q91 Q295318 Q16887189 Q16095726 Q7350240 Q5336223 Q5263097 Q1494873 Q16222104 Q943046 Q6829673 Q123571 Q363786 Q8007438 Q5443639 Q6141222 Q3101895 Q5535940 Q5109930 Q8007655 Q16063306 Q8010531 Q6119490 Q6767853 Q5525085 Q5728270 Q6285744 Q3182212 Q2988131 Q7509224 Q4120841 Q4662425 Q16194456 Q7349304 Q16196327 Q5024367 Q3157160 Q5210600 Q7322924 Q556404 Q5331912 Q6846886 Q3181414 Q295267 Q16062628 Q15430368 Q6774850 Q6139496 Q7305587 Q16015281 Q15693916 Q18702993 Q16556622 Q17479424 Q5127366 Q4786552 Q6130642 Q880987 Q16062892 Q5931569 Q15993550 Q16745008 Q16066408 Q4999688 Q16013727 Q10567290 Q477194 Q4754887 Q4893101 Q4668942 Q5730280 Q5606535 Q6236910 Q6831378 Q13218848 Q16062999 Q5213181 Q2938929 Q16029314 Q5325810 Q6700334 Q5371307 Q6197938 Q16728877 Q5217606 Q8016470 Q4250429 Q6500590 Q7412550 Q883496 Q3246869 Q16062212 Q1886056 Q16059712 Q6777503 Q5339412 Q3013758 Q16981412 Q16043517 Q16065977 Q5545725 Q6241083 Q5846659 Q6128064 Q16875356 Q6144906 Q5417026 Q16186931 Q6186119 Q454939 Q6176265 Q17423746 Q122841 Q5544381 Q5335469 Q1561630 Q4735825 Q5331724 Q131929 Q18739965 Q17423485 Q546986 Q7364626 Q7816338 Q4773581 Q18325594 Q278926 Q16201140 Q6230668 Q6229133 Q740636 Q7350710 Q6104847 Q1544914 Q436272 Q7812633 Q4757410 Q4910207 Q16214871 Q5081459 Q1659983 Q433174 Q4320649 Q5217639 Q6829413 Q5540385 Q7790743 Q5484532 Q4231619 Q6130635 Q6396638 Q16194037 Q16732436 Q5024394 Q3161032 Q7789066 Q5136959 Q6224360 Q16151378 Q576915 Q16030149 Q16854287 Q4800508 Q6111961 Q16215745 Q369068 Q18921206 Q16013990 Q6771985 Q16043481 Q5214269 Q5540455 Q8014331 Q7299081 Q5077015 Q4704711 Q5238976 Q16727772 Q2903132 Q16043722 Q5321400 Q7704931 Q212550 Q4885616 Q2344492 Q968214 Q6135234 Q16093973 Q8007745 Q374427 Q5318199 Q8003996 Q6183394 Q6226995 Q7599652 Q15622508 Q16856471 Q5076653 Q676328 Q4762958 Q5490140 Q4419992 Q16885687 Q961894 Q4963056 Q21028365 Q6286717 Q7173130 Q16065880 Q6391734 Q5275175 Q5258889 Q3013192 Q6503833 Q7807338 Q3101801 Q8644736 Q5233196 Q5077113 Q5498610 Q5077440 Q7408368 Q5486859 Q734659 Q8008294 Q6768462 Q5366890 Q6846078 Q7349492 Q4588784 Q6286806 Q5518288 Q7358619 Q17478995 Q17318890 Q7146827 Q3018617 Q6396888 Q6281501 Q13218866 Q16107270 Q17421639 Q15993370 Q6224551 Q454990 Q16194502 Q7786862 Q8004755 Q15526764 Q7817321 Q4419897 Q3530704 Q6465272 Q5296562 Q1268342 Q16043715 Q16018688 Q16043713 Q8004748 Q4772373 Q6225551 Q5480799 Q15438976 Q5488224 Q5343786 Q302659 Q7364427 Q7482888 Q5294671 Q6504728 Q5066257 Q7150491 Q7410757 Q6833305 Q7436264 Q16063937 Q5300615 Q923522 Q4678814 Q12356786 Q5074862 Q7437507 Q443156 Q16065381 Q467891 Q7488035 Q7323200 Q8018530 Q6076832 Q16206674 Q16058657 Q3177637 Q7150544 Q5668246 Q16030935 Q4360971 Q6831772 Q6684596 Q6132468 Q5344840 Q650612 Q7791417 Q5074929 Q5545680 Q7344167 Q5083276 Q16189530 Q8003983 Q7150090 Q5073172 Q4733878 Q5490254 Q7358403 Q6251057 Q963898 Q19975576 Q16194869 Q734643 Q16062589 Q5238832 Q6390046 Q7976574 Q4931833 Q18685860 Q16886495 Q4890290 Q1257858 Q16203913 Q17479581 Q5341497 Q6212436 Q6846090 Q7358491 Q5740313 Q16063367 Q2580121 Q5216876 Q16194764 Q7610641 Q295584 Q6161977 Q5107609 Q7344199 Q7360466 Q214481 Q5360606 Q17309223 Q16063944 Q5230140 Q15992816 Q5628519 Q735351 Q4710255 Q1269215 Q7152998 Q6446883 Q7347144 Q7328242 Q7558629 Q16149038 Q4957124 Q5484946 Q5346014 Q3132849 Q7412925 Q6384861 Q16013823 Q7459221 Q4668116
AND((c(Q502895),P39,Q17495450), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17495450
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] held the position of member of the Illinois House of Representatives and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q17495450'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P39 resource:Q17495450 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Lorenzo Brentano William J. Phelps Tim Johnson Joe Dunn Rich Bradley Mike Smiddy Simeon P. Shope Robert H. McClellan Jesse O. Norton Robert W. Pritchard James L. D. Morrison Eddie Washington Jaime Andrade Jr. James Herbert Wilkerson Henry H. Evans Robert Smith Daniel V. Beiser Isaac Newton Arnold Elias Kane William E. Phelps Thaddeus Jones Edward D. Cooke John Allen Wakefield John T. Stuart Paul Simon Fred Crespo William H. Condon Alonzo K. Vickers Harry Osterman David Harris Moses J. Wentworth Lou Lang Lyman Trumbull Orville Hodge Jerry L. Mitchell Ninian Wirt Edwards Alfred Orendorff James M. Riggs David Hultgren George W. English Jay Hoffman Morton D. Hull John Merlo David McSweeney William Thomas Rawleigh Thomas W. Ewing William McKendree Springer Reuben G. Soderstrom William J. Calhoun William Henry Bissell Keith Farnham Al Salvi Ken Wendt Samuel W. Moulton Brent Hassert Dennis Hastert Abraham Lincoln Anton Cermak Michael J. Zalewski Ron Lawfer Robert T. McLoskey Eddie Lee Jackson Derrick Smith Gary Hannig Art Turner Melville Fuller Michael D. Unes Larry McKeon Richard Yates William D. Burns Fenton Whitlock Booth James Philip George E. Sangmeister George A. Cooke Christian Mitchell William Davis Asahel Gridley William H. Neece Jacob Zimmerman Mark H. Beaubien, Jr. Gary Forby Henry Sherman Boutell Joseph Naper John G. Oglesby John Alexander McClernand Sidney Mathias Charles Slade Aaron Shaw James D. Brosnahan Robert Rita Jim Watson Calvin D. Johnson Jack Davis Dale Righter John N. Erlenborn Randy Hultgren Ebon C. Ingersoll Mike Fortner John Porter Richard J. Daley Elijah Haines George Thiem Martin A. Brennan James McMahon Graham Redd Griffin Frank Savickas William Brown Romie J. Palmer Richard Elrod Otto Peltzer Clark Robinson Griggs Archibald Williams James C. Allen Richard Yates Alexander Starne Hugh M. Rigney Calvin Sutker A. T. McMaster William S. Hamilton Burnett M. Chiperfield Bernard E. Pedersen Michael L. Igoe Solomon L. Spink Andre Thapedi Bernard Epton Abraham Jonas Henry Williams Blodgett Gregg Goslin John H. Kedzie Michael J. Carberry John H. Lewis Chauncey L. Higbee Dan Brady Carl Hawkinson Henry Bond Fargo Earl D. Eisenhower Luis Arroyo Emil Jones Jim Sacia Marcus C. Evans, Jr. Daniel J. Burke William P. Holaday Abner Taylor Laurence F. Arnold Samuel S. Marshall Thomas Reynolds James Hutchinson Woodworth Ozias M. Hatch Alan J. Dixon John Moses Marty Moylan Edmund Dick Taylor Daniel Biss Roger Stanley Alfred M. Jones John Moore George W. Prince John J. Hardin Tom Dart James A. Connolly Calvin W. Schuneman James W. Singleton Everett J. Murphy Michael W. Tryon Jesse B. Thomas, Jr. William H. Dieterich Jeffrey Schoenberg Mark Skinner Adlai Stevenson III George Scully, Jr. Ed Sullivan, Jr. William L. May Alson Streeter Ebenezer Peck Edward Dickinson Baker Bernard B. Wolfe Samuel Snowden Hayes Ed Derwinski Ronald A. Wait Tom Johnson Anthony Thornton Lorenzo D. Whiting Bob Kustra Newton R. Casey John E. Bradley John Dement Jerry Weller Robert W. McConnell J. Bradley Burzynski Greg Harris Joseph M. McCormick Todd Sieben Andrew J. Kuykendall Bill Mitchell Josh Harms Charles Page Bryan Alexander Campbell Stephen A. Douglas Abner Joseph Mikva Daniel J. Ronan Michael Connelly George Helgesen Fitch Thomas Holbrook Franco Coladipietro Willis Allen James Byron Moran Kevin Joyce Jim Durkin Charles Meier Calvin Giles James Donnewald Thomas Drummond Clyde L. Choate John C. D'Amico Joseph M. Lyons Isaac P. Walker John Dailey William H. Barnes Arthur Turner Jack D. Franks William Cunningham Edward Rell Madigan Harold Murphy Harry Woodyard Marlow H. Colvin Jeremiah Davis Dan Reitz George Henry Hamilton William Lathrop Raymond Poe Charles Dunn Al Riley David Reis John Cabello Bill Brady LaFayette Funk John Henry Terry R. Parke Peter Cartwright Ben F. Caldwell Stephen A. Hurlbut Peter Roskam James H. Meyer Jack McGuire William Delgado David Davis Dwight Kay William A. Marovitz Jerry Costello II John Cook Stanley H. Kunz William McMurtry Edward Swift Isham Charles D. Hodges Thomas Carlin Angelo Saviano Frank W. Fries Owen Lovejoy Elgie Sims Michael Madigan Brian Barnett Duff Eli B. Ames Joseph Russell Jones Peter C. Granata Isaac Funk Kent Gaffney Dietrich C. Smith Dennis Reboletti Dan Rutherford Lawrence B. Stringer Timothy L. Schmitz George M. O'Brien James R. Campbell David E. Miller Charles E. Jefferson Frederick Remann Charles Eugene Fuller Sam Yingling Frank Gillespie William Lee D. Ewing William E. Peterson Mark L. Walker Elmore W. Hurst Mike Boland Robert S. Molaro William Kellogg Joseph Sam Perry Gale Schisler Roger McAuliffe George Marquis Bogue Don Saltsman Patrick J. Verschoore David D. Phelps Kevin McCarthy Joseph Berrios Frank R. Reid John P. Daley Orrin L. Mann Robert Pechous John C. McKenzie William E. Mason C. D. Davidsmeyer Thomas A. Doyle William B. Black John Humphrey Tom Railsback Horatio C. Burchard Tom Cross La Shawn K. Ford Donne Trotter John Hogan George W. Funk Joel Brunsvold Duncan McArthur Funk William B. Anderson Anthony DeLuca John Cavaletto Francis E. Donoghue Ethelbert Callahan Frank Mautino Edward John King Aaron Schock Ron Stephens John E. Grotberg Donald L. Moffitt Lawrence Weldon Chad Hays Paul Elward Samuel Alschuler Michael P. McAuliffe Scott Drury Alexander Pope Field Doug Kane James Shields Adam C. Cliffe William McHenry Charles A. Karch Scott Wike Richard M. Young Alfred Elisha Ames Ray LaHood Shane Cultra Rich Brauer William Smith Isaac N. Morris Tom Demmer Joseph N. Carter Jesse White Paul Evans Harry Daniel Leinenweber Edward Abend Orlando B. Ficklin Michael K. Smith Lot Whitcomb James DeLeo Edward Petka Augustus C. French Thomas Judy Charles A. White George W. Lindberg Robert F. Flider Charles W. Vursell Brian W. Stewart William A. J. Sparks Paul D. Froehlich Chapin Rose Almon W. Babbitt Frank Watson Roger Jenisch John O. Jones Dan Rostenkowski Alan E. Ashcraft, Jr. Lawrence M. Walsh, Jr. Jim Edgar Joshua White David R. Leitch Kenneth Dunkin Wayne Rosenthal Bob Biggins W. Robert Blair Emanuel Chris Welch Benson Wood Joseph Humphrey Sloss William M. Whitney Rollin S. Williamson Edward Acevedo Joe Sosnowski Mike Bost Roger L. Eddy Herman W. Snow Angelo Carpenter William Neville Daniel Cronin Harry R. Ramey, Jr. Stephen T. Logan Harold Washington Jason Barickman Chris Nybo Robert F. Martwick, Jr Roland V. Libonati Gustav Körner Elias Smith Dennis Noble Brandon Judah John Hamlin Dave Winters George Burditt H. Robert Fowler Charles S. Deneen Albert G. Burr William Pickering Paul Powell Kurt M. Granberg Robert M. Knapp Richard P. Myers Solomon Hicks Bethea John D. Anthony Brandon W. Phelps Frank Aguilar Edward Y. Rice Henry Hyde Samuel Whiteside Keith P. Sommer Terry Deering William J. Graham Abner C. Harding
James DeLeo, Edward Dickinson Baker, George Burditt, Michael Connelly, Abraham Lincoln, John O. Jones, Dennis Hastert, James A. Connolly, Kenneth Dunkin and George Henry Hamilton held the position of member of the Illinois House of Representatives and have the gender as male
James DeLeo Edward Dickinson Baker George Burditt Michael Connelly Abraham Lincoln John O. Jones Dennis Hastert James A. Connolly Kenneth Dunkin George Henry Hamilton
action filter_type
action intersection
action find_reverse
entity member of the Illinois House of Representatives
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'member of the Illinois House of Representatives'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:position_held resource:member_of_the_Illinois_House_of_Representatives . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q28515
P27 P937
Q502895
USER
Which people works at Springfield and are a citizen of United States of America ?
AND((c(Q502895),P937,Q28515), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q28515
relation P937
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q28515'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P937 resource:Q28515 . ?u property:P27 resource:Q30 . ?u rdf:type ontology:Q502895 }
United States of America Springfield
action filter_type
action intersection
action find_reverse
entity Springfield
relation work location
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Springfield'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:work_location resource:Springfield . ?u property:country_of_citizenship resource:United_States_of_America . ?u rdf:type ontology:common_name }
[]
common name
Q6137541 Q5077440 Q17421987 Q8008294 Q5336223 Q5077015 Q16186931 Q4899518 Q13218848 Q8010531
SYSTEM
Some of them are James L. D. Morrison, Charles Eugene Fuller, Alonzo K. Vickers, William E. Peterson, Eddie Lee Jackson, Charles Dunn, Michael W. Tryon, Beverly Fawell, John H. Lewis, William H. Neece
Q213960 Q16063088 Q7145803 Q861115 Q7416693 Q7323197 Q16885732 Q17421815 Q16030635 Q4419889 Q7350739 Q6137541 Q5336558 Q16150373 Q6135963 Q16059302 Q12059445 Q4120842 Q4120841 Q4120845 Q368062 Q16199137 Q7708990 Q5342487 Q6218781 Q4411229 Q712134 Q16241220 Q2425151 Q6209621 Q7634281 Q17421987 Q6386168 Q5671406 Q16729662 Q4766748 Q7812633 Q3269456 Q7105234 Q6183919 Q16062619 Q968214 Q6138531 Q5235244 Q5545603 Q8007438 Q6166706 Q4264973 Q16012840 Q5237466 Q8019338 Q7794741 Q6558220 Q6799284 Q7317448 Q8013172 Q6369863 Q881608 Q7650828 Q6176447 Q6384339 Q4704756 Q6388683 Q7412844 Q4961416 Q553626 Q91 Q295318 Q5341497 Q5026685 Q16095726 Q7383139 Q7350240 Q5336223 Q5263097 Q1494873 Q16222104 Q943046 Q6829673 Q123571 Q363786 Q6836960 Q6792727 Q6369689 Q16215745 Q5443639 Q6141222 Q3101895 Q7322924 Q5535940 Q5109930 Q8007655 Q16063306 Q8010531 Q6119490 Q6767853 Q5525085 Q5728270 Q6285744 Q3182212 Q1738047 Q2988131 Q5401182 Q7509224 Q5038884 Q5218954 Q4662425 Q6900331 Q16194456 Q7349304 Q16196327 Q5024367 Q3157160 Q5210600 Q6375434 Q1447337 Q5331912 Q6846886 Q3181414 Q295267 Q16062628 Q7128993 Q15430368 Q6774850 Q6139496 Q7353591 Q7305587 Q16015281 Q15693916 Q18702993 Q16556622 Q17479424 Q5127366 Q7146827 Q6130642 Q5200156 Q880987 Q16062892 Q5931569 Q1181350 Q15993550 Q16745008 Q13562298 Q16066408 Q4999688 Q16013727 Q10567290 Q477194 Q4754887 Q4893101 Q4668942 Q5730280 Q5606535 Q6236910 Q6831378 Q13218848 Q16062999 Q5213181 Q2938929 Q16029314 Q5362626 Q7608312 Q5325810 Q6700334 Q5371307 Q6197938 Q16728877 Q7145799 Q5217606 Q8016470 Q4250429 Q6500590 Q7412550 Q883496 Q6730209 Q3246869 Q16062212 Q1886056 Q6777503 Q5339412 Q3013758 Q16981412 Q16043517 Q16065977 Q5545725 Q6241083 Q5846659 Q6128064 Q16875356 Q6144906 Q5417026 Q16186931 Q16043481 Q6376939 Q454939 Q6176265 Q17423746 Q122841 Q5544381 Q4768046 Q5044720 Q5335469 Q556404 Q8040695 Q4735825 Q5331724 Q4899518 Q131929 Q17423485 Q546986 Q7364626 Q7816338 Q4773581 Q18325594 Q278926 Q16201140 Q6230668 Q6229133 Q740636 Q6186119 Q8004748 Q7515694 Q13562300 Q13562301 Q13562302 Q6192633 Q6104847 Q1544914 Q436272 Q6685595 Q7648608 Q4757410 Q4910207 Q16214871 Q5081459 Q1659983 Q433174 Q4320649 Q5217639 Q6829413 Q6172114 Q5540385 Q7790743 Q5163490 Q5484532 Q4231619 Q6130635 Q6396638 Q16194037 Q6409988 Q16732436 Q5024394 Q3161032 Q7789066 Q5136959 Q5623434 Q6224360 Q16151378 Q576915 Q16030149 Q6380202 Q16854287 Q4800508 Q6111961 Q5044553 Q369068 Q6837179 Q18921206 Q16013990 Q6771985 Q16729985 Q16731926 Q16059712 Q5214269 Q5540455 Q8014331 Q5372287 Q7299081 Q5077015 Q4704711 Q5238976 Q16727772 Q5362964 Q6779362 Q2903132 Q16043722 Q5321400 Q7704931 Q212550 Q4885616 Q2344492 Q4723245 Q6135234 Q5045371 Q16093973 Q8007745 Q374427 Q5318199 Q8003996 Q6183394 Q6376649 Q6226995 Q7599652 Q15622508 Q16856471 Q5076653 Q676328 Q16732713 Q4762958 Q5490140 Q4419992 Q16885687 Q5359952 Q961894 Q4963056 Q275753 Q21028365 Q4898294 Q16886528 Q6286717 Q7173130 Q6204011 Q16065880 Q6391734 Q5275175 Q6551452 Q16147626 Q5258889 Q3013192 Q6503833 Q7807338 Q3101801 Q8644736 Q5233196 Q7143399 Q5077113 Q5498610 Q5077440 Q7408368 Q5486859 Q734659 Q8008294 Q2997367 Q6768462 Q5366890 Q6846078 Q7349492 Q7368407 Q4588784 Q6286806 Q5518288 Q7358619 Q5256545 Q17478995 Q17318890 Q4786552 Q3018617 Q6396888 Q6281501 Q13218866 Q16107270 Q17421639 Q15993370 Q6224551 Q454990 Q16194502 Q7786862 Q8004755 Q15526764 Q7817321 Q4419897 Q3530704 Q7313846 Q7322884 Q5296562 Q1268342 Q16043715 Q6385976 Q16018688 Q16043713 Q7350710 Q16729601 Q4772373 Q6225551 Q5480799 Q15438976 Q5488224 Q5343786 Q302659 Q7364427 Q7482888 Q5294671 Q6504728 Q5066257 Q7150491 Q7410757 Q6833305 Q7436264 Q16063937 Q5300615 Q3258787 Q923522 Q4678814 Q461123 Q12356786 Q440885 Q6964650 Q7437507 Q443156 Q3188038 Q16887189 Q467891 Q7488035 Q16198263 Q7323200 Q8018530 Q6076832 Q16206674 Q16058657 Q3177637 Q7150544 Q5668246 Q16196932 Q16030935 Q4360971 Q6831772 Q6684596 Q6132468 Q5344840 Q650612 Q7791417 Q5074929 Q5545680 Q7344167 Q5083276 Q16189530 Q8003983 Q3437091 Q7150090 Q5073172 Q4733878 Q5490254 Q7358403 Q6251057 Q6465272 Q1561630 Q963898 Q19975576 Q16194869 Q734643 Q6689921 Q16062589 Q5238832 Q6390046 Q7336567 Q7976574 Q4931833 Q18685860 Q16886495 Q4890290 Q1257858 Q16203913 Q17479581 Q7417203 Q5074862 Q6212436 Q6846090 Q7358491 Q538669 Q5740313 Q16063367 Q2580121 Q17479537 Q16065381 Q5216876 Q16194764 Q7610641 Q295584 Q6161977 Q5107609 Q7344199 Q7360466 Q6761009 Q214481 Q5360606 Q17309223 Q16063944 Q5230140 Q15992816 Q5628519 Q735351 Q4710255 Q1269215 Q7152998 Q6446883 Q7347144 Q5223858 Q7328242 Q7459221 Q16149038 Q4957124 Q5484946 Q5346014 Q3132849 Q7412925 Q6384861 Q16013823 Q7558629 Q5353256 Q4668116
AND((c(Q502895),P937,Q28515), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q28515
relation P937
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] work at Springfield and are a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q28515'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P937 resource:Q28515 . ?u property:P27 resource:Q30 . ?u rdf:type ontology:Q502895 }
Lorenzo Brentano William J. Phelps Patricia Reid Lindner Tim Johnson Sandra M. Pihos Rich Bradley Mike Smiddy Simeon P. Shope Robert H. McClellan Jesse O. Norton Robert W. Pritchard James L. D. Morrison Eddie Washington Jaime Andrade Jr. James Herbert Wilkerson Henry H. Evans Julie Hamos Robert Smith Charles Slade Isaac Newton Arnold Elias Kane William E. Phelps Thaddeus Jones Edward D. Cooke John Allen Wakefield John T. Stuart Paul Simon Fred Crespo Thomas J. Paprocki Joe Dunn Sue Scherer Alonzo K. Vickers Kelly M. Burke Harry Osterman David Harris Ann Williams Todd Sieben Lyman Trumbull Orville Hodge Jerry L. Mitchell Ninian Wirt Edwards Peter Roskam James M. Riggs David Hultgren George W. English William D. Burns Jay Hoffman Morton D. Hull John Merlo David McSweeney William Thomas Rawleigh Thomas W. Ewing Lisa M. Dugan William McKendree Springer Reuben G. Soderstrom William J. Calhoun Karen May William Henry Bissell Suzanne Deuchler Jehan Gordon-Booth Keith Farnham Al Salvi Ken Wendt Samuel W. Moulton Brent Hassert Dennis Hastert Abraham Lincoln Anton Cermak Edward Acevedo Camille Y. Lilly Ron Lawfer Ruth Munson Robert T. McLoskey Eddie Lee Jackson Derrick Smith Gary Hannig Art Turner Melville Fuller Michael D. Unes Larry McKeon Richard Yates Michelle Chavez Maureen Murphy Karen Hasara William Cunningham Fenton Whitlock Booth James Philip George E. Sangmeister John N. Erlenborn George A. Cooke Christian Mitchell William Davis Asahel Gridley William H. Neece Jacob Zimmerman Mark H. Beaubien, Jr. Gary Forby Henry Sherman Boutell Joseph Naper John G. Oglesby William Fitzsimmons John Alexander McClernand Esther Golar Sidney Mathias Careen M. Gordon Daniel V. Beiser Aaron Shaw Monique D. Davis James D. Brosnahan Robert Rita Jim Watson Calvin D. Johnson Jack Davis Dale Righter Kate Cloonen Barbara Flynn Currie Ebon C. Ingersoll Mike Fortner John Porter Richard J. Daley Elijah Haines Pam Roth George Thiem Martin A. Brennan James McMahon Graham Robyn Gabel Redd Griffin Frank Savickas William Brown Romie J. Palmer Richard Elrod Otto Peltzer Clark Robinson Griggs Patrick J. Verschoore James C. Allen Cynthia Soto Richard Yates Alexander Starne Hugh M. Rigney Deb Mell Calvin Sutker A. T. McMaster Suzanne Bassi William S. Hamilton Burnett M. Chiperfield Bernard E. Pedersen Michael L. Igoe Solomon L. Spink Andre Thapedi Bernard Epton Abraham Jonas Henry Williams Blodgett Gregg Goslin John H. Kedzie Michael J. Carberry John H. Lewis Chauncey L. Higbee Dan Brady Carl Hawkinson Henry Bond Fargo Elizabeth Coulson Stephanie Kifowit Earl D. Eisenhower Luis Arroyo Emil Jones Jim Sacia Marcus C. Evans, Jr. Patricia R. Bellock Daniel J. Burke William P. Holaday Abner Taylor Laurence F. Arnold Samuel S. Marshall Thomas Reynolds Maggie Crotty James Hutchinson Woodworth Ozias M. Hatch Alan J. Dixon Marty Moylan Edmund Dick Taylor Daniel Biss Roger Stanley Alfred M. Jones John Moore George W. Prince John J. Hardin Tom Dart James A. Connolly Calvin W. Schuneman James W. Singleton Everett J. Murphy Michael W. Tryon Jeremiah Davis Kathleen Willis William H. Dieterich Jeffrey Schoenberg Mark Skinner Adlai Stevenson III George Scully, Jr. Annazette Collins Carole Pankau Ed Sullivan, Jr. Randy Hultgren Wyvetter H. Younge Alson Streeter Ebenezer Peck Beverly Fawell Edward Dickinson Baker Samuel Snowden Hayes Ed Derwinski Ronald A. Wait Tom Johnson Anthony Thornton Lorenzo D. Whiting Bob Kustra Newton R. Casey John E. Bradley John Dement Jerry Weller Jesse B. Thomas, Jr. William B. Anderson Silvana Tabares Sara Feigenholtz Susan Garrett Joan Krupa Jil Tracy J. Bradley Burzynski Greg Harris Joseph M. McCormick Lou Lang Susana Mendoza Andrew J. Kuykendall Bill Mitchell Josh Harms Charles Page Bryan Alexander Campbell Stephen A. Douglas Abner Joseph Mikva Daniel J. Ronan Michael Connelly Jeanne Hurley Simon George Helgesen Fitch Thomas Holbrook Constance A. Howard Franco Coladipietro Willis Allen James Byron Moran Kevin Joyce Jim Durkin Kimberly du Buclet Charles Meier Calvin Giles James Donnewald Thomas Drummond Clyde L. Choate Gwen Klingler John C. D'Amico Joseph M. Lyons Isaac P. Walker John Dailey Kay Hatcher William H. Barnes Arthur Turner Jack D. Franks Carol Sente Edward Rell Madigan Michelle Mussman Harold Murphy Harry Woodyard Marlow H. Colvin Fran Hurley Natalie Manley John Moses Dan Reitz George Henry Hamilton William Lathrop Emily McAsey Raymond Poe Charles Dunn Al Riley David Reis John Cabello Elizabeth Hernandez Mary E. Flowers Bill Brady LaFayette Funk John Henry Terry R. Parke Peter Cartwright Ben F. Caldwell Stephen A. Hurlbut Alfred Orendorff James H. Meyer Carolyn H. Krause Jack McGuire William Delgado David Davis Dwight Kay William A. Marovitz Jerry Costello II Kathleen A. Ryg John Cook Stanley H. Kunz William McMurtry Edward Swift Isham Charles D. Hodges Thomas Carlin Anna Moeller Angelo Saviano Frank W. Fries Owen Lovejoy Elgie Sims Elga L. Jefferies Michael Madigan Brian Barnett Duff Lynn Morley Martin Eli B. Ames Betsy Hannig Barbara Wheeler Joseph Russell Jones Peter C. Granata JoAnn D. Osmond Isaac Funk Kent Gaffney Dietrich C. Smith Linda Chapa LaVia Karen Yarbrough Dennis Reboletti Dan Rutherford Lawrence B. Stringer Timothy L. Schmitz George M. O'Brien James R. Campbell David E. Miller Pat Dowell Charles E. Jefferson Frederick Remann Charles Eugene Fuller Sam Yingling Frank Gillespie William Lee D. Ewing William E. Peterson Corinne Wood Mark L. Walker Elmore W. Hurst Mike Boland Robert S. Molaro Rosemary Mulligan William Kellogg Joseph Sam Perry Gale Schisler Roger McAuliffe Dena M. Carli George Marquis Bogue Don Saltsman Archibald Williams David D. Phelps Kevin McCarthy Joseph Berrios Frank R. Reid John P. Daley Orrin L. Mann Robert Pechous John C. McKenzie William E. Mason C. D. Davidsmeyer Thomas A. Doyle William B. Black John Humphrey Tom Railsback Horatio C. Burchard Tom Cross Renée Kosel Ricca Slone Donne Trotter John Hogan George W. Funk Kelly Cassidy Joel Brunsvold Duncan McArthur Funk Robert W. McConnell Norine Hammond Anthony DeLuca John Cavaletto Francis E. Donoghue Ethelbert Callahan Frank Mautino Edward John King Aaron Schock Ron Stephens John E. Grotberg Donald L. Moffitt Lawrence Weldon Chad Hays Paul Elward Samuel Alschuler Michael P. McAuliffe Scott Drury Alexander Pope Field Doug Kane Loleta Didrickson James Shields Adam C. Cliffe Judy Biggert William McHenry Jan Schakowsky Naomi Jakobsson Scott Wike Richard M. Young Judy Koehler Michael J. Zalewski Ray LaHood Shane Cultra Deb Conroy Rich Brauer William Smith Isaac N. Morris Tom Demmer Joseph N. Carter Jesse White Paul Evans Harry Daniel Leinenweber Laura Fine Edward Abend Orlando B. Ficklin Michael K. Smith Lot Whitcomb James DeLeo Edward Petka Augustus C. French Thomas Judy Charles A. White George W. Lindberg Robert F. Flider Charles W. Vursell Brian W. Stewart William A. J. Sparks Robin Kelly Paul D. Froehlich Chapin Rose Almon W. Babbitt Frank Watson Roger Jenisch John O. Jones La Shawn K. Ford William L. May Dan Rostenkowski Alan E. Ashcraft, Jr. Lawrence M. Walsh, Jr. Jim Edgar Lovana Jones Joshua White David R. Leitch Kenneth Dunkin Rita Mayfield Wayne Rosenthal Bob Biggins W. Robert Blair Emanuel Chris Welch Benson Wood Joseph Humphrey Sloss William M. Whitney Rollin S. Williamson Sandy Cole Charles A. Karch Joe Sosnowski Mike Bost Roger L. Eddy Judy Baar Topinka Herman W. Snow Angelo Carpenter William Neville William H. Condon Alfred Elisha Ames Daniel Cronin Harry R. Ramey, Jr. Stephen T. Logan Harold Washington Jason Barickman Chris Nybo Robert F. Martwick, Jr Roland V. Libonati Maria Antonia Berrios Gustav Körner Elias Smith Dennis Noble Brandon Judah John Hamlin Dave Winters George Burditt H. Robert Fowler Charles S. Deneen Albert G. Burr William Pickering Paul Powell Kurt M. Granberg Robert M. Knapp Darlene Senger Richard P. Myers William J. Graham John D. Anthony Brandon W. Phelps Frank Aguilar Edward Y. Rice Henry Hyde Samuel Whiteside Keith P. Sommer Terry Deering Solomon Hicks Bethea Elaine Nekritz Abner C. Harding
James L. D. Morrison, Charles Eugene Fuller, Alonzo K. Vickers, William E. Peterson, Eddie Lee Jackson, Charles Dunn, Michael W. Tryon, Beverly Fawell, John H. Lewis and William H. Neece work at Springfield and are a citizen of United States of America
James L. D. Morrison Charles Eugene Fuller Alonzo K. Vickers William E. Peterson Eddie Lee Jackson Charles Dunn Michael W. Tryon Beverly Fawell John H. Lewis William H. Neece
action filter_type
action intersection
action find_reverse
entity Springfield
relation work location
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Springfield'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:work_location resource:Springfield . ?u property:country_of_citizenship resource:United_States_of_America . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6137541
P27
Q15617994
USER
How many administrative territories do James L. D. Morrison belong to ?
(Q6137541,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6137541
relation P27
type Q15617994
['Q6137541', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q6137541 property:P27 ?w }
James L. D. Morrison
action count
action filter_type
action find
entity James L. D. Morrison
relation country of citizenship
type designation for an administrative territorial entity
['James L. D. Morrison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_L._D._Morrison property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q6137541,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6137541
relation P27
type Q15617994
[ANSWER]
['Q6137541', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q6137541 property:P27 ?w }
United States of America
1
action count
action filter_type
action find
entity James L. D. Morrison
relation country of citizenship
type designation for an administrative territorial entity
['James L. D. Morrison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_L._D._Morrison property:country_of_citizenship ?w }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7152542
Q15617994
USER
And what about Paul Miller?
(Q7152542,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7152542
relation P27
type Q15617994
['Q7152542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q7152542 property:P27 ?b }
Paul Miller
action count
action filter_type
action find
entity Paul Miller
relation country of citizenship
type designation for an administrative territorial entity
['Paul Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Miller property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q7152542,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7152542
relation P27
type Q15617994
[ANSWER]
['Q7152542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q7152542 property:P27 ?b }
1
action count
action filter_type
action find
entity Paul Miller
relation country of citizenship
type designation for an administrative territorial entity
['Paul Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Miller property:country_of_citizenship ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6137541
P607
Q350604
USER
What battle was James L. D. Morrison a part of ?
(Q6137541,P607,c(Q350604))
action filter_type
action find
entity Q6137541
relation P607
type Q350604
['Q6137541', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q350604 . resource:Q6137541 property:P607 ?g }
James L. D. Morrison
action filter_type
action find
entity James L. D. Morrison
relation conflict
type armed conflict
['James L. D. Morrison', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:armed_conflict . resource:James_L._D._Morrison property:conflict ?g }
[]
armed conflict
Q6683
SYSTEM
Mexican–American War
Q6683
(Q6137541,P607,c(Q350604))
action filter_type
action find
entity Q6137541
relation P607
type Q350604
[ANSWER] was James L. D. Morrison a part of
['Q6137541', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q350604 . resource:Q6137541 property:P607 ?g }
Mexican–American War
Mexican–American War was James L. D. Morrison a part of
Mexican–American War
action filter_type
action find
entity James L. D. Morrison
relation conflict
type armed conflict
['James L. D. Morrison', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:armed_conflict . resource:James_L._D._Morrison property:conflict ?g }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4333783 Q30
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with United States of America or are the native countriesof Stephanus Petrus Olivier ?
OR((Q30,P530,c(Q15617994)), (Q4333783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q4333783
relation P27
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q4333783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q30 property:P530 ?h } UNION { resource:Q4333783 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Stephanus Petrus Olivier United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Stephanus Petrus Olivier
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Stephanus Petrus Olivier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:United_States_of_America property:diplomatic_relation ?h } UNION { resource:Stephanus_Petrus_Olivier property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q805 Q796 Q1011 Q668 Q889 Q17 Q222 Q414 Q258 Q159
SYSTEM
Some of them are Yemen, Iraq, Cape Verde, India, Afghanistan, Japan, Albania, Argentina, South Africa, Russia
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q347 Q414 Q258
OR((Q30,P530,c(Q15617994)), (Q4333783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q4333783
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with United States of America or are the native countriesof Stephanus Petrus Olivier
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q4333783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q30 property:P530 ?h } UNION { resource:Q4333783 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Liechtenstein Argentina South Africa
Yemen, Iraq, Cape Verde, India, Afghanistan, Japan, Albania, Argentina, South Africa and Russia have diplomatic relations with United States of America or are the native countriesof Stephanus Petrus Olivier
Yemen Iraq Cape Verde India Afghanistan Japan Albania Argentina South Africa Russia
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Stephanus Petrus Olivier
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Stephanus Petrus Olivier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:United_States_of_America property:diplomatic_relation ?h } UNION { resource:Stephanus_Petrus_Olivier property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q805 Q796 Q1011 Q668 Q889 Q17 Q222 Q414 Q258 Q159
P35
Q502895
USER
Which people have the highest formal authority in those administrative territories ?
(Q805,P35,c(Q502895)) (Q796,P35,c(Q502895)) (Q1011,P35,c(Q502895)) (Q668,P35,c(Q502895)) (Q889,P35,c(Q502895)) (Q17,P35,c(Q502895)) (Q222,P35,c(Q502895)) (Q414,P35,c(Q502895)) (Q258,P35,c(Q502895)) (Q159,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q805', 'P35', {'concept': 'Q502895'}] ['Q796', 'P35', {'concept': 'Q502895'}] ['Q1011', 'P35', {'concept': 'Q502895'}] ['Q668', 'P35', {'concept': 'Q502895'}] ['Q889', 'P35', {'concept': 'Q502895'}] ['Q17', 'P35', {'concept': 'Q502895'}] ['Q222', 'P35', {'concept': 'Q502895'}] ['Q414', 'P35', {'concept': 'Q502895'}] ['Q258', 'P35', {'concept': 'Q502895'}] ['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?r property:P35 ?n . ?n rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q805 ) ( resource:Q38 ) ( resource:Q159 ) } }
Yemen Iraq Cape Verde India Afghanistan Japan Albania Argentina South Africa Russia
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Yemen', 'head of state', {'concept': 'common name'}] ['Iraq', 'head of state', {'concept': 'common name'}] ['Cape Verde', 'head of state', {'concept': 'common name'}] ['India', 'head of state', {'concept': 'common name'}] ['Afghanistan', 'head of state', {'concept': 'common name'}] ['Japan', 'head of state', {'concept': 'common name'}] ['Albania', 'head of state', {'concept': 'common name'}] ['Argentina', 'head of state', {'concept': 'common name'}] ['South Africa', 'head of state', {'concept': 'common name'}] ['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?r property:head_of_state ?n . ?n rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Yemen ) ( resource:Italy ) ( resource:Russia ) } }
[]
common name
Q7747 Q34453 Q37979
SYSTEM
Vladimir Putin, Boris Yeltsin, Akihito
Q57480 Q483672 Q57306 Q17410819 Q57517 Q57446 Q188667 Q172388 Q153620 Q355610 Q207728 Q471037 Q473247 Q152265 Q310247 Q37979 Q57526 Q561837 Q57282 Q34453 Q23530 Q7747
(Q805,P35,c(Q502895)) (Q796,P35,c(Q502895)) (Q1011,P35,c(Q502895)) (Q668,P35,c(Q502895)) (Q889,P35,c(Q502895)) (Q17,P35,c(Q502895)) (Q222,P35,c(Q502895)) (Q414,P35,c(Q502895)) (Q258,P35,c(Q502895)) (Q159,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] have the highest formal authority in those administrative territories
['Q805', 'P35', {'concept': 'Q502895'}] ['Q796', 'P35', {'concept': 'Q502895'}] ['Q1011', 'P35', {'concept': 'Q502895'}] ['Q668', 'P35', {'concept': 'Q502895'}] ['Q889', 'P35', {'concept': 'Q502895'}] ['Q17', 'P35', {'concept': 'Q502895'}] ['Q222', 'P35', {'concept': 'Q502895'}] ['Q414', 'P35', {'concept': 'Q502895'}] ['Q258', 'P35', {'concept': 'Q502895'}] ['Q159', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?r property:P35 ?n . ?n rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q805 ) ( resource:Q38 ) ( resource:Q159 ) } }
Abdrabbuh Mansour Hadi Ali Abdullah Saleh Jalal Talabani Fuad Masum Jorge Carlos Fonseca Pranab Mukherjee Burhanuddin Rabbani Ashraf Ghani Ahmadzai Amānullāh Khān Mohammed Nadir Shah Mohammad Najibullah Inayatullah Khan Habibullāh Kalakāni Mohammed Zahir Shah Mohammed Daoud Khan Akihito Bujar Nishani Mauricio Macri Jacob Zuma Boris Yeltsin Dmitry Medvedev Vladimir Putin
Vladimir Putin, Boris Yeltsin and Akihito have the highest formal authority in those administrative territories
Vladimir Putin Boris Yeltsin Akihito
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Yemen', 'head of state', {'concept': 'common name'}] ['Iraq', 'head of state', {'concept': 'common name'}] ['Cape Verde', 'head of state', {'concept': 'common name'}] ['India', 'head of state', {'concept': 'common name'}] ['Afghanistan', 'head of state', {'concept': 'common name'}] ['Japan', 'head of state', {'concept': 'common name'}] ['Albania', 'head of state', {'concept': 'common name'}] ['Argentina', 'head of state', {'concept': 'common name'}] ['South Africa', 'head of state', {'concept': 'common name'}] ['Russia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?r property:head_of_state ?n . ?n rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Yemen ) ( resource:Italy ) ( resource:Russia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q37979
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q37979)
action filter_type
action find_reverse
entity Q37979
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q37979']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q37979 . ?i rdf:type ontology:Q502895 }
Akihito
action filter_type
action find_reverse
entity Akihito
relation child
type common name
[{'concept': 'common name'}, 'child', 'Akihito']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Akihito . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q34453
SYSTEM
Did you mean Boris Yeltsin ?
Q7747 Q34453 Q37979
(c(Q502895),P40,Q7747) (c(Q502895),P40,Q34453) (c(Q502895),P40,Q37979)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q7747'] [{'concept': 'Q502895'}, 'P40', 'Q34453'] [{'concept': 'Q502895'}, 'P40', 'Q37979']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q37979 . ?i rdf:type ontology:Q502895 }
Vladimir Putin Boris Yeltsin Akihito
Did you mean Boris Yeltsin ?
Boris Yeltsin
[{'concept': 'common name'}, 'child', 'Vladimir Putin'] [{'concept': 'common name'}, 'child', 'Boris Yeltsin'] [{'concept': 'common name'}, 'child', 'Akihito']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Akihito . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Akihito. Could you tell me the answer for that?
(c(Q502895),P40,Q37979)
Q37979
[{'concept': 'Q502895'}, 'P40', 'Q37979']
[{'concept': 'common name'}, 'child', 'Akihito']
[]
Q230697 Q34479
SYSTEM
Kōjun, Hirohito
Q230697 Q34479
(c(Q502895),P40,Q37979)
action filter_type
action find_reverse
entity Q37979
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q37979']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q37979 . ?i rdf:type ontology:Q502895 }
Kōjun Hirohito
Kōjun and Hirohito are that one
Kōjun Hirohito
action filter_type
action find_reverse
entity Akihito
relation child
type common name
[{'concept': 'common name'}, 'child', 'Akihito']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Akihito . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q61 Q28515
P937
Q502895
USER
Which people have Springfield and Washington, D.C. as work location ?
AND((c(Q502895),P937,Q28515), (c(Q502895),P937,Q61))
action filter_type
action intersection
action find_reverse
entity Q28515
relation P937
action find_reverse
entity Q61
relation P937
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q28515'], [{'concept': 'Q502895'}, 'P937', 'Q61']]}
SELECT DISTINCT ?s WHERE { ?s property:P937 resource:Q28515 . ?s property:P937 resource:Q61 . ?s rdf:type ontology:Q502895 }
Washington, D.C. Springfield
action filter_type
action intersection
action find_reverse
entity Springfield
relation work location
action find_reverse
entity Washington, D.C.
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Springfield'], [{'concept': 'common name'}, 'work location', 'Washington, D.C.']]}
SELECT DISTINCT ?s WHERE { ?s property:work_location resource:Springfield . ?s property:work_location resource:Washington,_D.C. . ?s rdf:type ontology:common_name }
[]
common name
Q368062 Q1886056 Q3269456 Q461123 Q880987 Q740636 Q433174 Q302659 Q861115 Q734659
SYSTEM
Some of them are Elias Kane, Alan J. Dixon, Lyman Trumbull, Judy Biggert, Richard Yates, Jerry Weller, Stephen A. Douglas, Aaron Schock, Tim Johnson, William Lee D. Ewing
Q1886056 Q440885 Q576915 Q3132849 Q861115 Q443156 Q3269456 Q735351 Q553626 Q302659 Q3018617 Q122841 Q374427 Q968214 Q454939 Q433174 Q368062 Q436272 Q454990 Q3437091 Q880987 Q556404 Q712134 Q467891 Q734659 Q923522 Q6846090 Q461123 Q740636 Q131929
AND((c(Q502895),P937,Q28515), (c(Q502895),P937,Q61))
action filter_type
action intersection
action find_reverse
entity Q28515
relation P937
action find_reverse
entity Q61
relation P937
type Q502895
[ANSWERS] have Springfield and Washington, D.C. as work location
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q28515'], [{'concept': 'Q502895'}, 'P937', 'Q61']]}
SELECT DISTINCT ?s WHERE { ?s property:P937 resource:Q28515 . ?s property:P937 resource:Q61 . ?s rdf:type ontology:Q502895 }
Alan J. Dixon Jan Schakowsky Isaac P. Walker Henry Hyde Tim Johnson Richard M. Young Lyman Trumbull Charles S. Deneen Dennis Hastert Aaron Schock David D. Phelps Adlai Stevenson III David Davis Peter Roskam William H. Dieterich Stephen A. Douglas Elias Kane Joseph M. McCormick William E. Mason Robin Kelly Richard Yates Randy Hultgren Paul Simon Ray LaHood William Lee D. Ewing James Shields Mike Bost Judy Biggert Jerry Weller Edward Dickinson Baker
Elias Kane, Alan J. Dixon, Lyman Trumbull, Judy Biggert, Richard Yates, Jerry Weller, Stephen A. Douglas, Aaron Schock, Tim Johnson and William Lee D. Ewing have Springfield and Washington, D.C. as work location
Elias Kane Alan J. Dixon Lyman Trumbull Judy Biggert Richard Yates Jerry Weller Stephen A. Douglas Aaron Schock Tim Johnson William Lee D. Ewing
action filter_type
action intersection
action find_reverse
entity Springfield
relation work location
action find_reverse
entity Washington, D.C.
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Springfield'], [{'concept': 'common name'}, 'work location', 'Washington, D.C.']]}
SELECT DISTINCT ?s WHERE { ?s property:work_location resource:Springfield . ?s property:work_location resource:Washington,_D.C. . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q861115
P102
Q7210356
USER
Which party does that person belong to ?
(Q861115,P102,c(Q7210356))
action filter_type
action find
entity Q861115
relation P102
type Q7210356
['Q861115', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q861115 property:P102 ?o }
Tim Johnson
action filter_type
action find
entity Tim Johnson
relation member of political party
type political organization
['Tim Johnson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Tim_Johnson property:member_of_political_party ?o }
[]
political organization
Clarification for simple ques.
Q1886056
SYSTEM
Did you mean Alan J. Dixon ?
Q368062 Q1886056 Q3269456 Q461123 Q880987 Q740636 Q433174 Q302659 Q861115 Q734659
(Q368062,P102,c(Q7210356)) (Q1886056,P102,c(Q7210356)) (Q3269456,P102,c(Q7210356)) (Q461123,P102,c(Q7210356)) (Q880987,P102,c(Q7210356)) (Q740636,P102,c(Q7210356)) (Q433174,P102,c(Q7210356)) (Q302659,P102,c(Q7210356)) (Q861115,P102,c(Q7210356)) (Q734659,P102,c(Q7210356))
[ANSWER]
['Q368062', 'P102', {'concept': 'Q7210356'}] ['Q1886056', 'P102', {'concept': 'Q7210356'}] ['Q3269456', 'P102', {'concept': 'Q7210356'}] ['Q461123', 'P102', {'concept': 'Q7210356'}] ['Q880987', 'P102', {'concept': 'Q7210356'}] ['Q740636', 'P102', {'concept': 'Q7210356'}] ['Q433174', 'P102', {'concept': 'Q7210356'}] ['Q302659', 'P102', {'concept': 'Q7210356'}] ['Q861115', 'P102', {'concept': 'Q7210356'}] ['Q734659', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q861115 property:P102 ?o }
Elias Kane Alan J. Dixon Lyman Trumbull Judy Biggert Richard Yates Jerry Weller Stephen A. Douglas Aaron Schock Tim Johnson William Lee D. Ewing
Did you mean Alan J. Dixon ?
Alan J. Dixon
['Elias Kane', 'member of political party', {'concept': 'political organization'}] ['Alan J. Dixon', 'member of political party', {'concept': 'political organization'}] ['Lyman Trumbull', 'member of political party', {'concept': 'political organization'}] ['Judy Biggert', 'member of political party', {'concept': 'political organization'}] ['Richard Yates', 'member of political party', {'concept': 'political organization'}] ['Jerry Weller', 'member of political party', {'concept': 'political organization'}] ['Stephen A. Douglas', 'member of political party', {'concept': 'political organization'}] ['Aaron Schock', 'member of political party', {'concept': 'political organization'}] ['Tim Johnson', 'member of political party', {'concept': 'political organization'}] ['William Lee D. Ewing', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Tim_Johnson property:member_of_political_party ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Tim Johnson. Could you tell me the answer for that?
(Q861115,P102,c(Q7210356))
Q861115
['Q861115', 'P102', {'concept': 'Q7210356'}]
['Tim Johnson', 'member of political party', {'concept': 'political organization'}]
[]
Q29468
SYSTEM
Republican Party
Q29468
(Q861115,P102,c(Q7210356))
action filter_type
action find
entity Q861115
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q861115', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q861115 property:P102 ?o }
Republican Party
That person belongs to Republican Party
Republican Party
action filter_type
action find
entity Tim Johnson
relation member of political party
type political organization
['Tim Johnson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Tim_Johnson property:member_of_political_party ?o }
[]