Simple Question (Direct)
Simple Question
Q5552820
P734
Q82799
USER
Who is associated with Gerry Jones ?
(Q5552820,P734,c(Q82799))
action filter_type
action find
entity Q5552820
relation P734
type Q82799
['Q5552820', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q5552820 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Gerry Jones
action filter_type
action find
entity Gerry Jones
relation family name
type name
['Gerry Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Gerry_Jones property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q5552820,P734,c(Q82799))
action filter_type
action find
entity Q5552820
relation P734
type Q82799
So [ANSWER] is associated with Gerry [ANSWER]
['Q5552820', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q5552820 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Jones
So Jones is associated with Gerry Jones
Jones
action filter_type
action find
entity Gerry Jones
relation family name
type name
['Gerry Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Gerry_Jones property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5552820
P735
Q82799
USER
What is forename of that person ?
(Q59853,P735,c(Q82799))
action filter_type
action find
entity Q5552820
relation P735
type Q82799
['Q59853', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q5552820 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Gerry Jones
action filter_type
action find
entity Gerry Jones
relation given name
type name
['Jones', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Gerry_Jones property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q1514838
SYSTEM
Gerry
Q1514838
(Q59853,P735,c(Q82799))
action filter_type
action find
entity Q5552820
relation P735
type Q82799
Forename of that person is [ANSWER]
['Q59853', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q5552820 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Gerry
Forename of that person is Gerry
Gerry
action filter_type
action find
entity Gerry Jones
relation given name
type name
['Jones', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Gerry_Jones property:given_name ?j . ?j rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P735
Q502895
USER
How many people have that name as forename ?
(c(Q502895),P735,Q1514838)
action count
action filter_type
action find_reverse
entity Q1514838
relation P735
type Q502895
[{'concept': 'Q502895'}, 'P735', 'Q1514838']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P735 resource:Q1514838 . ?t rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Gerry
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Gerry']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:given_name resource:Gerry . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
488
Q1352008 Q5552767 Q5552766 Q5552764 Q5552760 Q5552769 Q20641167 Q10995711 Q525314 Q5552759 Q5552753 Q5552750 Q5552756 Q5552757 Q5552754 Q16014887 Q3104338 Q982840 Q5552762 Q16192834 Q5552749 Q5552745 Q5552746 Q5552743 Q5552742 Q596137 Q1514899 Q1514898 Q1514894 Q1514892 Q1514890 Q19871074 Q21464336 Q5552683 Q16239876 Q3104340 Q3104341 Q3104342 Q3104343 Q3104344 Q3104345 Q5552889 Q5552887 Q5552884 Q5552885 Q5552882 Q5552880 Q5552881 Q21464322 Q21464328 Q20807459 Q5553041 Q172826 Q90216 Q16731778 Q5552797 Q5552790 Q5552791 Q5552798 Q3104353 Q3104352 Q5552891 Q5552893 Q5552894 Q5552897 Q2054738 Q15812056 Q19667065 Q20876229 Q5552788 Q5552781 Q5552784 Q5552787 Q20737763 Q20640870 Q1514942 Q18588629 Q10539646 Q16246678 Q1514931 Q2650538 Q18586180 Q1514925 Q21666049 Q16729255 Q20090719 Q1514912 Q1514913 Q1514911 Q3104322 Q3104324 Q3104325 Q3104328 Q5552820 Q5552821 Q5552823 Q5552824 Q5552826 Q5552829 Q20653759 Q3381074 Q5552736 Q1514905 Q1514906 Q1514903 Q110919 Q3104335 Q3104336 Q3104330 Q3104333 Q5552833 Q5552831 Q5552836 Q5552835 Q5552839 Q26821230 Q19842913 Q20128715 Q16197612 Q10379831 Q13641863 Q8013054 Q5552806 Q5552805 Q5552802 Q5552800 Q5552809 Q1514884 Q6382204 Q16887514 Q2506815 Q15054228 Q5552810 Q5552813 Q5552812 Q5552815 Q5552817 Q1468507 Q959314 Q5552818 Q1371242 Q27526197 Q5552868 Q5552864 Q5552866 Q5552860 Q5552861 Q5552863 Q20090586 Q1514889 Q8013063 Q5552877 Q5552876 Q5552874 Q5552873 Q5552871 Q3788745 Q16107354 Q19875403 Q16193697 Q16558875 Q26924470 Q5552842 Q5552840 Q5552846 Q5552847 Q5552845 Q5552849 Q4352603 Q16014113 Q2261425 Q5552855 Q5552857 Q5552851 Q5552853 Q5552859 Q5552858 Q328557 Q5552943 Q5552940 Q3330513 Q19665686 Q470927 Q363498 Q5552996 Q5552992 Q1514896 Q7678916 Q179332 Q5552987 Q5552986 Q5552983 Q5552982 Q5552981 Q5552988 Q5399566 Q16267240 Q16190807 Q21151703 Q18207651 Q10394954 Q21062253 Q5552978 Q21061903 Q5552952 Q5552953 Q5552954 Q5552956 Q333646 Q20972425 Q5552945 Q5552944 Q5552948 Q19518401 Q16116371 Q5552976 Q5552972 Q19876601 Q16104464 Q3104348 Q3104349 Q16095296 Q3801251 Q11309365 Q5553030 Q5553032 Q5553035 Q5553039 Q5552968 Q5552960 Q5552963 Q5552964 Q5552967 Q18643659 Q18736921 Q5553027 Q5553026 Q5553025 Q5553024 Q5552918 Q5552914 Q5552916 Q5552917 Q5552911 Q5552913 Q18156635 Q1807719 Q19517903 Q5553016 Q5553015 Q5553013 Q5553019 Q5552909 Q5552907 Q5552906 Q5552905 Q5552904 Q5552902 Q784987 Q5553033 Q5553036 Q5553037 Q3761260 Q5553009 Q5553003 Q5553005 Q5552933 Q5552936 Q5552937 Q5552938 Q5552939 Q20679369 Q16012944 Q5552672 Q5552958 Q977844 Q156535 Q5553075 Q5553072 Q5552927 Q5552921 Q5552920 Q5552923 Q19667827 Q3752522 Q1612751 Q16982872 Q5553066 Q5553061 Q16012300 Q3104354 Q1360791 Q16731555 Q21598393 Q734244 Q17305735 Q3761257 Q3761256 Q5553052 Q5553056 Q5553057 Q16015957 Q3104332 Q16151694 Q16014152 Q5553044 Q5553046 Q5553043 Q5553049 Q5553048 Q9267564 Q9267568 Q18168096 Q7463948 Q5553021 Q18402301 Q2289848 Q17180618 Q16750158 Q5552659 Q5552782 Q18225957 Q21070045 Q16208959 Q533270 Q1999983 Q1792177 Q5552926 Q1303893 Q552860 Q5552638 Q3439633 Q16982405 Q17811829 Q16019290 Q17198238 Q6378955 Q1124210 Q16106008 Q17073665 Q485770 Q21288993 Q2512739 Q5552722 Q440867 Q19689194 Q17579966 Q16016295 Q16196154 Q16186351 Q5552643 Q5552649 Q19274379 Q16192751 Q16012469 Q16733593 Q16886017 Q17306381 Q21504119 Q5552628 Q16105943 Q5552719 Q5552631 Q5552633 Q5552634 Q5552637 Q5552639 Q21647650 Q17436023 Q5552645 Q5552640 Q48774 Q16196855 Q18645849 Q5552656 Q5552654 Q5552653 Q5552652 Q5552650 Q5552658 Q5553077 Q5553070 Q5552925 Q18167850 Q5552668 Q5552669 Q3104351 Q21063898 Q12013481 Q1514924 Q10289256 Q10289254 Q5552679 Q5552677 Q5552676 Q5552673 Q18357167 Q19924739 Q19873660 Q17198743 Q15497427 Q5552681 Q5552682 Q5552684 Q5552685 Q5552688 Q5552689 Q16649146 Q21904465 Q3104318 Q18357170 Q20979152 Q18344312 Q5552693 Q5552691 Q5552690 Q5552696 Q5552694 Q5552698 Q19957884 Q1398763 Q76139 Q1514859 Q1514851 Q1514855 Q15999993 Q7233605 Q5552662 Q5552660 Q5552664 Q1514866 Q1514863 Q2049742 Q19878856 Q5553069 Q1514878 Q16186440 Q1373484 Q3161248 Q6078554 Q16015727 Q5552738 Q5552739 Q5552730 Q5552732 Q5552733 Q5552734 Q5552735 Q19468359 Q5552776 Q5552779 Q5552729 Q5552721 Q5552727 Q5552725 Q5552724 Q214474 Q15429067 Q5552717 Q5552714 Q5552715 Q5552712 Q5552713 Q18641657 Q3511206 Q2563672 Q1232464 Q5552999 Q322299 Q11860442 Q21597923 Q5552701 Q5552703 Q5552702 Q5552705 Q5552707 Q5552706 Q5552709 Q16195723 Q15648472 Q5552774 Q5552775 Q5552777 Q5552770 Q20737715 Q20807404 Q15463074 Q17479482
(c(Q502895),P735,Q1514838)
action count
action filter_type
action find_reverse
entity Q1514838
relation P735
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P735', 'Q1514838']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P735 resource:Q1514838 . ?t rdf:type ontology:Q502895 }
Gerry Hayes Gerry Hanberry Gerry H. Kisters Gerry Gomez Gerry Gomez Gerry Hand Gerry McCoy Gerry Crutchley Gerry Conway Gerry Godsoe Gerry Gersten Gerry George Gerry Gilbert Gerry Gimelstob Gerry Gibeault Gerry E. Hinton Gerry Lockran Gerry Becker Gerry Goyer Gerry McCarthy Gerry Gazzard Gerry Gallagher Gerry Garvan Gerry Francis Gerry Forrest Gerry Anderson Gerry Mayer Gerry Lively Gerry Johnson Gerry Kley Gerry Jochum Gerry Balme Gerry Gleason Gerry Clark Gerry Haywood Gerry Hannahs Gerry Morel Gerry Joly Gerry Perry Gerry Meehan Gerry Plamondon Gerry McGeer Gerry McEntee Gerry McDougall Gerry McElhinney Gerry McDonald Gerry McCaul Gerry McCulloch Gerry Blood Gerry Dudgeon Gerry Enright Gerry Sullivan Gerry Ashmore Gerry Schum Gerry Mackie Gerry Hughes Gerry Hazlitt Gerry Henry Gerry Hill Gerry Sklavounos Gerry Staley Gerry McGhee Gerry McGovern Gerry McGowan Gerry McGrath Gerry Koning Gerry Saurer Gerry Goldstein Gerry McCormac Gerry Heaney Gerry Hart Gerry Harvey Gerry Helme Gerry Sier Gerry Noonan Gerry Whiting Hazelton Gerry Willomitzer Gerry Sharpe Gerry Gannon Gerry Turpin Gerry del Court van Krimpen Gerry Kuzyk Gerry Studds Gerry Peirce Gerry Fitzpatrick Gerry Ford Gerry Niewood Gerry Reinhardt Gerry O'Sullivan Gerry Brand Gerry Bednob Gerry Byrne Gerry Boulet Gerry Jones Gerry Jones Gerry Judah Gerry Kandelaars Gerry Keenan Gerry Kelly Gerry Fell Gerry Sayer Gerry Fogarty Gerry McAvoy Gerry Mikscha Gerry McNeil Gerry Rafferty Gerry Doran Gerry Chiniquy Gerry Day Gerry Couture Gerry Kirwan Gerry Kennedy Gerry L. Alexander Gerry Kissell Gerry Lennon Gerry Catteeuw Gerry Duguid Gerry Woodlock Gerry Cottle Gerry Gow Gerry Hamstra Gerry Humphreys Gerry Hunsicker Gerry Hundt Gerry House Gerry Hughes Gerry Hurley Gerry Hemingway Gerry Odrowski Gerry Leroux Gerry Bertier Gerry McGeough Gerry Hutch Gerry James Gerry Ingram Gerry Huth Gerry Joe Weise Gerry Hungbauer Gerry Francis Gerry Johnson Gerry Geran Gerry Jungen Gerry Martiniuk Gerry Marks Gerry Marshall Gerry Malone Gerry Mannion Gerry Markman Gerry Dick Gerry Healy Gerry Humphreys Gerry McCambridge Gerry McCabe Gerry Marsden Gerry McAlpine Gerry Mays Gerry Davis Gerry Janeski Gerry Matheson Gerry Laffy Gerry Oehry Gerry Moro Gerry Lightowler Gerry L'Estrange Gerry Lindgren Gerry Livingston Gerry Lincoln Gerry Lohan Gerry Brownlee Gerry Lester Gerry Bamman Gerry Lynn Gerry Lowrey Gerry Lucey Gerry Luczka Gerry Maher Gerry Mackey Gerry Sutcliffe Gerry Nott Gerry O'Brien Gerry Cosby Gerry Klug Gerhardt Neef Gerry Scotti Gerry Reardon Gerry Quinn Gerry Leonard Gerry Blattner Gerry Breen Gerry Priestley Gerry Preston Gerry Pollet Gerry Plamondon Gerry Philbin Gerry Queen Gerry Kearby Gerry Bribosia Gerry McHugh Gerry Hickey Gerry Hassan Gerry Murphy Gerry Wright Gerry Pirtle Gerry McDonagh Gerry O'Hara Gerry O'Malley Gerry O'Riordan Gerry O'Rourke Gerry Fitt Gerry Vlak Gerry O'Flaherty Gerry O'Connor Gerry O'Hara Gerry Palmer Gerry Perryman Gerry Phillips Gerry Perry Gerry O'Neill Gerry Hunt Gerry Ritz Gerry Shannon Gerry Wiedel Gerry Desjardins Gelard James "Gerry" McGee Gerry Shishin Wick Gerry Simpson Gerry Spence Gerry Steinberg Gerry Peacocke Gerry Ortega Gerry Ouellette Gerry Owens Gerry Parsky Gerry Dorizas Gerry McAloon Gerry Shea Gerry Shamray Gerry Schoen Gerry Schwartz Gerry Monaghan Gerry Merito Gerry Methe Gerry Minor Gerry McNeilly Gerry Melnyk Gerry MacTaggart Gerry Norquist Gerry Leonard Gerry Round Gerry Robinson Gerry Rogers Gerry Ryan Gerry McNamara Gerry McNee Gerry McMahon Gerry McLoughlin Gerry McLauchlan Gerry McInerney Gerry Mendicino Gerry Smyth Gerry Storey Gerry Stoker Gerry McNamara Gerry Rinaldi Gerry Reynolds Gerry Reynolds Gerry Mullins Gerry Murphy Gerry Murphy Gerry Neale Gerry Northam Gerry Hayes Gerry Connor Gerry Carroll Gerry Organ Gerry Hitchens Gerry Mulligan Gerry Wilson Gerry Ward Gerry Mullan Gerry Morgan Gerry Moore Gerry Morielli Gerry Ryan Gerry Weil Gerry Ward Gerry Legras Gerry Weigall Gerry Walsh Gerry Monroe Gerry Weiner Gerry Roufs Gerry P. Little Gerry Vincent Gerry Cooney Gerry Burke Gerry Gray Gerry Daly Gerry Taylor Gerry Thompson Gerry Turner Gerry Quigley Gerry Conlon Gerry DiNardo Gerry Ottenheimer Gerry Sundquist Gerry Sweeney Gerry Sullivan Gerry Tansey Gerry Summers Gerry Austgarden Gerry Brady Gerry Thompkins Gerry Roxas Gerry Sandusky Gerry Druyts Gerry Göbel Gerry Glaude Gerry Follon Gerry Brady Gerry Hart Gerry van der Linden Gerry Hartigan Gerry Granahan Gerry Lopez Gerry Arling Gerry Taggart Gerry Moynihan Gerry Brown Gerry Alexander Gerry Anderson Gerry Glacken Gerry Tuttle Gerry Nestler Gerry Bahen Gerry Keegan Gerry Rioux Gerry Peñalosa Gerry Mercier Gerry Dialungana Gerry Fisher Gerry Rouse Gerry Vergult Gerry Droller Gerry Sorensen Gerry Carr Gerry Fairhead Gerry Teifer Gerry McInerney Gerry MacLochlainn Gerry Badger Gerry Baker Gerry Wells Gerry Hewson Gerry Martina Gerry O'Connor Gerry Talaoc Gerry Patrick Gerry Moore Gerry Abel Gerry Harrison Gerry Doyle Gerry Adams Gerry Ainscough Gerry Alanguilan Gerry Altobello Gerry Armstrong Gerry McIntyre Gerry Lee Gerry Baker Gerry Arrigo Gerry Goffin Gerry Campbell Gerry Sheehy Gerry Bowler Gerry Bermingham Gerry Bates Gerry Barr Gerry Baker Gerry Boyle Gerry Wood Gerry Whent Gerry Morrissey Gerry DeLeeuw Gerry Burrell Gerry Bussell Gerry St. Germain Gerry Penner Gerry van der Velden Gerry Spiess Gerry Rosenthal Gerry Adriano da Costa Gerry Chalk Gerry Cawley Gerry Casey Gerry Callahan Gerry Shaw Gerry Langley Gerry Georgatos Gerry Stahl Gerry Pencer Gerry Citron Gerry Christie Gerry Cohen Gerry Clarke Gerry Collins Gerry Collins Gerry Eckhardt Gerry Tolman Gerry Argento Gerry Sternberg Gerry Carroll Gerry Beare Gerry Convery Gerry Connolly Gerry Cohen Gerry Cott Gerry Coone Gerry Coyne Gerry Murphy Gerry Conway Gerry Adams Gerry Connolly Gerry Bridgwood Gerry Chandrasena Gerry Tordoff Gerry Gray Gerry Browne Gerry Britton Gerry Brown Gerry Ehman Gerry Cowper Gerry de Klerk Gerry Sexton Gerry White Gerry Hambling Gerry Reid Gerry Cheevers Gerry De Mol Gerry Rooth Gerry Adams, Sr. Gerry Fleming Gerry Foley Gerry Embleton Gerry Faust Gerry Fiennes Gerry Finley-Day Gerry Fitzsimons Gerry Mill Gerry Hardstaff Gerry Harrison Gerry Ellis Gerry Donnelly Gerry Eckhoff Gerry Duggan Gerry Ducharme Gerry Wolff Gerry Scott Gerry Desaulniers Gerry Dee Gerry Denoird Gerry Davis Gerry DeVeaux Gerry Williams Gerry Gable Gerry Peyton Gerry Sikorski Gerry Reid Gerry Thomas Gerry Birgit Ilvesheimo Gerry Malone Gerry Curatola Gerry Creaney Gerry Czarnecki Gerry Daly Gerry Davidson Gerry Dattilio Gerry Davis Gerry O'Sullivan Gerry Cakebread Gerry Hargan Gerry Harris Gerry Harris Gerry Hannah Gerry McIntyre Gerry Doyle Gerry Kelly Gerry Sherry
488
action count
action filter_type
action find_reverse
entity Gerry
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Gerry']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:given_name resource:Gerry . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for max number of names ?
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?t ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P407 ?j . ?j rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?j } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P407 ?f . ?f rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?f } }
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?t ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?j } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?f } }
[]
language name
Q1860
SYSTEM
English
Q1860
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWER] is the languages of work for max number of names
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?t ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P407 ?j . ?j rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?j } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P407 ?f . ?f rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?f } }
English
English is the languages of work for max number of names
English
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?t ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?j } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P37
Q34770 Q56061
USER
Which administrative territories are max number of languages the official language of ?
(c(Q56061),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q56061
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?n ) WHERE { ?x property:P37 ?v . ?x rdf:type ontology:Q56061 . ?v rdf:type ontology:Q34770 } GROUP BY ?x } } . FILTER ( ?w = ?i ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:P37 ?q . ?q rdf:type ontology:Q34770 . ?k rdf:type ontology:Q56061 } GROUP BY ?k } }
action argmax
action find_tuple_counts
relation official language
type administrative territorial entity
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?n ) WHERE { ?x property:official_language ?v . ?x rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:language } GROUP BY ?x } } . FILTER ( ?w = ?i ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:official_language ?q . ?q rdf:type ontology:language . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?k } }
[]
language administrative territorial entity
Q458
SYSTEM
European Union
Q458
(c(Q56061),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q56061
type Q34770
Max number of languages the official language of are the [ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?n ) WHERE { ?x property:P37 ?v . ?x rdf:type ontology:Q56061 . ?v rdf:type ontology:Q34770 } GROUP BY ?x } } . FILTER ( ?w = ?i ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:P37 ?q . ?q rdf:type ontology:Q34770 . ?k rdf:type ontology:Q56061 } GROUP BY ?k } }
European Union
Max number of languages the official language of are the European Union
European Union
action argmax
action find_tuple_counts
relation official language
type administrative territorial entity
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?n ) WHERE { ?x property:official_language ?v . ?x rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:language } GROUP BY ?x } } . FILTER ( ?w = ?i ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:official_language ?q . ?q rdf:type ontology:language . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?k } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458
P276
Q193219
USER
What is situated at that administrative territory ?
(c(Q193219),P276,Q458)
action filter_type
action find_reverse
entity Q458
relation P276
type Q193219
[{'concept': 'Q193219'}, 'P276', 'Q458']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q458 . ?r rdf:type ontology:Q193219 }
European Union
action filter_type
action find_reverse
entity European Union
relation location
type subsidy
[{'concept': 'subsidy'}, 'location', 'European Union']
SELECT DISTINCT ?r WHERE { ?r property:location resource:European_Union . ?r rdf:type ontology:subsidy }
[]
subsidy
Q294521
SYSTEM
ALTENER
Q294521
(c(Q193219),P276,Q458)
action filter_type
action find_reverse
entity Q458
relation P276
type Q193219
Is [ANSWER] is situated at that administrative territory
[{'concept': 'Q193219'}, 'P276', 'Q458']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q458 . ?r rdf:type ontology:Q193219 }
ALTENER
Is ALTENER is situated at that administrative territory
ALTENER
action filter_type
action find_reverse
entity European Union
relation location
type subsidy
[{'concept': 'subsidy'}, 'location', 'European Union']
SELECT DISTINCT ?r WHERE { ?r property:location resource:European_Union . ?r rdf:type ontology:subsidy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458
P30
Q2221906
USER
Which geographic locations are European Union situated in ?
(Q458,P30,c(Q2221906))
action filter_type
action find
entity Q458
relation P30
type Q2221906
['Q458', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q458 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
European Union
action filter_type
action find
entity European Union
relation continent
type geographic location
['European Union', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:European_Union property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
geographic location
Q15 Q48 Q46
SYSTEM
Africa, Asia, Europe
Q46 Q15 Q18 Q48 Q49
(Q458,P30,c(Q2221906))
action filter_type
action find
entity Q458
relation P30
type Q2221906
European Union are situated in [ANSWERS]
['Q458', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q458 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Europe Africa South America Asia North America
European Union are situated in Africa, Asia and Europe
Africa Asia Europe
action filter_type
action find
entity European Union
relation continent
type geographic location
['European Union', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:European_Union property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
Clarification
Simple Question|Single Entity|Indirect
Q46
P706
Q82794
USER
What is the location where that geographic location is located ?
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?u WHERE { resource:Q46 property:P706 ?u . ?u rdf:type ontology:Q82794 }
Europe
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?u WHERE { resource:Europe property:located_on_terrain_feature ?u . ?u rdf:type ontology:geographic_region }
[]
geographic region
Clarification for simple ques.
Q48
SYSTEM
Did you mean Asia ?
Q15 Q48 Q46
(Q15,P706,c(Q82794)) (Q48,P706,c(Q82794)) (Q46,P706,c(Q82794))
[ANSWER]
['Q15', 'P706', {'concept': 'Q82794'}] ['Q48', 'P706', {'concept': 'Q82794'}] ['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?u WHERE { resource:Q46 property:P706 ?u . ?u rdf:type ontology:Q82794 }
Africa Asia Europe
Did you mean Asia ?
Asia
['Africa', 'located on terrain feature', {'concept': 'geographic region'}] ['Asia', 'located on terrain feature', {'concept': 'geographic region'}] ['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?u WHERE { resource:Europe property:located_on_terrain_feature ?u . ?u rdf:type ontology:geographic_region }
[]
Simple Question (Coreferenced)
USER
No, I meant Europe. Could you tell me the answer for that?
(Q46,P706,c(Q82794))
Q46
['Q46', 'P706', {'concept': 'Q82794'}]
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
[]
Q39061
SYSTEM
Northern Hemisphere
Q39061
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
The location that geographic location is located is the [ANSWER]
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?u WHERE { resource:Q46 property:P706 ?u . ?u rdf:type ontology:Q82794 }
Northern Hemisphere
The location that geographic location is located is the Northern Hemisphere
Northern Hemisphere
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?u WHERE { resource:Europe property:located_on_terrain_feature ?u . ?u rdf:type ontology:geographic_region }
[]