Simple Question (Direct)
Simple Question
Q6890427
P39
Q12737077
USER
Which occupations were the positions for which Mogaligundla Baga Reddy were appointed ?
(Q6890427,P39,c(Q12737077))
action filter_type
action find
entity Q6890427
relation P39
type Q12737077
['Q6890427', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6890427 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Mogaligundla Baga Reddy
action filter_type
action find
entity Mogaligundla Baga Reddy
relation position held
type occupation
['Mogaligundla Baga Reddy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Mogaligundla_Baga_Reddy property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q17598882 Q16556694
SYSTEM
Member of the Andhra Pradesh Legislative Assembly, member of the Lok Sabha
Q17598882 Q16556694
(Q6890427,P39,c(Q12737077))
action filter_type
action find
entity Q6890427
relation P39
type Q12737077
Respectively [ANSWERS] were the positions for which Mogaligundla Baga Reddy were appointed
['Q6890427', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6890427 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Member of the Andhra Pradesh Legislative Assembly member of the Lok Sabha
Respectively Member of the Andhra Pradesh Legislative Assembly and member of the Lok Sabha were the positions for which Mogaligundla Baga Reddy were appointed
Member of the Andhra Pradesh Legislative Assembly member of the Lok Sabha
action filter_type
action find
entity Mogaligundla Baga Reddy
relation position held
type occupation
['Mogaligundla Baga Reddy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Mogaligundla_Baga_Reddy property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16556694
P1001
Q15617994
USER
Which administrative territory is linked to member of the Lok Sabha ?
(Q16556694,P1001,c(Q15617994))
action filter_type
action find
entity Q16556694
relation P1001
type Q15617994
['Q16556694', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q16556694 property:P1001 ?f }
member of the Lok Sabha
action filter_type
action find
entity member of the Lok Sabha
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Lok Sabha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Lok_Sabha property:applies_to_jurisdiction ?f }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q16556694,P1001,c(Q15617994))
action filter_type
action find
entity Q16556694
relation P1001
type Q15617994
[ANSWER] is linked to member of the Lok Sabha
['Q16556694', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q16556694 property:P1001 ?f }
India
India is linked to member of the Lok Sabha
India
action filter_type
action find
entity member of the Lok Sabha
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Lok Sabha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Lok_Sabha property:applies_to_jurisdiction ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q668
P194
Q1752346
USER
Which assembly is the representative body for that administrative territory ?
(Q668,P194,c(Q1752346))
action filter_type
action find
entity Q668
relation P194
type Q1752346
['Q668', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q668 property:P194 ?q . ?q rdf:type ontology:Q1752346 }
India
action filter_type
action find
entity India
relation legislative body
type assembly
['India', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:India property:legislative_body ?q . ?q rdf:type ontology:assembly }
[]
assembly
Q695252
SYSTEM
Parliament of India
Q695252
(Q668,P194,c(Q1752346))
action filter_type
action find
entity Q668
relation P194
type Q1752346
[ANSWER] is the representative body for that administrative territory
['Q668', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q668 property:P194 ?q . ?q rdf:type ontology:Q1752346 }
Parliament of India
Parliament of India is the representative body for that administrative territory
Parliament of India
action filter_type
action find
entity India
relation legislative body
type assembly
['India', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:India property:legislative_body ?q . ?q rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5713057 Q668
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with India or are Henaya Rotawewa located in ?
OR((Q668,P530,c(Q15617994)), (Q5713057,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q668
relation P530
action find
entity Q5713057
relation P17
type Q15617994
{'OR': [['Q668', 'P530', {'concept': 'Q15617994'}], ['Q5713057', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q668 property:P530 ?m } UNION { resource:Q5713057 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Henaya Rotawewa India
action filter_type
action union
action find
entity India
relation diplomatic relation
action find
entity Henaya Rotawewa
relation country
type designation for an administrative territorial entity
{'OR': [['India', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Henaya Rotawewa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:India property:diplomatic_relation ?m } UNION { resource:Henaya_Rotawewa property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q801 Q155 Q854 Q30 Q38
SYSTEM
Russia, Israel, Brazil, Sri Lanka, United States of America, Italy
Q159 Q801 Q155 Q854 Q30 Q38
OR((Q668,P530,c(Q15617994)), (Q5713057,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q668
relation P530
action find
entity Q5713057
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with India or are Henaya Rotawewa located in
{'OR': [['Q668', 'P530', {'concept': 'Q15617994'}], ['Q5713057', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q668 property:P530 ?m } UNION { resource:Q5713057 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Russia Israel Brazil Sri Lanka United States of America Italy
Russia, Israel, Brazil, Sri Lanka, United States of America and Italy have diplomatic relationships with India or are Henaya Rotawewa located in
Russia Israel Brazil Sri Lanka United States of America Italy
action filter_type
action union
action find
entity India
relation diplomatic relation
action find
entity Henaya Rotawewa
relation country
type designation for an administrative territorial entity
{'OR': [['India', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Henaya Rotawewa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:India property:diplomatic_relation ?m } UNION { resource:Henaya_Rotawewa property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16556694
P17
Q15617994
USER
How many administrative territories are member of the Lok Sabha situated in ?
(Q16556694,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16556694
relation P17
type Q15617994
['Q16556694', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q16556694 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
member of the Lok Sabha
action count
action filter_type
action find
entity member of the Lok Sabha
relation country
type designation for an administrative territorial entity
['member of the Lok Sabha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:member_of_the_Lok_Sabha property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q16556694,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16556694
relation P17
type Q15617994
[ANSWER]
['Q16556694', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q16556694 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity member of the Lok Sabha
relation country
type designation for an administrative territorial entity
['member of the Lok Sabha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:member_of_the_Lok_Sabha property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q18669986
Q15617994
USER
And how about Maribor Art Gallery?
(Q18669986,P17,c(Q15617994))
action count
action filter_type
action find
entity Q18669986
relation P17
type Q15617994
['Q18669986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q18669986 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Maribor Art Gallery
action count
action filter_type
action find
entity Maribor Art Gallery
relation country
type designation for an administrative territorial entity
['Maribor Art Gallery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Maribor_Art_Gallery property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q18669986,P17,c(Q15617994))
action count
action filter_type
action find
entity Q18669986
relation P17
type Q15617994
[ANSWER]
['Q18669986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q18669986 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Maribor Art Gallery
relation country
type designation for an administrative territorial entity
['Maribor Art Gallery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Maribor_Art_Gallery property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atleast 10 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { FILTER ( ?e >= 10 ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?e ) WHERE { ?k property:P530 ?q . ?k rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?k } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { FILTER ( ?e >= 10 ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?e ) WHERE { ?k property:diplomatic_relation ?q . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
15
Q801 Q805 Q142 Q148 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { FILTER ( ?e >= 10 ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?e ) WHERE { ?k property:P530 ?q . ?k rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?k } }
Israel Yemen France People's Republic of China Russia Brazil United States of America Central African Republic Italy Georgia Belarus Japan Kenya Syria Zambia
15
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { FILTER ( ?e >= 10 ) . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?e ) WHERE { ?k property:diplomatic_relation ?q . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P551
Q502895
USER
Who reside at United States of America ?
(c(Q502895),P551,Q30)
action filter_type
action find_reverse
entity Q30
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q30']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P551 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'United States of America']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:residence resource:United_States_of_America }
[]
common name
Q7085 Q8753 Q48973
SYSTEM
Niels Bohr, Enrico Fermi, Glenn Seaborg
Q961548 Q111751 Q3767700 Q322150 Q270662 Q19799971 Q19876176 Q7915490 Q268166 Q6790970 Q373491 Q1690702 Q186481 Q171363 Q329630 Q3742191 Q173028 Q16387595 Q5235420 Q1364019 Q530461 Q2900133 Q21708679 Q15070040 Q23888162 Q667095 Q15057907 Q19828396 Q6699941 Q1129529 Q3659276 Q15044073 Q3756604 Q1053255 Q1143825 Q1151429 Q109559 Q17481148 Q21929727 Q18592223 Q335027 Q447351 Q109553 Q238983 Q27808416 Q22695397 Q299723 Q18720176 Q3383077 Q709148 Q43179 Q4216907 Q3770634 Q5237909 Q4302801 Q4717011 Q15069933 Q316022 Q3856162 Q21063007 Q19938318 Q1939343 Q712851 Q4711951 Q22926323 Q3436512 Q7361598 Q3638183 Q5936683 Q2719386 Q496994 Q7217571 Q4011245 Q939458 Q4487 Q3839596 Q3611327 Q15666655 Q20720200 Q19889136 Q1426421 Q1375666 Q8753 Q205850 Q6424159 Q315454 Q2580510 Q3810278 Q3810279 Q1183434 Q730889 Q7085 Q92623 Q1522271 Q23008424 Q12885312 Q4013888 Q3764275 Q1347418 Q3809645 Q3503829 Q983643 Q3903877 Q133877 Q368827 Q23843063 Q185007 Q5998814 Q84445 Q5257598 Q3810289 Q16186222 Q8006910 Q205667 Q10959 Q359333 Q27210579 Q186194 Q42992 Q5563216 Q2032354 Q1331681 Q16240767 Q13053091 Q1402650 Q706235 Q468053 Q3946212 Q93052 Q15987799 Q275760 Q6689774 Q377558 Q188692 Q15068680 Q15074339 Q926054 Q420322 Q2259896 Q574810 Q1876144 Q3765354 Q2066366 Q3613906 Q4761944 Q17455 Q9010725 Q16065986 Q51492 Q41548 Q18587597 Q1885813 Q23888163 Q48973 Q5671358 Q115462 Q3856739 Q11192918 Q661894 Q323961 Q6141751 Q283123 Q1707912 Q15819340 Q3765534 Q505358
(c(Q502895),P551,Q30)
action filter_type
action find_reverse
entity Q30
relation P551
type Q502895
[ANSWERS] reside at United States of America
[{'concept': 'Q502895'}, 'P551', 'Q30']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P551 resource:Q30 }
Vito Antuofermo Markus Greiner Giovanni Martino Daniel Biasone Gian Carlo Menotti Charan Prabhakar Pavel Khodorkovsky Varaz Samuelian Lorenzo Da Ponte Matthew Michalewicz Geno Auriemma Joan A. Steitz Riccardo Giacconi Viggo Mortensen Frank Tieri Felix Pedro Emilio G. Segrè Hagop Ishkanian David J. Farber Federico Castelluccio David M. Raup Piero Maroncelli Clara Belle Williams Filippo Traetta Kim Tran-Nhut Federico Faggin Giovanni Turini Gabriel Serrano Luigi Antonini Conyers Herring Charles DeRudio Carlo Bellini Gabriele Giovanni Mazza Lamberto Cesari Cummings C. Chesney Dijen K. Ray-Chaudhuri Thomas A. Steitz Margaret Iaquinto Antonio Zucca Michael Biberstein Seymour Papert Paolo Soleri Renato Dulbecco Frances Xavier Cabrini Jesus Llevadias Jane Karen Khachatrian Howard H. Aiken Nuria Oliver Pierre-Gabriel Huot Ugo Fano Ellen Johnson Sirleaf Ramon Castroviejo Giuseppe Gardella David Nainkin Giuseppina Morlacchi Alex Fox Jean-Marc Pannetier Harry Nyquist Michael Fiaschetti Kemi Omololu-Olunloyo Ana Lucia Araujo Alina Fernández Oliver Wallace Alberto Bimboni Yenovk Der Hagopian Robert Waelder Roman Borvanov Beniamino Bufano Josefina Zoraida Vázquez Michael Snow Ji Han-jae Mózes Weinberger Victor Alfieri Vincent R. Impellitteri Federico Gamboa Luigi Donato Ventura Alfredo Antonini Saudis in USA John Edward Winblad Hubert C. Kennedy Pietro Yon Robert G. Vignola Enrico Fermi Franco Modigliani Ko Mori Luigi Luca Cavalli-Sforza Paul Haviland Joseph Toronto Joseph Tusiani Nicolás Cabrera Gaetano Salvemini Niels Bohr Jon Postel Gian-Carlo Rota Catherine Plaisant James Paris Virgilia D'Andrea Gilda Mignonette Joseph Stella John Tartamella Sundar Pichai Constantino Brumidi Pietro Floridia Carlo Tresca Alfred Polizzi Leonardo D'Antoni Rita Levi-Montalcini Mario Díaz Bencomo Pierre Jean Édouard Desor Denis Zivkovic Joseph Zerilli Emilio Palacio William Close Salvador Luria Ruzena Bajcsy Anthony J. Celebrezze Ali Gholi Khan Giorgio de Santillana Golda Meir Gino Corrado Pietro Belluschi Ella Briggs Caspar Bowden Levon Larents Giuseppe Mario Bellanca Albert Anastasia Susan Athey Salvatore Sabella Robert Fano Sun Hwan Chung Henry Armetta Lourdes Lopez Mario Castelnuovo-Tedesco Rudolph Valentino Max Ascoli Pietro Bachi Mauro Fiore Dina Manfredini Silvano Arieti Henry Eyring Luigi Chinetti Giorgio Cavaglieri Óscar Jaenada Amedeo Obici Angana P. Chatterji John von Neumann James Tahhan George Lethbridge Saunders Frank Capra Antonio Banderas Curt Perano Pasquale Amato Thanh-Van Tran-Nhut Glenn Seaborg Carles Reig i Morell Fritz Zwicky Michele Pane John D. Kraus Eduardo Serrano Felix Silla Teodoro Aragón Foureaux Frank Puglia Joseph Rosati Hans Bauer Giorgio La Piana Andrew Viterbi
Niels Bohr, Enrico Fermi and Glenn Seaborg reside at United States of America
Niels Bohr Enrico Fermi Glenn Seaborg
action filter_type
action find_reverse
entity United States of America
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'United States of America']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:residence resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P6
Q502895
USER
Which people do that administrative territory serve as the head of government for ?
(Q7085,P6,c(Q502895)) (Q8753,P6,c(Q502895)) (Q48973,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q7085', 'P6', {'concept': 'Q502895'}] ['Q8753', 'P6', {'concept': 'Q502895'}] ['Q48973', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q30 property:P6 ?q . ?q rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['Niels Bohr', 'head of government', {'concept': 'common name'}] ['Enrico Fermi', 'head of government', {'concept': 'common name'}] ['Glenn Seaborg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q7085,P6,c(Q502895)) (Q8753,P6,c(Q502895)) (Q48973,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
That administrative territory serve as the head of government for President [ANSWERS]
['Q7085', 'P6', {'concept': 'Q502895'}] ['Q8753', 'P6', {'concept': 'Q502895'}] ['Q48973', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q30 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
That administrative territory serve as the head of government for President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['Niels Bohr', 'head of government', {'concept': 'common name'}] ['Enrico Fermi', 'head of government', {'concept': 'common name'}] ['Glenn Seaborg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q556787
P6
Q15617994
USER
Do Springstille have a government lead by those people ?
(Q556787,P6,Q76) (Q556787,P6,Q9916) (Q556787,P6,Q22686)
action is_in
entity prev_answer
action find
entity Q556787
relation P6
['Q556787', 'P6', 'Q76'] ['Q556787', 'P6', 'Q9916'] ['Q556787', 'P6', 'Q22686']
ASK WHERE { resource:Q556787 property:P6 ?g . VALUES ( ?g ) { ( resource:Q35171 ) ( resource:Q11815 ) ( resource:Q11816 ) } }
Springstille
action is_in
entity prev_answer
action find
entity Springstille
relation head of government
['Springstille', 'head of government', 'Barack Obama'] ['Springstille', 'head of government', 'Dwight D. Eisenhower'] ['Springstille', 'head of government', 'Donald Trump']
ASK WHERE { resource:Springstille property:head_of_government ?g . VALUES ( ?g ) { ( resource:Grover_Cleveland ) ( resource:James_Monroe ) ( resource:John_Quincy_Adams ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q556787,P6,Q76) (Q556787,P6,Q9916) (Q556787,P6,Q22686)
action is_in
entity prev_answer
action find
entity Q556787
relation P6
[ANSWER]
['Q556787', 'P6', 'Q76'] ['Q556787', 'P6', 'Q9916'] ['Q556787', 'P6', 'Q22686']
ASK WHERE { resource:Q556787 property:P6 ?g . VALUES ( ?g ) { ( resource:Q35171 ) ( resource:Q11815 ) ( resource:Q11816 ) } }
No
action is_in
entity prev_answer
action find
entity Springstille
relation head of government
['Springstille', 'head of government', 'Barack Obama'] ['Springstille', 'head of government', 'Dwight D. Eisenhower'] ['Springstille', 'head of government', 'Donald Trump']
ASK WHERE { resource:Springstille property:head_of_government ?g . VALUES ( ?g ) { ( resource:Grover_Cleveland ) ( resource:James_Monroe ) ( resource:John_Quincy_Adams ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q76 Q7241175 Q20926389
P166
Q618779
USER
Was Barack Obama awarded with Presidential Medal of Distinction and 33rd Yokohama Film Festival ?
(Q76,P166,Q7241175) (Q76,P166,Q20926389)
action is_in
entity Q76
action intersection
action find_reverse
entity Q7241175
relation P166
action find_reverse
entity Q20926389
relation P166
['Q76', 'P166', 'Q7241175'] ['Q76', 'P166', 'Q20926389']
ASK WHERE { resource:Q76 property:P166 resource:Q20926389 . resource:Q76 property:P166 resource:Q7241175 }
Barack Obama Presidential Medal of Distinction 33rd Yokohama Film Festival
action is_in
entity Barack Obama
action intersection
action find_reverse
entity Presidential Medal of Distinction
relation award received
action find_reverse
entity 33rd Yokohama Film Festival
relation award received
['Barack Obama', 'award received', 'Presidential Medal of Distinction'] ['Barack Obama', 'award received', '33rd Yokohama Film Festival']
ASK WHERE { resource:Barack_Obama property:award_received resource:33rd_Yokohama_Film_Festival . resource:Barack_Obama property:award_received resource:Presidential_Medal_of_Distinction }
[]
award
SYSTEM
YES and NO respectively
(Q76,P166,Q7241175) (Q76,P166,Q20926389)
action is_in
entity Q76
action intersection
action find_reverse
entity Q7241175
relation P166
action find_reverse
entity Q20926389
relation P166
[ANSWER]
['Q76', 'P166', 'Q7241175'] ['Q76', 'P166', 'Q20926389']
ASK WHERE { resource:Q76 property:P166 resource:Q20926389 . resource:Q76 property:P166 resource:Q7241175 }
YES and NO respectively
action is_in
entity Barack Obama
action intersection
action find_reverse
entity Presidential Medal of Distinction
relation award received
action find_reverse
entity 33rd Yokohama Film Festival
relation award received
['Barack Obama', 'award received', 'Presidential Medal of Distinction'] ['Barack Obama', 'award received', '33rd Yokohama Film Festival']
ASK WHERE { resource:Barack_Obama property:award_received resource:33rd_Yokohama_Film_Festival . resource:Barack_Obama property:award_received resource:Presidential_Medal_of_Distinction }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3805616 Q7241175
P106 P1027
Q12737077
USER
Which occupations bestow Presidential Medal of Distinction or are the professions of Jack Manning ?
OR((Q7241175,P1027,c(Q12737077)), (Q3805616,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7241175
relation P1027
action find
entity Q3805616
relation P106
type Q12737077
{'OR': [['Q7241175', 'P1027', {'concept': 'Q12737077'}], ['Q3805616', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3805616 property:P106 ?d } UNION { resource:Q7241175 property:P1027 ?d } } . ?d rdf:type ontology:Q12737077 }
Jack Manning Presidential Medal of Distinction
action filter_type
action union
action find
entity Presidential Medal of Distinction
relation conferred by
action find
entity Jack Manning
relation occupation
type occupation
{'OR': [['Presidential Medal of Distinction', 'conferred by', {'concept': 'occupation'}], ['Jack Manning', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Jack_Manning property:occupation ?d } UNION { resource:Presidential_Medal_of_Distinction property:conferred_by ?d } } . ?d rdf:type ontology:occupation }
[]
occupation
Q1114448 Q327948 Q266569
SYSTEM
cartoonist, President of Israel, animator
Q1114448 Q327948 Q266569
OR((Q7241175,P1027,c(Q12737077)), (Q3805616,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7241175
relation P1027
action find
entity Q3805616
relation P106
type Q12737077
[ANSWERS] bestow Presidential Medal of Distinction or are the professions of Jack Manning
{'OR': [['Q7241175', 'P1027', {'concept': 'Q12737077'}], ['Q3805616', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3805616 property:P106 ?d } UNION { resource:Q7241175 property:P1027 ?d } } . ?d rdf:type ontology:Q12737077 }
cartoonist President of Israel animator
Cartoonist, President of Israel and animator bestow Presidential Medal of Distinction or are the professions of Jack Manning
cartoonist President of Israel animator
action filter_type
action union
action find
entity Presidential Medal of Distinction
relation conferred by
action find
entity Jack Manning
relation occupation
type occupation
{'OR': [['Presidential Medal of Distinction', 'conferred by', {'concept': 'occupation'}], ['Jack Manning', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Jack_Manning property:occupation ?d } UNION { resource:Presidential_Medal_of_Distinction property:conferred_by ?d } } . ?d rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1001
Q15617994
USER
How many administrative territories are judicially linked to that occupation ?
(Q327948,P1001,c(Q15617994))
['Q327948', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q327948 property:P1001 ?z . ?z rdf:type ontology:Q15617994 }
['President of Israel', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:President_of_Israel property:applies_to_jurisdiction ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q327948
SYSTEM
Did you mean President of Israel ?
(Q1114448,P1001,c(Q15617994)) (Q327948,P1001,c(Q15617994)) (Q266569,P1001,c(Q15617994))
[ANSWER]
['Q1114448', 'P1001', {'concept': 'Q15617994'}] ['Q327948', 'P1001', {'concept': 'Q15617994'}] ['Q266569', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q327948 property:P1001 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean President of Israel ?
President of Israel
['cartoonist', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['President of Israel', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['animator', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:President_of_Israel property:applies_to_jurisdiction ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q327948,P1001,c(Q15617994))
['Q327948', 'P1001', {'concept': 'Q15617994'}]
['President of Israel', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q801
(Q327948,P1001,c(Q15617994))
[ANSWER]
['Q327948', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q327948 property:P1001 ?z . ?z rdf:type ontology:Q15617994 }
Israel
1
['President of Israel', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:President_of_Israel property:applies_to_jurisdiction ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]