Simple Question (Direct)
Simple Question
Q867595
P166
Q618779
USER
Which award was received by Martigny ?
(Q867595,P166,c(Q618779))
action filter_type
action find
entity Q867595
relation P166
type Q618779
['Q867595', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q867595 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Martigny
action filter_type
action find
entity Martigny
relation award received
type award
['Martigny', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Martigny property:award_received ?c . ?c rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q867595,P166,c(Q618779))
action filter_type
action find
entity Q867595
relation P166
type Q618779
France [ANSWER] was received by Martigny
['Q867595', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q867595 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
France Croix de guerre 1914–1918 was received by Martigny
Croix de guerre 1914–1918
action filter_type
action find
entity Martigny
relation award received
type award
['Martigny', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Martigny property:award_received ?c . ?c rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2727598
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2727598 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Croix de guerre 1914–1918
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Croix_de_guerre_1914–1918 property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2727598,P17,c(Q15617994))
action filter_type
action find
entity Q2727598
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q2727598', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2727598 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
France
That award is situated in France
France
action filter_type
action find
entity Croix de guerre 1914–1918
relation country
type designation for an administrative territorial entity
['Croix de guerre 1914–1918', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Croix_de_guerre_1914–1918 property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q554140
P47
Q15617994
USER
Is Offenbüttel bordered by that one ?
(Q142,P47,Q554140)
action is_in
entity Q554140
action find
entity Q142
relation P47
['Q142', 'P47', 'Q554140']
ASK WHERE { resource:Q142 property:P47 resource:Q554140 }
France Offenbüttel
action is_in
entity Offenbüttel
action find
entity France
relation shares border with
['France', 'shares border with', 'Offenbüttel']
ASK WHERE { resource:France property:shares_border_with resource:Offenbüttel }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q142,P47,Q554140)
action is_in
entity Q554140
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q554140']
ASK WHERE { resource:Q142 property:P47 resource:Q554140 }
No
action is_in
entity Offenbüttel
action find
entity France
relation shares border with
['France', 'shares border with', 'Offenbüttel']
ASK WHERE { resource:France property:shares_border_with resource:Offenbüttel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P6
Q502895
USER
Which people do France serve as the head of government for ?
action filter_type
action find
entity Q142
relation P6
type Q502895
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q142 property:P6 ?w }
France
action filter_type
action find
entity France
relation head of government
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:France property:head_of_government ?w }
[]
common name
Q10287 Q7711
SYSTEM
Manuel Valls, Jean-Marc Ayrault
Q10287 Q7711
action filter_type
action find
entity Q142
relation P6
type Q502895
France serve as the head of government for [ANSWERS]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q142 property:P6 ?w }
Manuel Valls Jean-Marc Ayrault
France serve as the head of government for Manuel Valls and Jean-Marc Ayrault
Manuel Valls Jean-Marc Ayrault
action filter_type
action find
entity France
relation head of government
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:France property:head_of_government ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4744483
P1411
Q618779 Q838948 Q502895
USER
How many awards did more number of works of art and people receive than American Music Award for Favorite Adult Contemporary Artist ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q4744483
relation P1411
type Q838948
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1411 resource:Q4744483 . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } } } . FILTER ( ?b > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?o } }
American Music Award for Favorite Adult Contemporary Artist
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action count
action filter_multi_types
action find_reverse
entity American Music Award for Favorite Adult Contemporary Artist
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:nominated_for resource:American_Music_Award_for_Favorite_Adult_Contemporary_Artist . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:common_name ) } } } } . FILTER ( ?b > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?o } }
[]
award work of art common name
SYSTEM
311
Q622813 Q971008 Q7243506 Q24054134 Q1780634 Q601549 Q5593784 Q5593785 Q24241 Q1279306 Q1472266 Q904528 Q3002936 Q2414873 Q5243450 Q5243456 Q2529789 Q5243454 Q17986500 Q1459443 Q142392 Q11858223 Q1681198 Q1086189 Q8555 Q284500 Q5280675 Q5280674 Q5280673 Q5280670 Q266012 Q5305720 Q1333798 Q2085699 Q900378 Q7027841 Q1238714 Q160082 Q19858080 Q785002 Q691203 Q26084288 Q4896742 Q4806632 Q4806630 Q4806631 Q20714679 Q5593843 Q655056 Q7821794 Q7821796 Q640374 Q4896830 Q2462064 Q1723064 Q4896782 Q821479 Q4542504 Q2295011 Q6496386 Q989447 Q989445 Q989442 Q989449 Q1188661 Q2925701 Q4896644 Q4896642 Q24204611 Q4835656 Q4835657 Q4835654 Q4835655 Q4835652 Q4835650 Q5593890 Q922299 Q1171956 Q654620 Q1445521 Q1441582 Q3403229 Q5305710 Q5305711 Q5305712 Q5305716 Q5305717 Q5305719 Q639542 Q922226 Q922229 Q23091 Q2603311 Q13423511 Q7243511 Q7243516 Q4896731 Q917698 Q981030 Q602866 Q1257399 Q2442442 Q580574 Q900414 Q24034706 Q4896608 Q6496359 Q4896605 Q1967719 Q16918963 Q5243449 Q8038458 Q1320315 Q945887 Q922396 Q3788522 Q900385 Q2544859 Q4649808 Q2544851 Q4649800 Q499789 Q900369 Q1478089 Q19859744 Q922263 Q1653137 Q1091031 Q1260789 Q1285504 Q4806629 Q5593832 Q1757366 Q828289 Q1928373 Q900494 Q641316 Q1131772 Q645595 Q6952062 Q6952065 Q6952068 Q610903 Q1470333 Q3405409 Q900424 Q989439 Q989438 Q1659591 Q1659592 Q1542199 Q4896791 Q1421666 Q1129487 Q24204609 Q4376980 Q2294705 Q922348 Q1535133 Q904344 Q1026417 Q595693 Q225085 Q1590605 Q5305703 Q5305702 Q5305701 Q663255 Q5305705 Q5305704 Q5305709 Q29597 Q1064978 Q4896729 Q2296147 Q4377021 Q4896724 Q4896727 Q1335973 Q898527 Q377293 Q2295041 Q2665878 Q4992254 Q4896813 Q943106 Q4896598 Q1043985 Q5593805 Q1659572 Q8038466 Q8038464 Q8038461 Q1537996 Q971363 Q37922 Q1277961 Q1784838 Q1420891 Q4790397 Q900352 Q5530638 Q5894564 Q922273 Q530923 Q654599 Q337926 Q922379 Q4896614 Q2529381 Q3045762 Q1341487 Q24053062 Q602299 Q17011874 Q518675 Q1286639 Q5593825 Q627778 Q674165 Q2603334 Q3841614 Q2976730 Q6952055 Q2447910 Q6952053 Q1265702 Q48705 Q1240387 Q13449461 Q2603349 Q1027891 Q16191288 Q185299 Q182529 Q2604800 Q3405406 Q26079956 Q430035 Q2110156 Q1170493 Q1285970 Q1714069 Q1441929 Q1535145 Q832120 Q1441669 Q832127 Q1474410 Q3827469 Q8035703 Q8035707 Q1065651 Q583972 Q922322 Q24204631 Q24204630 Q24204635 Q24204634 Q1287335 Q4896697 Q4896696 Q1441539 Q545970 Q3857162 Q2294693 Q4376971 Q1351190 Q2665874 Q16985679 Q1413741 Q2530270 Q16275104 Q1659569 Q8038470 Q24137 Q900447 Q182419 Q989453 Q385186 Q6496321 Q953746 Q5942229 Q1259330 Q1799442 Q3113378 Q24043071 Q19819292 Q5569374 Q922281 Q1170507 Q936683 Q1170500 Q3993187 Q1509201 Q977915 Q263702 Q1441572 Q1161109 Q2005201 Q1265782 Q610144 Q6496356 Q3403230 Q947090 Q84000 Q1258647 Q5593817 Q3019369 Q154590 Q3019364
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q4744483
relation P1411
type Q838948
type Q502895
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1411 resource:Q4744483 . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } } } . FILTER ( ?b > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?o } }
Newbery Medal Saturn Award for Best Costume Primetime Emmy Award for Outstanding Made for Television Movie HPA Award for Outstanding Compositing – Feature Film Golden Raspberry Award for Worst Picture Saturn Award for Best Performance by a Younger Actor Grammy Award for Best Country Performance by a Duo or Group with Vocal Grammy Award for Best Country Instrumental Performance César Award for Best Actress NAACP Image Award for Outstanding Male Artist Kate Greenaway Medal Grammy Award for Album of the Year Broadcast Film Critics Association Award for Best Comedy Film Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Drama Series Daytime Emmy Award for Outstanding Morning Program Daytime Emmy Award for Outstanding Younger Actor in a Drama Series Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series Daytime Emmy Award for Outstanding Talk Show Host Primetime Emmy Award for Outstanding Cinematography for a Miniseries or Movie Grammy Award for Best R&B Song Prometheus Award Daytime Emmy Award for Outstanding Performer in an Animated Program James Tiptree, Jr. Award Nebula Award for Best Novella Saturn Award for Best Special Effects Turner Prize Directors Guild of America Award for Outstanding Directing – Feature Film Directors Guild of America Award for Outstanding Directing – Drama Series Directors Guild of America Award for Outstanding Directing – Documentaries Directors Guild of America Award for Outstanding Directing – Comedy Series Nebula Award for Best Novel Drama Desk Award for Outstanding Play Grammy Award for Best Male R&B Vocal Performance MTV Europe Music Award for Best Czech & Slovak Act César Award for Best Sound Independent Spirit Award for Best Documentary Feature Golden Raspberry Award for Worst Director Man Booker Prize Favorite Pop/Rock Album MTV Europe Music Award for Best Italian Act Grammy Award for Best Pop Collaboration with Vocals Tony Award for Best Sound Design of a Musical Best Moment ESPY Award Asian Film Award for Best Film Asian Film Award for Best Actress Asian Film Award for Best Director Primetime Emmy Award for Outstanding Miniseries Grammy Award for Best Opera Recording César Award for Best First Feature Film Tony Award for Best Author Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Best WNBA Player ESPY Award Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie Tony Award for Best Actor in a Musical Best Play ESPY Award MTV Video Music Award for Best R&B Video Grammy Award for Best Latin Pop Album Independent Spirit Award for Best Foreign Film Latin Grammy Award for Best Sertaneja Music Album Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie Primetime Emmy Award for Outstanding Lead Actress in a Drama Series Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie PEN/Faulkner Award for Fiction British Academy Television Award for Best Actor Best Female College Athlete ESPY Award Best Female Athlete ESPY Award Tony Award for Best Scenic Design in a Musical BIFA Award for Best Supporting Actor BIFA Award for Best Supporting Actress BIFA Award for Best Performance by an Actor in a British Independent Film BIFA Award for Best Performance by an Actress in a British Independent Film BIFA Award for Best Foreign Independent Film BIFA Award for Best British Independent Film Grammy Award for Best Spoken Word Album Broadcast Film Critics Association Award for Best Film Independent Spirit Award for Best First Screenplay Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role Tony Award for Best Actor in a Play American Music Award for Favorite Country Female Artist Primetime Emmy Award for Outstanding Directing for a Miniseries, Movie or a Dramatic Special Drama Desk Award for Outstanding Director of a Play Drama Desk Award for Outstanding Featured Actor in a Musical Drama Desk Award for Outstanding Featured Actor in a Play Drama Desk Award for Outstanding Lyrics Drama Desk Award for Outstanding Music Drama Desk Award for Outstanding Musical Tony Award for Best Choreography Broadcast Film Critics Association Award for Best Actress Broadcast Film Critics Association Award for Best Young Performer César Award for Best Music Written for a Film Zee Cine Award for Best Actor – Female Primetime Emmy Award for Outstanding Miniseries or Movie Primetime Emmy Award for Outstanding Single-Camera Picture Editing for a Drama Series Primetime Emmy Award for Outstanding Variety, Music, or Comedy Special Best Male Tennis Player ESPY Award MTV Video Music Award for Best Art Direction Saturn Award for Best Writing Golden Raspberry Award for Worst Actress Saturn Award for Best Supporting Actress Tony Award for Best Conductor and Musical Director Neustadt International Prize for Literature César Award for Best Foreign Film VES Award for Outstanding Created Environment in a Live Action Feature Motion Picture Best Coach/Manager ESPY Award Latin Grammy Award for Best Long Form Music Video Best Championship Performance ESPY Award National Society of Film Critics Award for Best Supporting Actress NAACP Image Award for Outstanding Literary Work Daytime Emmy Award for Outstanding Supporting Actor in a Drama Series Writers Guild of America Award for Best Adapted Screenplay Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Supporting Role Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Broadcast Film Critics Association Award for Best Cast Grammy Award for Best Improvised Jazz Solo César Award for Best Costume Design Independent Spirit Award for Best Male Lead AACTA Award for Best Editing Independent Spirit Award for Best Female Lead AACTA Award for Best Actress in a Leading Role Japan Academy Prize for Outstanding Foreign Language Film César Award for Best Writing Tony Award for Best Original Score Favorite Country Single Broadcast Film Critics Association Award for Best Director NAACP Image Award for Outstanding Actor in a Motion Picture MTV Video Music Award for Best Female Video Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Supporting Role Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series Asian Film Award for Best Actor Grammy Award for Best Male Country Vocal Performance Saturn Award for Best Music Broadcast Film Critics Association Award for Best Foreign Language Film Michael L. Printz Award César Award for Best Actor Golden Raspberry Award for Worst Supporting Actor Saturn Award for Best Science Fiction Film César Award for Best Film NAACP Image Award for Outstanding Literary Work, Fiction NAACP Image Award for Outstanding Music Video NAACP Image Award for Outstanding Performance in a Youth/Children's Series or Special Nebula Award for Best Short Story Online Film Critics Society Award for Best Supporting Actress World Fantasy Award for Best Novella César Award for Best Supporting Actor Primetime Emmy Award for Outstanding Lead Actor in a Drama Series Primetime Emmy Award for Outstanding Drama Series NAACP Image Award for Outstanding Motion Picture NAACP Image Award for Outstanding New Artist Grammy Award for Best Solo Rock Vocal Performance Best Record-Breaking Performance ESPY Award Golden Raspberry Award for Worst Screenplay Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Leading Role Tony Award for Best Scenic Design in a Play Genie Award for Best Screenplay Independent Spirit Award for Best Supporting Female Broadcast Film Critics Association Award for Best Supporting Actor Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel Broadcast Film Critics Association Award for Best Song Caldecott Medal MTV Video Music Award for Best New Artist César Award for Best Cinematography NAACP Image Award for Outstanding Supporting Actor in a Motion Picture Drama Desk Award for Outstanding Actress in a Musical Drama Desk Award for Outstanding Actor in a Musical Drama Desk Award for Outstanding Actor in a Play Zee Cine Award for Best Actor – Male Drama Desk Award for Outstanding Book of a Musical Drama Desk Award for Outstanding Actress in a Play Drama Desk Award for Outstanding Director of a Musical César Award for Most Promising Actress MTV Video Music Award for Best Male Video Best Male Golfer ESPY Award Drama Desk Award for Outstanding One-Person Show Primetime Emmy Award for Individual Performance in a Variety or Music Program Best Male Athlete ESPY Award Best Male College Athlete ESPY Award Grammy Award for Best Jazz Instrumental Album World Fantasy Award for Best Novel Tony Award for Best Direction of a Musical Independent Spirit Award for Best Director Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie Grammy Award for Best Music Film Best Sports Movie ESPY Award Best NBA Player ESPY Award Best Breakthrough Athlete ESPY Award Carnegie Medal Grammy Award for Best Gospel Choir or Chorus Album NAACP Image Award for Outstanding Actress in a Motion Picture Writers Guild of America Award for Television: Dramatic Series Writers Guild of America Award for Television: Comedy Series Writers Guild of America Award for Best Original Screenplay Tony Award for Best Actress in a Musical Guardian Children's Fiction Prize Nobel Prize in Literature Primetime Emmy Award for Outstanding Directing for a Comedy Series Tony Award for Best Book of a Musical Golden Raspberry Award for Worst Original Song Ariel Award for Best Actress César Award for Best Production Design Gemini Award for Best Comedy Program or Series Hong Kong Film Award for Best New Performer Broadcast Film Critics Association Award for Best Supporting Actress Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series Broadcast Film Critics Association Award for Best Documentary Film Primetime Emmy Award for Outstanding Animated Program Broadcast Film Critics Association Award for Best Screenplay Best Comeback Athlete ESPY Award Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Comedy Series Primetime Emmy Award for Outstanding Writing for a Comedy Series Philip K. Dick Award California on Location Award for Location Team of the Year - Features Golden Raspberry Award for Worst Actor NAACP Image Award for Outstanding Duo or Group Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Grammy Award for Best Large Jazz Ensemble Album Tony Award for Best Featured Actress in a Play Tony Award for Best Featured Actor in a Musical Zee Cine Award for Best Music Director MTV Jožko Kukuricúdus Grammy Award for Best Music Video NAACP Image Award for Outstanding Actress in a Television Movie, Mini-Series or Dramatic Special MTV Europe Music Award for Best European Act NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special Saturn Award for Best Director César Award for Most Promising Actor Zee Cine Award for Best Director Tony Award for Best Scenic Design Zee Cine Award for Best Film Grammy Award for Best Pop Vocal Album Gold Logie Award for Most Popular Personality on Australian Television Tony Award for Best Actress in a Play FIFA World Player of the Year Primetime Emmy Award for Outstanding Guest Actor in a Drama Series World Fantasy Award for Best Short Fiction Tony Award for Best Sound Design of a Play Astrid Lindgren Memorial Award Primetime Emmy Award for Outstanding Comedy Series Independent Spirit Award for Best Cinematography Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Jussi Award for Best Leading Actress for Favorite Pop/Rock Female Artist Golden Raspberry Award for Worst Screen Couple/Ensemble César Award for Best Adaptation Favorite Pop/Rock Male Artist César Award for Best Documentary Film Tony Award for Best Featured Actor in a Play Latin Grammy Award for Record of the Year World Fantasy Award for Best Anthology World Fantasy Special Award: Professional MTV Video Music Award for Video of the Year Primetime Emmy Award for Outstanding Directing for a Drama Series Broadcast Film Critics Association Award for Best Actor Tony Award for Best Costume Design in a Musical Tony Award for Best Costume Design in a Play Tony Award for Best Lighting Design in a Musical Tony Award for Best Lighting Design in a Play Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series Best Jockey ESPY Award Best International Athlete ESPY Award American Music Award for Favorite Country Album César Award for Best Original Screenplay Grammy Award for Best Instrumental Soloist(s) Performance (with orchestra) Independent Spirit Award for Best Supporting Male Genie Award for Best Achievement in Costume Design NAACP Image Award for Outstanding Female Artist Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture Tony Award for Best Director Saturn Award for Best Actress Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Best Female Tennis Player ESPY Award NAACP Image Award for Outstanding Supporting Actress in a Motion Picture Writers Guild of America Award for Television: New Series César Award for Best Director César Award for Best Editing Nordic Council's Literature Prize Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie Golden Raspberry Award for Worst New Star Latin Grammy Award for Album of the Year Grammy Award for Best Male Rock Vocal Performance Hundred Flowers Award for Best Director NAACP Image Award for Outstanding Album Tony Award for Best Play Grammy Award for Best R&B Performance by a Duo or Group with Vocals VES Award for Outstanding Models and Miniatures in a Feature Motion Picture Genie Award for Best Actress in a Supporting Role Producers Guild of America Award for Best Theatrical Motion Picture Broadcast Film Critics Association Award for Best Family Film Independent Spirit Award for Best Screenplay Nebula Award for Best Novelette Independent Spirit Award for Best First Feature Tony Award for Best Costume Design AVN Hall of Fame Golden Raspberry Award for Worst Supporting Actress MTV Video Music Award for Best Hip-Hop Video Favorite Country Male Artist MTV Video Music Award for Best Video from a Film Tony Award for Best Featured Actress in a Musical Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program MTV Europe Music Award for Best Finnish Act Latin Grammy Award for Best Latin Children's Album Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special Grammy Award for Best Male Pop Vocal Performance César Award for Best Supporting Actress Saturn Award for Best Supporting Actor Grammy Award for Best Arrangement, Instrumental and Vocals Daytime Emmy Award for Outstanding Children's Animated Program Golden Bear Daytime Emmy Award for Outstanding Lead Actor in a Drama Series
311
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action count
action filter_multi_types
action find_reverse
entity American Music Award for Favorite Adult Contemporary Artist
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:nominated_for resource:American_Music_Award_for_Favorite_Adult_Contemporary_Artist . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:common_name ) } } } } . FILTER ( ?b > ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?l . VALUES ( ?l ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q17986500
P1411
Q618779 Q838948 Q502895
USER
And what about Primetime Emmy Award for Outstanding Cinematography for a Miniseries or Movie?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q17986500
relation P1411
type Q838948
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?w ) WHERE { { ?h rdf:type ontology:Q618779 . ?s rdf:type ontology:Q838948 . ?s property:P1411 ?h } UNION { ?h rdf:type ontology:Q618779 . ?s rdf:type ontology:Q502895 . ?s property:P1411 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { { ?a rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q502895 } } . ?a property:P1411 resource:Q17986500 } } . FILTER ( ?w > ?r ) }
Primetime Emmy Award for Outstanding Cinematography for a Miniseries or Movie
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action count
action filter_multi_types
action find_reverse
entity Primetime Emmy Award for Outstanding Cinematography for a Miniseries or Movie
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?w ) WHERE { { ?h rdf:type ontology:award . ?s rdf:type ontology:work_of_art . ?s property:nominated_for ?h } UNION { ?h rdf:type ontology:award . ?s rdf:type ontology:common_name . ?s property:nominated_for ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { { ?a rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:common_name } } . ?a property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Cinematography_for_a_Miniseries_or_Movie } } . FILTER ( ?w > ?r ) }
[]
award work of art common name
SYSTEM
252
Q622813 Q971008 Q7243506 Q1780634 Q5593784 Q5593785 Q24241 Q1279306 Q1472266 Q904528 Q3002936 Q2414873 Q2529789 Q5243454 Q1459443 Q11858223 Q1681198 Q1086189 Q8555 Q284500 Q5280675 Q5280673 Q5280670 Q266012 Q5305720 Q1333798 Q900378 Q1238714 Q160082 Q785002 Q691203 Q26084288 Q4806632 Q4806630 Q4806631 Q5593843 Q655056 Q7821794 Q7821796 Q640374 Q4896830 Q2462064 Q1723064 Q4542504 Q2295011 Q989447 Q989445 Q989442 Q989449 Q1188661 Q2925701 Q4896644 Q4896642 Q24204611 Q4835656 Q4835657 Q4835654 Q4835655 Q4835652 Q4835650 Q5593890 Q922299 Q1171956 Q654620 Q1445521 Q1441582 Q3403229 Q5305711 Q5305712 Q5305717 Q5305719 Q922226 Q922229 Q23091 Q7243516 Q4896731 Q602866 Q1257399 Q2442442 Q580574 Q900414 Q4896608 Q4896605 Q1967719 Q8038458 Q1320315 Q945887 Q922396 Q3788522 Q900385 Q2544859 Q2544851 Q4649800 Q499789 Q900369 Q1478089 Q19859744 Q922263 Q1653137 Q1091031 Q1260789 Q1285504 Q5593832 Q828289 Q1928373 Q900494 Q641316 Q645595 Q6952062 Q6952068 Q610903 Q3405409 Q900424 Q989439 Q989438 Q1659591 Q1659592 Q1542199 Q1421666 Q1129487 Q24204609 Q2294705 Q922348 Q904344 Q1026417 Q595693 Q225085 Q1590605 Q5305703 Q5305702 Q5305701 Q663255 Q5305705 Q5305704 Q5305709 Q29597 Q1064978 Q4896729 Q4377021 Q4896724 Q1335973 Q898527 Q377293 Q2295041 Q2665878 Q4992254 Q4896813 Q943106 Q4896598 Q1043985 Q1659572 Q8038466 Q8038464 Q8038461 Q1537996 Q971363 Q37922 Q1277961 Q1784838 Q1420891 Q4790397 Q900352 Q5894564 Q922273 Q530923 Q337926 Q922379 Q2529381 Q3045762 Q1341487 Q24053062 Q602299 Q518675 Q1286639 Q627778 Q674165 Q3841614 Q2976730 Q6952055 Q6952053 Q1265702 Q48705 Q1240387 Q13449461 Q1027891 Q16191288 Q185299 Q182529 Q2604800 Q3405406 Q26079956 Q430035 Q2110156 Q1170493 Q1285970 Q1441929 Q1535145 Q832120 Q1441669 Q832127 Q1474410 Q8035703 Q583972 Q922322 Q24204631 Q24204630 Q24204635 Q24204634 Q1287335 Q4896697 Q4896696 Q1441539 Q545970 Q2294693 Q1351190 Q2665874 Q16985679 Q1413741 Q2530270 Q16275104 Q1659569 Q8038470 Q24137 Q900447 Q182419 Q989453 Q385186 Q953746 Q5942229 Q1799442 Q3113378 Q5569374 Q922281 Q1170507 Q936683 Q1170500 Q3993187 Q1509201 Q977915 Q263702 Q1441572 Q2005201 Q1265782 Q610144 Q6496356 Q947090 Q84000 Q1258647 Q5593817 Q3019369 Q154590 Q3019364
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q17986500
relation P1411
type Q838948
type Q502895
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?w ) WHERE { { ?h rdf:type ontology:Q618779 . ?s rdf:type ontology:Q838948 . ?s property:P1411 ?h } UNION { ?h rdf:type ontology:Q618779 . ?s rdf:type ontology:Q502895 . ?s property:P1411 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { { ?a rdf:type ontology:Q838948 } UNION { ?a rdf:type ontology:Q502895 } } . ?a property:P1411 resource:Q17986500 } } . FILTER ( ?w > ?r ) }
Newbery Medal Saturn Award for Best Costume Primetime Emmy Award for Outstanding Made for Television Movie Golden Raspberry Award for Worst Picture Grammy Award for Best Country Performance by a Duo or Group with Vocal Grammy Award for Best Country Instrumental Performance César Award for Best Actress NAACP Image Award for Outstanding Male Artist Kate Greenaway Medal Grammy Award for Album of the Year Broadcast Film Critics Association Award for Best Comedy Film Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Drama Series Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series Daytime Emmy Award for Outstanding Talk Show Host Grammy Award for Best R&B Song Daytime Emmy Award for Outstanding Performer in an Animated Program James Tiptree, Jr. Award Nebula Award for Best Novella Saturn Award for Best Special Effects Turner Prize Directors Guild of America Award for Outstanding Directing – Feature Film Directors Guild of America Award for Outstanding Directing – Documentaries Directors Guild of America Award for Outstanding Directing – Comedy Series Nebula Award for Best Novel Drama Desk Award for Outstanding Play Grammy Award for Best Male R&B Vocal Performance César Award for Best Sound Golden Raspberry Award for Worst Director Man Booker Prize MTV Europe Music Award for Best Italian Act Grammy Award for Best Pop Collaboration with Vocals Tony Award for Best Sound Design of a Musical Asian Film Award for Best Film Asian Film Award for Best Actress Asian Film Award for Best Director Grammy Award for Best Opera Recording César Award for Best First Feature Film Tony Award for Best Author Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Best WNBA Player ESPY Award Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Miniseries or Television Movie Tony Award for Best Actor in a Musical Grammy Award for Best Latin Pop Album Independent Spirit Award for Best Foreign Film Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie Primetime Emmy Award for Outstanding Lead Actress in a Drama Series Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie PEN/Faulkner Award for Fiction British Academy Television Award for Best Actor Best Female College Athlete ESPY Award Best Female Athlete ESPY Award Tony Award for Best Scenic Design in a Musical BIFA Award for Best Supporting Actor BIFA Award for Best Supporting Actress BIFA Award for Best Performance by an Actor in a British Independent Film BIFA Award for Best Performance by an Actress in a British Independent Film BIFA Award for Best Foreign Independent Film BIFA Award for Best British Independent Film Grammy Award for Best Spoken Word Album Broadcast Film Critics Association Award for Best Film Independent Spirit Award for Best First Screenplay Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Leading Role Tony Award for Best Actor in a Play American Music Award for Favorite Country Female Artist Primetime Emmy Award for Outstanding Directing for a Miniseries, Movie or a Dramatic Special Drama Desk Award for Outstanding Featured Actor in a Musical Drama Desk Award for Outstanding Featured Actor in a Play Drama Desk Award for Outstanding Music Drama Desk Award for Outstanding Musical Broadcast Film Critics Association Award for Best Actress Broadcast Film Critics Association Award for Best Young Performer César Award for Best Music Written for a Film Primetime Emmy Award for Outstanding Variety, Music, or Comedy Special Best Male Tennis Player ESPY Award Golden Raspberry Award for Worst Actress Saturn Award for Best Supporting Actress Tony Award for Best Conductor and Musical Director Neustadt International Prize for Literature César Award for Best Foreign Film Best Coach/Manager ESPY Award Best Championship Performance ESPY Award National Society of Film Critics Award for Best Supporting Actress Writers Guild of America Award for Best Adapted Screenplay Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Supporting Role Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Broadcast Film Critics Association Award for Best Cast Grammy Award for Best Improvised Jazz Solo César Award for Best Costume Design Independent Spirit Award for Best Male Lead Independent Spirit Award for Best Female Lead AACTA Award for Best Actress in a Leading Role Japan Academy Prize for Outstanding Foreign Language Film César Award for Best Writing Tony Award for Best Original Score Favorite Country Single Broadcast Film Critics Association Award for Best Director NAACP Image Award for Outstanding Actor in a Motion Picture MTV Video Music Award for Best Female Video Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Supporting Role Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series Grammy Award for Best Male Country Vocal Performance Broadcast Film Critics Association Award for Best Foreign Language Film Michael L. Printz Award César Award for Best Actor Golden Raspberry Award for Worst Supporting Actor César Award for Best Film NAACP Image Award for Outstanding Literary Work, Fiction NAACP Image Award for Outstanding Performance in a Youth/Children's Series or Special Nebula Award for Best Short Story World Fantasy Award for Best Novella César Award for Best Supporting Actor Primetime Emmy Award for Outstanding Lead Actor in a Drama Series Primetime Emmy Award for Outstanding Drama Series NAACP Image Award for Outstanding Motion Picture NAACP Image Award for Outstanding New Artist Grammy Award for Best Solo Rock Vocal Performance Golden Raspberry Award for Worst Screenplay Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Leading Role Tony Award for Best Scenic Design in a Play Independent Spirit Award for Best Supporting Female Broadcast Film Critics Association Award for Best Supporting Actor Broadcast Film Critics Association Award for Best Song Caldecott Medal MTV Video Music Award for Best New Artist César Award for Best Cinematography NAACP Image Award for Outstanding Supporting Actor in a Motion Picture Drama Desk Award for Outstanding Actress in a Musical Drama Desk Award for Outstanding Actor in a Musical Drama Desk Award for Outstanding Actor in a Play Zee Cine Award for Best Actor – Male Drama Desk Award for Outstanding Book of a Musical Drama Desk Award for Outstanding Actress in a Play Drama Desk Award for Outstanding Director of a Musical César Award for Most Promising Actress MTV Video Music Award for Best Male Video Best Male Golfer ESPY Award Primetime Emmy Award for Individual Performance in a Variety or Music Program Best Male Athlete ESPY Award Grammy Award for Best Jazz Instrumental Album World Fantasy Award for Best Novel Tony Award for Best Direction of a Musical Independent Spirit Award for Best Director Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Miniseries or Television Movie Grammy Award for Best Music Film Best Sports Movie ESPY Award Best NBA Player ESPY Award Best Breakthrough Athlete ESPY Award Carnegie Medal NAACP Image Award for Outstanding Actress in a Motion Picture Writers Guild of America Award for Television: Dramatic Series Writers Guild of America Award for Television: Comedy Series Writers Guild of America Award for Best Original Screenplay Tony Award for Best Actress in a Musical Guardian Children's Fiction Prize Nobel Prize in Literature Primetime Emmy Award for Outstanding Directing for a Comedy Series Tony Award for Best Book of a Musical Golden Raspberry Award for Worst Original Song Ariel Award for Best Actress César Award for Best Production Design Hong Kong Film Award for Best New Performer Broadcast Film Critics Association Award for Best Supporting Actress Primetime Emmy Award for Outstanding Guest Actor in a Comedy Series Primetime Emmy Award for Outstanding Animated Program Broadcast Film Critics Association Award for Best Screenplay Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Comedy Series Primetime Emmy Award for Outstanding Writing for a Comedy Series Philip K. Dick Award California on Location Award for Location Team of the Year - Features Golden Raspberry Award for Worst Actor Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series Tony Award for Best Featured Actress in a Play Tony Award for Best Featured Actor in a Musical MTV Jožko Kukuricúdus Grammy Award for Best Music Video NAACP Image Award for Outstanding Actress in a Television Movie, Mini-Series or Dramatic Special NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special Saturn Award for Best Director César Award for Most Promising Actor Zee Cine Award for Best Director Tony Award for Best Scenic Design Grammy Award for Best Pop Vocal Album Gold Logie Award for Most Popular Personality on Australian Television Tony Award for Best Actress in a Play FIFA World Player of the Year Primetime Emmy Award for Outstanding Guest Actor in a Drama Series World Fantasy Award for Best Short Fiction Tony Award for Best Sound Design of a Play Astrid Lindgren Memorial Award Primetime Emmy Award for Outstanding Comedy Series Independent Spirit Award for Best Cinematography Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series for Favorite Pop/Rock Female Artist Golden Raspberry Award for Worst Screen Couple/Ensemble César Award for Best Adaptation Favorite Pop/Rock Male Artist César Award for Best Documentary Film Tony Award for Best Featured Actor in a Play World Fantasy Award for Best Anthology Primetime Emmy Award for Outstanding Directing for a Drama Series Broadcast Film Critics Association Award for Best Actor Tony Award for Best Costume Design in a Musical Tony Award for Best Costume Design in a Play Tony Award for Best Lighting Design in a Musical Tony Award for Best Lighting Design in a Play Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series Best Jockey ESPY Award Best International Athlete ESPY Award American Music Award for Favorite Country Album César Award for Best Original Screenplay Independent Spirit Award for Best Supporting Male NAACP Image Award for Outstanding Female Artist Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture Tony Award for Best Director Saturn Award for Best Actress Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Best Female Tennis Player ESPY Award NAACP Image Award for Outstanding Supporting Actress in a Motion Picture Writers Guild of America Award for Television: New Series César Award for Best Director César Award for Best Editing Nordic Council's Literature Prize Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie Golden Raspberry Award for Worst New Star Grammy Award for Best Male Rock Vocal Performance Hundred Flowers Award for Best Director Tony Award for Best Play Grammy Award for Best R&B Performance by a Duo or Group with Vocals Producers Guild of America Award for Best Theatrical Motion Picture Broadcast Film Critics Association Award for Best Family Film Independent Spirit Award for Best Screenplay Nebula Award for Best Novelette Independent Spirit Award for Best First Feature Tony Award for Best Costume Design AVN Hall of Fame Golden Raspberry Award for Worst Supporting Actress MTV Video Music Award for Best Hip-Hop Video Favorite Country Male Artist Tony Award for Best Featured Actress in a Musical Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program MTV Europe Music Award for Best Finnish Act Latin Grammy Award for Best Latin Children's Album Grammy Award for Best Male Pop Vocal Performance César Award for Best Supporting Actress Saturn Award for Best Supporting Actor Grammy Award for Best Arrangement, Instrumental and Vocals Daytime Emmy Award for Outstanding Children's Animated Program Golden Bear Daytime Emmy Award for Outstanding Lead Actor in a Drama Series
252
action count
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action count
action filter_multi_types
action find_reverse
entity Primetime Emmy Award for Outstanding Cinematography for a Miniseries or Movie
relation nominated for
type work of art
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?w ) WHERE { { ?h rdf:type ontology:award . ?s rdf:type ontology:work_of_art . ?s property:nominated_for ?h } UNION { ?h rdf:type ontology:award . ?s rdf:type ontology:common_name . ?s property:nominated_for ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { { ?a rdf:type ontology:work_of_art } UNION { ?a rdf:type ontology:common_name } } . ?a property:nominated_for resource:Primetime_Emmy_Award_for_Outstanding_Cinematography_for_a_Miniseries_or_Movie } } . FILTER ( ?w > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q46185
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately the same number of people as bass guitar ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q46185 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?p = ?y ) }
bass guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:bass_guitar property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?p = ?y ) }
[]
musical instrument common name
Q81982 Q80284 Q46185
SYSTEM
harpsichord, viola, bass guitar
Q80284 Q46185 Q80019 Q81982 Q206987 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[ANSWERS] are played by approximately the same number of people as bass guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q46185 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?p = ?y ) }
viola bass guitar double bass harpsichord vibraphone trumpet cello organ drum kit electronic keyboard
Harpsichord, viola and bass guitar are played by approximately the same number of people as bass guitar
harpsichord viola bass guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:bass_guitar property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?p = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q483994
P1303
Q34379 Q502895
USER
And also tell me about Kazoo?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q483994 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } }
Kazoo
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Kazoo property:instrument ?w . ?w rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Q483994 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { resource:Kazoo property:instrument ?w . ?w rdf:type ontology:musical_instrument } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 3892 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3892
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?c >= 3892 ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 . ?p property:P1303 ?v } GROUP BY ?v } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3892
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?c >= 3892 ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument . ?p property:instrument ?v } GROUP BY ?v } }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3892
[ANSWERS] are played by atleast 3892 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?c >= 3892 ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ontology:Q502895 . ?v rdf:type ontology:Q34379 . ?p property:P1303 ?v } GROUP BY ?v } }
piano violin
Piano and violin are played by atleast 3892 people
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3892
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?c >= 3892 ) . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p rdf:type ontology:common_name . ?v rdf:type ontology:musical_instrument . ?p property:instrument ?v } GROUP BY ?v } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5994 Q8355
P425
Q12737077
USER
Which occupations do those musical instruments belong to ?
(c(Q12737077),P425,Q5994) (c(Q12737077),P425,Q8355)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q5994'] [{'concept': 'Q12737077'}, 'P425', 'Q8355']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . ?i property:P425 ?t . VALUES ( ?t ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
piano violin
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'piano'] [{'concept': 'occupation'}, 'field of this occupation', 'violin']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . ?i property:field_of_this_occupation ?t . VALUES ( ?t ) { ( resource:piano ) ( resource:violin ) } }
[]
occupation
Q486748 Q885122 Q1259917
SYSTEM
pianist, piano maker, violinist
Q486748 Q885122 Q1259917
(c(Q12737077),P425,Q5994) (c(Q12737077),P425,Q8355)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
Those musical instruments belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q5994'] [{'concept': 'Q12737077'}, 'P425', 'Q8355']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . ?i property:P425 ?t . VALUES ( ?t ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
pianist piano maker violinist
Those musical instruments belong to the pianist, piano maker and violinist
pianist piano maker violinist
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'piano'] [{'concept': 'occupation'}, 'field of this occupation', 'violin']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . ?i property:field_of_this_occupation ?t . VALUES ( ?t ) { ( resource:piano ) ( resource:violin ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q486748
P180
Q3305213
USER
Which painting depicts that occupation ?
(c(Q3305213),P180,Q486748)
action filter_type
action find_reverse
entity Q486748
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q486748']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3305213 . ?o property:P180 resource:Q486748 }
pianist
action filter_type
action find_reverse
entity pianist
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'pianist']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:painting . ?o property:depicts resource:pianist }
[]
painting
Clarification for simple ques.
Q1259917
SYSTEM
Did you mean violinist ?
Q486748 Q885122 Q1259917
(c(Q3305213),P180,Q486748) (c(Q3305213),P180,Q885122) (c(Q3305213),P180,Q1259917)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q486748'] [{'concept': 'Q3305213'}, 'P180', 'Q885122'] [{'concept': 'Q3305213'}, 'P180', 'Q1259917']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3305213 . ?o property:P180 resource:Q486748 }
pianist piano maker violinist
Did you mean violinist ?
violinist
[{'concept': 'painting'}, 'depicts', 'pianist'] [{'concept': 'painting'}, 'depicts', 'piano maker'] [{'concept': 'painting'}, 'depicts', 'violinist']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:painting . ?o property:depicts resource:pianist }
[]
Simple Question (Coreferenced)
USER
No, I meant pianist. Could you tell me the answer for that?
(c(Q3305213),P180,Q486748)
Q486748
[{'concept': 'Q3305213'}, 'P180', 'Q486748']
[{'concept': 'painting'}, 'depicts', 'pianist']
[]
Q17189257
SYSTEM
Brita at the Piano
Q17189257
(c(Q3305213),P180,Q486748)
action filter_type
action find_reverse
entity Q486748
relation P180
type Q3305213
[ANSWER] depicts that occupation
[{'concept': 'Q3305213'}, 'P180', 'Q486748']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3305213 . ?o property:P180 resource:Q486748 }
Brita at the Piano
Brita at the Piano depicts that occupation
Brita at the Piano
action filter_type
action find_reverse
entity pianist
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'pianist']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:painting . ?o property:depicts resource:pianist }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17189257
P170
Q502895
USER
Which person is the creater of that painting ?
(Q17189257,P170,c(Q502895))
action filter_type
action find
entity Q17189257
relation P170
type Q502895
['Q17189257', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q17189257 property:P170 ?o . ?o rdf:type ontology:Q502895 }
Brita at the Piano
action filter_type
action find
entity Brita at the Piano
relation creator
type common name
['Brita at the Piano', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Brita_at_the_Piano property:creator ?o . ?o rdf:type ontology:common_name }
[]
common name
Q187310
SYSTEM
Carl Larsson
Q187310
(Q17189257,P170,c(Q502895))
action filter_type
action find
entity Q17189257
relation P170
type Q502895
The creater of that painting is [ANSWER]
['Q17189257', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q17189257 property:P170 ?o . ?o rdf:type ontology:Q502895 }
Carl Larsson
The creater of that painting is Carl Larsson
Carl Larsson
action filter_type
action find
entity Brita at the Piano
relation creator
type common name
['Brita at the Piano', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Brita_at_the_Piano property:creator ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q187310 Q34
P27
Q15617994
USER
Does that person belong to Sweden ?
(Q187310,P27,Q34)
action is_in
entity Q34
action find
entity Q187310
relation P27
['Q187310', 'P27', 'Q34']
ASK WHERE { resource:Q187310 property:P27 resource:Q34 }
Carl Larsson Sweden
action is_in
entity Sweden
action find
entity Carl Larsson
relation country of citizenship
['Carl Larsson', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Carl_Larsson property:country_of_citizenship resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q187310,P27,Q34)
action is_in
entity Q34
action find
entity Q187310
relation P27
[ANSWER]
['Q187310', 'P27', 'Q34']
ASK WHERE { resource:Q187310 property:P27 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Carl Larsson
relation country of citizenship
['Carl Larsson', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Carl_Larsson property:country_of_citizenship resource:Sweden }
[]