Simple Question (Direct)
Simple Question
Q7519846
P166
Q618779
USER
What was won by Simon Suhler ?
(Q7519846,P166,c(Q618779))
action filter_type
action find
entity Q7519846
relation P166
type Q618779
['Q7519846', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . resource:Q7519846 property:P166 ?u }
Simon Suhler
action filter_type
action find
entity Simon Suhler
relation award received
type award
['Simon Suhler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . resource:Simon_Suhler property:award_received ?u }
[]
award
Q203535
SYSTEM
Medal of Honor
Q203535
(Q7519846,P166,c(Q618779))
action filter_type
action find
entity Q7519846
relation P166
type Q618779
The [ANSWER] was won by Simon Suhler
['Q7519846', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . resource:Q7519846 property:P166 ?u }
Medal of Honor
The Medal of Honor was won by Simon Suhler
Medal of Honor
action filter_type
action find
entity Simon Suhler
relation award received
type award
['Simon Suhler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . resource:Simon_Suhler property:award_received ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7519846
P19
Q7275
USER
Which state is the place of birth of Simon Suhler ?
(Q7519846,P19,c(Q7275))
action filter_type
action find
entity Q7519846
relation P19
type Q7275
['Q7519846', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7275 . resource:Q7519846 property:P19 ?o }
Simon Suhler
action filter_type
action find
entity Simon Suhler
relation place of birth
type state
['Simon Suhler', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:state . resource:Simon_Suhler property:place_of_birth ?o }
[]
state
Q980
SYSTEM
Bavaria
Q980
(Q7519846,P19,c(Q7275))
action filter_type
action find
entity Q7519846
relation P19
type Q7275
Of [ANSWER] is the place of birth of Simon Suhler
['Q7519846', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7275 . resource:Q7519846 property:P19 ?o }
Bavaria
Of Bavaria is the place of birth of Simon Suhler
Bavaria
action filter_type
action find
entity Simon Suhler
relation place of birth
type state
['Simon Suhler', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:state . resource:Simon_Suhler property:place_of_birth ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q735227
Q7275
USER
And how about Elitovio?
(Q735227,P19,c(Q7275))
action filter_type
action find
entity Q735227
relation P19
type Q7275
['Q735227', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q735227 property:P19 ?x . ?x rdf:type ontology:Q7275 }
Elitovio
action filter_type
action find
entity Elitovio
relation place of birth
type state
['Elitovio', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Elitovio property:place_of_birth ?x . ?x rdf:type ontology:state }
[]
state
Q38060
SYSTEM
Gaul
Q38060
(Q735227,P19,c(Q7275))
action filter_type
action find
entity Q735227
relation P19
type Q7275
[ANSWER]
['Q735227', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q735227 property:P19 ?x . ?x rdf:type ontology:Q7275 }
Gaul
Gaul
action filter_type
action find
entity Elitovio
relation place of birth
type state
['Elitovio', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Elitovio property:place_of_birth ?x . ?x rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q735227
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q38060,P106,c(Q12737077))
action filter_type
action find
entity Q735227
relation P106
type Q12737077
['Q38060', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q735227 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Elitovio
action filter_type
action find
entity Elitovio
relation occupation
type occupation
['Gaul', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Elitovio property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q273108
SYSTEM
condottiero
Q273108
(Q38060,P106,c(Q12737077))
action filter_type
action find
entity Q735227
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q38060', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q735227 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
condottiero
The condottiero is the profession of that person
condottiero
action filter_type
action find
entity Elitovio
relation occupation
type occupation
['Gaul', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Elitovio property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q7275
USER
How many states have an anthem named atleast 1 literary works and hymns ?
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action count
action atleast
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
value 1
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i rdf:type ontology:Q7725634 . ?k rdf:type ontology:Q7275 . ?k property:P85 ?i } UNION { ?k property:P85 ?i . ?k rdf:type ontology:Q7275 . ?i rdf:type ontology:Q484692 } } GROUP BY ?k } . FILTER ( ?y >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
value 1
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i rdf:type ontology:literary_work . ?k rdf:type ontology:state . ?k property:anthem ?i } UNION { ?k property:anthem ?i . ?k rdf:type ontology:state . ?i rdf:type ontology:hymn } } GROUP BY ?k } . FILTER ( ?y >= 1 ) }
[]
literary work hymn state
SYSTEM
118
Q241748 Q211853 Q180573 Q797527 Q1274468 Q2414171 Q218023 Q245160 Q25279 Q174193 Q965174 Q233263 Q1028835 Q330988 Q139670 Q27306 Q457167 Q533558 Q167360 Q1044536 Q209065 Q21203 Q713750 Q209062 Q1998866 Q207162 Q11196 Q2006542 Q131964 Q133356 Q2454585 Q33946 Q83572 Q191077 Q2638486 Q28278 Q16957 Q1649871 Q941881 Q870055 Q842794 Q1057542 Q652560 Q550374 Q178038 Q30623 Q203493 Q867778 Q147909 Q980 Q58202 Q1709185 Q154401 Q180393 Q112558 Q252580 Q518101 Q37024 Q16410 Q153128 Q83286 Q173761 Q207272 Q25227 Q15864 Q738144 Q36704 Q950644 Q153015 Q49910 Q386496 Q696242 Q71092 Q15180 Q217230 Q170072 Q170174 Q212056 Q210542 Q7318 Q1072140 Q170468 Q146328 Q248452 Q8733 Q371334 Q853348 Q824489 Q2342822 Q189988 Q1192936 Q615902 Q708865 Q498735 Q491559 Q154195 Q1072362 Q1775277 Q121932 Q146761 Q153660 Q70972 Q497777 Q206411 Q12548 Q211274 Q6500954 Q26988 Q26273 Q139319 Q171150 Q487687 Q370736 Q541455 Q41304 Q797422 Q216173 Q178469
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action count
action atleast
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i rdf:type ontology:Q7725634 . ?k rdf:type ontology:Q7275 . ?k property:P85 ?i } UNION { ?k property:P85 ?i . ?k rdf:type ontology:Q7275 . ?i rdf:type ontology:Q484692 } } GROUP BY ?k } . FILTER ( ?y >= 1 ) }
Kingdom of Serbia Republic of Serbian Krajina South Vietnam British Togoland Republic of Bosnia and Herzegovina First Brazilian Republic Orange Free State Democratic Republic of Georgia Curaçao United Kingdom of Great Britain and Ireland Coalition Provisional Authority Second Republic of South Korea British Cameroons Democratic Kampuchea Democratic Republic of Armenia Kingdom of Prussia West Ukrainian People's Republic Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Kingdom of Greece Aruba West Germany Socialist Republic of Croatia Czech and Slovak Federal Republic Bourbon Restoration Republika Srpska Dominion of Pakistan Austrian Empire Ukrainian Soviet Socialist Republic History of Czechoslovakia Czechoslovakia Sikh Empire Kingdom of Yugoslavia Kingdom of Cambodia Provisional Government of the Republic of Korea East Germany Kingdom of Poland Netherlands New Guinea Kingdom of Laos Socialist Republic of Romania Republic of Hawaii West Indies Federation South African Republic Second Spanish Republic Manchukuo Kingdom of Romania People's Republic of Kampuchea Kingdom of Bulgaria Bavaria July Monarchy Kingdom of Spain under Joseph Bonaparte Slovak Republic Kingdom of the Two Sicilies Republic of Saugeais Duchy of Modena and Reggio First Republic of Austria Serbia and Montenegro People's Republic of Hungary Independent State of Croatia Socialist Federal Republic of Yugoslavia Lithuanian Soviet Socialist Republic Second Polish Republic Netherlands Antilles United Kingdom of the Netherlands United Provinces of the Río de la Plata Yugoslavia Carpatho-Ukraine Kingdom of Saxony Colony of Aden Kingdom of Montenegro Reorganized National Government of China Second French Empire Soviet Union Empire of Brazil Dutch Republic Papal States Mongolian People's Republic Second Brazilian Republic Nazi Germany Roman Republic United Arab Republic Commonwealth of the Philippines British North America Qing dynasty Second Mexican Empire Czechoslovak Socialist Republic Estado Novo West Pakistan Central African Empire Kingdom of Burundi Kingdom of Finland Reformed Government of the Republic of China division of Korea First Republic of South Korea Kingdom of Bavaria Provisional Revolutionary Government of the Republic of South Vietnam Dominion of India People's Republic of Bulgaria Hatay State Italian Social Republic Kingdom of France First Spanish Republic Democratic Republic of Azerbaijan Holy Roman Empire People's Republic of Poland Zaire Cook Islands Sint Maarten Russian Republic Kingdom of Hungary Third Republic of South Korea Cape Colony Anglo-Egyptian Sudan Weimar Republic Republic of Upper Volta Free City of Danzig Biafra
118
action count
action atleast
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
value 1
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i rdf:type ontology:literary_work . ?k rdf:type ontology:state . ?k property:anthem ?i } UNION { ?k property:anthem ?i . ?k rdf:type ontology:state . ?i rdf:type ontology:hymn } } GROUP BY ?k } . FILTER ( ?y >= 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7519846
P607
Q350604
USER
Which battle did that person take part in ?
action filter_type
action find
entity Q7519846
relation P607
type Q350604
SELECT DISTINCT ?p WHERE { resource:Q7519846 property:P607 ?p . ?p rdf:type ontology:Q350604 }
Simon Suhler
action filter_type
action find
entity Simon Suhler
relation conflict
type armed conflict
SELECT DISTINCT ?p WHERE { resource:Simon_Suhler property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
armed conflict
Q849680
SYSTEM
American Indian Wars
Q849680
action filter_type
action find
entity Q7519846
relation P607
type Q350604
Part that person took in the [ANSWER]
SELECT DISTINCT ?p WHERE { resource:Q7519846 property:P607 ?p . ?p rdf:type ontology:Q350604 }
American Indian Wars
Part that person took in the American Indian Wars
American Indian Wars
action filter_type
action find
entity Simon Suhler
relation conflict
type armed conflict
SELECT DISTINCT ?p WHERE { resource:Simon_Suhler property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q880154 Q7519846
P607
Q350604
USER
Or John Malcolm Patterson?
OR((Q7519846,P607,c(Q350604)), (Q880154,P607,c(Q350604)))
action filter_type
action union
action find
entity Q7519846
relation P607
action find
entity Q880154
relation P607
type Q350604
{'OR': [['Q7519846', 'P607', {'concept': 'Q350604'}], ['Q880154', 'P607', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q7519846 property:P607 ?w } UNION { resource:Q880154 property:P607 ?w } } . ?w rdf:type ontology:Q350604 }
John Malcolm Patterson Simon Suhler
action filter_type
action union
action find
entity Simon Suhler
relation conflict
action find
entity John Malcolm Patterson
relation conflict
type armed conflict
{'OR': [['Simon Suhler', 'conflict', {'concept': 'armed conflict'}], ['John Malcolm Patterson', 'conflict', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Simon_Suhler property:conflict ?w } UNION { resource:John_Malcolm_Patterson property:conflict ?w } } . ?w rdf:type ontology:armed_conflict }
[]
armed conflict
Q849680 Q8663
SYSTEM
American Indian Wars, Korean War
Q849680 Q8663
OR((Q7519846,P607,c(Q350604)), (Q880154,P607,c(Q350604)))
action filter_type
action union
action find
entity Q7519846
relation P607
action find
entity Q880154
relation P607
type Q350604
[ANSWERS]
{'OR': [['Q7519846', 'P607', {'concept': 'Q350604'}], ['Q880154', 'P607', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q7519846 property:P607 ?w } UNION { resource:Q880154 property:P607 ?w } } . ?w rdf:type ontology:Q350604 }
American Indian Wars Korean War
American Indian Wars Korean War
action filter_type
action union
action find
entity Simon Suhler
relation conflict
action find
entity John Malcolm Patterson
relation conflict
type armed conflict
{'OR': [['Simon Suhler', 'conflict', {'concept': 'armed conflict'}], ['John Malcolm Patterson', 'conflict', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Simon_Suhler property:conflict ?w } UNION { resource:John_Malcolm_Patterson property:conflict ?w } } . ?w rdf:type ontology:armed_conflict }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7883073
P1411
Q618779 Q502895 Q838948
USER
Which awards did less number of people or works of art receive than Under Armour Undeniable Performance ESPY Award ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action less
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7883073
relation P1411
type Q502895
type Q838948
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?u ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?r rdf:type ?u } . ?r property:P1411 resource:Q7883073 } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?k WHERE { { ?c property:P1411 ?k . ?k rdf:type ontology:Q618779 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P1411 ?k . ?k rdf:type ontology:Q618779 . ?c rdf:type ontology:Q838948 } } GROUP BY ?k } }
Under Armour Undeniable Performance ESPY Award
action less
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action count
action filter_multi_types
action find_reverse
entity Under Armour Undeniable Performance ESPY Award
relation nominated for
type common name
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?u ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?r rdf:type ?u } . ?r property:nominated_for resource:Under_Armour_Undeniable_Performance_ESPY_Award } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?k WHERE { { ?c property:nominated_for ?k . ?k rdf:type ontology:award . ?c rdf:type ontology:common_name } UNION { ?c property:nominated_for ?k . ?k rdf:type ontology:award . ?c rdf:type ontology:work_of_art } } GROUP BY ?k } }
[]
award common name work of art
Q840286 Q1328249 Q1441676
SYSTEM
Best Actress Award, National Board of Review Award for Best Foreign Language Film, American Music Award for Favorite Pop/Rock Band/Duo/Group
Q3841609 Q3841608 Q3841600 Q3841602 Q17135175 Q3664507 Q7243504 Q7243505 Q7243502 Q7243503 Q7243500 Q7413657 Q7243508 Q543729 Q11886698 Q915228 Q1027880 Q24054725 Q48786 Q20978457 Q5461357 Q5593762 Q850243 Q5593767 Q16994369 Q6496369 Q6496367 Q2101397 Q5243455 Q38461 Q38465 Q21588788 Q5280676 Q5280672 Q15046323 Q5305729 Q1204940 Q7821800 Q5305723 Q16911512 Q1619268 Q7929098 Q18693547 Q847054 Q1161136 Q17008272 Q5593841 Q1542147 Q840286 Q7243501 Q6952072 Q6952074 Q7243495 Q7243496 Q7243497 Q7243498 Q7243499 Q6496382 Q7569452 Q2620100 Q24034699 Q2603180 Q5942214 Q494453 Q4835653 Q5533173 Q7826362 Q5593894 Q5593895 Q369255 Q4921549 Q678413 Q3276722 Q546779 Q5305718 Q5579574 Q848322 Q1328249 Q21588804 Q7243510 Q7243513 Q1285780 Q7243517 Q7826358 Q16162550 Q5593877 Q17048589 Q16987659 Q24034704 Q1870460 Q4896808 Q6496351 Q494414 Q24050343 Q3404587 Q5243445 Q889841 Q1780176 Q21588796 Q9395567 Q38473 Q38470 Q21973897 Q24050333 Q24050339 Q2475536 Q7826367 Q4649803 Q4354969 Q1357770 Q3841598 Q3841592 Q12314193 Q17092538 Q16938408 Q7569444 Q7569445 Q1542151 Q3841620 Q6496325 Q6952067 Q24054053 Q981339 Q24054058 Q493311 Q6496396 Q1414673 Q38435 Q7929113 Q17010286 Q18693967 Q392586 Q1441552 Q2085662 Q5593886 Q5593881 Q3113384 Q3113382 Q1441676 Q16827133 Q4921552 Q4921550 Q4824165 Q16994372 Q5530641 Q7413645 Q327154 Q2018307 Q38138 Q505395 Q1268066 Q16324366 Q4896723 Q4744486 Q5593902 Q1542160 Q494448 Q16146879 Q493325 Q6496340 Q1275727 Q3225582 Q1353326 Q1659576 Q10761808 Q8038463 Q1282644 Q99700 Q1527242 Q6496338 Q6496339 Q6496345 Q2558222 Q7102152 Q7382193 Q17009285 Q2730331 Q6394341 Q1161113 Q245643 Q3841616 Q3841615 Q782517 Q3841613 Q3841611 Q3841595 Q3841594 Q3841596 Q3841619 Q6952051 Q7886343 Q6952059 Q3492779 Q7929109 Q16943561 Q1061238 Q5461347 Q1700510 Q17010296 Q1659587 Q1659585 Q6496377 Q24050363 Q1659581 Q6496373 Q16155407 Q2603356 Q24054038 Q1369077 Q494443 Q38457 Q38451 Q3077281 Q821166 Q1270715 Q775028 Q1542811 Q1326340 Q2781969 Q566905 Q7113054 Q889836 Q3352913 Q4649829 Q821010 Q1071326 Q7929089 Q1505018 Q2549777 Q2024470 Q390951 Q221178 Q5593858 Q5593859 Q4896824 Q5593750 Q5593754 Q5593757 Q4649798 Q6496400 Q6496401 Q1271740 Q6496399 Q4896553 Q5461362 Q24054773 Q24034701 Q3131545 Q586140 Q7826370 Q249095 Q19858055 Q3403236 Q17500606 Q1011547 Q5593813 Q5593815 Q3965593 Q3019365
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action less
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7883073
relation P1411
type Q502895
type Q838948
Than Under Armour Undeniable Performance ESPY Award for [ANSWERS] less number of people or works of art received
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?u ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?r rdf:type ?u } . ?r property:P1411 resource:Q7883073 } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?k WHERE { { ?c property:P1411 ?k . ?k rdf:type ontology:Q618779 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P1411 ?k . ?k rdf:type ontology:Q618779 . ?c rdf:type ontology:Q838948 } } GROUP BY ?k } }
MTV Europe Music Award for Best Norwegian Act MTV Europe Music Award for Best Nordic Act MTV Europe Music Award for Best French Act MTV Europe Music Award for Best Danish Act Latin Grammy Award for Best Urban Performance Central Ohio Film Critics Association Award for Best Actress Primetime Emmy Award for Outstanding Costumes for a Series Primetime Emmy Award for Outstanding Main Title Design Primetime Emmy Award for Outstanding Cinematography for a Single-Camera Series Primetime Emmy Award for Outstanding Costumes for a Miniseries, Movie or a Special Primetime Emmy Award for Outstanding Cinematography for a One Hour Series San Diego Film Critics Society Award for Best Supporting Actress Primetime Emmy Award for Outstanding Music Composition for a Series MTV Video Music Award for Best Group Video Jussi Award for Best Supporting Actress MTV Video Music Award for Best Rock Video Grammy Award for Best Pop Duo/Group Performance Best of 2010 Award for Best Comic-Book Adaptation Sakharov Prize Gotham Award for Best Documentary Florida Film Critics Circle Award for Best Screenplay Grammy Award for Best Classical Performance – Instrumental Soloist or Soloists Grammy Award for Best Hard Rock/Metal Performance Grammy Award for Best Contemporary (R&R) Solo Vocal Performance – Male or Female Grammy Award for Best Latin Urban Album Latin Grammy Award for Best Pop Album by a Duo or Group with Vocals Latin Grammy Award for Best Norteño Album Political Film Society Award for Human Rights Daytime Emmy Award for Outstanding Talk Show Informative MTV Europe Music Award for Best Alternative MTV Europe Music Award for Best Dance Harvey Award for Best Artist Directors Guild of America Award for Outstanding Directing – Reality Programs Directors Guild of America Award for Outstanding Directing – Daytime Serials Daytime Emmy Award for Outstanding Drama Series Directing Team Drama Desk Award for Unique Theatrical Experience IQ Award Tony Award for Best Stage Technician Drama Desk Award for Outstanding Revival of a Musical American Music Award for Favorite Rap/Hip-Hop Band/Duo/Group Grammy Award for Best Classical Contemporary Composition Vijay Award for Best Debut Actor Jussi Award for Best Supporting Actor MTV Video Music Award for Best Dance Video MTV Video Music Award for Best Stage Performance Latin Grammy Award for Best Ranchero Album Grammy Award for Best New Age Album Grammy Award for Best Dance/Electronic Album Best Actress Award Primetime Emmy Award for Outstanding Cinematography for a Multi-Camera Series NAACP Image Award for Outstanding Television Movie, Mini-Series or Dramatic Special NAACP Image Award for Outstanding Variety – Series or Special Primetime Emmy Award for Outstanding Casting for a Comedy Series Primetime Emmy Award for Outstanding Casting for a Miniseries, Movie, or a Special Primetime Emmy Award for Outstanding Casting for a Drama Series Primetime Emmy Award for Outstanding Choreography Primetime Emmy Award for Outstanding Cinematography for a Half-Hour Series Latin Grammy Award for Best Rock Vocal Album, Duo or Group Southeastern Film Critics Association Award for Best Original Screenplay Academy of Canadian Cinema and Television Award for Best Motion Picture Scream Award for Best Superhero MTV Europe Music Award for Best Ukrainian Act Hundred Flowers Award for Best Animation Online Film Critics Society Award for Best Editing BIFA Award for Best British Short Film Genie Award for Best Achievement in Music – Original Song Toronto Film Critics Association Award for Best Director Grammy Award for Best Traditional Folk Album Grammy Award for Best Traditional Gospel Album César Award for Best Animated Short Film Black Reel Award for Best Breakthrough Performance Deutscher Fernsehpreis Broadcast Film Critics Association Award for Best Makeup Frauenkrimipreis der Stadt Wiesbaden Drama Desk Award for Outstanding Music in a Play Golden Horse Award for Best Feature Film MTV Video Music Award for Best Video Game Soundtrack National Board of Review Award for Best Foreign Language Film Harvey Award for Best Writer/Artist Primetime Emmy Award for Outstanding Single-Camera Picture Editing for a Comedy Series Primetime Emmy Award for Outstanding Special Visual Effects Saturn Award for Best Syndicated/Cable Television Series Primetime Emmy Award for Outstanding Variety, Music or Comedy Series Toronto Film Critics Association Award for Best Actress MTV Europe Music Award for Best Australian Act Grammy Award for Best Small Ensemble Performance Primetime Emmy Award for Outstanding Narrator Primetime Emmy Award for Short-format Animation Scream Award for Best Supporting Actor Los Angeles Film Critics Association Award for Best Music Best Soccer Player ESPY Award Latin Grammy Award for Best Folk Album Online Film Critics Society Award for Best Original Score Scream Award for Best Science Fiction Movie Fipresci Prize Daytime Emmy Award for Outstanding Drama Series Writing Team Bodil Award for Best Actor in a Supporting Role Tony Award for Best Musical Harvey Award for Best Writer Śląski Wawrzyn Literacki MTV Europe Music Award for Best Pop MTV Europe Music Award for Best Live Act Grammy Award for Best Recording for Children Scream Award for Best Ensemble Scream Award for Best Cameo Robert Award for Best Costume Design Toronto Film Critics Association Award for Best Supporting Actor AACTA Award for Best Direction in Television Primetime Emmy Award for Outstanding Host for a Reality or Reality-Competition Program Saturn Award for Best Guest Starring Role on Television MTV Europe Music Award for Best Asian Act MTV Europe Music Award for Best Album Grammy Award for Best Comedy Album Primetime Emmy Award for Outstanding Stunt Coordination MTV Europe Music Award for Best US Act Southeastern Film Critics Association Award for Best Actor Southeastern Film Critics Association Award for Best Actress Grammy Award for Best Jazz Fusion Performance MTV Europe Music Award for Best Group Latin Grammy Award for Best Alternative Song NAACP Image Award for Outstanding Supporting Actor in a Comedy Series Golden Schmoes for Best Sci-Fi Movie of the Year MTV Video Music Award for Best Overall Performance Golden Schmoes for Best T&A of the Year Online Film Critics Society Award for Best Director Latin Grammy Award for Best Traditional Tropical Album Filmfestival Max Ophuels Prize MTV Europe Music Award for Best Video Vijay Award for Best Supporting Actress Primetime Emmy Award for Outstanding Art Direction for a Multi-Camera Series Iskelmä-Finlandia James Tait Black Memorial Prize American Music Award for Favorite Country Band/Duo/Group MTV Europe Music Award for Best Latin American Act Grammy Award for Best Soul Gospel Performance by a Duo or Group, Choir or Chorus Grammy Award for Best Soul Gospel Performance, Female Grammy Award for Best Jazz Vocal Album Grammy Award for Best Spoken Word Album for Children American Music Award for Favorite Pop/Rock Band/Duo/Group Best Male College Basketball Player ESPY Award Black Reel Award for Best Film Black Reel Award for Best Director Australian Film Institute International Award for Best Actor Grammy Award for Best Soul Gospel Performance Gemini Award for Best Dramatic Series San Diego Film Critics Society Award for Best Adapted Screenplay Hans Christian Andersen Award Tony Award for Best Revival of a Musical MTV Europe Music Award for Best Rock Los Angeles Film Critics Association Award for Best Foreign Language Film Saturn Award for Best Supporting Actor on Television Robert Award for Best Production Design Best Male Action Sports Athlete ESPY Award American Music Award for Favorite Contemporary Inspirational Artist Grammy Award for Best Vocal Arrangement for Two or More Voices Grammy Award for Best Hard Rock Performance Online Film Critics Society Award for Best Documentary Film International Emmy Award for best drama series Online Film Critics Society Award for Best Picture Latin Grammy Award for Best Contemporary Pop Vocal Album Saturn Award for Best Actor on Television Broadcast Film Critics Association Award for Best Action Film Friedrich Glauser Award NAACP Image Award for Outstanding Comedy Series Toronto Film Critics Association Award for Best Actor Writers Guild of America Award for Television: Animation Saturn Award for Best Special Edition DVD Release Order of Canada American Music Award for Favorite Alternative Artist Latin Grammy Award for Best Classical Album Latin Grammy Award for Best Classical Contemporary Composition Latin Grammy Award for Best Engineered Album Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Television Series Orgullosamente Latino Award Latin Grammy Award for Best Contemporary Tropical Album NAACP Image Award for Outstanding Actor in a Comedy Series NAACP Image Award for Outstanding Actor in a Daytime Drama Series Kerrang! Award for Best Single MTV Video Music Award for Best Concept Video The Best of the Booker MTV Europe Music Award for Best German Act MTV Europe Music Award for Best Swedish Act MTV Europe Music Award for Best Baltic Act MTV Europe Music Award for Best Portuguese Act MTV Europe Music Award for Best Polish Act MTV Europe Music Award for Best R&B MTV Europe Music Award for Best Dutch & Belgian Act MTV Europe Music Award for Best UK & Ireland Act MTV Europe Music Award for Best Hungarian Act NAACP Image Award for Entertainer of the Year Mussolini Cup NAACP Image Award for Outstanding Jazz Artist Grammy Award for Best Contemporary Blues Album Vijay Award for Best Story, Screenplay Writer American Music Award for Single of the Year Nastro d'Argento for Best Director Florida Film Critics Circle Award for Best Actress Golden Leopard Primetime Emmy Award for Outstanding Character Voice-Over Performance NAACP Image Award for Outstanding Actress in a Drama Series NAACP Image Award for Outstanding Actress in a Comedy Series Latin Grammy Award for Best Rock Album Scream Award for Fight Scene of the Year NAACP Image Award for Outstanding Drama Series Latin Grammy Award for Best Recording Package MTV Europe Music Award for Best Canadian Act Zee Cine Award for Best Playback Singer – Male Golden Schmoes for Best Special Effects of the Year British Academy Television Awards Online Film Critics Society Award for Best Breakthrough Performance MTV Europe Music Award for Best World Stage Performance MTV Europe Music Award for Biggest Fans Rembrandt Award MTV Video Music Award for Best Artist Website Saturn Award for Best Classic Film DVD Release Carrosse d'or Grand prix littéraire d'Afrique noire Grammy Award for Best Comedy Album Premios Iris Annie Award Outstanding Team ESPY Award Bodil Award for Best Actress in a Supporting Role Bodil Award for Best Non-American Film AACTA Award for Best Television Drama Series MTV Video Music Award for Best Alternative Video Un Certain Regard Vijay Award for Best Actress National Book Critics Circle Award Golden Reel Award Online Film Critics Society Award for Best Costume Design Agatha-Christie-Krimipreis Bram Stoker Award for Novel Grammy Award for Best Pop Instrumental Performance with Vocal Coloring Grammy Award for Best Pop/Contemporary Gospel Album Best U.S. Male Olympian ESPY Award Grammy Award for Best Blues Album Grammy Award for Best Boxed or Special Limited Edition Package Grammy Award for Best Chamber Music Performance AACTA Award for Best Children’s Television Series Latin Grammy Award for Best Urban Song Latin Grammy Award for Producer of the Year Saturn Award for Best Retro Television Series on DVD Latin Grammy Award for Best Urban Music Album Best Action Sports Athlete ESPY Award Florida Film Critics Circle Award for Best Supporting Actress Italian Online Movie Award for Best Special Effects Scream Award for Best Science Fiction Actor Primetime Emmy Award for Outstanding Voice-Over Performance Best Actor Award Toronto Film Critics Association Award for Best Supporting Actress Online Film Critics Society Award for Best Adapted Screenplay Artist of the Year Primetime Emmy Award for Outstanding Animated Program Golden Horse Award for Best Art Direction Golden Globe Award Grammy Award for Best Historical Album Grammy Award for Best Inspirational Performance Southeastern Film Critics Association Award for Best Supporting Actor Daytime Emmy Award for Outstanding Drama Series
Than Under Armour Undeniable Performance ESPY Award for Best Actress Award, National Board of Review Award for Best Foreign Language Film and American Music Award for Favorite Pop/Rock Band/Duo/Group less number of people or works of art received
Best Actress Award National Board of Review Award for Best Foreign Language Film American Music Award for Favorite Pop/Rock Band/Duo/Group
action less
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action count
action filter_multi_types
action find_reverse
entity Under Armour Undeniable Performance ESPY Award
relation nominated for
type common name
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?u ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?r rdf:type ?u } . ?r property:nominated_for resource:Under_Armour_Undeniable_Performance_ESPY_Award } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?k WHERE { { ?c property:nominated_for ?k . ?k rdf:type ontology:award . ?c rdf:type ontology:common_name } UNION { ?c property:nominated_for ?k . ?k rdf:type ontology:award . ?c rdf:type ontology:work_of_art } } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1422400 Q840286
P161 P1346
Q502895
USER
Which people were the champions of Best Actress Award and were casted in Raising Helen ?
AND((Q840286,P1346,c(Q502895)), (Q1422400,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q840286
relation P1346
action find
entity Q1422400
relation P161
type Q502895
{'AND': [['Q840286', 'P1346', {'concept': 'Q502895'}], ['Q1422400', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { resource:Q840286 property:P1346 ?a . resource:Q1422400 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Raising Helen Best Actress Award
action filter_type
action intersection
action find
entity Best Actress Award
relation winner
action find
entity Raising Helen
relation cast member
type common name
{'AND': [['Best Actress Award', 'winner', {'concept': 'common name'}], ['Raising Helen', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { resource:Best_Actress_Award property:winner ?a . resource:Raising_Helen property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q349391
SYSTEM
Helen Mirren
Q349391
AND((Q840286,P1346,c(Q502895)), (Q1422400,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q840286
relation P1346
action find
entity Q1422400
relation P161
type Q502895
[ANSWER] was the champions of Best Actress Award and was casted in Raising Helen
{'AND': [['Q840286', 'P1346', {'concept': 'Q502895'}], ['Q1422400', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { resource:Q840286 property:P1346 ?a . resource:Q1422400 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Helen Mirren
Helen Mirren was the champions of Best Actress Award and was casted in Raising Helen
Helen Mirren
action filter_type
action intersection
action find
entity Best Actress Award
relation winner
action find
entity Raising Helen
relation cast member
type common name
{'AND': [['Best Actress Award', 'winner', {'concept': 'common name'}], ['Raising Helen', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { resource:Best_Actress_Award property:winner ?a . resource:Raising_Helen property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1027
Q2668072 Q1002697 Q618779
USER
Which awards are given by atleast 1 collections or periodical literatures ?
(c(Q618779),P1027,c(Q2668072)|c(Q1002697))
action atleast
action union
action find_tuple_counts
relation P1027
type Q618779
type Q2668072
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
value 1
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q2668072'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?z ) { ( ontology:Q1002697 ) ( ontology:Q2668072 ) } . ?a rdf:type ?z } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
action atleast
action union
action find_tuple_counts
relation conferred by
type award
type collection
action find_tuple_counts
relation conferred by
type award
type periodical literature
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'collection'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?z ) { ( ontology:periodical_literature ) ( ontology:collection ) } . ?a rdf:type ?z } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
[]
collection periodical literature award
Q729513 Q12327571 Q1253764
SYSTEM
Pichichi Trophy, Montanas Litteraturpris, Dr.-Heinz-Cüppers-Preis
Q21126541 Q1253764 Q1124948 Q23015673 Q5580323 Q1793320 Q3404975 Q729513 Q12327571
(c(Q618779),P1027,c(Q2668072)|c(Q1002697))
action atleast
action union
action find_tuple_counts
relation P1027
type Q618779
type Q2668072
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
value 1
[ANSWERS] are given by atleast 1 collections or periodical literatures
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q2668072'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?z ) { ( ontology:Q1002697 ) ( ontology:Q2668072 ) } . ?a rdf:type ?z } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
Kirkus Prize Dr.-Heinz-Cüppers-Preis Ricardo Zamora Trophy Reichel Award Goldsmiths Prize Kurt Vorhofer Award Lumière Award, Lyon Festival of cinema Pichichi Trophy Montanas Litteraturpris
Pichichi Trophy, Montanas Litteraturpris and Dr.-Heinz-Cüppers-Preis are given by atleast 1 collections or periodical literatures
Pichichi Trophy Montanas Litteraturpris Dr.-Heinz-Cüppers-Preis
action atleast
action union
action find_tuple_counts
relation conferred by
type award
type collection
action find_tuple_counts
relation conferred by
type award
type periodical literature
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'collection'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?z ) { ( ontology:periodical_literature ) ( ontology:collection ) } . ?a rdf:type ?z } GROUP BY ?e } . FILTER ( ?c >= 1 ) }
[]