Simple Question (Direct)
Simple Question
Q16104741
P937
Q56061
USER
Which administrative territory is the work location of Philip Kaltenbacher ?
(Q16104741,P937,c(Q56061))
action filter_type
action find
entity Q16104741
relation P937
type Q56061
['Q16104741', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q16104741 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Philip Kaltenbacher
action filter_type
action find
entity Philip Kaltenbacher
relation work location
type administrative territorial entity
['Philip Kaltenbacher', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Philip_Kaltenbacher property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25330
SYSTEM
Trenton
Q25330
(Q16104741,P937,c(Q56061))
action filter_type
action find
entity Q16104741
relation P937
type Q56061
[ANSWER] is the work location of Philip Kaltenbacher
['Q16104741', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q16104741 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Trenton
Trenton is the work location of Philip Kaltenbacher
Trenton
action filter_type
action find
entity Philip Kaltenbacher
relation work location
type administrative territorial entity
['Philip Kaltenbacher', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Philip_Kaltenbacher property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16104741
P69
Q163740
USER
Which nonprofit organization is that person an alumni of ?
(Q25330,P69,c(Q163740))
action filter_type
action find
entity Q16104741
relation P69
type Q163740
['Q25330', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q16104741 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Philip Kaltenbacher
action filter_type
action find
entity Philip Kaltenbacher
relation educated at
type nonprofit organization
['Trenton', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Philip_Kaltenbacher property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q25330,P69,c(Q163740))
action filter_type
action find
entity Q16104741
relation P69
type Q163740
[ANSWER] is that person an alumni of
['Q25330', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q16104741 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Yale University
Yale University is that person an alumni of
Yale University
action filter_type
action find
entity Philip Kaltenbacher
relation educated at
type nonprofit organization
['Trenton', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Philip_Kaltenbacher property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3291093 Q16104741
P69 P108
Q163740
USER
Which nonprofit organizations were Philip Kaltenbacher educated and are the employers of Edward Hinds ?
AND((Q16104741,P69,c(Q163740)), (Q3291093,P108,c(Q163740)))
action filter_type
action intersection
action find
entity Q16104741
relation P69
action find
entity Q3291093
relation P108
type Q163740
{'AND': [['Q16104741', 'P69', {'concept': 'Q163740'}], ['Q3291093', 'P108', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?p WHERE { resource:Q16104741 property:P69 ?p . resource:Q3291093 property:P108 ?p . ?p rdf:type ontology:Q163740 }
Edward Hinds Philip Kaltenbacher
action filter_type
action intersection
action find
entity Philip Kaltenbacher
relation educated at
action find
entity Edward Hinds
relation employer
type nonprofit organization
{'AND': [['Philip Kaltenbacher', 'educated at', {'concept': 'nonprofit organization'}], ['Edward Hinds', 'employer', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?p WHERE { resource:Philip_Kaltenbacher property:educated_at ?p . resource:Edward_Hinds property:employer ?p . ?p rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
AND((Q16104741,P69,c(Q163740)), (Q3291093,P108,c(Q163740)))
action filter_type
action intersection
action find
entity Q16104741
relation P69
action find
entity Q3291093
relation P108
type Q163740
Philip Kaltenbacher were educated at [ANSWER] and are the employers of Edward Hinds
{'AND': [['Q16104741', 'P69', {'concept': 'Q163740'}], ['Q3291093', 'P108', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?p WHERE { resource:Q16104741 property:P69 ?p . resource:Q3291093 property:P108 ?p . ?p rdf:type ontology:Q163740 }
Yale University
Philip Kaltenbacher were educated at Yale University and are the employers of Edward Hinds
Yale University
action filter_type
action intersection
action find
entity Philip Kaltenbacher
relation educated at
action find
entity Edward Hinds
relation employer
type nonprofit organization
{'AND': [['Philip Kaltenbacher', 'educated at', {'concept': 'nonprofit organization'}], ['Edward Hinds', 'employer', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?p WHERE { resource:Philip_Kaltenbacher property:educated_at ?p . resource:Edward_Hinds property:employer ?p . ?p rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q22662441 Q16104741
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Philip Kaltenbacher or are Muzeum Kultury Kurpiowskiej present in ?
OR((Q16104741,P27,c(Q15617994)), (Q22662441,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16104741
relation P27
action find
entity Q22662441
relation P17
type Q15617994
{'OR': [['Q16104741', 'P27', {'concept': 'Q15617994'}], ['Q22662441', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q16104741 property:P27 ?k } UNION { resource:Q22662441 property:P17 ?k } } }
Muzeum Kultury Kurpiowskiej Philip Kaltenbacher
action filter_type
action union
action find
entity Philip Kaltenbacher
relation country of citizenship
action find
entity Muzeum Kultury Kurpiowskiej
relation country
type designation for an administrative territorial entity
{'OR': [['Philip Kaltenbacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Muzeum Kultury Kurpiowskiej', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Philip_Kaltenbacher property:country_of_citizenship ?k } UNION { resource:Muzeum_Kultury_Kurpiowskiej property:country ?k } } }
[]
designation for an administrative territorial entity
Q30 Q36
SYSTEM
United States of America, Poland
Q30 Q36
OR((Q16104741,P27,c(Q15617994)), (Q22662441,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16104741
relation P27
action find
entity Q22662441
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Philip Kaltenbacher or are Muzeum Kultury Kurpiowskiej present in
{'OR': [['Q16104741', 'P27', {'concept': 'Q15617994'}], ['Q22662441', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q16104741 property:P27 ?k } UNION { resource:Q22662441 property:P17 ?k } } }
United States of America Poland
United States of America and Poland are the countries of citizenship of Philip Kaltenbacher or are Muzeum Kultury Kurpiowskiej present in
United States of America Poland
action filter_type
action union
action find
entity Philip Kaltenbacher
relation country of citizenship
action find
entity Muzeum Kultury Kurpiowskiej
relation country
type designation for an administrative territorial entity
{'OR': [['Philip Kaltenbacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Muzeum Kultury Kurpiowskiej', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Philip_Kaltenbacher property:country_of_citizenship ?k } UNION { resource:Muzeum_Kultury_Kurpiowskiej property:country ?k } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P20
Q4830453 Q502895
USER
How many business enterprises and people have that administrative territory as the location of death ?
(c(Q4830453),P20,Q30) (c(Q502895),P20,Q30) (c(Q4830453),P20,Q30) (c(Q502895),P20,Q30) (c(Q4830453),P20,Q36) (c(Q502895),P20,Q36)
[{'concept': 'Q4830453'}, 'P20', 'Q30'] [{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q30'] [{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q36'] [{'concept': 'Q502895'}, 'P20', 'Q36']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q18658526 resource:Q30 } UNION { ?y property:Q18658526 resource:Q30 } UNION { ?z property:Q18658526 resource:Q30 } UNION { ?y property:Q18658526 resource:Q30 } UNION { ?z property:Q18658526 resource:Q7208890 } UNION { ?y property:Q18658526 resource:Q7208890 } } . ?z rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q502895 }
[{'concept': 'business enterprise'}, 'place of death', 'United States of America'] [{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'United States of America'] [{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'Poland'] [{'concept': 'common name'}, 'place of death', 'Poland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:place_of_death resource:United_States_of_America } UNION { ?y property:place_of_death resource:United_States_of_America } UNION { ?z property:place_of_death resource:United_States_of_America } UNION { ?y property:place_of_death resource:United_States_of_America } UNION { ?z property:place_of_death resource:Poland } UNION { ?y property:place_of_death resource:Poland } } . ?z rdf:type ontology:business_enterprise . ?y rdf:type ontology:common_name }
[]
business enterprise common name
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q18658526 resource:Q30 } UNION { ?y property:Q18658526 resource:Q30 } UNION { ?z property:Q18658526 resource:Q30 } UNION { ?y property:Q18658526 resource:Q30 } UNION { ?z property:Q18658526 resource:Q7208890 } UNION { ?y property:Q18658526 resource:Q7208890 } } . ?z rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q502895 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:place_of_death resource:United_States_of_America } UNION { ?y property:place_of_death resource:United_States_of_America } UNION { ?z property:place_of_death resource:United_States_of_America } UNION { ?y property:place_of_death resource:United_States_of_America } UNION { ?z property:place_of_death resource:Poland } UNION { ?y property:place_of_death resource:Poland } } . ?z rdf:type ontology:business_enterprise . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q4830453),P20,Q30) (c(Q502895),P20,Q30) (c(Q4830453),P20,Q30) (c(Q502895),P20,Q30) (c(Q4830453),P20,Q36) (c(Q502895),P20,Q36)
[{'concept': 'Q4830453'}, 'P20', 'Q30'] [{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q30'] [{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q36'] [{'concept': 'Q502895'}, 'P20', 'Q36']
[{'concept': 'business enterprise'}, 'place of death', 'United States of America'] [{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'United States of America'] [{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'Poland'] [{'concept': 'common name'}, 'place of death', 'Poland']
[]
SYSTEM
1 business enterprises and 330 people
Q4275735 Q7051514 Q9285381 Q3810294 Q12177029 Q3113255 Q884921 Q299601 Q5496058 Q6213930 Q4723035 Q2012746 Q16992610 Q19560442 Q18576468 Q1711759 Q150816 Q1794054 Q4055170 Q968224 Q6523768 Q1450047 Q4416860 Q4130949 Q5335641 Q6197699 Q3576399 Q116895 Q20741641 Q3467006 Q5346216 Q17455385 Q3365963 Q2836665 Q640717 Q3127637 Q1811795 Q6184259 Q6227528 Q4137625 Q2607415 Q4072400 Q5505023 Q6820021 Q6701279 Q4172657 Q353754 Q2574690 Q4696196 Q3928916 Q5533194 Q1585801 Q4724770 Q4166303 Q1688989 Q4475070 Q6490418 Q20525523 Q6891815 Q5486954 Q3181805 Q274814 Q4384688 Q703642 Q4893044 Q118156 Q7344303 Q103254 Q3760455 Q15135277 Q4934086 Q1707085 Q1701261 Q5294283 Q9381678 Q2638523 Q22075425 Q7340081 Q1693156 Q6851430 Q2340466 Q3942299 Q4717969 Q4135414 Q1466114 Q1446805 Q1033980 Q5546063 Q26906244 Q1357979 Q3809097 Q316354 Q731752 Q20829661 Q1040953 Q5236651 Q929107 Q6282565 Q7647586 Q18685910 Q7613466 Q20715024 Q5353918 Q7970037 Q544990 Q5132984 Q2339266 Q8053412 Q2060383 Q8068253 Q38304 Q7049499 Q16490268 Q7240556 Q7789846 Q1353820 Q2579513 Q214762 Q6228994 Q19832437 Q6373017 Q4470081 Q7188573 Q6300728 Q7819881 Q1871107 Q2743857 Q323334 Q7158128 Q2676888 Q4757052 Q5416288 Q11941011 Q928613 Q7411215 Q6255703 Q6536049 Q216539 Q2926489 Q9343401 Q16237779 Q75312 Q1569352 Q23008794 Q4648531 Q1380058 Q2580560 Q3043519 Q1761603 Q4430033 Q185090 Q4684377 Q7789469 Q8016763 Q4364832 Q1908694 Q1769952 Q330201 Q3483497 Q331070 Q351099 Q7964182 Q906477 Q1942641 Q447716 Q9355418 Q1346819 Q7819677 Q5496260 Q9147660 Q15130627 Q8008214 Q6748498 Q1261880 Q8011795 Q7345878 Q5057099 Q932553 Q2553015 Q378620 Q5791058 Q58963 Q4858683 Q3920215 Q4878818 Q4452785 Q2555359 Q5664441 Q794791 Q11826613 Q2295303 Q4460334 Q4954993 Q578085 Q1537852 Q1393646 Q712593 Q4803166 Q2633193 Q3184800 Q5480208 Q15063038 Q7756163 Q1632046 Q18274928 Q20127273 Q24083069 Q356810 Q6395571 Q324633 Q7821248 Q373104 Q17423629 Q6194442 Q212426 Q4491075 Q16206545 Q6319806 Q288916 Q7158397 Q946368 Q5238233 Q4122028 Q7597801 Q5371246 Q6372112 Q1680109 Q15484220 Q503289 Q5811800 Q19946150 Q6281876 Q16010319 Q22958342 Q6149052 Q19362246 Q1974961 Q7459205 Q16549770 Q7299751 Q6198669 Q902976 Q3018986 Q2356664 Q6419103 Q7965719 Q2120996 Q4932633 Q95484 Q4837485 Q253060 Q5538809 Q23944001 Q3336293 Q2141930 Q5545451 Q915696 Q21808516 Q9374535 Q2908897 Q7687894 Q2636090 Q6303495 Q9149032 Q19665973 Q4756903 Q4529589 Q5272708 Q7558697 Q3379036 Q118454 Q4491364 Q139412 Q5040880 Q2579089 Q1964003 Q4910721 Q3082351 Q21064680 Q1701131 Q3809513 Q13030875 Q3877024 Q16601046 Q889827 Q19554998 Q3484444 Q3300585 Q15081310 Q1399338 Q3182876 Q6417921 Q2005194 Q4122793 Q7346457 Q2474313 Q4063426 Q3266007 Q7693486 Q5724479 Q2639508 Q11702431 Q4913443 Q17025157 Q5244176 Q2910912 Q1240079 Q895936 Q1311632 Q3147769 Q3901556 Q5948736 Q7344796 Q5076143 Q5898095 Q6246265 Q7673957 Q6795732 Q2525726 Q21855441 Q710510 Q3810244 Q15730314 Q11729249 Q5538148 Q16013305 Q1160901 Q16082232 Q338561 Q725093 Q939550
(c(Q4830453),P20,Q30) (c(Q502895),P20,Q30) (c(Q4830453),P20,Q30) (c(Q502895),P20,Q30) (c(Q4830453),P20,Q36) (c(Q502895),P20,Q36)
[ANSWER]
[{'concept': 'Q4830453'}, 'P20', 'Q30'] [{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q30'] [{'concept': 'Q502895'}, 'P20', 'Q30'] [{'concept': 'Q4830453'}, 'P20', 'Q36'] [{'concept': 'Q502895'}, 'P20', 'Q36']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q18658526 resource:Q30 } UNION { ?y property:Q18658526 resource:Q30 } UNION { ?z property:Q18658526 resource:Q30 } UNION { ?y property:Q18658526 resource:Q30 } UNION { ?z property:Q18658526 resource:Q7208890 } UNION { ?y property:Q18658526 resource:Q7208890 } } . ?z rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q502895 }
F. Gwynplaine MacIntyre Norm Larsen Halina Korolec-Bujakowska Josephine Joseph Robert Gair Graham Ingels William Rush Merriam Karen Krantzcke Fred Pepper Joel Sayre Alfred L. Cralle Carl Burgos Mike Gallagher Joseph P. Evans John Dixey Jules Freund Emiliano González Navero Kurt Schlesinger Abu Salma Justin Najmy Leo Gerstenzang Gart Westerhout Nathalie Sergueiew Emil Gabrielian Eda Warren Jim Reed Z. W. Birnbaum Albert Samuel Gatschet John P. O'Neill Jesse Wallace Edwin Atherton Jerry Cooke Miroslav Sláma Alice Roosevelt Longworth Joseph Colombo Harold Seymour Lee Elias Jerry Poteet John Craven Eugenie Gershoy Peter Charanis Ishaya Audu Fritz Stoll Merrell Jackson Luis Ávalos Toni D'Alto Paul de Man Joseph Salemi Ahmet Robenson Rae Foley Genille Cave-Browne-Cave Harold Dejan Ali El-Maak Florinda Donner Jill Johnston Nikolay Ulyanov Larry Grey Aleksandar Vereščagin Mohammad Anwar Khan Durrani Frank Greinert John Ingvard Kjargaard Elénor-François-Elie, Comte de Moustier Sergei G. Pushkarev John W. Foster Bernard Cywinski Albert Butz Robert Ferguson Ludwig Wolff George C. Cox Cornelia Templeton Hatcher Bob Stetler Joseph Gehot John Ordway Donald E. Graves Władysław Augustyn Jan Cieplak M. A. Tricca Rob Denton Johann Daniel Achelis Miles James Emil Sommerstein Rudy Cipolla Alex Weir Paul Haensel József Yartin Franz Fraas Pál Schiller Harkai George Waters Stephen J. O'Kelly Minik Wallace John Bloom Patrick Leahy Wacław Kobyliński Mary Brazier Carl Wallmann David Lipscomb Józef Światło Joseph Delach Susan Bloch Peter A. Vellucci Steve Newman Thomas Fitzpatrick Elden Kingston Warren B. Duff Benjamin Ruggiero Clifford Jones Yukhym Shkolnykov Ygnacio del Valle Paul J. Mueller Zebedy Colt Ēriks Pētersons Nonna Bannister Carlos Cordovez Borja Prentice Moreland Thomas Fuller Erik Almlöf William Jencks Lien Deyers John Deal Betty G. Miller Karol Bahrke John Burr Williams Phyllis Huffman Juan Pajota Tommy Stark Lothrop Stoddard Robert LeFevre Bob Peak Pearl M. Hart John Mix Stanley Andrew Gajda Evelyn Boucher Pere Montaldo Norman Jay Coleman Samuel D. Riddle John Ross Dix Lew Schwartz Hugo Gutmann Bruce Voeller Stanisław Wójcik John B. Wentworth Owsei Temkin Karl Fryksdal Martin Zephyr A. Wayne Wymore Kalki Krishnamurthy William Sistrom Carolyn Conwell Marc Rocco Sofiya Jozeffi Sardul Singh Kwatra Adolph Marix Thomas F. O'Neil William Penn Patrick Carl Copping Plehn Anna Mathilde Hitzfeld William M. Meredith Ma Sicong Sig Herzig Gideon Granger Murphy Anderson Walter Aspden Joseph Edward Mayer Mohammad Ali Khojastehpour Madam C. J. Walker Tamara Wiszniewska Paul Thek Tommy McFarlane Fred Shields Alfred Falter Tadeusz Lipski William E. Cooper Manfred Guttmacher Smith Thompson William Haze Robert J. Fox Cedric Fauntleroy Edward Donaghy Wayne Boring Ralph Wright Albert Harris Charles T. Kowal Barbara, Lady Judge Iziaslav Becky Edelsohn William Hogarth Tower Maddie Blaustein Harriette Tarler Ferenc Bihari Drahoš Jirotka Frank Fetter Laurence Thompson Eugen Bjørnstad Milton Work Susannah McCorkle John Svanberg Soma Weiss Asa T. Newhall Aldo Donelli Joseph Crétin António da Costa Vytautas Norkus The Parkinsons Howling Wolf Anders Fredrik Wiking John Henry Brown Adolf Christian Moestue M. Hoke Smith Ketto Mikeladze George Evans Toni Blum David Henshaw Michael Phelan Jim Cronin Elizabeth Murray John M. Flynn E. C. Tully János Radványi Jack Ketchum Peary Rader Cliff Sterrett David Oppenheim Nell Brinkley Stan Monteith Emil G. Hirsch Karl Neuhoff James C. McCormick Ju-Chin Chu Michael O'Hare Jörgen Holmquist Jack Lyall Joseph C. G. Kennedy Randolph Collier A. K. N. Ahmed Jan Henryk de Rosen Maurice Hurley Juozas Ambrazevičius Seymour Lubetzky Dino Di Luca Raúl Chappell Jim Van Eerden Jafar Namdar Lee J. Ames Orlando Anderson Kiyoshi Kuromiya Walter Newman Bob McIntyre Bob Guelker Max Friedrich Meyer Babalu Albert Balink George Earl Ortman Julian Gazda Nat Hiken William Prescott George Vandeman Siegfried Wortmann Edmund Reismann Wilhelm Wachtel Saul Lieberman Tatari Ali Al Harewood Judith K. Zilczer Aloyzas Valušis Marcella Martin Andrew Esinhart Howard Ensign Evans Dick Briefer Solomon Lar Philip Livingston Hedwig Kohn Sheldon Fox Z. K. Matthews Carl Thomas Anderson William H. Roane Yehoash Bill Rowley Franco Assetto Chandra Bahadur Gurung John Moors Cabot John O'Connell Zora Kipel Nils Regnell Martha Viana Oliver Max Gardner Maria Bergson Simon Scott Abas Ermenji Pierre S. Porohovshikov Harald Christensen Johnny Craig Kitaw Ejigu Sonia Greene Siergiej Wojciechowski Robert Kozaren Edarem Walter C. Alvarez Lucy Harris Ted Mann Henry Kotani Stanley Rossiter Benedict Red Ingle Billy Watson Chang Ming-che DeWitt Clinton Cregier Boris Artzybasheff Donald M. Dickinson Boyd K. Packer Richard Donchian Ida Rosenthal Philo Remington Solomon Andrews Robert Gittler Charles Catton the younger Hookey Leonard John Mackie Falconer Taco Bell chihuahua Maximilian Toch Bill Tytla Mira Gincburg Lajos Egri Joseph Marie Nguyên Quang Tuyên Zoltan Vidor Juliusz Adler George Counts Eugene Shirk Daniel Gorenstein Elaine Riley Juozas Kazickas Jim Aparo Henry Levin
1 business enterprises and 330 people
[{'concept': 'business enterprise'}, 'place of death', 'United States of America'] [{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'United States of America'] [{'concept': 'common name'}, 'place of death', 'United States of America'] [{'concept': 'business enterprise'}, 'place of death', 'Poland'] [{'concept': 'common name'}, 'place of death', 'Poland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:place_of_death resource:United_States_of_America } UNION { ?y property:place_of_death resource:United_States_of_America } UNION { ?z property:place_of_death resource:United_States_of_America } UNION { ?y property:place_of_death resource:United_States_of_America } UNION { ?z property:place_of_death resource:Poland } UNION { ?y property:place_of_death resource:Poland } } . ?z rdf:type ontology:business_enterprise . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P47
Q15617994
USER
How many administrative territories share border with United States of America ?
(Q30,P47,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q30 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
action count
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:United_States_of_America property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
12
Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790
(Q30,P47,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWER]
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q30 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti
12
action count
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:United_States_of_America property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q94996
P47
Q15617994
USER
And also tell me about Sant'Agata Bolognese?
(Q94996,P47,c(Q15617994))
action count
action filter_type
action find
entity Q94996
relation P47
type Q15617994
['Q94996', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q94996 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Sant'Agata Bolognese
action count
action filter_type
action find
entity Sant'Agata Bolognese
relation shares border with
type designation for an administrative territorial entity
["Sant'Agata Bolognese", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Sant'Agata_Bolognese property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q94801 Q94990 Q100043 Q100080
(Q94996,P47,c(Q15617994))
action count
action filter_type
action find
entity Q94996
relation P47
type Q15617994
[ANSWER]
['Q94996', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q94996 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Crevalcore San Giovanni in Persiceto Castelfranco Emilia Nonantola
4
action count
action filter_type
action find
entity Sant'Agata Bolognese
relation shares border with
type designation for an administrative territorial entity
["Sant'Agata Bolognese", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Sant'Agata_Bolognese property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q53845
Q15617994
USER
And what about Buonvicino?
(Q53845,P47,c(Q15617994))
action count
action filter_type
action find
entity Q53845
relation P47
type Q15617994
['Q53845', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q53845 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Buonvicino
action count
action filter_type
action find
entity Buonvicino
relation shares border with
type designation for an administrative territorial entity
['Buonvicino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Buonvicino property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
6
(Q53845,P47,c(Q15617994))
action count
action filter_type
action find
entity Q53845
relation P47
type Q15617994
[ANSWER]
['Q53845', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q53845 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
6
action count
action filter_type
action find
entity Buonvicino
relation shares border with
type designation for an administrative territorial entity
['Buonvicino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Buonvicino property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P706
Q2221906 Q151885
USER
How many geographic locations or concepts are located in Poland ?
(c(Q2221906),P706,Q36) (c(Q151885),P706,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P706
type Q2221906
action filter_type
action find_reverse
entity Q36
relation P706
type Q151885
[{'concept': 'Q2221906'}, 'P706', 'Q36'] [{'concept': 'Q151885'}, 'P706', 'Q36']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P706 resource:Q36 . ?b rdf:type ontology:Q151885 } UNION { ?b property:P706 resource:Q36 . ?b rdf:type ontology:Q2221906 } }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation located on terrain feature
type geographic location
action filter_type
action find_reverse
entity Poland
relation located on terrain feature
type concept
[{'concept': 'geographic location'}, 'located on terrain feature', 'Poland'] [{'concept': 'concept'}, 'located on terrain feature', 'Poland']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:located_on_terrain_feature resource:Poland . ?b rdf:type ontology:concept } UNION { ?b property:located_on_terrain_feature resource:Poland . ?b rdf:type ontology:geographic_location } }
[]
geographic location concept
SYSTEM
4
Q32530 Q2372667 Q1423912 Q611017
(c(Q2221906),P706,Q36) (c(Q151885),P706,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P706
type Q2221906
action filter_type
action find_reverse
entity Q36
relation P706
type Q151885
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', 'Q36'] [{'concept': 'Q151885'}, 'P706', 'Q36']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P706 resource:Q36 . ?b rdf:type ontology:Q151885 } UNION { ?b property:P706 resource:Q36 . ?b rdf:type ontology:Q2221906 } }
Lusatia Swiderian culture Przeworsk culture Lusatian culture
4
action count
action union
action filter_type
action find_reverse
entity Poland
relation located on terrain feature
type geographic location
action filter_type
action find_reverse
entity Poland
relation located on terrain feature
type concept
[{'concept': 'geographic location'}, 'located on terrain feature', 'Poland'] [{'concept': 'concept'}, 'located on terrain feature', 'Poland']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:located_on_terrain_feature resource:Poland . ?b rdf:type ontology:concept } UNION { ?b property:located_on_terrain_feature resource:Poland . ?b rdf:type ontology:geographic_location } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q734
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately the same number of administrative territories as Guyana ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q734
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { ?o property:P530 ?m . ?o rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q734 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?s ) }
Guyana
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Guyana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { ?o property:diplomatic_relation ?m . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Guyana property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q734
relation P530
type Q15617994
[ANSWERS] have tactful political relations with approximately the same number of administrative territories as Guyana
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { ?o property:P530 ?m . ?o rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q734 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?s ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have tactful political relations with approximately the same number of administrative territories as Guyana
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Guyana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { ?o property:diplomatic_relation ?m . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Guyana property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q214
P530
Q15617994 Q15617994
USER
And what about Slovakia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q214
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?r ) WHERE { ?u property:P530 ?q . ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q214 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Slovakia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovakia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?r ) WHERE { ?u property:diplomatic_relation ?q . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Slovakia property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q214
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?r ) WHERE { ?u property:P530 ?q . ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q214 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovakia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?r ) WHERE { ?u property:diplomatic_relation ?q . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Slovakia property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?i property:P530 ?h . ?i rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?v = ?u ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?z property:P530 ?g . ?z rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?i property:diplomatic_relation ?h . ?i rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?v = ?u ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?z property:diplomatic_relation ?g . ?z rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?i property:P530 ?h . ?i rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?v = ?u ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?z property:P530 ?g . ?z rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea have diplomatic relations with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?i property:diplomatic_relation ?h . ?i rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?v = ?u ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?u ) { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?z property:diplomatic_relation ?g . ?z rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P137
Q2221906 Q3084961
USER
How many geographic locations and product linings were operated by United States of America ?
(c(Q2221906),P137,Q30) (c(Q3084961),P137,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P137
type Q2221906
action filter_type
action find_reverse
entity Q30
relation P137
type Q3084961
[{'concept': 'Q2221906'}, 'P137', 'Q30'] [{'concept': 'Q3084961'}, 'P137', 'Q30']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2221906 ) ( ontology:Q3084961 ) } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation operator
type geographic location
action filter_type
action find_reverse
entity United States of America
relation operator
type product lining
[{'concept': 'geographic location'}, 'operator', 'United States of America'] [{'concept': 'product lining'}, 'operator', 'United States of America']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:geographic_location ) ( ontology:product_lining ) } }
[]
geographic location product lining
SYSTEM
1 geographic locations and 3 product linings
Q29261 Q976898 Q933767 Q19360183
(c(Q2221906),P137,Q30) (c(Q3084961),P137,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P137
type Q2221906
action filter_type
action find_reverse
entity Q30
relation P137
type Q3084961
[ANSWER]
[{'concept': 'Q2221906'}, 'P137', 'Q30'] [{'concept': 'Q3084961'}, 'P137', 'Q30']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2221906 ) ( ontology:Q3084961 ) } }
F-35 Lightning II Vega Hawk 75 Embassy of the United States, Mogadishu
1 geographic locations and 3 product linings
action count
action union
action filter_type
action find_reverse
entity United States of America
relation operator
type geographic location
action filter_type
action find_reverse
entity United States of America
relation operator
type product lining
[{'concept': 'geographic location'}, 'operator', 'United States of America'] [{'concept': 'product lining'}, 'operator', 'United States of America']
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:geographic_location ) ( ontology:product_lining ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories holds diplomatic relationship with max number of administrative territories and political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?l WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?l } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?p } }
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?l WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?l } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?p } }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994)|c(Q1048835),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
[ANSWER] holds diplomatic relationship with max number of administrative territories and political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?l WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?l } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?p } }
Germany
Germany holds diplomatic relationship with max number of administrative territories and political territories
Germany
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?l WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?l } } . FILTER ( ?s = ?a ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1000
P915
Q838948
USER
Which work of art had Gabon as its location of filming ?
(c(Q838948),P915,Q1000)
action filter_type
action find_reverse
entity Q1000
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1000']
SELECT DISTINCT ?c WHERE { ?c property:P915 resource:Q1000 . ?c rdf:type ontology:Q838948 }
Gabon
action filter_type
action find_reverse
entity Gabon
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Gabon']
SELECT DISTINCT ?c WHERE { ?c property:filming_location resource:Gabon . ?c rdf:type ontology:work_of_art }
[]
work of art
Q17361809
SYSTEM
The Legend of Tarzan
Q17361809
(c(Q838948),P915,Q1000)
action filter_type
action find_reverse
entity Q1000
relation P915
type Q838948
[ANSWER] had Gabon as its location of filming
[{'concept': 'Q838948'}, 'P915', 'Q1000']
SELECT DISTINCT ?c WHERE { ?c property:P915 resource:Q1000 . ?c rdf:type ontology:Q838948 }
The Legend of Tarzan
The Legend of Tarzan had Gabon as its location of filming
The Legend of Tarzan
action filter_type
action find_reverse
entity Gabon
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Gabon']
SELECT DISTINCT ?c WHERE { ?c property:filming_location resource:Gabon . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1000
P276
Q15275719
USER
Which recurring event is located at that political territory ?
(c(Q15275719),P276,Q17361809)
action filter_type
action find_reverse
entity Q1000
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q17361809']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q1000 . ?z rdf:type ontology:Q15275719 }
Gabon
action filter_type
action find_reverse
entity Gabon
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'The Legend of Tarzan']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Gabon . ?z rdf:type ontology:recurring_event }
[]
recurring event
Q1258698
SYSTEM
La Tropicale Amissa Bongo
Q1258698
(c(Q15275719),P276,Q17361809)
action filter_type
action find_reverse
entity Q1000
relation P276
type Q15275719
[ANSWER] is located at that political territory
[{'concept': 'Q15275719'}, 'P276', 'Q17361809']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q1000 . ?z rdf:type ontology:Q15275719 }
La Tropicale Amissa Bongo
La Tropicale Amissa Bongo is located at that political territory
La Tropicale Amissa Bongo
action filter_type
action find_reverse
entity Gabon
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'The Legend of Tarzan']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Gabon . ?z rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1258698 Q21571737 Q19946535
P641
Q31629
USER
Is La Tropicale Amissa Bongo involved in playing 2016 Four Days of Dunkirk, Stage 2 and 2015 Tour de France, Stage 17 ?
(Q1258698,P641,Q21571737) (Q1258698,P641,Q19946535)
action is_in
entity Q1258698
action intersection
action find_reverse
entity Q21571737
relation P641
action find_reverse
entity Q19946535
relation P641
['Q1258698', 'P641', 'Q21571737'] ['Q1258698', 'P641', 'Q19946535']
ASK WHERE { resource:Q1258698 property:P641 resource:Q21571737 . resource:Q1258698 property:P641 resource:Q19946535 }
La Tropicale Amissa Bongo 2016 Four Days of Dunkirk, Stage 2 2015 Tour de France, Stage 17
action is_in
entity La Tropicale Amissa Bongo
action intersection
action find_reverse
entity 2016 Four Days of Dunkirk, Stage 2
relation sport
action find_reverse
entity 2015 Tour de France, Stage 17
relation sport
['La Tropicale Amissa Bongo', 'sport', '2016 Four Days of Dunkirk, Stage 2'] ['La Tropicale Amissa Bongo', 'sport', '2015 Tour de France, Stage 17']
ASK WHERE { resource:La_Tropicale_Amissa_Bongo property:sport resource:2016_Four_Days_of_Dunkirk,_Stage_2 . resource:La_Tropicale_Amissa_Bongo property:sport resource:2015_Tour_de_France,_Stage_17 }
[]
type of sport
SYSTEM
NO
(Q1258698,P641,Q21571737) (Q1258698,P641,Q19946535)
action is_in
entity Q1258698
action intersection
action find_reverse
entity Q21571737
relation P641
action find_reverse
entity Q19946535
relation P641
[ANSWER]
['Q1258698', 'P641', 'Q21571737'] ['Q1258698', 'P641', 'Q19946535']
ASK WHERE { resource:Q1258698 property:P641 resource:Q21571737 . resource:Q1258698 property:P641 resource:Q19946535 }
No
action is_in
entity La Tropicale Amissa Bongo
action intersection
action find_reverse
entity 2016 Four Days of Dunkirk, Stage 2
relation sport
action find_reverse
entity 2015 Tour de France, Stage 17
relation sport
['La Tropicale Amissa Bongo', 'sport', '2016 Four Days of Dunkirk, Stage 2'] ['La Tropicale Amissa Bongo', 'sport', '2015 Tour de France, Stage 17']
ASK WHERE { resource:La_Tropicale_Amissa_Bongo property:sport resource:2016_Four_Days_of_Dunkirk,_Stage_2 . resource:La_Tropicale_Amissa_Bongo property:sport resource:2015_Tour_de_France,_Stage_17 }
[]