Simple Question (Direct)
Simple Question
Q2846710
P21
Q290
USER
Which sex does Andrew Quarless belong to ?
(Q2846710,P21,c(Q290))
action filter_type
action find
entity Q2846710
relation P21
type Q290
['Q2846710', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2846710 property:P21 ?u . ?u rdf:type ontology:Q290 }
Andrew Quarless
action filter_type
action find
entity Andrew Quarless
relation gender
type sex
['Andrew Quarless', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Andrew_Quarless property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2846710,P21,c(Q290))
action filter_type
action find
entity Q2846710
relation P21
type Q290
Andrew Quarless belongs to [ANSWER]
['Q2846710', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2846710 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Andrew Quarless belongs to male
male
action filter_type
action find
entity Andrew Quarless
relation gender
type sex
['Andrew Quarless', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Andrew_Quarless property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2846710
P641
Q349
USER
Which sport did Andrew Quarless participate in ?
(Q2846710,P641,c(Q349))
action filter_type
action find
entity Q2846710
relation P641
type Q349
['Q2846710', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q2846710 property:P641 ?a . ?a rdf:type ontology:Q349 }
Andrew Quarless
action filter_type
action find
entity Andrew Quarless
relation sport
type sport
['Andrew Quarless', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Andrew_Quarless property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q2846710,P641,c(Q349))
action filter_type
action find
entity Q2846710
relation P641
type Q349
Andrew Quarless participated in [ANSWER]
['Q2846710', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q2846710 property:P641 ?a . ?a rdf:type ontology:Q349 }
American football
Andrew Quarless participated in American football
American football
action filter_type
action find
entity Andrew Quarless
relation sport
type sport
['Andrew Quarless', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Andrew_Quarless property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2846710
P106
Q12737077
USER
Which occupation is the profession of Andrew Quarless ?
(Q2846710,P106,c(Q12737077))
action filter_type
action find
entity Q2846710
relation P106
type Q12737077
['Q2846710', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2846710 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Andrew Quarless
action filter_type
action find
entity Andrew Quarless
relation occupation
type occupation
['Andrew Quarless', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Andrew_Quarless property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q2846710,P106,c(Q12737077))
action filter_type
action find
entity Q2846710
relation P106
type Q12737077
[ANSWER] is the profession of Andrew Quarless
['Q2846710', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2846710 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
American football player
American football player is the profession of Andrew Quarless
American football player
action filter_type
action find
entity Andrew Quarless
relation occupation
type occupation
['Andrew Quarless', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Andrew_Quarless property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2846710
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q19204627,P19,c(Q56061))
action filter_type
action find
entity Q2846710
relation P19
type Q56061
['Q19204627', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q2846710 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Andrew Quarless
action filter_type
action find
entity Andrew Quarless
relation place of birth
type administrative territorial entity
['American football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Andrew_Quarless property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q985341
SYSTEM
Uniondale
Q985341
(Q19204627,P19,c(Q56061))
action filter_type
action find
entity Q2846710
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q19204627', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q2846710 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Uniondale
Uniondale is the place of birth of that person
Uniondale
action filter_type
action find
entity Andrew Quarless
relation place of birth
type administrative territorial entity
['American football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Andrew_Quarless property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2846710
P20
Q56061
USER
Where did the demise of Andrew Quarless occur ?
(Q2846710,P20,c(Q56061))
action filter_type
action find
entity Q2846710
relation P20
type Q56061
['Q2846710', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q2846710 property:P20 ?y }
Andrew Quarless
action filter_type
action find
entity Andrew Quarless
relation place of death
type administrative territorial entity
['Andrew Quarless', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Andrew_Quarless property:place_of_death ?y }
[]
administrative territorial entity
Q18419
SYSTEM
Brooklyn
Q18419
(Q2846710,P20,c(Q56061))
action filter_type
action find
entity Q2846710
relation P20
type Q56061
The demise of Andrew Quarless occurred in [ANSWER]
['Q2846710', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q2846710 property:P20 ?y }
Brooklyn
The demise of Andrew Quarless occurred in Brooklyn
Brooklyn
action filter_type
action find
entity Andrew Quarless
relation place of death
type administrative territorial entity
['Andrew Quarless', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Andrew_Quarless property:place_of_death ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2846710
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Andrew Quarless ?
(Q2846710,P27,c(Q15617994))
action filter_type
action find
entity Q2846710
relation P27
type Q15617994
['Q2846710', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2846710 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Andrew Quarless
action filter_type
action find
entity Andrew Quarless
relation country of citizenship
type designation for an administrative territorial entity
['Andrew Quarless', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Andrew_Quarless property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2846710,P27,c(Q15617994))
action filter_type
action find
entity Q2846710
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Andrew Quarless
['Q2846710', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2846710 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Andrew Quarless
United States of America
action filter_type
action find
entity Andrew Quarless
relation country of citizenship
type designation for an administrative territorial entity
['Andrew Quarless', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Andrew_Quarless property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q22686 Q14121459
P6
Q502895
USER
Does that administrative territory have a government lead by Donald Trump and Joaquim Josep Paladella Curto ?
(Q30,P6,Q22686) (Q30,P6,Q14121459)
action is_in
entity Q30
action intersection
action find_reverse
entity Q22686
relation P6
action find_reverse
entity Q14121459
relation P6
['Q30', 'P6', 'Q22686'] ['Q30', 'P6', 'Q14121459']
ASK WHERE { resource:Q30 property:P6 resource:Q22686 . resource:Q30 property:P6 resource:Q14121459 }
United States of America Donald Trump Joaquim Josep Paladella Curto
action is_in
entity United States of America
action intersection
action find_reverse
entity Donald Trump
relation head of government
action find_reverse
entity Joaquim Josep Paladella Curto
relation head of government
['United States of America', 'head of government', 'Donald Trump'] ['United States of America', 'head of government', 'Joaquim Josep Paladella Curto']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Donald_Trump . resource:United_States_of_America property:head_of_government resource:Joaquim_Josep_Paladella_Curto }
[]
common name
SYSTEM
YES and NO respectively
(Q30,P6,Q22686) (Q30,P6,Q14121459)
action is_in
entity Q30
action intersection
action find_reverse
entity Q22686
relation P6
action find_reverse
entity Q14121459
relation P6
[ANSWER]
['Q30', 'P6', 'Q22686'] ['Q30', 'P6', 'Q14121459']
ASK WHERE { resource:Q30 property:P6 resource:Q22686 . resource:Q30 property:P6 resource:Q14121459 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Donald Trump
relation head of government
action find_reverse
entity Joaquim Josep Paladella Curto
relation head of government
['United States of America', 'head of government', 'Donald Trump'] ['United States of America', 'head of government', 'Joaquim Josep Paladella Curto']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Donald_Trump . resource:United_States_of_America property:head_of_government resource:Joaquim_Josep_Paladella_Curto }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18419 Q30 Q47743
P17
Q15617994
USER
Is Brooklyn situated in United States of America and Gutenborn ?
(Q18419,P17,Q30) (Q18419,P17,Q47743)
action is_in
entity Q18419
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q47743
relation P17
['Q18419', 'P17', 'Q30'] ['Q18419', 'P17', 'Q47743']
ASK WHERE { resource:Q18419 property:P17 resource:Q30 . resource:Q18419 property:P17 resource:Q47743 }
Brooklyn United States of America Gutenborn
action is_in
entity Brooklyn
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Gutenborn
relation country
['Brooklyn', 'country', 'United States of America'] ['Brooklyn', 'country', 'Gutenborn']
ASK WHERE { resource:Brooklyn property:country resource:United_States_of_America . resource:Brooklyn property:country resource:Gutenborn }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q18419,P17,Q30) (Q18419,P17,Q47743)
action is_in
entity Q18419
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q47743
relation P17
[ANSWER]
['Q18419', 'P17', 'Q30'] ['Q18419', 'P17', 'Q47743']
ASK WHERE { resource:Q18419 property:P17 resource:Q30 . resource:Q18419 property:P17 resource:Q47743 }
YES and NO respectively
action is_in
entity Brooklyn
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Gutenborn
relation country
['Brooklyn', 'country', 'United States of America'] ['Brooklyn', 'country', 'Gutenborn']
ASK WHERE { resource:Brooklyn property:country resource:United_States_of_America . resource:Brooklyn property:country resource:Gutenborn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18419
P551
Q502895
USER
Who reside at Brooklyn ?
(c(Q502895),P551,Q18419)
action filter_type
action find_reverse
entity Q18419
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q18419']
SELECT DISTINCT ?i WHERE { ?i property:P551 resource:Q18419 . ?i rdf:type ontology:Q502895 }
Brooklyn
action filter_type
action find_reverse
entity Brooklyn
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Brooklyn']
SELECT DISTINCT ?i WHERE { ?i property:residence resource:Brooklyn . ?i rdf:type ontology:common_name }
[]
common name
Q361149 Q104266 Q41421
SYSTEM
Gene Wolfe, Mel Brooks, Michael Jordan
Q7650902 Q515745 Q104061 Q16351057 Q15130554 Q16026107 Q539917 Q3807391 Q104067 Q104266 Q6828250 Q1148781 Q5290047 Q21978974 Q6536986 Q7456643 Q8004056 Q3723849 Q567772 Q449465 Q961660 Q336581 Q3179194 Q17037898 Q11617 Q263725 Q115055 Q7151335 Q6536550 Q21176664 Q316161 Q2328935 Q1065815 Q1443642 Q16095422 Q18594890 Q23302792 Q7659404 Q456010 Q2751383 Q21664514 Q15987606 Q440100 Q108283 Q7614283 Q21104003 Q4805614 Q6211577 Q2803858 Q17309136 Q41421 Q1159071 Q112307 Q16729989 Q2092070 Q47426 Q1126347 Q6759629 Q18810146 Q935340 Q5235177 Q104081 Q1665679 Q2152423 Q6126219 Q1101938 Q3908954 Q15334642 Q5354247 Q296616 Q21879445 Q7087596 Q361149 Q105830 Q180962 Q9287783 Q30570 Q380013
(c(Q502895),P551,Q18419)
action filter_type
action find_reverse
entity Q18419
relation P551
type Q502895
In [ANSWERS] reside at Brooklyn
[{'concept': 'Q502895'}, 'P551', 'Q18419']
SELECT DISTINCT ?i WHERE { ?i property:P551 resource:Q18419 . ?i rdf:type ontology:Q502895 }
Suzanne Lee Pamela Colman Smith Steve Buscemi Eaton Sylvester Drone Setha Low Louis Amberg Mindy Kaling Jason Calacanis Eli Wallach Mel Brooks Michael Arbouet Cyrille Aimée Domenic Recchia Jara Henry Valenta Lewis R. Stegman Seth Wulsin William A. Spinks Emanuela Galliussi Walid Raad Timothy Carey Red Holzman Red Auerbach Jin Meyerson Kathleen Supové Aaliyah Janet Yellen David Geffen Paul Holdengräber Lewis Fidler Amaza Lee Meredith Lenny Wilkens Doug Moe Charles Previn Frank Layden Walter Blum Sarah Mather John Carreyrou Sxip Shirey Amazing Red Atul Gawande Annie Hawks Maureen Braziel Jonathan Lethem Alan Arkin Steve White Elizabeth Carter Brooks Ashley Tuttle Joe Notter Dawn Landes William H. Herriman Michael Jordan Dan Futterman Lena Horne Michelle Hurst Albert Dekker Milton Friedman Connie Hawkins Margaret Leng Tan Olga Marie Cabral Dan Houser David Howard Mickey Rooney Mike Dunleavy, Sr. Major Owens Robert J. Frankel Clive Davis John Rocco Elizabeth Burchenal Eleanor Clift Gabriel Byrne Frederick J. Whiteman Oliver Herring Gene Wolfe Baruch Samuel Blumberg Norman Mailer Henri Silberman David Draiman Larry Brown
In Gene Wolfe, Mel Brooks and Michael Jordan reside at Brooklyn
Gene Wolfe Mel Brooks Michael Jordan
action filter_type
action find_reverse
entity Brooklyn
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Brooklyn']
SELECT DISTINCT ?i WHERE { ?i property:residence resource:Brooklyn . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q361149 Q104266 Q41421
P166
Q618779
USER
Which awards were Gene Wolfe, Mel Brooks and Michael Jordan awarded with ?
(Q361149,P166,c(Q618779)) (Q104266,P166,c(Q618779)) (Q41421,P166,c(Q618779))
action union
action filter_type
action find
entity Q361149
relation P166
type Q618779
action filter_type
action find
entity Q104266
relation P166
type Q618779
action filter_type
action find
entity Q41421
relation P166
type Q618779
['Q361149', 'P166', {'concept': 'Q618779'}] ['Q104266', 'P166', {'concept': 'Q618779'}] ['Q41421', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { resource:Q104266 property:P166 ?g . ?g rdf:type ontology:Q618779 } UNION { resource:Q361149 property:P166 ?g . ?g rdf:type ontology:Q618779 } }
Gene Wolfe Mel Brooks Michael Jordan
action union
action filter_type
action find
entity Gene Wolfe
relation award received
type award
action filter_type
action find
entity Mel Brooks
relation award received
type award
action filter_type
action find
entity Michael Jordan
relation award received
type award
['Gene Wolfe', 'award received', {'concept': 'award'}] ['Mel Brooks', 'award received', {'concept': 'award'}] ['Michael Jordan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { resource:Mel_Brooks property:award_received ?g . ?g rdf:type ontology:award } UNION { resource:Gene_Wolfe property:award_received ?g . ?g rdf:type ontology:award } }
[]
award
Q5305719 Q5305716 Q1030402
SYSTEM
Drama Desk Award for Outstanding Musical, Drama Desk Award for Outstanding Lyrics, John W. Campbell Memorial Award for Best Science Fiction Novel
Q898527 Q1086189 Q1030402 Q3625727 Q3405405 Q901462 Q194285 Q266012 Q1478089 Q530923 Q1326340 Q5305716 Q5305705 Q1265702 Q1784838 Q1265782 Q5305719 Q12314193 Q4992254 Q8038461 Q943106 Q4896614 Q2404133 Q4896724
(Q361149,P166,c(Q618779)) (Q104266,P166,c(Q618779)) (Q41421,P166,c(Q618779))
action union
action filter_type
action find
entity Q361149
relation P166
type Q618779
action filter_type
action find
entity Q104266
relation P166
type Q618779
action filter_type
action find
entity Q41421
relation P166
type Q618779
Gene Wolfe , Mel Brooks and Michael Jordan were awarded with the [ANSWERS]
['Q361149', 'P166', {'concept': 'Q618779'}] ['Q104266', 'P166', {'concept': 'Q618779'}] ['Q41421', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { resource:Q104266 property:P166 ?g . ?g rdf:type ontology:Q618779 } UNION { resource:Q361149 property:P166 ?g . ?g rdf:type ontology:Q618779 } }
World Fantasy Award for Best Novel Nebula Award for Best Novella John W. Campbell Memorial Award for Best Science Fiction Novel World Fantasy Award for Life Achievement World Fantasy Award for Best Collection Damon Knight Memorial Grand Master Award Nebula Award Nebula Award for Best Novel Tony Award for Best Original Score Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series Grammy Award for Best Comedy Album Drama Desk Award for Outstanding Lyrics Drama Desk Award for Outstanding Book of a Musical Saturn Award for Best Director Tony Award for Best Book of a Musical Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program Drama Desk Award for Outstanding Musical Grammy Award for Best Comedy Album Grammy Award for Best Music Film Writers Guild of America Award for Best Original Screenplay Best NBA Player ESPY Award Best Comeback Athlete ESPY Award Oscar Robertson Trophy Best Male Athlete ESPY Award
Gene Wolfe , Mel Brooks and Michael Jordan were awarded with the Drama Desk Award for Outstanding Musical, Drama Desk Award for Outstanding Lyrics and John W. Campbell Memorial Award for Best Science Fiction Novel
Drama Desk Award for Outstanding Musical Drama Desk Award for Outstanding Lyrics John W. Campbell Memorial Award for Best Science Fiction Novel
action union
action filter_type
action find
entity Gene Wolfe
relation award received
type award
action filter_type
action find
entity Mel Brooks
relation award received
type award
action filter_type
action find
entity Michael Jordan
relation award received
type award
['Gene Wolfe', 'award received', {'concept': 'award'}] ['Mel Brooks', 'award received', {'concept': 'award'}] ['Michael Jordan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { resource:Mel_Brooks property:award_received ?g . ?g rdf:type ontology:award } UNION { resource:Gene_Wolfe property:award_received ?g . ?g rdf:type ontology:award } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5305719 Q5305716 Q1030402
P1346
Q502895
USER
Which people were the champions of those awards ?
(Q5305719,P1346,c(Q502895)) (Q5305716,P1346,c(Q502895)) (Q1030402,P1346,c(Q502895))
action filter_type
action find
entity prev_answer
relation P1346
type Q502895
['Q5305719', 'P1346', {'concept': 'Q502895'}] ['Q5305716', 'P1346', {'concept': 'Q502895'}] ['Q1030402', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?k ) { ( resource:Q898527 ) ( resource:Q1086189 ) ( resource:Q1030402 ) } . ?l rdf:type ontology:Q502895 . ?k property:P1346 ?l }
Drama Desk Award for Outstanding Musical Drama Desk Award for Outstanding Lyrics John W. Campbell Memorial Award for Best Science Fiction Novel
action filter_type
action find
entity prev_answer
relation winner
type common name
['Drama Desk Award for Outstanding Musical', 'winner', {'concept': 'common name'}] ['Drama Desk Award for Outstanding Lyrics', 'winner', {'concept': 'common name'}] ['John W. Campbell Memorial Award for Best Science Fiction Novel', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?k ) { ( resource:World_Fantasy_Award_for_Best_Novel ) ( resource:Nebula_Award_for_Best_Novella ) ( resource:John_W._Campbell_Memorial_Award_for_Best_Science_Fiction_Novel ) } . ?l rdf:type ontology:common_name . ?k property:winner ?l }
[]
common name
Q361149 Q104266 Q104266
SYSTEM
Gene Wolfe for 1st, Mel Brooks for 2nd, 3rd
Q372256 Q1683976 Q470040 Q104266 Q712004 Q319693 Q6939303 Q1334295 Q7615646 Q710334 Q2136301 Q180975 Q128746 Q152505 Q337206 Q61059 Q1685876 Q3973178 Q3703386 Q4933272 Q207515 Q16230604 Q310098 Q1352656 Q979312 Q1340238 Q1189253 Q210741 Q770566 Q310476 Q4022358 Q220010 Q5085524 Q81796 Q1146861 Q554674 Q5931668 Q5343953 Q348513 Q725042 Q23527 Q44410 Q5273341 Q293323 Q313270 Q1806065 Q1646482 Q123829 Q329849 Q2808 Q1691381 Q3435778 Q3431051 Q918538 Q3973444 Q15485234 Q542484 Q6263373 Q449002 Q2354471 Q317272 Q6388044 Q7609816 Q1383270 Q7327614 Q3295377 Q7346555 Q203977 Q16194364 Q175078 Q1274807 Q4982515 Q1361175 Q5480583 Q8008754 Q1790231 Q298295 Q5734832 Q269094 Q4257369 Q212692 Q235737 Q44414 Q2960275 Q3110308 Q1566335 Q587741 Q7792371 Q284540 Q6908563 Q153579 Q7025282 Q1811812 Q1718449 Q960768 Q6137781 Q311754 Q1265451 Q5606036 Q766468 Q104266 Q210741 Q298295 Q3295377 Q3435778 Q1683976 Q44414 Q220010 Q3973444 Q542484 Q1334295 Q5549903 Q449002 Q5085524 Q3703386 Q7647576 Q153579 Q1685876 Q8009056 Q5044354 Q38757 Q320556 Q7346555 Q337206 Q203977 Q5343953 Q7615646 Q15485234 Q23527 Q44410 Q5606036 Q293323 Q1274807 Q4703654 Q4022358 Q1646482 Q235737 Q712359 Q979312 Q315949 Q659017 Q316138 Q187085 Q171091 Q220078 Q3102027 Q347461 Q715241 Q240786 Q234700 Q220883 Q312995 Q708581 Q548156 Q940958 Q316785 Q350734 Q314416 Q5354321 Q312405 Q315069 Q316788 Q130779 Q1353673 Q707796 Q897008 Q455228 Q26116 Q113554 Q110436 Q3194058 Q526761 Q362742 Q312641 Q943997 Q358312 Q238438 Q47087 Q238702 Q2512714 Q361149 Q436664 Q254635
(Q5305719,P1346,c(Q502895)) (Q5305716,P1346,c(Q502895)) (Q1030402,P1346,c(Q502895))
action filter_type
action find
entity prev_answer
relation P1346
type Q502895
[ANSWERS]
['Q5305719', 'P1346', {'concept': 'Q502895'}] ['Q5305716', 'P1346', {'concept': 'Q502895'}] ['Q1030402', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?k ) { ( resource:Q898527 ) ( resource:Q1086189 ) ( resource:Q1030402 ) } . ?l rdf:type ontology:Q502895 . ?k property:P1346 ?l }
Don McKellar Jason Robert Brown Sammy Cahn Mel Brooks Claude-Michel Schönberg Oscar Hammerstein II Murray Horwitz Howard Ashman Stew Arthur Laurents Burt Shevelove Andrew Lloyd Webber Irving Berlin Leonard Bernstein Marvin Hamlisch Ira Gershwin John Kander Stephen Flaherty David Zippel Bob Martin P.G. Wodehouse Ira Gasman David Bryan Morton Gould Marc Shaiman Enda Walsh Dennis Kelly Eric Idle Arthur Kopit Fats Waller Scott Wittman Glen Hansard Charlie Smalls J. M. Barrie Cy Coleman Mark O'Donnell Hugh Martin Edward Kleban W. S. Gilbert Jerry Bock Tim Minchin Matt Stone Dick Scanlan Lynn Ahrens Jerome Kern Larry Gelbart Lin-Manuel Miranda George Gershwin Adolph Green Elton John Joe DiPietro Robert Lopez Richard Morris Neil Innes Steven Sater Lisa Lambert Stephen Schwartz John Weidman Jonathan Larson Sheldon Harnick Alan Menken Ken Ludwig Stephen Longstreet Rupert Holmes Richard Maltby, Jr. Martin Charnin Robert L. Freedman Maury Yeston Jeanine Tesori Betty Comden Fred Ebb David Newman Joseph Stein Joseph Papp William F. Brown Winnie Holzman Tim Rice Herbert Kretzmer Richard Rodgers Carolyn Leigh Arthur Sullivan Markéta Irglová Trey Parker Charles Strouse James Kirkwood, Jr. Terrence McNally Jule Styne Thomas Meehan Alain Boublil Moose Charlap Stephen Sondheim Nicholas Dante Lee Hall Peter Stone John Du Prez James Lapine Jason Alexander Duncan Sheik Greg Morrison Alfred Uhry Mel Brooks Eric Idle Tim Rice Martin Charnin Robert Lopez Jason Robert Brown Trey Parker Glen Hansard Steven Sater Stephen Schwartz Howard Ashman Gerard Alessandrini Jonathan Larson Charlie Smalls David Zippel Susan Birkenhead Stephen Sondheim John Kander William Finn Carol Hall Bertolt Brecht John Guare Robert L. Freedman Marvin Hamlisch Maury Yeston Edward Kleban Stew Lisa Lambert Tim Minchin Matt Stone Greg Morrison Lynn Ahrens Fred Ebb Al Carmines Scott Wittman Lin-Manuel Miranda Markéta Irglová Roger Miller Marc Shaiman Robert Merle Ian R. MacLeod Michael Moorcock Paul J. McAuley Philip K. Dick Kingsley Amis George Zebrowski Joe Haldeman Jack McDevitt Robert Charles Wilson Connie Willis Poul Anderson Bruce Sterling Thomas M. Disch Joan Slonczewski Geoff Ryman Greg Egan Adam Roberts Stephen Baxter Eleanor Lerman Vernor Vinge David Brin Jack Williamson Kim Stanley Robinson Russell Hoban Christopher Priest Bradley Denton Ian McDonald Paolo Bacigalupi Barry N. Malzberg Cory Doctorow Kathleen Ann Goonan Catherine Webb Robert J. Sawyer Frederik Pohl Charles Sheffield Gregory Benford Nancy Kress Arthur C. Clarke Brian Aldiss Marcel Theroux Gene Wolfe Ben Bova Richard K. Morgan
Gene Wolfe, Mel Brooks and Mel Brooks were the champions of those awards
Gene Wolfe Mel Brooks Mel Brooks
action filter_type
action find
entity prev_answer
relation winner
type common name
['Drama Desk Award for Outstanding Musical', 'winner', {'concept': 'common name'}] ['Drama Desk Award for Outstanding Lyrics', 'winner', {'concept': 'common name'}] ['John W. Campbell Memorial Award for Best Science Fiction Novel', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?k ) { ( resource:World_Fantasy_Award_for_Best_Novel ) ( resource:Nebula_Award_for_Best_Novella ) ( resource:John_W._Campbell_Memorial_Award_for_Best_Science_Fiction_Novel ) } . ?l rdf:type ontology:common_name . ?k property:winner ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q11032 Q35749 Q502895
USER
How many people have been acknowledged in atleast 1 newspapers or parliaments ?
(c(Q502895),P248,c(Q11032)|c(Q35749))
action count
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q11032
action find_tuple_counts
relation P248
type Q502895
type Q35749
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11032'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11032 ) ( ontology:Q35749 ) } } GROUP BY ?s } . FILTER ( ?g >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type newspaper
action find_tuple_counts
relation stated in
type common name
type parliament
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'newspaper'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:newspaper ) ( ontology:parliament ) } } GROUP BY ?s } . FILTER ( ?g >= 1 ) }
[]
newspaper parliament common name
SYSTEM
26
Q6249889 Q9069823 Q5606264 Q5606262 Q7351128 Q6262713 Q17626521 Q8020385 Q16031816 Q5239881 Q8019902 Q6228730 Q15637844 Q6237308 Q18166520 Q5239885 Q5233457 Q6239258 Q8020394 Q8020390 Q17385895 Q6257915 Q9311159 Q6246961 Q8020402 Q15990004
(c(Q502895),P248,c(Q11032)|c(Q35749))
action count
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q11032
action find_tuple_counts
relation P248
type Q502895
type Q35749
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11032'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11032 ) ( ontology:Q35749 ) } } GROUP BY ?s } . FILTER ( ?g >= 1 ) }
John Murphy Robert Williams Greg Smith Greg Smith Robert Williams John Walker Colin Campbell William Williams William Walker David Smith William Walker John Davies David Smith John Hall William Thompson David Smith David Evans John Hill William Williams William Williams David Evans John Simpson Robert Williams John Martin William Williams John Gray
26
action count
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type newspaper
action find_tuple_counts
relation stated in
type common name
type parliament
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'newspaper'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) ?s WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:newspaper ) ( ontology:parliament ) } } GROUP BY ?s } . FILTER ( ?g >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q104266 Q616541
P1346
Q618779
USER
How many awards were won by Mel Brooks and Patrick Quentin ?
(c(Q618779),P1346,Q104266) (c(Q618779),P1346,Q616541)
action count
action intersection
action filter_type
action find_reverse
entity Q104266
relation P1346
type Q618779
action filter_type
action find_reverse
entity Q616541
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q104266'] [{'concept': 'Q618779'}, 'P1346', 'Q616541']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P1346 resource:Q104266 . ?i rdf:type ontology:Q618779 . ?i property:P1346 resource:Q616541 . ?i rdf:type ontology:Q618779 }
Mel Brooks Patrick Quentin
action count
action intersection
action filter_type
action find_reverse
entity Mel Brooks
relation winner
type award
action filter_type
action find_reverse
entity Patrick Quentin
relation winner
type award
[{'concept': 'award'}, 'winner', 'Mel Brooks'] [{'concept': 'award'}, 'winner', 'Patrick Quentin']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:winner resource:Mel_Brooks . ?i rdf:type ontology:award . ?i property:winner resource:Patrick_Quentin . ?i rdf:type ontology:award }
[]
award
SYSTEM
2
Q5305719 Q5305705
(c(Q618779),P1346,Q104266) (c(Q618779),P1346,Q616541)
action count
action intersection
action filter_type
action find_reverse
entity Q104266
relation P1346
type Q618779
action filter_type
action find_reverse
entity Q616541
relation P1346
type Q618779
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q104266'] [{'concept': 'Q618779'}, 'P1346', 'Q616541']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P1346 resource:Q104266 . ?i rdf:type ontology:Q618779 . ?i property:P1346 resource:Q616541 . ?i rdf:type ontology:Q618779 }
Drama Desk Award for Outstanding Musical Drama Desk Award for Outstanding Book of a Musical
2
action count
action intersection
action filter_type
action find_reverse
entity Mel Brooks
relation winner
type award
action filter_type
action find_reverse
entity Patrick Quentin
relation winner
type award
[{'concept': 'award'}, 'winner', 'Mel Brooks'] [{'concept': 'award'}, 'winner', 'Patrick Quentin']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:winner resource:Mel_Brooks . ?i rdf:type ontology:award . ?i property:winner resource:Patrick_Quentin . ?i rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P159
Q48204 Q476300
USER
How many voluntary associations and competitions have the principal seat at United States of America ?
(c(Q48204),P159,Q30) (c(Q476300),P159,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P159
type Q48204
action filter_type
action find_reverse
entity Q30
relation P159
type Q476300
[{'concept': 'Q48204'}, 'P159', 'Q30'] [{'concept': 'Q476300'}, 'P159', 'Q30']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:P159 resource:Q30 . ?w rdf:type ontology:Q48204 } UNION { ?w property:P159 resource:Q30 . ?w rdf:type ontology:Q476300 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type voluntary association
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type competition
[{'concept': 'voluntary association'}, 'headquarters location', 'United States of America'] [{'concept': 'competition'}, 'headquarters location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:headquarters_location resource:United_States_of_America . ?w rdf:type ontology:voluntary_association } UNION { ?w property:headquarters_location resource:United_States_of_America . ?w rdf:type ontology:competition } }
[]
voluntary association competition
SYSTEM
3 voluntary associations and 1 competitions
Q859497 Q2593221 Q1621074 Q2843024
(c(Q48204),P159,Q30) (c(Q476300),P159,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P159
type Q48204
action filter_type
action find_reverse
entity Q30
relation P159
type Q476300
[ANSWER]
[{'concept': 'Q48204'}, 'P159', 'Q30'] [{'concept': 'Q476300'}, 'P159', 'Q30']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:P159 resource:Q30 . ?w rdf:type ontology:Q48204 } UNION { ?w property:P159 resource:Q30 . ?w rdf:type ontology:Q476300 } }
Miss America Women's National Basketball Association History of Science Society American Society of Media Photographers
3 voluntary associations and 1 competitions
action count
action union
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type voluntary association
action filter_type
action find_reverse
entity United States of America
relation headquarters location
type competition
[{'concept': 'voluntary association'}, 'headquarters location', 'United States of America'] [{'concept': 'competition'}, 'headquarters location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { ?w property:headquarters_location resource:United_States_of_America . ?w rdf:type ontology:voluntary_association } UNION { ?w property:headquarters_location resource:United_States_of_America . ?w rdf:type ontology:competition } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q22686
P21 P22
Q502895
USER
Which people have Donald Trump as father and are a male ?
AND((c(Q502895),P22,Q22686), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q22686
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q22686'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P21 resource:Q6581097 . ?r property:P22 resource:Q22686 . ?r rdf:type ontology:Q502895 }
male Donald Trump
action filter_type
action intersection
action find_reverse
entity Donald Trump
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Donald Trump'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:gender resource:male . ?r property:father resource:Donald_Trump . ?r rdf:type ontology:common_name }
[]
common name
Q3713655 Q3731533 Q23000814
SYSTEM
Donald Trump Jr., Eric Trump, Barron Trump
Q3713655 Q3731533 Q23000814
AND((c(Q502895),P22,Q22686), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q22686
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
Trump [ANSWERS] have Donald Trump as father and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q22686'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P21 resource:Q6581097 . ?r property:P22 resource:Q22686 . ?r rdf:type ontology:Q502895 }
Donald Trump Jr. Eric Trump Barron Trump
Trump Donald Trump Jr., Eric Trump and Barron Trump have Donald Trump as father and are a male
Donald Trump Jr. Eric Trump Barron Trump
action filter_type
action intersection
action find_reverse
entity Donald Trump
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Donald Trump'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:gender resource:male . ?r property:father resource:Donald_Trump . ?r rdf:type ontology:common_name }
[]