Simple Question (Direct)
Simple Question
Q16627638
P27
Q15617994
USER
Which administrative territory is Charles Jean Firmin Maillard an inhabitant of ?
(Q16627638,P27,c(Q15617994))
action filter_type
action find
entity Q16627638
relation P27
type Q15617994
['Q16627638', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q16627638 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Charles Jean Firmin Maillard
action filter_type
action find
entity Charles Jean Firmin Maillard
relation country of citizenship
type designation for an administrative territorial entity
['Charles Jean Firmin Maillard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Jean_Firmin_Maillard property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16627638,P27,c(Q15617994))
action filter_type
action find
entity Q16627638
relation P27
type Q15617994
[ANSWER] is Charles Jean Firmin Maillard an inhabitant of
['Q16627638', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q16627638 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
France
France is Charles Jean Firmin Maillard an inhabitant of
France
action filter_type
action find
entity Charles Jean Firmin Maillard
relation country of citizenship
type designation for an administrative territorial entity
['Charles Jean Firmin Maillard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Jean_Firmin_Maillard property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16627638
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q142,P39,c(Q12737077))
action filter_type
action find
entity Q16627638
relation P39
type Q12737077
['Q142', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16627638 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Charles Jean Firmin Maillard
action filter_type
action find
entity Charles Jean Firmin Maillard
relation position held
type occupation
['France', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Jean_Firmin_Maillard property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q21032519
SYSTEM
Second Empire senator
Q21032519
(Q142,P39,c(Q12737077))
action filter_type
action find
entity Q16627638
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
['Q142', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16627638 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Second Empire senator
The Second Empire senator was a position for which that person was appointed
Second Empire senator
action filter_type
action find
entity Charles Jean Firmin Maillard
relation position held
type occupation
['France', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Jean_Firmin_Maillard property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21032519 Q142
P17
Q15617994
USER
Is Second Empire senator located in France ?
(Q21032519,P17,Q142)
action is_in
entity Q142
action find
entity Q21032519
relation P17
['Q21032519', 'P17', 'Q142']
ASK WHERE { resource:Q21032519 property:P17 resource:Q142 }
Second Empire senator France
action is_in
entity France
action find
entity Second Empire senator
relation country
['Second Empire senator', 'country', 'France']
ASK WHERE { resource:Second_Empire_senator property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q21032519,P17,Q142)
action is_in
entity Q142
action find
entity Q21032519
relation P17
[ANSWER]
['Q21032519', 'P17', 'Q142']
ASK WHERE { resource:Q21032519 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Second Empire senator
relation country
['Second Empire senator', 'country', 'France']
ASK WHERE { resource:Second_Empire_senator property:country resource:France }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q463606 Q142
P6 P1346
Q502895
USER
Which people have France as their heads of government or were the winner of American Book Awards ?
OR((Q142,P6,c(Q502895)), (Q463606,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q142
relation P6
action find
entity Q463606
relation P1346
type Q502895
{'OR': [['Q142', 'P6', {'concept': 'Q502895'}], ['Q463606', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q142 property:P6 ?i } UNION { resource:Q463606 property:P1346 ?i } } . ?i rdf:type ontology:Q502895 }
American Book Awards France
action filter_type
action union
action find
entity France
relation head of government
action find
entity American Book Awards
relation winner
type common name
{'OR': [['France', 'head of government', {'concept': 'common name'}], ['American Book Awards', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:France property:head_of_government ?i } UNION { resource:American_Book_Awards property:winner ?i } } . ?i rdf:type ontology:common_name }
[]
common name
Q4767213 Q6788389 Q448138 Q6668190 Q93341 Q5371265 Q5644911 Q6290921 Q6761181 Q5485135
SYSTEM
Some of them are Anna Lee Walters, Matt Briggs, Nora Marks Dauenhauer, Lois-Ann Yamanaka, Miles Davis, Emil Guillermo, José Emilio González, Josip Novakovich, Maria Espinosa, Frank B. Wilderson III
Q5591560 Q4858934 Q272393 Q5571381 Q6095836 Q5045408 Q6966770 Q4732761 Q5232768 Q7352590 Q15460625 Q15457786 Q670440 Q15442634 Q5310366 Q6696619 Q5585267 Q4895021 Q7648744 Q15130526 Q533256 Q44575 Q5334756 Q329624 Q4733568 Q6377143 Q236606 Q7026503 Q7607123 Q4705004 Q7381593 Q15459016 Q6286058 Q5525966 Q935735 Q6167365 Q17026024 Q7172861 Q5764672 Q4749432 Q7608991 Q6687926 Q6962929 Q6231488 Q552660 Q5043476 Q6173556 Q6193550 Q5298307 Q1711155 Q5462529 Q3932777 Q253364 Q5485135 Q7279403 Q6698546 Q6772244 Q5334575 Q6680845 Q15458944 Q2474259 Q5293709 Q84258 Q20985208 Q11737260 Q1928692 Q321153 Q535856 Q5568962 Q5371265 Q4737563 Q7456116 Q4732733 Q319308 Q4811169 Q6761420 Q201538 Q6303642 Q72334 Q6529019 Q6696626 Q93341 Q1681252 Q5292984 Q4793671 Q315963 Q6551648 Q8019770 Q582796 Q292180 Q275601 Q6105084 Q325945 Q6153491 Q7788301 Q1702153 Q7365170 Q1929714 Q3510225 Q5429300 Q7273490 Q253407 Q5218181 Q216070 Q5321824 Q560747 Q5271164 Q4735950 Q6224667 Q4977918 Q5394090 Q4648340 Q7498755 Q3353040 Q31984 Q6551614 Q6968445 Q4669153 Q3805597 Q5200159 Q448138 Q5271470 Q442679 Q5271571 Q7841122 Q6352449 Q8017997 Q6188414 Q6154670 Q7792306 Q7647974 Q168269 Q250080 Q4858812 Q7383160 Q1480502 Q1510036 Q7575741 Q5484051 Q495555 Q4904598 Q5045507 Q241398 Q16143588 Q16974419 Q13563130 Q5055875 Q5257636 Q5203617 Q5026639 Q7815549 Q440073 Q6187011 Q5091923 Q15440076 Q6289071 Q6482189 Q6138426 Q5297986 Q7611395 Q7920091 Q6809914 Q3109110 Q3341005 Q4646796 Q7816660 Q1165426 Q6832607 Q5644911 Q4798489 Q7372362 Q149489 Q776999 Q431085 Q3307926 Q7789567 Q6111218 Q4762467 Q5533397 Q1741639 Q1670154 Q665144 Q6830135 Q6791217 Q7333845 Q3308438 Q458787 Q5322014 Q6792747 Q5920846 Q8060797 Q1494861 Q7174449 Q5219218 Q6289676 Q561458 Q6175973 Q15433633 Q16242716 Q1377715 Q10322797 Q375369 Q5271081 Q5257670 Q5321613 Q8012401 Q5216777 Q7416620 Q15505943 Q7298562 Q292175 Q6761181 Q6106138 Q7346504 Q4713944 Q6153245 Q7827771 Q1955190 Q8237 Q202847 Q5219876 Q1242948 Q5146261 Q5302127 Q6201217 Q7615173 Q964391 Q5214728 Q6384406 Q1921674 Q5006831 Q6253992 Q6395772 Q1176873 Q5407051 Q7039100 Q3694751 Q6205181 Q5262976 Q5363753 Q7051674 Q4903591 Q6114305 Q5373686 Q5764820 Q4716962 Q518455 Q4719341 Q3512564 Q3876879 Q7416543 Q2264253 Q6538613 Q544412 Q7145825 Q6288366 Q7493061 Q1706690 Q2302039 Q6272868 Q464453 Q4767229 Q10287 Q7702030 Q1976999 Q5732845 Q5077596 Q5112890 Q2851328 Q719766 Q7808418 Q918620 Q2013359 Q7804536 Q3327876 Q15437561 Q688739 Q377490 Q7381645 Q6106913 Q7047010 Q504698 Q6662246 Q16211564 Q5916340 Q403146 Q7488782 Q162511 Q7495462 Q5222528 Q6383616 Q2272795 Q2627089 Q3132388 Q7452273 Q335397 Q7129275 Q3898198 Q1876315 Q8004758 Q3733741 Q465222 Q5225367 Q5616163 Q7325098 Q13563184 Q6531123 Q5248490 Q764812 Q7791998 Q3194007 Q4706371 Q6871281 Q4760238 Q7416757 Q6255693 Q160456 Q434164 Q6844403 Q4960734 Q4807200 Q922978 Q7183350 Q5298329 Q6788389 Q5092562 Q5363271 Q7145673 Q6752692 Q467156 Q3672126 Q17119415 Q4767213 Q589497 Q6370079 Q8016299 Q7319529 Q3296164 Q273001 Q15462693 Q1060181 Q6198449 Q17593822 Q5925259 Q6528868 Q1351201 Q6397805 Q3453652 Q6438137 Q4800412 Q3927862 Q83566 Q6506313 Q1352872 Q360140 Q6396571 Q6291396 Q259507 Q8025117 Q463319 Q4706705 Q1775056 Q6189554 Q6092278 Q16123467 Q450346 Q6681348 Q8002669 Q304874 Q5043062 Q15439592 Q6456548 Q1077842 Q6308077 Q7926078 Q5248290 Q7172627 Q6290921 Q5525107 Q7406664 Q5074415 Q6962587 Q3805658 Q5301175 Q7921505 Q2895141 Q7682284 Q435902 Q6504973 Q1326764 Q7711 Q6926262 Q706084 Q310048 Q6395052 Q727331 Q5372332 Q5084374 Q933939 Q712469 Q441809 Q6173352 Q6297172 Q661925 Q6707689 Q6668190 Q2587411 Q520733 Q1507760 Q7609224 Q6304653 Q354783 Q7334284 Q6837261
OR((Q142,P6,c(Q502895)), (Q463606,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q142
relation P6
action find
entity Q463606
relation P1346
type Q502895
[ANSWERS] have France as their heads of government or were the winner of American Book Awards
{'OR': [['Q142', 'P6', {'concept': 'Q502895'}], ['Q463606', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q142 property:P6 ?i } UNION { resource:Q463606 property:P1346 ?i } } . ?i rdf:type ontology:Q502895 }
Graciela Limón Barbara Grizzuti Harrison Tillie Olsen Gloria Frym Ivan Argüelles Carolyn Lei-Lanilau Nash Candelaria Allison Hedge Coke David D. Cole Robin Kelley Juan Felipe Herrera Tato Laviera Michael Parenti Phil Henderson Duane Niatum Lucia Berlin Gordon Henry Maurice Kenny Susanne Antonetta Sergei Kan Chang-Rae Lee Eduardo Galeano Ed Dorn Paul Gilroy Alma Luz Villanueva Kathryn Waddell Takara Naomi Klein Nicholasa Mohr Stella Pope Duarte Al Young Russell J. Rickford Hiroshi Kashiwagi Joseph Papaleo Gary Soto Ron Jones Jay Wright Ron Sakolsky Peter Blue Cloud Hilton Obenzinger Amy Waldman Stephen D. Gutierrez Louis Owens Nancy Rawles John Egerton Ronald Takaki Carmen Giménez Smith Jeff Chang Jim Barnes Dorothy Barresi Judy Grahn Floyd Salas Renato Rosaldo Helen Thomas Frank B. Wilderson III Rachel Simon Lucy Thompson Marnie Mueller Ed Bok Lee Lorenzo Thomas Trey Ellis Lew Welch Don West Fritjof Capra Amanda Coplin Kate Moses Michael N. Nagler Greil Marcus Terry McMillan Glenn Loury Emil Guillermo Alurista Sesshu Foster Allison Blakely Douglas Hofstadter Astra Taylor Maria Mazziotti Gillan Edward Said Judith Roche Toni Morrison Leroy Quintana Lucia Chiavola Birnbaum Miles Davis James Loewen Don Lee Armond White Gary Snyder Linda Hogan William W. Cook Robert Kelly Joy Harjo Jamaica Kincaid J. California Cooper Art Spiegelman Janet McAdams Thomas Centolella John Wieners Ronald Phillip Tanaka Michael Walsh Gloria Naylor Fae Myenne Ng R. Baxter Miller Donna Haraway Daniel Moore Arnold Genthe E. Donald Two-Rivers Richard A. Clarke Diana Garcia Alta John C. Walter Bruce M. Wright Ernestine Hayes A. Robert Lee Shirley Geok-lin Lim Opal Whiteley William Kennedy Linda Gregg Natasha Borovsky Abraham Rodriguez Jack Hirschman Cynthia Stokes Brown Nora Marks Dauenhauer Diane Glancy Louise Erdrich Diane Sher Lutovich Tricia Rose Kali Vanbaale William S. Penn Jesús Colón Janisse Ray Thomas McGrath Susan Howe Ana Castillo Helen Adam Barbara Christian Ruth Ozeki Scott Knowles DeVeaux Gerald Vizenor Speer Morgan Francisco X. Alarcón Gerald Graff Bienvenido Santos Carolyne Wright Andrea Dworkin Evangelina Vigil-Piñón Natalie Diaz Cherry Muhanji Cecelie Berry Denise Chavez D. H. Melhem Camille Dungy Tom De Haven Harvey Pekar Jessel Miller Cheri Register Jericho Brown Josh Kun Lamont B. Steptoe James M. Freeman Doris Seale Sterling D. Plumpp Venkatesh Kulkarni Mei-mei Berssenbrugge Gloria E. Anzaldúa Nicole Blackman A'Lelia Bundles Tom Lutz Laila Lalami Michael Mayo José Emilio González Arthur Dong Roxanne Dunbar-Ortiz Jacob M. Appel Ronald Sukenick Daniel Ellsberg Sonia Sanchez Thomas Ferraro Jack Beatty Angela Jackson Genny Lim Kimiko Hahn Jayne Cortez Russell Banks Michael Eric Dyson Matthew Shenoda Rigoberto González Michael Patrick MacDonald DJ Kool Herc E. L. Mayo Maureen Owen Howard Schwartz Yuko Taniguchi Gary Giddins Peter H. Irons Daniela Gioseffi Joshua Bloom Henry Louis Gates Jeffrey F. L. Partridge Nick Turse Eric Gansworth Shuntarō Tanikawa Mackenzie Bezos Eric Drooker Diana Abu-Jaber Denise Giardina E.J. Miller Laino William Hohri Daniel Cassidy Sandra Gilbert Martín Espada Raymond Andrews Velma Wallis Maria Espinosa J. J. Phillips Robert L. Allen Aldon Lynn Nielsen Janet Campbell Hale Toshio Mori Peter Kalifornsky Richard Holmes Fred Ho Danit Brown Alice McDermott Colleen J. McElroy Douglas Woolf Jimmy Santiago Baca Steven R. Carter Robert Duncan Dana Gioia Keith Gilyard Meridel Le Sueur C. S. Giscombe John R. Rickford Kevin Baker David Toop Eugene B. Redmond Ninotchka Rosca Akbar S. Ahmed Joan Kane Derrick Bell Elizabeth Woody Norma Field Bich Minh Nguyen Jack Newfield Emory Elliott Him Mark Lai Alex Espinoza Toni Cade Bambara Alexander Kuo Mark Podwal Nikki Giovanni Sandra Benitez Benjamin Alire Sáenz Li-Young Lee Helen Barolini Patricia Santana Josephine Gattuso Hendin Sheila Hamanaka Joseph Bruchac James D. Houston Jonathan Curiel Peter Guralnick Anna Linzer Manuel Valls Terence Winch Nelson George Herb Boyd Charles Fanning Christopher Mogil Anne Waldman Ted Joans Tino Villanueva Robert Creeley Daisy Bates Tim Z. Hernandez Seán Ó Tuama Michael Lally John Edgar Wideman Adrienne Kennedy Russell Leong J. Raymond Jones Noel Ignatiev James Welch Lloyd A. Thompson Marlon James Houston A. Baker, Jr. Ai Shann Ray Frank Chin Sherwin Bitsui Daren King Keiho Soga Philip Whalen Chitra Banerjee Divakaruni Martin Bernal Septima Poinsette Clark Joe Sacco Pamela Uschuk Paule Marshall Luís Alberto Urrea William B. Branch Etheridge Knight Jessica Hagedorn Darryl Dickson-Carr Guillermo Gómez-Peña Richard Dauenhauer Jill Nelson Leslie Scalapino Debra Magpie Earling August Wilson Thomas Lynch Katha Pollitt Alan Chong Lau Miné Okubo Andrés Montoya Sandra Scofield John Ross Angela Davis Sandra Cisneros Miguel Algarín Brenda Marie Osbey Askia M. Touré Charles Olson Philip Choy Dorothy Bryant Matt Briggs Cherríe Moraga Elizabeth Nunez Patricia Klindienst Manuel Luis Martinez David Halberstam Nora Okja Keller Seth Rosenfeld Anna Lee Walters Dave Eggers Karen Tei Yamashita William Oandasan Reyna Grande Mary Brave Bird Leslie Marmon Silko Milton Murayama Chalmers Johnson Jim Tatum Agate Nesaule Hualing Nieh Engle Lerone Bennett, Jr. Gary Panter Kevin Young Ruthanne Lum McCunn Kristin Hunter Arthur Sze Quincy Troupe Isabel Allende LeAnne Howe Robert F. Kennedy, Jr. Luis Valdez Kevin J. Mullen José Antonio Burciaga bell hooks Wing Tek Lum Audre Lorde Alan Gilbert Jerome Rothenberg Jewell Parker Rhodes Itabari Njeri Thulani Davis Edwidge Danticat Lorna Dee Cervantes Will Alexander William H. Gass Carlton T. Spiller Alejandro Murguía L. Luis Lopez Chris Ware Julie Chibbaro Victor LaValle Deborah Keenan Peter Bacho Josip Novakovich Gary Gach Salvatore La Puma Charisse Jones Nancy Carnevale Jack Spicer Douglas A. Blackmon Verlyn Klinkenborg Suheir Hammad Tananarive Due Paula Gunn Allen Lawson Fusao Inada Rudolfo Anaya Jean-Marc Ayrault Moustafa Bayoumi Ed Sanders Don DeLillo Kesho Y. Scott Sherman Alexie Emily Raboteau Charley Trujillo Andrew Bacevich Cornel West Franklin Rosemont Jeff Biggers Joy Kogawa John A. Williams Lydia T. Black Lois-Ann Yamanaka May Sarton Raymond Federman George Lewis Stephen Fox Judy Yung Amiri Baraka Rilla Askew Michelle T. Clinton
Anna Lee Walters, Matt Briggs, Nora Marks Dauenhauer, Lois-Ann Yamanaka, Miles Davis, Emil Guillermo, José Emilio González, Josip Novakovich, Maria Espinosa and Frank B. Wilderson III have France as their heads of government or were the winner of American Book Awards
Anna Lee Walters Matt Briggs Nora Marks Dauenhauer Lois-Ann Yamanaka Miles Davis Emil Guillermo José Emilio González Josip Novakovich Maria Espinosa Frank B. Wilderson III
action filter_type
action union
action find
entity France
relation head of government
action find
entity American Book Awards
relation winner
type common name
{'OR': [['France', 'head of government', {'concept': 'common name'}], ['American Book Awards', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:France property:head_of_government ?i } UNION { resource:American_Book_Awards property:winner ?i } } . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q93341
P175
Q2031291
USER
How many releases performed Miles Davis ?
(c(Q2031291),P175,Q93341)
action count
action filter_type
action find_reverse
entity Q93341
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q93341']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ontology:Q2031291 . ?r property:P175 resource:Q93341 }
Miles Davis
action count
action filter_type
action find_reverse
entity Miles Davis
relation performer
type release
[{'concept': 'release'}, 'performer', 'Miles Davis']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ontology:release . ?r property:performer resource:Miles_Davis }
[]
release
SYSTEM
49
Q940021 Q917299 Q2265143 Q931516 Q2525483 Q1761463 Q2698131 Q1217426 Q1097288 Q1273440 Q607953 Q263119 Q1058479 Q1930386 Q3281355 Q917685 Q1512138 Q831324 Q1512732 Q1512122 Q2754808 Q1102373 Q2522649 Q721708 Q6656538 Q926812 Q1056742 Q1414168 Q1654786 Q1544321 Q2778703 Q1102328 Q800143 Q374360 Q1754254 Q1101725 Q2265688 Q804096 Q2610414 Q2051818 Q2265625 Q2447382 Q953618 Q300600 Q425741 Q885776 Q2525024 Q1754368 Q1754539
(c(Q2031291),P175,Q93341)
action count
action filter_type
action find_reverse
entity Q93341
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q93341']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ontology:Q2031291 . ?r property:P175 resource:Q93341 }
Quintet / Sextet Nefertiti The Man with the Horn Someday My Prince Will Come You're Under Arrest Miles in the Sky Big Fun Water Babies Dig E.S.P. Doo-Bop Aura Workin' with The Miles Davis Quintet Seven Steps to Heaven Music from Siesta In a Silent Way Relaxin' with The Miles Davis Quintet Tutu Miles Davis and the Modern Jazz Giants Walkin' Cookin' with the Miles Davis Quintet The Musings of Miles Blue Haze Ascenseur pour l'échafaud Live at the 1963 Monterey Jazz Festival Sketches of Spain Steamin' with The Miles Davis Quintet Filles de Kilimanjaro Porgy and Bess Amandla Quiet Nights Blue Period Bags' Groove Miles Davis and Horns Sorcerer Miles: The New Miles Davis Quintet Decoy Bitches Brew On the Corner Collectors' Items Star People 1958 Miles Miles Ahead A Tribute to Jack Johnson 'Round About Midnight Blue Moods Get Up with It Milestones Miles Smiles
49
action count
action filter_type
action find_reverse
entity Miles Davis
relation performer
type release
[{'concept': 'release'}, 'performer', 'Miles Davis']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ontology:release . ?r property:performer resource:Miles_Davis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q93341
P825
Q2031291
USER
Which release has dedication towards Miles Davis ?
(c(Q2031291),P825,Q93341)
action filter_type
action find_reverse
entity Q93341
relation P825
type Q2031291
[{'concept': 'Q2031291'}, 'P825', 'Q93341']
SELECT DISTINCT ?b WHERE { ?b property:P825 resource:Q93341 . ?b rdf:type ontology:Q2031291 }
Miles Davis
action filter_type
action find_reverse
entity Miles Davis
relation dedicated to
type release
[{'concept': 'release'}, 'dedicated to', 'Miles Davis']
SELECT DISTINCT ?b WHERE { ?b property:dedicated_to resource:Miles_Davis . ?b rdf:type ontology:release }
[]
release
Q300601
SYSTEM
A Tribute to Miles
Q300601
(c(Q2031291),P825,Q93341)
action filter_type
action find_reverse
entity Q93341
relation P825
type Q2031291
[ANSWER] has dedication towards Miles Davis
[{'concept': 'Q2031291'}, 'P825', 'Q93341']
SELECT DISTINCT ?b WHERE { ?b property:P825 resource:Q93341 . ?b rdf:type ontology:Q2031291 }
A Tribute to Miles
A Tribute to Miles has dedication towards Miles Davis
A Tribute to Miles
action filter_type
action find_reverse
entity Miles Davis
relation dedicated to
type release
[{'concept': 'release'}, 'dedicated to', 'Miles Davis']
SELECT DISTINCT ?b WHERE { ?b property:dedicated_to resource:Miles_Davis . ?b rdf:type ontology:release }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q93341
P138
Q17444909
USER
Which astronomical object type comes from Miles Davis ?
(c(Q17444909),P138,Q93341)
action filter_type
action find_reverse
entity Q93341
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q93341']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q93341 . ?x rdf:type ontology:Q17444909 }
Miles Davis
action filter_type
action find_reverse
entity Miles Davis
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Miles Davis']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Miles_Davis . ?x rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q583543
SYSTEM
5892 Milesdavis
Q583543
(c(Q17444909),P138,Q93341)
action filter_type
action find_reverse
entity Q93341
relation P138
type Q17444909
[ANSWER] comes from Miles Davis
[{'concept': 'Q17444909'}, 'P138', 'Q93341']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q93341 . ?x rdf:type ontology:Q17444909 }
5892 Milesdavis
5892 Milesdavis comes from Miles Davis
5892 Milesdavis
action filter_type
action find_reverse
entity Miles Davis
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Miles Davis']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Miles_Davis . ?x rdf:type ontology:astronomical_object_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q93341
P1303
Q34379
USER
Which musical instrument can Miles Davis perform with ?
(Q93341,P1303,c(Q34379))
action filter_type
action find
entity Q93341
relation P1303
type Q34379
['Q93341', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q93341 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
Miles Davis
action filter_type
action find
entity Miles Davis
relation instrument
type musical instrument
['Miles Davis', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:Miles_Davis property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
musical instrument
Q8338
SYSTEM
trumpet
Q8338
(Q93341,P1303,c(Q34379))
action filter_type
action find
entity Q93341
relation P1303
type Q34379
Miles Davis can perform a [ANSWER]
['Q93341', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q93341 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
trumpet
Miles Davis can perform a trumpet
trumpet
action filter_type
action find
entity Miles Davis
relation instrument
type musical instrument
['Miles Davis', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:Miles_Davis property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12676974 Q21032519
P17
Q15617994
USER
Which administrative territories are Second Empire senator or Veršiobalis situated in ?
OR((Q21032519,P17,c(Q15617994)), (Q12676974,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21032519
relation P17
action find
entity Q12676974
relation P17
type Q15617994
{'OR': [['Q21032519', 'P17', {'concept': 'Q15617994'}], ['Q12676974', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q21032519 property:P17 ?x } UNION { resource:Q12676974 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Veršiobalis Second Empire senator
action filter_type
action union
action find
entity Second Empire senator
relation country
action find
entity Veršiobalis
relation country
type designation for an administrative territorial entity
{'OR': [['Second Empire senator', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Veršiobalis', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Second_Empire_senator property:country ?x } UNION { resource:Veršiobalis property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q37
SYSTEM
France, Lithuania
Q142 Q37
OR((Q21032519,P17,c(Q15617994)), (Q12676974,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21032519
relation P17
action find
entity Q12676974
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q21032519', 'P17', {'concept': 'Q15617994'}], ['Q12676974', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q21032519 property:P17 ?x } UNION { resource:Q12676974 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
France Lithuania
Which administrative territories are Second Empire senator or Veršiobalis situated in
France Lithuania
action filter_type
action union
action find
entity Second Empire senator
relation country
action find
entity Veršiobalis
relation country
type designation for an administrative territorial entity
{'OR': [['Second Empire senator', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Veršiobalis', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Second_Empire_senator property:country ?x } UNION { resource:Veršiobalis property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q15416 Q166142
USER
How many administrative territories are atmost 166 television programs and applications set in ?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 166
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P840 ?q . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P840 ?q . ?b rdf:type ontology:Q166142 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } . FILTER ( ?x <= 166 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 166
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:narrative_location ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } UNION { ?b property:narrative_location ?q . ?b rdf:type ontology:application . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . FILTER ( ?x <= 166 ) }
[]
designation for an administrative territorial entity television program application
SYSTEM
157
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q668 Q414 Q3278 Q142 Q55 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q96 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 166
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P840 ?q . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P840 ?q . ?b rdf:type ontology:Q166142 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } . FILTER ( ?x <= 166 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre India Argentina Charente-Maritime France Netherlands Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Mexico Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
157
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 166
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:narrative_location ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } UNION { ?b property:narrative_location ?q . ?b rdf:type ontology:application . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . FILTER ( ?x <= 166 ) }
[]