Simple Question (Direct)
Simple Question
Q7091012
P272
Q43229
USER
Who was the producer of On His Majesty's Secret Service ?
(Q7091012,P272,c(Q43229))
action filter_type
action find
entity Q7091012
relation P272
type Q43229
['Q7091012', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q7091012 property:P272 ?e . ?e rdf:type ontology:Q43229 }
On His Majesty's Secret Service
action filter_type
action find
entity On His Majesty's Secret Service
relation production company
type organization
["On His Majesty's Secret Service", 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:On_His_Majesty's_Secret_Service property:production_company ?e . ?e rdf:type ontology:organization }
[]
organization
Q4354972
SYSTEM
China Film Group Corporation
Q4354972
(Q7091012,P272,c(Q43229))
action filter_type
action find
entity Q7091012
relation P272
type Q43229
The producer of On His Majesty's Secret Service was the [ANSWER]
['Q7091012', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q7091012 property:P272 ?e . ?e rdf:type ontology:Q43229 }
China Film Group Corporation
The producer of On His Majesty's Secret Service was the China Film Group Corporation
China Film Group Corporation
action filter_type
action find
entity On His Majesty's Secret Service
relation production company
type organization
["On His Majesty's Secret Service", 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:On_His_Majesty's_Secret_Service property:production_company ?e . ?e rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7091012
P136
Q1792379
USER
What can be considered as category for On His Majesty's Secret Service ?
(Q7091012,P136,c(Q1792379))
action filter_type
action find
entity Q7091012
relation P136
type Q1792379
['Q7091012', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q7091012 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
On His Majesty's Secret Service
action filter_type
action find
entity On His Majesty's Secret Service
relation genre
type art genre
["On His Majesty's Secret Service", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:On_His_Majesty's_Secret_Service property:genre ?j . ?j rdf:type ontology:art_genre }
[]
art genre
Q188473
SYSTEM
action film
Q188473
(Q7091012,P136,c(Q1792379))
action filter_type
action find
entity Q7091012
relation P136
type Q1792379
An [ANSWER] can be considered as category for On His Majesty's Secret Service
['Q7091012', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q7091012 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
action film
An action film can be considered as category for On His Majesty's Secret Service
action film
action filter_type
action find
entity On His Majesty's Secret Service
relation genre
type art genre
["On His Majesty's Secret Service", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:On_His_Majesty's_Secret_Service property:genre ?j . ?j rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4691006
Q1792379
USER
And how about Again to Carthage?
(Q4691006,P136,c(Q1792379))
action filter_type
action find
entity Q4691006
relation P136
type Q1792379
['Q4691006', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q4691006 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
Again to Carthage
action filter_type
action find
entity Again to Carthage
relation genre
type art genre
['Again to Carthage', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:Again_to_Carthage property:genre ?c . ?c rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q4691006,P136,c(Q1792379))
action filter_type
action find
entity Q4691006
relation P136
type Q1792379
[ANSWER]
['Q4691006', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q4691006 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
novel
novel
action filter_type
action find
entity Again to Carthage
relation genre
type art genre
['Again to Carthage', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:Again_to_Carthage property:genre ?c . ?c rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3535963 Q4691006
P840
Q852446
USER
Which US administrative territories are Again to Carthage or Townies set in ?
OR((Q4691006,P840,c(Q852446)), (Q3535963,P840,c(Q852446)))
action filter_type
action union
action find
entity Q4691006
relation P840
action find
entity Q3535963
relation P840
type Q852446
{'OR': [['Q4691006', 'P840', {'concept': 'Q852446'}], ['Q3535963', 'P840', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q4691006 property:P840 ?b } UNION { resource:Q3535963 property:P840 ?b } } . ?b rdf:type ontology:Q852446 }
Townies Again to Carthage
action filter_type
action union
action find
entity Again to Carthage
relation narrative location
action find
entity Townies
relation narrative location
type administrative territorial entity of the United States
{'OR': [['Again to Carthage', 'narrative location', {'concept': 'administrative territorial entity of the United States'}], ['Townies', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Again_to_Carthage property:narrative_location ?b } UNION { resource:Townies property:narrative_location ?b } } . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q771 Q812
SYSTEM
Massachusetts, Florida
Q771 Q812
OR((Q4691006,P840,c(Q852446)), (Q3535963,P840,c(Q852446)))
action filter_type
action union
action find
entity Q4691006
relation P840
action find
entity Q3535963
relation P840
type Q852446
[ANSWERS] are Again to Carthage or Townies set in
{'OR': [['Q4691006', 'P840', {'concept': 'Q852446'}], ['Q3535963', 'P840', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q4691006 property:P840 ?b } UNION { resource:Q3535963 property:P840 ?b } } . ?b rdf:type ontology:Q852446 }
Massachusetts Florida
Massachusetts and Florida are Again to Carthage or Townies set in
Massachusetts Florida
action filter_type
action union
action find
entity Again to Carthage
relation narrative location
action find
entity Townies
relation narrative location
type administrative territorial entity of the United States
{'OR': [['Again to Carthage', 'narrative location', {'concept': 'administrative territorial entity of the United States'}], ['Townies', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Again_to_Carthage property:narrative_location ?b } UNION { resource:Townies property:narrative_location ?b } } . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have birthplace at that US administrative territory ?
(c(Q502895),P19,Q771)
[{'concept': 'Q502895'}, 'P19', 'Q771']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q6784161 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Massachusetts']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Massachusetts . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q771
SYSTEM
Did you mean Massachusetts ?
(c(Q502895),P19,Q771) (c(Q502895),P19,Q812)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q771'] [{'concept': 'Q502895'}, 'P19', 'Q812']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q6784161 . ?z rdf:type ontology:Q502895 }
Did you mean Massachusetts ?
Massachusetts
[{'concept': 'common name'}, 'place of birth', 'Massachusetts'] [{'concept': 'common name'}, 'place of birth', 'Florida']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Massachusetts . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P19,Q771)
[{'concept': 'Q502895'}, 'P19', 'Q771']
[{'concept': 'common name'}, 'place of birth', 'Massachusetts']
[]
SYSTEM
346
Q5442225 Q22661874 Q622130 Q356098 Q1701678 Q19667267 Q6078352 Q389258 Q6128059 Q11882051 Q1128036 Q6129393 Q7410726 Q5540032 Q597672 Q314667 Q14109 Q3870723 Q5688017 Q8015187 Q2706276 Q7346716 Q295978 Q1101270 Q1064346 Q3807777 Q92647 Q5082830 Q1161209 Q729837 Q252932 Q188039 Q6969817 Q6210023 Q5534471 Q6078590 Q1700803 Q7411032 Q4932684 Q16066357 Q1345163 Q2769138 Q444496 Q240886 Q5489337 Q4245672 Q5199259 Q721867 Q6848609 Q3261906 Q16241136 Q1706544 Q946975 Q5208270 Q17421725 Q2927140 Q6163000 Q5343244 Q19958261 Q17299855 Q468550 Q956784 Q441515 Q5078621 Q5497214 Q6812837 Q779205 Q5224676 Q1995311 Q1693497 Q8015129 Q7962289 Q1101568 Q2332170 Q241498 Q1371242 Q7788824 Q1647434 Q2214200 Q16028124 Q346768 Q1282367 Q200755 Q581221 Q5075016 Q6775490 Q1445213 Q22047717 Q1284827 Q5976265 Q6138380 Q24625686 Q1669326 Q21279310 Q21078972 Q6768263 Q328541 Q6969701 Q16028163 Q20685475 Q1126349 Q18345839 Q521830 Q3439311 Q3013817 Q6517063 Q817454 Q1568757 Q5111103 Q7382919 Q1700171 Q4710527 Q3811138 Q3517047 Q16006645 Q3366905 Q2077123 Q5234233 Q610214 Q1701296 Q23616461 Q239135 Q432575 Q21518250 Q12713041 Q4749273 Q6303628 Q460698 Q12057770 Q5541604 Q206304 Q8013939 Q1437958 Q322185 Q1606486 Q21151329 Q725904 Q4795083 Q453160 Q499218 Q289055 Q5331744 Q5331746 Q4965049 Q912023 Q6381635 Q932310 Q939804 Q4749469 Q951629 Q1507740 Q880333 Q5235406 Q1607848 Q4778619 Q2637539 Q714440 Q4723536 Q1151173 Q6135215 Q2123592 Q3132977 Q6187083 Q2453236 Q5649872 Q1339957 Q329965 Q369297 Q1517240 Q8004057 Q727283 Q7343745 Q1417235 Q580710 Q64793 Q2438424 Q5112343 Q521703 Q4531878 Q715701 Q8004862 Q339294 Q667538 Q6245770 Q5214688 Q1173909 Q231221 Q7372757 Q3049445 Q5545688 Q3023989 Q6834918 Q7350455 Q1634272 Q1493931 Q6708087 Q382346 Q110181 Q465655 Q7030697 Q4138265 Q1997301 Q4703666 Q6726902 Q5482191 Q6491245 Q2095351 Q16043751 Q16031765 Q4792790 Q315597 Q1507255 Q5298349 Q18643281 Q3035817 Q4823183 Q269669 Q7822904 Q7965600 Q5230330 Q19955673 Q7792957 Q1482786 Q7176002 Q5536067 Q5321850 Q1338635 Q4667696 Q11309623 Q7145606 Q6829802 Q5585336 Q19604844 Q5217984 Q938452 Q1331289 Q6197070 Q5074930 Q431645 Q1356253 Q7422804 Q1399469 Q638925 Q881971 Q1570092 Q21066960 Q452281 Q720132 Q1350959 Q354125 Q710247 Q7323260 Q1424964 Q1372986 Q5082783 Q1065519 Q7381276 Q448890 Q7382963 Q6177299 Q5460644 Q323458 Q22005723 Q1566366 Q3810255 Q1368371 Q5079968 Q817605 Q343916 Q1713186 Q969429 Q722303 Q732256 Q1236142 Q1365446 Q5354345 Q1126719 Q20007134 Q5717018 Q8010966 Q1736556 Q1706812 Q7650975 Q2814801 Q531532 Q6248843 Q3752646 Q597101 Q6389354 Q7964182 Q6286758 Q715842 Q314059 Q373657 Q295365 Q1523848 Q2578852 Q1378807 Q5372817 Q550601 Q938916 Q730390 Q7917344 Q6138720 Q1565369 Q7673081 Q5693784 Q1585955 Q344215 Q5216881 Q5136522 Q5078599 Q5076159 Q7147523 Q451811 Q5107216 Q5415366 Q983312 Q319689 Q7345095 Q16738931 Q23019246 Q1443851 Q17285387 Q16729157 Q5983446 Q3308316 Q2039402 Q952614 Q20630911 Q1818954 Q309765 Q331853 Q15997373 Q20670175 Q6286420 Q1589882 Q4749146 Q877276 Q704704 Q349030 Q2601895 Q1345118 Q6237588 Q725642 Q1711980
(c(Q502895),P19,Q771)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q771']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q6784161 . ?z rdf:type ontology:Q502895 }
Felix Hathaway Henry R. Cleveland Israel Putnam Johnny Kelley John Sassamon Norman Farnsworth Isador M. Sheffer William L. Marcy James A. Cody Melville Baker Constantine Fitzgibbon James Barnum Samuel Adams George H. Harrison Joe Philbin George Phillips Bond Rosalind Picard Nathan Coombs Hazel Tucker William Martin John Clellon Holmes Robert Lanza George Herbert Mead Clifford Harrison Charles Farrell Jeff Coffin Robert Tappan Morris Charles T. Perry Daniel J. Bloomberg Charles Starrett Bailey Bartlett Clara Barton Nathaniel Raymond Joe Giard Geoffrey Bowers Isaiah Stillman John Lax Samuel C. Damon Bob Hansen John Wentworth Loring John Conte Meg Gallagher Katherine Tingley Ray Bolger Frank S. Gile Sherburne F. Cook Cylin Busby Austin Hobart Clark Mike Rochford Louis Forniquet Henderson Nick Collins Joseph Augustine Cushman Lawson P. Ramage Ed Droste Rachel Elizabeth Baker Gale Bryan Buckley Jason M. Burns Edward H. Larkin Jennifer Lafleur Joseph Breck Jessica Bird Cyrus Byington Hannah Webster Foster Charles H. Pinkham Frederick A. Lyon Melissa Pasut Joseph Malta Darrell Martinie Christopher Golden Judson Pratt William Marland Walker Lewis Clint Bajakian Sidney Fay Blake Geraldine Farrar Gerry Geran Thomas Dalton William L. Stefanov Salem Poor M. W. Glidden Teddy Charles Ed Healey Frank Stubbs Willard Rice Charles Albert Murdock Martin Gaffney Franklin E. Plummer Israel Hamilton Shawn Michael Phelan Roger Sherman Hoar James M. Burt Andy Fitzgerald Oakes Ames Eric Lu Henry Atherton Frost Mark Johnson Louis Emil Denfeld Nathaniel Jarvis Wyeth Kathleen Moore Knight Murray Seldeen Connie Mack Leigh Alexander Gladys Kuchta Roger Nash Baldwin Daniel C. Esty Lefty Benjamin Dwight Allen Josiah Johnson Hawes Christine Lehner Ruth Cheney Streeter John Garrison Albert J. Adams Juliet Taylor Ted Sears Donald "Shorty" Shea F. Lee Bailey Peter Moore David Goodman Hermon Atkins MacNeil John P. O'Brien Mary Phinney von Olnhausen Anne Sullivan Robert Cormier Bailey Vitello Asa Lansford Foster Amy Kravitz Judith Regan VenetianPrincess Mark P. Fitzgerald George LeBreton Ray Conniff William Kennison Forrest Bird Edward Hitchcock Henry Bacon Kevin Mahoney Robert S. Woodworth Arnold Hiatt Ralph Dawson Raymond Smith Dugan Elliot Silverstein Ebenezer W. Peirce Ebenezer Walden Brian Pimental Richard Hildreth Roger Marino Franklin Leonard Pope Nate Thayer Amy Ziering Ferdinand Vandeveer Hayden George Lawrence Stone Black Jack Anderson David J. Campanale Edwin Frazier Aoibheann Sweeney Albert Andrew Howard Richard C. Tolman Alfred Tozzer Horace Mann James H. Luther Quock Walker Henry Nathaniel Andrews Jessica Andersen Benjamin Briggs Hans Canosa Willard Tibbetts Billy Bitzer Samuel Guthrie Robert Swain Gifford William A. Stanley Sal Salvador Robert E. Cleary Melvin Zais Charles Baker Adams Clifford Herschel Moore Todd Grinnell Christopher Forgues Lawrence Whitney Shawn Andrews William Le Baron Jenney William B. Stacy Francis Robbins Upton Shankar Tucker John M. Deane Dana Cameron David Caldwell Agnes Moorehead Roy E. Lindquist Einar Aaron Swan George W. Mathews Derrick Pierce Michael Tonello Robert Travaglini Wayne Millner Kenneth Macgowan Lyman Reed Blake Arthur Louis Day Henrietta Swan Leavitt Stacy Schiff Nictzin Dyalhis Kristen Gilbert William J. Humphrey Al Checchi Madeleine Doran Francis Pierlot Larry Vincent Lawrence Watt-Evans Rodman Law Caroline Remond Putnam Armando Montaño Joseph Hooker George Dutton Dorothy Canning Miller Mike Santos Don Lapre Austin Melvin Knight Illeana Douglas Tony Massarotti Walter McJones Davey Holmes George S. Eisenberg Thomas P. Wheelock Selma G. Lanes Peter Murphy George Adams E. F. Bleiler Justin McCarthy Abigail Mandana Holmes Christensen Jim Doole Patricia Grasso Michael Deneef Gordon Hyatt David Muradian Daniel Lyons Preston Cloud Elizabeth Peabody Jim Mullaney Charles A. Whittier Mary Lyon William Pepperell Montague Sarah Stiles Joseph Fitzgerald Cyril Ring Bryant Butler Brooks Hal Blaine Forrest Preston Lucy Stone Asa Lovejoy Ralph Earl William Manchester Leo Durocher Rich Fulcher Albert G. Blanchard John McLaughlin Charles Swasey Charles Mergendahl Russel Farnham Charlotte Saunders Cushman Ruth Edna Kelley Jen Kirkman Florence Holway Charles Crozat Converse Harvey Kaltsas Harry M. Woods Joseph Ney Babson Matthew Sands Charles L. McCawley Benjamin Lincoln Brooks Atkinson Juma Santos Laurance Safford Shorty Rogers Nicolas Falacci Jacob Bigelow Joseph Bates Eleanor Norcross Conrad C. Binkele Frank Marlowe Henry A. Peirce William Hart Kathy Ann Kelly Joseph Czarnota Suzanne Strempek Shea John Beach Jennifer Dundas John Mills Fred Otash Ralph Kirkpatrick Jan Schlichtmann Walter Aspden Joseph S. Manning Bobby Pickett Ellery Harding Clark Jeff Reardon John Black Gil Santos William Francis Bartlett Thomas Dewing Emma Goldrick John Langley Steve Spagnuolo Eskmo Vaughn Beals George Howe Levi L. Conant Tabitha Brown Heather Connell Harold Stephen Black Jesse Pomeroy Daniel Crosby Greene Clubfoot George Charles H. Matchett Charles Cawley Patrick Regan Robert Preston Chris Lehane Evan Dobelle Lyman Abbott William T. G. Morton Robert H. Quinn Bruce DeSilva Azariah Smith Root Frank Nelson Cole Jack Eichel Michael Gallagher Iason Athanasiadis Michael Legge Michael Joseph Begley Charles Dudley Warner Bianca DeGroat Len Ceglarski Edward Thorndike Benjamin Lee Whorf Samuel W. Martien Andy Lewis Joseph R. Julian Frederick Albion Ober Amy Correia Roderick Chisholm John Lyons Matt Bloom Moses Ashley Curtis Hendrick Theyanoguin John Handran Clarence Irving Lewis Julian Eltinge
346
[{'concept': 'common name'}, 'place of birth', 'Massachusetts']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Massachusetts . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7728831 Q4691006
P840
Q852446
USER
Which US administrative territories are Again to Carthage and The Dancer of Paris set in ?
AND((Q4691006,P840,c(Q852446)), (Q7728831,P840,c(Q852446)))
action filter_type
action intersection
action find
entity Q4691006
relation P840
action find
entity Q7728831
relation P840
type Q852446
{'AND': [['Q4691006', 'P840', {'concept': 'Q852446'}], ['Q7728831', 'P840', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?m WHERE { resource:Q4691006 property:P840 ?m . resource:Q7728831 property:P840 ?m . ?m rdf:type ontology:Q852446 }
The Dancer of Paris Again to Carthage
action filter_type
action intersection
action find
entity Again to Carthage
relation narrative location
action find
entity The Dancer of Paris
relation narrative location
type administrative territorial entity of the United States
{'AND': [['Again to Carthage', 'narrative location', {'concept': 'administrative territorial entity of the United States'}], ['The Dancer of Paris', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?m WHERE { resource:Again_to_Carthage property:narrative_location ?m . resource:The_Dancer_of_Paris property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q812
SYSTEM
Florida
Q812
AND((Q4691006,P840,c(Q852446)), (Q7728831,P840,c(Q852446)))
action filter_type
action intersection
action find
entity Q4691006
relation P840
action find
entity Q7728831
relation P840
type Q852446
[ANSWER] is Again to Carthage and The Dancer of Paris set in
{'AND': [['Q4691006', 'P840', {'concept': 'Q852446'}], ['Q7728831', 'P840', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?m WHERE { resource:Q4691006 property:P840 ?m . resource:Q7728831 property:P840 ?m . ?m rdf:type ontology:Q852446 }
Florida
Florida is Again to Carthage and The Dancer of Paris set in
Florida
action filter_type
action intersection
action find
entity Again to Carthage
relation narrative location
action find
entity The Dancer of Paris
relation narrative location
type administrative territorial entity of the United States
{'AND': [['Again to Carthage', 'narrative location', {'concept': 'administrative territorial entity of the United States'}], ['The Dancer of Paris', 'narrative location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?m WHERE { resource:Again_to_Carthage property:narrative_location ?m . resource:The_Dancer_of_Paris property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q812 Q37043
P36
Q56061
USER
Is Tallahassee the capital of Florida ?
(Q812,P36,Q37043)
action is_in
entity Q37043
action find
entity Q812
relation P36
['Q812', 'P36', 'Q37043']
ASK WHERE { resource:Q812 property:P36 resource:Q37043 }
Florida Tallahassee
action is_in
entity Tallahassee
action find
entity Florida
relation capital
['Florida', 'capital', 'Tallahassee']
ASK WHERE { resource:Florida property:capital resource:Tallahassee }
[]
administrative territorial entity
SYSTEM
YES
(Q812,P36,Q37043)
action is_in
entity Q37043
action find
entity Q812
relation P36
[ANSWER]
['Q812', 'P36', 'Q37043']
ASK WHERE { resource:Q812 property:P36 resource:Q37043 }
Yes
action is_in
entity Tallahassee
action find
entity Florida
relation capital
['Florida', 'capital', 'Tallahassee']
ASK WHERE { resource:Florida property:capital resource:Tallahassee }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q812
P937
Q502895
USER
Which people have Florida as their work location ?
(c(Q502895),P937,Q812)
action filter_type
action find_reverse
entity Q812
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q812']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P937 resource:Q812 }
Florida
action filter_type
action find_reverse
entity Florida
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Florida']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:work_location resource:Florida }
[]
common name
Q559409 Q102513 Q162497
SYSTEM
Piers Anthony, Harriet Beecher Stowe, LeRoy Collins
Q12339171 Q313193 Q102513 Q1729275 Q162497 Q559409
(c(Q502895),P937,Q812)
action filter_type
action find_reverse
entity Q812
relation P937
type Q502895
[ANSWERS] have Florida as their work location
[{'concept': 'Q502895'}, 'P937', 'Q812']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P937 resource:Q812 }
Therese Philipsen Michael Connelly Harriet Beecher Stowe Karen Rose LeRoy Collins Piers Anthony
Piers Anthony, Harriet Beecher Stowe and LeRoy Collins have Florida as their work location
Piers Anthony Harriet Beecher Stowe LeRoy Collins
action filter_type
action find_reverse
entity Florida
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Florida']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:work_location resource:Florida }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q812
P276
Q3839081
USER
Which disaster is situated at Florida ?
(c(Q3839081),P276,Q812)
action filter_type
action find_reverse
entity Q812
relation P276
type Q3839081
[{'concept': 'Q3839081'}, 'P276', 'Q812']
SELECT DISTINCT ?h WHERE { ?h property:P276 resource:Q812 . ?h rdf:type ontology:Q3839081 }
Florida
action filter_type
action find_reverse
entity Florida
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Florida']
SELECT DISTINCT ?h WHERE { ?h property:location resource:Florida . ?h rdf:type ontology:disaster }
[]
disaster
Q19574789
SYSTEM
2015 Eglin Air Force Base helicopter crash
Q19574789
(c(Q3839081),P276,Q812)
action filter_type
action find_reverse
entity Q812
relation P276
type Q3839081
[ANSWER] is situated at Florida
[{'concept': 'Q3839081'}, 'P276', 'Q812']
SELECT DISTINCT ?h WHERE { ?h property:P276 resource:Q812 . ?h rdf:type ontology:Q3839081 }
2015 Eglin Air Force Base helicopter crash
2015 Eglin Air Force Base helicopter crash is situated at Florida
2015 Eglin Air Force Base helicopter crash
action filter_type
action find_reverse
entity Florida
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Florida']
SELECT DISTINCT ?h WHERE { ?h property:location resource:Florida . ?h rdf:type ontology:disaster }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q771
P159
Q43229
USER
Which organizations have headquarters located at Massachusetts ?
(c(Q43229),P159,Q771)
action filter_type
action find_reverse
entity Q771
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q771']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q771 . ?g rdf:type ontology:Q43229 }
Massachusetts
action filter_type
action find_reverse
entity Massachusetts
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Massachusetts']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Massachusetts . ?g rdf:type ontology:organization }
[]
organization
Q319515 Q6418754 Q3080183
SYSTEM
Converse, Amazon Robotics, Fox Feature Syndicate
Q319515 Q6418754 Q3080183
(c(Q43229),P159,Q771)
action filter_type
action find_reverse
entity Q771
relation P159
type Q43229
[ANSWERS] have headquarters located at Massachusetts
[{'concept': 'Q43229'}, 'P159', 'Q771']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q771 . ?g rdf:type ontology:Q43229 }
Converse Amazon Robotics Fox Feature Syndicate
Converse, Amazon Robotics and Fox Feature Syndicate have headquarters located at Massachusetts
Converse Amazon Robotics Fox Feature Syndicate
action filter_type
action find_reverse
entity Massachusetts
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Massachusetts']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Massachusetts . ?g rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q771
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of Massachusetts ?
(c(Q12737077),P1001,Q771)
action filter_type
action find_reverse
entity Q771
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q771']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q771 . ?i rdf:type ontology:Q12737077 }
Massachusetts
action filter_type
action find_reverse
entity Massachusetts
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Massachusetts']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Massachusetts . ?i rdf:type ontology:occupation }
[]
occupation
Q17342542 Q887117 Q20058776
SYSTEM
Member of the Massachusetts House of Representatives, Governor of Massachusetts, state senator of Massachusetts
Q1274366 Q17342542 Q887117 Q20058776 Q3406492
(c(Q12737077),P1001,Q771)
action filter_type
action find_reverse
entity Q771
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of Massachusetts
[{'concept': 'Q12737077'}, 'P1001', 'Q771']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q771 . ?i rdf:type ontology:Q12737077 }
Lieutenant Governor of Massachusetts Member of the Massachusetts House of Representatives Governor of Massachusetts state senator of Massachusetts Massachusetts Attorney General
Member of the Massachusetts House of Representatives, Governor of Massachusetts and state senator of Massachusetts have control over the jurisdiction of Massachusetts
Member of the Massachusetts House of Representatives Governor of Massachusetts state senator of Massachusetts
action filter_type
action find_reverse
entity Massachusetts
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Massachusetts']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Massachusetts . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20058776
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q20058776)
action filter_type
action find_reverse
entity Q20058776
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q20058776']
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q20058776 . ?e rdf:type ontology:Q502895 }
state senator of Massachusetts
action filter_type
action find_reverse
entity state senator of Massachusetts
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'state senator of Massachusetts']
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:state_senator_of_Massachusetts . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q17342542
SYSTEM
Did you mean Member of the Massachusetts House of Representatives ?
Q17342542 Q887117 Q20058776
(c(Q502895),P39,Q17342542) (c(Q502895),P39,Q887117) (c(Q502895),P39,Q20058776)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q17342542'] [{'concept': 'Q502895'}, 'P39', 'Q887117'] [{'concept': 'Q502895'}, 'P39', 'Q20058776']
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q20058776 . ?e rdf:type ontology:Q502895 }
Member of the Massachusetts House of Representatives Governor of Massachusetts state senator of Massachusetts
Did you mean Member of the Massachusetts House of Representatives ?
Member of the Massachusetts House of Representatives
[{'concept': 'common name'}, 'position held', 'Member of the Massachusetts House of Representatives'] [{'concept': 'common name'}, 'position held', 'Governor of Massachusetts'] [{'concept': 'common name'}, 'position held', 'state senator of Massachusetts']
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:state_senator_of_Massachusetts . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant state senator of Massachusetts. Could you tell me the answer for that?
(c(Q502895),P39,Q20058776)
Q20058776
[{'concept': 'Q502895'}, 'P39', 'Q20058776']
[{'concept': 'common name'}, 'position held', 'state senator of Massachusetts']
[]
Q36023 Q5545004
SYSTEM
Calvin Coolidge, George Sylvester Taylor
Q36023 Q5545004
(c(Q502895),P39,Q20058776)
action filter_type
action find_reverse
entity Q20058776
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q20058776']
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q20058776 . ?e rdf:type ontology:Q502895 }
Calvin Coolidge George Sylvester Taylor
Calvin Coolidge and George Sylvester Taylor were responsible for occupying the position of that occupation
Calvin Coolidge George Sylvester Taylor
action filter_type
action find_reverse
entity state senator of Massachusetts
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'state senator of Massachusetts']
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:state_senator_of_Massachusetts . ?e rdf:type ontology:common_name }
[]