Simple Question (Direct)
Simple Question
Q3046386
P27
Q1048835
USER
Which political territory is the native country of Earl Ingarfield, Sr. ?
(Q3046386,P27,c(Q1048835))
action filter_type
action find
entity Q3046386
relation P27
type Q1048835
['Q3046386', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q3046386 property:P27 ?b }
Earl Ingarfield, Sr.
action filter_type
action find
entity Earl Ingarfield, Sr.
relation country of citizenship
type political territorial entity
['Earl Ingarfield, Sr.', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Earl_Ingarfield,_Sr. property:country_of_citizenship ?b }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3046386,P27,c(Q1048835))
action filter_type
action find
entity Q3046386
relation P27
type Q1048835
[ANSWER] is the native country of Earl Ingarfield, Sr.
['Q3046386', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . resource:Q3046386 property:P27 ?b }
Canada
Canada is the native country of Earl Ingarfield, Sr.
Canada
action filter_type
action find
entity Earl Ingarfield, Sr.
relation country of citizenship
type political territorial entity
['Earl Ingarfield, Sr.', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Earl_Ingarfield,_Sr. property:country_of_citizenship ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P19
Q502895
USER
Which people were born at that political territory ?
(c(Q502895),P19,Q16)
action filter_type
action find_reverse
entity Q16
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q16']
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q16 . ?f rdf:type ontology:Q502895 }
Canada
action filter_type
action find_reverse
entity Canada
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Canada']
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Canada . ?f rdf:type ontology:common_name }
[]
common name
Q236543 Q940958 Q573751
SYSTEM
Anne Murray, Geoff Ryman, Anthony Pawson
Q20685259 Q6558713 Q518834 Q5290525 Q5495429 Q6868794 Q23769955 Q92679 Q5053509 Q1095180 Q22095356 Q1680918 Q1956814 Q3407766 Q264767 Q7026820 Q3568941 Q20006882 Q4684907 Q16012937 Q16232171 Q6491214 Q6811319 Q16031837 Q18211067 Q7364413 Q5239625 Q8017166 Q448941 Q21066206 Q18759101 Q601125 Q4356235 Q22443294 Q908544 Q2057797 Q6176256 Q6792819 Q22279588 Q18168085 Q6487027 Q7051591 Q17148439 Q573751 Q7292454 Q5287092 Q5367270 Q5541560 Q16733298 Q18357351 Q5217295 Q24045556 Q1747340 Q3476770 Q19666715 Q7821764 Q1909198 Q2846662 Q705347 Q7804283 Q6548106 Q1945545 Q1507000 Q5051291 Q4859675 Q6687682 Q1994647 Q15702503 Q22907601 Q2938960 Q6130722 Q22101628 Q1508944 Q21064453 Q16730181 Q4303200 Q21064455 Q440910 Q5920263 Q5273005 Q1933047 Q7184770 Q8007347 Q1450877 Q5730265 Q3161284 Q5606400 Q16832143 Q2079636 Q5979121 Q5213139 Q4721476 Q5343120 Q22908020 Q6396318 Q1469240 Q1240311 Q5662568 Q16150064 Q3547182 Q5667464 Q6793918 Q5541841 Q3390807 Q16222032 Q3195794 Q7490964 Q5107264 Q7174768 Q2133834 Q17430557 Q495818 Q6969726 Q7615063 Q6256074 Q7358239 Q5300387 Q21004842 Q2050301 Q4260590 Q15452917 Q7292487 Q22969405 Q7440964 Q10335648 Q22095625 Q4767576 Q22096782 Q6833946 Q4157138 Q6558315 Q7172593 Q6127195 Q3523793 Q5548980 Q7493838 Q3445694 Q12636209 Q579599 Q23007861 Q18145198 Q23696664 Q2885745 Q8015845 Q7326727 Q1785186 Q1359422 Q1000980 Q5127422 Q19659393 Q3568959 Q5225448 Q1789061 Q4662494 Q5082300 Q1479154 Q7145556 Q31806 Q7344712 Q850313 Q5234074 Q22279070 Q6271700 Q20711934 Q27653473 Q16214375 Q1911445 Q6384535 Q5980374 Q2824340 Q3166419 Q16210759 Q3018685 Q17580405 Q2331216 Q17580035 Q3160951 Q1241809 Q7491120 Q6829249 Q267442 Q1157998 Q6262143 Q3369312 Q6779293 Q4799664 Q6790965 Q5617350 Q3094145 Q6380880 Q7360206 Q6530996 Q3013112 Q16212474 Q7784025 Q2577894 Q7381620 Q4981274 Q5388821 Q16030090 Q5196364 Q6767740 Q7151847 Q11764444 Q20641290 Q3022240 Q1824903 Q20641195 Q248764 Q261295 Q3621521 Q6224764 Q4858826 Q6833893 Q4908422 Q3714603 Q6251789 Q3434499 Q7034662 Q5725075 Q26235920 Q7416743 Q4726338 Q3156774 Q20641504 Q1688180 Q6558285 Q14623587 Q6793889 Q586671 Q7811868 Q6290116 Q1086450 Q24452184 Q535692 Q7803263 Q3179009 Q1083529 Q5136955 Q1871389 Q5220771 Q7789637 Q16232573 Q3511943 Q288688 Q19957518 Q18543423 Q3110353 Q6491058 Q6231782 Q5293520 Q7128941 Q5236144 Q3101750 Q20006893 Q16218631 Q4893646 Q5292600 Q6187378 Q17506155 Q7297675 Q22071451 Q7372605 Q3479240 Q3426371 Q5233452 Q16238976 Q1545327 Q6155165 Q7412386 Q1142507 Q3622134 Q6501608 Q6509257 Q21064335 Q7946045 Q2385263 Q1058604 Q3104318 Q4777761 Q16031201 Q5110190 Q20220086 Q5606878 Q22096427 Q17621145 Q2975115 Q6962595 Q8078476 Q5271113 Q7148735 Q7025464 Q5232478 Q314471 Q5585899 Q1871929 Q20710435 Q3430597 Q22007361 Q7634257 Q3441443 Q25378833 Q7331754 Q5393492 Q6350689 Q4766650 Q4710914 Q6504110 Q3505931 Q887839 Q3496851 Q929146 Q5799813 Q5293398 Q1809231 Q6194146 Q16230675 Q19878304 Q7152799 Q21005415 Q15485795 Q6142072 Q10452295 Q5539342 Q3026238 Q7297421 Q1903073 Q16224742 Q21156165 Q20687564 Q360020 Q540455 Q3713614 Q16205023 Q3050522 Q438720 Q21572751 Q4760418 Q3809441 Q586927 Q5372273 Q1627281 Q7411655 Q14949502 Q21170637 Q940958 Q6685735 Q2521844 Q14623599 Q4717504 Q4140937 Q5080715 Q5026167 Q5111123 Q5292327 Q706445 Q5113239 Q5224567 Q5295196 Q3185977 Q7846844 Q7369292 Q7710102 Q24646941 Q25246035 Q16243903 Q7175099 Q1444168 Q19879298 Q6264311 Q574507 Q6535959 Q25631197 Q15968612 Q25189341 Q3854103 Q5229816 Q8010159 Q18217118 Q487456 Q6837082 Q72871 Q5162477 Q1108318 Q3437138 Q6163044 Q20016243 Q7563076 Q19877289 Q3339658 Q23769911 Q325845 Q1290062 Q1646665 Q3340882 Q1299616 Q23542587 Q539944 Q450015 Q5216689 Q3847649 Q4988583 Q7648141 Q5508497 Q7808633 Q20016493 Q22908441 Q435705 Q18167981 Q5485827 Q7424075 Q8065012 Q6681095 Q5277851 Q434376 Q2531451 Q946069 Q7422550 Q5240952 Q6835607 Q1001117 Q13560487 Q301574 Q3470622 Q6153228 Q6264402 Q6967320 Q1670357 Q3177067 Q26173 Q3934858 Q1531456 Q5219073 Q18162284 Q22097411 Q16225517 Q21004976 Q236543 Q7322670 Q810033 Q17421386 Q7173456 Q5258620 Q16728081 Q5130368 Q6143663 Q92876 Q1122692
(c(Q502895),P19,Q16)
action filter_type
action find_reverse
entity Q16
relation P19
type Q502895
[ANSWERS] were born at that political territory
[{'concept': 'Q502895'}, 'P19', 'Q16']
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q16 . ?f rdf:type ontology:Q502895 }
Mark Raso Lise Baldwin André Gingras Dominic Filiou Fred Henderson Minnie Devereaux Bill Gottfried David G. Lowe Cathy Weseluck Clara Furse Stuart Black James Orr Myron Michael Daciuk Prosper Bernard Fred Mandel Nick Brush Bill Schelter Tom Rand Adrian Butters Ray Cameron Doris Jones Larry Thor Melanie Merkosky Joseph Stratton Hilary Leith Ron Sparks David Secter William Quinn Lucy Walker Michele Relton Alfred W. Jolliffe Jack Wetherall Rhys Fulber Patrick Brasca Herbert Henry Dow Patrick McCarthy Jeffrey S. Lyons Maurice Alexander Winnifred Paskall Dick Stobbart Lani Billard Norm Spencer Reggie Benjamin Anthony Pawson Randy Staub Doc McKinney Elphege A. M. Gendreau George Laurence Mick Newman Belinda Nash Daniel Goldberg Annie M. Briggs Masumeh Makhija Sean Roche Ryan Stevenson Tony Anselmo Matt Hubbauer Andrew Leslie Paul Moller Tim Sims Lillian Elliott Montague Bentley Talbot Paske Smith George Bernard Flahiff Catalina Yue Barbie Wilde Louis Lloyd Winter Sarah Lafleur Peter Lepeniotis Mattie Curry Carl Marotte James Hathaway Jack Lannan Kathleen Gati David Lapins Anne Janelle Mario Morra Matt Halajian Ken Jeong Howard M. Resh Dick Hillis Mike Beres Philippe Beaulne William Cuddy François Allaire Henry Williams James Moffat Greg Weber Ushna Shah David Palffy James Masterson Dan Bejar Alexis Kochan Edward Glen Winnifred Eaton Kevin Frank Alexander Rankin Dunlop Shane Tarves Harold Troper Tyler Ardron Jamie Shannon Alfred W. Lewis Mauro Pezzente George Low Lee Jae-yoon Milan Schere Kevin Rushton Shaun Scott Chris Loranger Peter Hudecki Ray Avery Catherine Colvey Andreas Apergis Nathaniel Lande Steven Mond John Ryan Roger Goldammer Doug Cox Muriel Anton Paolo Barzman Mitchell Nye Brad Pattison Randy Vancourt Jennifer Pappas Sean Durkin Natalie Radford Christian Lombardo Anna Van Hooft Leonardo Simon Michael Rogers David Milgaard Lisa Olsen Peter Aykroyd Jamaal Smith Theresa Joy Gerald Butts Shelley Sweeney Roxanne McKee Marianna Raguž Isaiah L. Kenen Lukay Robert Moloney Paul Lepa Barry Jenkins William Morrison Richard J. Gill Sarah Mcdiarmid Sidney J. Furie Geoff Kinrade Clark W. Thompson Bertha Allen William Sorelle Darryl Samson Kris Holm Aaron Tsang Charles S. Thompson Maud Lewis Patricia Drake Sat-Okh Robert Gentleman Betty Chandler David Gell Deborah Martin-Downs Jon Tucker Adolfo Mella Michael Surrey Grant Connors Maurice Roy Keith Izatt Iain Baird Adhémar Raynault Jean-Jacques Simard Heather Taylor David Rigby Julianne Zussman David Finch Andrea Burk James Boyle Uniacke Donnacona Shavon John-Brown Michael Chow Jim McLarty Dallas Fallscheer John W. Brown Patrick Carignan Mary Darling Arthur Massey Berry Matthew Mendelsohn Gule Sheikh Gabrielle Rose Travis Gawryletz Roland Delorme Leslie Mahaffy Dan Joffre Richard Landry Thierry Amar William Austin Russell King Christine Willes Erik Schatzker Sir Richard Poore, 4th Baronet Custom Mark Gibbon Paul Koslo Lynn Campbell Lucas Papaconstantinou Demore Barnes Lila Bell Wallace Paul Moore Martin Wood Matt Keith Archibald Selwyn John Caird Barbara Cooper Michael Roberds Bill Carr Doug Muirhead John Paizs Robert Baltovich Nik Sheehan Henry Loucks Kaya Forson Sandra Rinomato Alick Foord-Kelcey J.T. Sloan Bayete Smith Jesse Nilsson Lisa Moore James McIntosh Mauro Di Pasquale Wesley Morgan Toby Proctor Joshua Peace Chris Viehbacher Ethan Beckford Michael Reed Tim Byrne Jimmy Beaulieu Christine Firkins Clyde Klotz Louis-Albert Vachon Danny Rimer Thomas Fitzpatrick James Forrester T. Jerome Lawler Kate Vernon Kevin Doherty Anthony Jacob Stephanie Savage Larry Ryckman John Endler Don Shipley Pam Hyatt David Kristian George McCowan Lana Roi Luke Skaarup Bernard Sherman Don Ferguson Jessica Moss Kate Middleton Ray Jewers Alexandra Beaton Roy Brown Serge Christiaenssens René Homier-Roy David Evans Richie Sumner Gregory Edgecombe Janne Mortil Samuel Perris Bre Blair Peter Millman Laurie Hibberd Leah Singer Steve Griggs W. W. Jeffers Melanie Leishman Chad Silver Gerry Argento Anuj Rastogi James Flannigan Christian Tessier Emeraude Toubia Gregory Despres Piotr Libicz Anthony Konechny Claire Rankin Nancy Castiglione Étienne Lucier Diana Buttu Patty Sullivan Nicholas Graham David Collier Erving Goffman Gordon Tanner Louis R. Chênevert Nikola Andrijevic Richard Hanson Brian Peddle Sue Richards Ron Oliver Michael Lombardi (Entrepreneur) Rick Smith Ernest M. McSorley Ralph Bowen Ann Rohmer Albert O'Connor Lawrence Guterman Suzanne Clément Bob Chaperon Stanley Mann Daeg Faerch David Arthur Brodie Don Richardson Lawrence McCormick Jim Charlton Onalea Gilbertson Marcus Godinho Paul O'Sullivan Nicola Colterjohn Paul Mason James Richardson Gregor Young George Forbes Diane Obomsawin Ray Dunbobbin Martha Matilda Harper Ben Grossman Majid Jowhari Mike Wells Reuben Epp Daniel Petrie Donal O'Shea Barry Harris Eleanor Catton Keri Smith Danny Amaral Andy Bell John Maclaren Gerald Emmett Carter Emily Maitlis Honoré Jackson Samuel Hazan James Hill Bernie Herms Geoff Ryman Lou Rusoff Vic Stanfield John Shivers Alex Milne Marcel Gauvreau David Reale Cameron Anderson Christine McGlade Don Brown Sven Delblanc Christopher Simmons Darrel R. Falk Donald Stringer Josh Jackson Troy Hernandez Ross Douglas Thanadelthur Dorothy Rungeling Peter Maloney Clark Donnelly Peter Kastner Frank Schwinghammer Danley Johnson John Williams Elza Kephart Lew Cirne Kristen Gutoskie Newton John Stabb Cameron Walker Melanie Nicholls-King Dave Shea William Greenblatt Nikhil Korula Anatol Roshko Michelle Hoffman Peter Scheerer Conrad Abbott Colin A. Ross Robin Ward Jason Marshall Tammy Isbell Sophie Trudeau David Gee Nicholas Elia Vivian Bercovici Robert Crosbie Reece Thompson Spencer Achtymichuk Nicolas Wright Louis-Nazaire Bégin Kaitlyn Alexander Rick Danko Makyla Smith Daniel Burka Marian Bantjes Sean Eldridge Susan Maggi Fulvio Cecere Tiny Timbrell Tommie-Amber Pirie Ruth Fletcher Terri Tatchell Nick O'Donnell Frank Ciaccia Sarika Sehgal Zakaria Amara Lori Lansens Dina Meshreef Wendy McElroy Dave Padden Albert Lacombe Sarah MacDonald David Wellington Michaela Mann Buddy Banks Linda Shayne Roxanne Kernohan Samantha McLeod Janet Burston John Williamson Nasri Suzanne Lacasse Jennifer Holland Pablo Schreiber Richard Pepin Neil Robertson Daniel Wesley Don Shipley Alvin Hudson André Veilleux Sophie Baron La Salle Anne Murray Ricardo Hoyos Basil H. Johnston Asel Hagerty Peter Croft Dennis Kwok Lorne Clarke Clayton Worbeck James Stewart David Parnas Will Osborne
Anne Murray, Geoff Ryman and Anthony Pawson were born at that political territory
Anne Murray Geoff Ryman Anthony Pawson
action filter_type
action find_reverse
entity Canada
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Canada']
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Canada . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q236543
P175
Q2031291
USER
Which releases presented that person ?
(c(Q2031291),P175,Q236543)
action filter_type
action find_reverse
entity Q236543
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q236543']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q236543 . ?t rdf:type ontology:Q2031291 }
Anne Murray
action filter_type
action find_reverse
entity Anne Murray
relation performer
type release
[{'concept': 'release'}, 'performer', 'Anne Murray']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Anne_Murray . ?t rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q940958
SYSTEM
Did you mean Geoff Ryman ?
Q236543 Q940958 Q573751
(c(Q2031291),P175,Q236543) (c(Q2031291),P175,Q940958) (c(Q2031291),P175,Q573751)
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q236543'] [{'concept': 'Q2031291'}, 'P175', 'Q940958'] [{'concept': 'Q2031291'}, 'P175', 'Q573751']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q236543 . ?t rdf:type ontology:Q2031291 }
Anne Murray Geoff Ryman Anthony Pawson
Did you mean Geoff Ryman ?
Geoff Ryman
[{'concept': 'release'}, 'performer', 'Anne Murray'] [{'concept': 'release'}, 'performer', 'Geoff Ryman'] [{'concept': 'release'}, 'performer', 'Anthony Pawson']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Anne_Murray . ?t rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
No, I meant Anne Murray. Could you tell me the answer for that?
(c(Q2031291),P175,Q236543)
Q236543
[{'concept': 'Q2031291'}, 'P175', 'Q236543']
[{'concept': 'release'}, 'performer', 'Anne Murray']
[]
Q7045987 Q7065904 Q5176093
SYSTEM
Nobody Loves Me Like You Do, Now and Forever, Could I Have This Dance
Q7679657 Q5177263 Q7679655 Q5659427 Q7065904 Q5965684 Q7813063 Q7460810 Q5111463 Q7993227 Q7522665 Q7045987 Q7620965 Q7804970 Q5441182 Q4770352 Q7740452 Q6691260 Q5187935 Q5220071 Q7977539 Q6383263 Q7786357 Q7559538 Q4768677 Q4768673 Q12001651 Q6532466 Q7782638 Q4769214 Q8057606 Q7559514 Q4802881 Q4926244 Q5976969 Q6697954 Q5692468 Q4973392 Q7997041 Q4659846 Q5893360 Q8052752 Q4657970 Q10958956 Q4657814 Q5759537 Q5176093 Q7991564 Q4657815 Q7560280
(c(Q2031291),P175,Q236543)
action filter_type
action find_reverse
entity Q236543
relation P175
type Q2031291
Be Nobody loves Me Like You Do, Now and Forever and Could I Have This Dance presented that person
[{'concept': 'Q2031291'}, 'P175', 'Q236543']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q236543 . ?t rdf:type ontology:Q2031291 }
Talk It Over in the Morning Country Croonin' Talk It Over in the Morning Harmony Now and Forever I'll Be Seeing You Together Shadows in the Moonlight Christmas Wishes Where Do You Go When You Dream Sing High, Sing Low Nobody Loves Me Like You Do Straight, Clean and Simple Time Don't Run Out on Me Feed This Fire Another Sleepless Night The Hottest Night of the Year Love Song Croonin' Danny's Song We Don't Have to Hold Out Keeping in Touch This Way Is My Way Somebody's Waiting Anne Murray Duets: Friends & Legends Anne Murray Snowbird Let's Keep It That Way There's a Hippo in My Tub Annie You Will Somebody's Always Saying Goodbye As I Am Blessed Are the Believers I Don't Think I'm Ready for You Lucky Me Heart over Mind Broken Hearted Me Who's Leaving Who A Stranger in My Place Honey, Wheat and Laughter Yes I Do A Love Song Cotton Jenny A Little Good News Highly Prized Possession Could I Have This Dance What a Wonderful Christmas A Little Good News Something to Talk About
Be Nobody loves Me Like You Do, Now and Forever and Could I Have This Dance presented that person
Nobody Loves Me Like You Do Now and Forever Could I Have This Dance
action filter_type
action find_reverse
entity Anne Murray
relation performer
type release
[{'concept': 'release'}, 'performer', 'Anne Murray']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Anne_Murray . ?t rdf:type ontology:release }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q4164871 Q7275 Q1048835
USER
Which political territories have min number of positions and states as government ?
(c(Q1048835),P122,c(Q4164871)|c(Q7275))
action argmin
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q7275
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { { ?y property:P122 ?g . ?y rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q4164871 } UNION { ?y property:P122 ?g . ?y rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q7275 } } GROUP BY ?y } } . FILTER ( ?n = ?t ) . { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?n ) WHERE { { ?z property:P122 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q4164871 } UNION { ?z property:P122 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q7275 } } GROUP BY ?z } }
action argmin
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'state'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { { ?y property:basic_form_of_government ?g . ?y rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:position } UNION { ?y property:basic_form_of_government ?g . ?y rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:state } } GROUP BY ?y } } . FILTER ( ?n = ?t ) . { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?n ) WHERE { { ?z property:basic_form_of_government ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:position } UNION { ?z property:basic_form_of_government ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:state } } GROUP BY ?z } }
[]
position state political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q183 Q601252 Q193619 Q1059046 Q763 Q664 Q1925048 Q785 Q178084 Q16 Q35 Q38610 Q79965 Q223793 Q2594990 Q408 Q757 Q40 Q1250464 Q151938 Q31747
(c(Q1048835),P122,c(Q4164871)|c(Q7275))
action argmin
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q7275
[ANSWERS] have min number of positions and states as government
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { { ?y property:P122 ?g . ?y rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q4164871 } UNION { ?y property:P122 ?g . ?y rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q7275 } } GROUP BY ?y } } . FILTER ( ?n = ?t ) . { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?n ) WHERE { { ?z property:P122 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q4164871 } UNION { ?z property:P122 ?m . ?z rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q7275 } } GROUP BY ?z } }
Germany Banovina of Croatia Union of South Africa Merkit people Saint Kitts and Nevis New Zealand San Pedro Partido Jersey Ilkhanate Canada Denmark Dominion of Newfoundland Golden Horde Kingdom of Etruria Dominion of New Zealand Australia Saint Vincent and the Grenadines Austria realm Neutral Moresnet Irish Free State
Germany, Australia and Denmark have min number of positions and states as government
Germany Australia Denmark
action argmin
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type state
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'state'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?k ) WHERE { { ?y property:basic_form_of_government ?g . ?y rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:position } UNION { ?y property:basic_form_of_government ?g . ?y rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:state } } GROUP BY ?y } } . FILTER ( ?n = ?t ) . { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?n ) WHERE { { ?z property:basic_form_of_government ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:position } UNION { ?z property:basic_form_of_government ?m . ?z rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:state } } GROUP BY ?z } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6482479
P530
Q15617994
USER
Do Lamport, Buckinghamshire have diplomatic relations with those political territories ?
(Q6482479,P530,Q183) (Q6482479,P530,Q408) (Q6482479,P530,Q35)
action is_in
entity prev_answer
action find
entity Q6482479
relation P530
['Q6482479', 'P530', 'Q183'] ['Q6482479', 'P530', 'Q408'] ['Q6482479', 'P530', 'Q35']
ASK WHERE { VALUES ( ?t ) { ( resource:Q183 ) ( resource:Q601252 ) ( resource:Q193619 ) } . resource:Q6482479 property:P530 ?t }
Lamport, Buckinghamshire
action is_in
entity prev_answer
action find
entity Lamport, Buckinghamshire
relation diplomatic relation
['Lamport, Buckinghamshire', 'diplomatic relation', 'Germany'] ['Lamport, Buckinghamshire', 'diplomatic relation', 'Australia'] ['Lamport, Buckinghamshire', 'diplomatic relation', 'Denmark']
ASK WHERE { VALUES ( ?t ) { ( resource:Germany ) ( resource:Banovina_of_Croatia ) ( resource:Union_of_South_Africa ) } . resource:Lamport,_Buckinghamshire property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6482479,P530,Q183) (Q6482479,P530,Q408) (Q6482479,P530,Q35)
action is_in
entity prev_answer
action find
entity Q6482479
relation P530
[ANSWER]
['Q6482479', 'P530', 'Q183'] ['Q6482479', 'P530', 'Q408'] ['Q6482479', 'P530', 'Q35']
ASK WHERE { VALUES ( ?t ) { ( resource:Q183 ) ( resource:Q601252 ) ( resource:Q193619 ) } . resource:Q6482479 property:P530 ?t }
No
action is_in
entity prev_answer
action find
entity Lamport, Buckinghamshire
relation diplomatic relation
['Lamport, Buckinghamshire', 'diplomatic relation', 'Germany'] ['Lamport, Buckinghamshire', 'diplomatic relation', 'Australia'] ['Lamport, Buckinghamshire', 'diplomatic relation', 'Denmark']
ASK WHERE { VALUES ( ?t ) { ( resource:Germany ) ( resource:Banovina_of_Croatia ) ( resource:Union_of_South_Africa ) } . resource:Lamport,_Buckinghamshire property:diplomatic_relation ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q408 Q3801666
P35
Q502895
USER
Is Ipparco Baccich the head of state of Australia ?
(Q408,P35,Q3801666)
action is_in
entity Q3801666
action find
entity Q408
relation P35
['Q408', 'P35', 'Q3801666']
ASK WHERE { resource:Q408 property:P35 resource:Q3801666 }
Australia Ipparco Baccich
action is_in
entity Ipparco Baccich
action find
entity Australia
relation head of state
['Australia', 'head of state', 'Ipparco Baccich']
ASK WHERE { resource:Australia property:head_of_state resource:Ipparco_Baccich }
[]
common name
SYSTEM
NO
(Q408,P35,Q3801666)
action is_in
entity Q3801666
action find
entity Q408
relation P35
[ANSWER]
['Q408', 'P35', 'Q3801666']
ASK WHERE { resource:Q408 property:P35 resource:Q3801666 }
No
action is_in
entity Ipparco Baccich
action find
entity Australia
relation head of state
['Australia', 'head of state', 'Ipparco Baccich']
ASK WHERE { resource:Australia property:head_of_state resource:Ipparco_Baccich }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P137
Q3084961
USER
Which product linings can be described as service operator of Australia ?
(c(Q3084961),P137,Q408)
action filter_type
action find_reverse
entity Q408
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q408']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q408 . ?x rdf:type ontology:Q3084961 }
Australia
action filter_type
action find_reverse
entity Australia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Australia']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Australia . ?x rdf:type ontology:product_lining }
[]
product lining
Q159129 Q182027 Q976898
SYSTEM
Sea King, C-130 Hercules, Vega
Q694356 Q398965 Q687743 Q211369 Q976898 Q699843 Q1094597 Q189491 Q270990 Q831667 Q6492 Q629539 Q159129 Q17487802 Q17407104 Q15887932 Q660969 Q39668 Q159601 Q209613 Q182027 Q15817988 Q1188742
(c(Q3084961),P137,Q408)
action filter_type
action find_reverse
entity Q408
relation P137
type Q3084961
[ANSWERS] can be described as service operator of Australia
[{'concept': 'Q3084961'}, 'P137', 'Q408']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q408 . ?x rdf:type ontology:Q3084961 }
OH-58 Kiowa AW109 Hawk C-17 Globemaster III Vega Challenger 600 Super King Air UH-60 Black Hawk F-111 Aardvark SH-60 Seahawk Airbus A330 MRTT NH90 Sea King Hawk Series 100 Écureuil F/A-18A/B Hornet Bell 206 H125 Écureuil Tiger CH-47 Chinook C-130 Hercules H-60 WS-61 Sea King
Sea King, C-130 Hercules and Vega can be described as service operator of Australia
Sea King C-130 Hercules Vega
action filter_type
action find_reverse
entity Australia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Australia']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Australia . ?x rdf:type ontology:product_lining }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159129
P121
Q1875621
USER
Which aircraft class is responsible for management of that product lining ?
(c(Q1875621),P121,Q159129)
action filter_type
action find_reverse
entity Q159129
relation P121
type Q1875621
[{'concept': 'Q1875621'}, 'P121', 'Q159129']
SELECT DISTINCT ?x WHERE { ?x property:P121 resource:Q159129 . ?x rdf:type ontology:Q1875621 }
Sea King
action filter_type
action find_reverse
entity Sea King
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'Sea King']
SELECT DISTINCT ?x WHERE { ?x property:item_operated resource:Sea_King . ?x rdf:type ontology:aircraft_class }
[]
aircraft class
Clarification for simple ques.
Q159129
SYSTEM
Did you mean Sea King ?
Q159129 Q182027 Q976898
(c(Q1875621),P121,Q159129) (c(Q1875621),P121,Q182027) (c(Q1875621),P121,Q976898)
[ANSWER]
[{'concept': 'Q1875621'}, 'P121', 'Q159129'] [{'concept': 'Q1875621'}, 'P121', 'Q182027'] [{'concept': 'Q1875621'}, 'P121', 'Q976898']
SELECT DISTINCT ?x WHERE { ?x property:P121 resource:Q159129 . ?x rdf:type ontology:Q1875621 }
Sea King C-130 Hercules Vega
Did you mean Sea King ?
Sea King
[{'concept': 'aircraft class'}, 'item operated', 'Sea King'] [{'concept': 'aircraft class'}, 'item operated', 'C-130 Hercules'] [{'concept': 'aircraft class'}, 'item operated', 'Vega']
SELECT DISTINCT ?x WHERE { ?x property:item_operated resource:Sea_King . ?x rdf:type ontology:aircraft_class }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1875621),P121,Q159129)
[{'concept': 'Q1875621'}, 'P121', 'Q159129']
[{'concept': 'aircraft class'}, 'item operated', 'Sea King']
[]
Q17476693
SYSTEM
Argentine Sea King fleet
Q17476693
(c(Q1875621),P121,Q159129)
action filter_type
action find_reverse
entity Q159129
relation P121
type Q1875621
[ANSWER] is responsible for management of that product lining
[{'concept': 'Q1875621'}, 'P121', 'Q159129']
SELECT DISTINCT ?x WHERE { ?x property:P121 resource:Q159129 . ?x rdf:type ontology:Q1875621 }
Argentine Sea King fleet
Argentine Sea King fleet is responsible for management of that product lining
Argentine Sea King fleet
action filter_type
action find_reverse
entity Sea King
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'Sea King']
SELECT DISTINCT ?x WHERE { ?x property:item_operated resource:Sea_King . ?x rdf:type ontology:aircraft_class }
[]