Simple Question (Direct)
Simple Question
Q1578998
P166
Q618779
USER
What was won by Hans Christof Müller-Busch ?
(Q1578998,P166,c(Q618779))
action filter_type
action find
entity Q1578998
relation P166
type Q618779
['Q1578998', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q1578998 property:P166 ?i }
Hans Christof Müller-Busch
action filter_type
action find
entity Hans Christof Müller-Busch
relation award received
type award
['Hans Christof Müller-Busch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Hans_Christof_Müller-Busch property:award_received ?i }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q1578998,P166,c(Q618779))
action filter_type
action find
entity Q1578998
relation P166
type Q618779
Germany [ANSWER] was won by Hans Christof Müller-Busch
['Q1578998', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q618779 . resource:Q1578998 property:P166 ?i }
Cross of the Order of Merit of the Federal Republic of Germany
Germany Cross of the Order of Merit of the Federal Republic of Germany was won by Hans Christof Müller-Busch
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Hans Christof Müller-Busch
relation award received
type award
['Hans Christof Müller-Busch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:award . resource:Hans_Christof_Müller-Busch property:award_received ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1578998
P734
Q82799
USER
Who has the surname that person ?
(Q10905380,P734,c(Q82799))
action filter_type
action find
entity Q1578998
relation P734
type Q82799
['Q10905380', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q1578998 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Hans Christof Müller-Busch
action filter_type
action find
entity Hans Christof Müller-Busch
relation family name
type name
['Cross of the Order of Merit of the Federal Republic of Germany', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Hans_Christof_Müller-Busch property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q8157228
SYSTEM
Müller
Q8157228
(Q10905380,P734,c(Q82799))
action filter_type
action find
entity Q1578998
relation P734
type Q82799
[ANSWER] has the surname that person
['Q10905380', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q1578998 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Müller
Müller has the surname that person
Müller
action filter_type
action find
entity Hans Christof Müller-Busch
relation family name
type name
['Cross of the Order of Merit of the Federal Republic of Germany', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Hans_Christof_Müller-Busch property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1578998
P108
Q19335303
USER
Which German business organization employs Hans Christof Müller-Busch ?
(Q1578998,P108,c(Q19335303))
action filter_type
action find
entity Q1578998
relation P108
type Q19335303
['Q1578998', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?q WHERE { resource:Q1578998 property:P108 ?q . ?q rdf:type ontology:Q19335303 }
Hans Christof Müller-Busch
action filter_type
action find
entity Hans Christof Müller-Busch
relation employer
type type of business entity in Germany
['Hans Christof Müller-Busch', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?q WHERE { resource:Hans_Christof_Müller-Busch property:employer ?q . ?q rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q1578998,P108,c(Q19335303))
action filter_type
action find
entity Q1578998
relation P108
type Q19335303
[ANSWER] employs Hans Christof Müller-Busch
['Q1578998', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?q WHERE { resource:Q1578998 property:P108 ?q . ?q rdf:type ontology:Q19335303 }
Humboldt University of Berlin
Humboldt University of Berlin employs Hans Christof Müller-Busch
Humboldt University of Berlin
action filter_type
action find
entity Hans Christof Müller-Busch
relation employer
type type of business entity in Germany
['Hans Christof Müller-Busch', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?q WHERE { resource:Hans_Christof_Müller-Busch property:employer ?q . ?q rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152087
P138
Q502895
USER
Which people are the origin of that German business organization ?
(Q152087,P138,c(Q502895))
action filter_type
action find
entity Q152087
relation P138
type Q502895
['Q152087', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q152087 property:P138 ?d . ?d rdf:type ontology:Q502895 }
Humboldt University of Berlin
action filter_type
action find
entity Humboldt University of Berlin
relation named after
type common name
['Humboldt University of Berlin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Humboldt_University_of_Berlin property:named_after ?d . ?d rdf:type ontology:common_name }
[]
common name
Q77888 Q6694
SYSTEM
Wilhelm von Humboldt, Alexander von Humboldt
Q77888 Q6694
(Q152087,P138,c(Q502895))
action filter_type
action find
entity Q152087
relation P138
type Q502895
[ANSWERS] are the origin of that German business organization
['Q152087', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q152087 property:P138 ?d . ?d rdf:type ontology:Q502895 }
Wilhelm von Humboldt Alexander von Humboldt
Wilhelm von Humboldt and Alexander von Humboldt are the origin of that German business organization
Wilhelm von Humboldt Alexander von Humboldt
action filter_type
action find
entity Humboldt University of Berlin
relation named after
type common name
['Humboldt University of Berlin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Humboldt_University_of_Berlin property:named_after ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19561626
Q502895
USER
And what about Sweelinckstraat?
(Q19561626,P138,c(Q502895))
action filter_type
action find
entity Q19561626
relation P138
type Q502895
['Q19561626', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q19561626 property:P138 ?k . ?k rdf:type ontology:Q502895 }
Sweelinckstraat
action filter_type
action find
entity Sweelinckstraat
relation named after
type common name
['Sweelinckstraat', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Sweelinckstraat property:named_after ?k . ?k rdf:type ontology:common_name }
[]
common name
Q110294
SYSTEM
Jan Pieterszoon Sweelinck
Q110294
(Q19561626,P138,c(Q502895))
action filter_type
action find
entity Q19561626
relation P138
type Q502895
[ANSWER]
['Q19561626', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q19561626 property:P138 ?k . ?k rdf:type ontology:Q502895 }
Jan Pieterszoon Sweelinck
Jan Pieterszoon Sweelinck
action filter_type
action find
entity Sweelinckstraat
relation named after
type common name
['Sweelinckstraat', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Sweelinckstraat property:named_after ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q110294 Q7936642 Q5730390
P20
Q56061
USER
Does that person have Visundarpur Bara Sakhaura and Rafiabad as the area of death ?
(Q110294,P20,Q7936642) (Q110294,P20,Q5730390)
action is_in
entity Q110294
action intersection
action find_reverse
entity Q7936642
relation P20
action find_reverse
entity Q5730390
relation P20
['Q110294', 'P20', 'Q7936642'] ['Q110294', 'P20', 'Q5730390']
ASK WHERE { resource:Q110294 property:P20 resource:Q7936642 . resource:Q110294 property:P20 resource:Q5730390 }
Jan Pieterszoon Sweelinck Visundarpur Bara Sakhaura Rafiabad
action is_in
entity Jan Pieterszoon Sweelinck
action intersection
action find_reverse
entity Visundarpur Bara Sakhaura
relation place of death
action find_reverse
entity Rafiabad
relation place of death
['Jan Pieterszoon Sweelinck', 'place of death', 'Visundarpur Bara Sakhaura'] ['Jan Pieterszoon Sweelinck', 'place of death', 'Rafiabad']
ASK WHERE { resource:Jan_Pieterszoon_Sweelinck property:place_of_death resource:Visundarpur_Bara_Sakhaura . resource:Jan_Pieterszoon_Sweelinck property:place_of_death resource:Rafiabad }
[]
administrative territorial entity
SYSTEM
NO
(Q110294,P20,Q7936642) (Q110294,P20,Q5730390)
action is_in
entity Q110294
action intersection
action find_reverse
entity Q7936642
relation P20
action find_reverse
entity Q5730390
relation P20
[ANSWER]
['Q110294', 'P20', 'Q7936642'] ['Q110294', 'P20', 'Q5730390']
ASK WHERE { resource:Q110294 property:P20 resource:Q7936642 . resource:Q110294 property:P20 resource:Q5730390 }
No
action is_in
entity Jan Pieterszoon Sweelinck
action intersection
action find_reverse
entity Visundarpur Bara Sakhaura
relation place of death
action find_reverse
entity Rafiabad
relation place of death
['Jan Pieterszoon Sweelinck', 'place of death', 'Visundarpur Bara Sakhaura'] ['Jan Pieterszoon Sweelinck', 'place of death', 'Rafiabad']
ASK WHERE { resource:Jan_Pieterszoon_Sweelinck property:place_of_death resource:Visundarpur_Bara_Sakhaura . resource:Jan_Pieterszoon_Sweelinck property:place_of_death resource:Rafiabad }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were min number of works of art and people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmin
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?i WHERE { { ?c rdf:type ontology:Q502895 . ?i rdf:type ontology:Q618779 . ?c property:P1411 ?i } UNION { ?i rdf:type ontology:Q618779 . ?c rdf:type ontology:Q838948 . ?c property:P1411 ?i } } GROUP BY ?i } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?k property:P1411 ?x . ?x rdf:type ontology:Q618779 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P1411 ?x . ?x rdf:type ontology:Q618779 . ?k rdf:type ontology:Q838948 } } GROUP BY ?x } }
action argmin
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
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?i WHERE { { ?c rdf:type ontology:common_name . ?i rdf:type ontology:award . ?c property:nominated_for ?i } UNION { ?i rdf:type ontology:award . ?c rdf:type ontology:work_of_art . ?c property:nominated_for ?i } } GROUP BY ?i } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?k property:nominated_for ?x . ?x rdf:type ontology:award . ?k rdf:type ontology:common_name } UNION { ?k property:nominated_for ?x . ?x rdf:type ontology:award . ?k rdf:type ontology:work_of_art } } GROUP BY ?x } }
[]
award work of art common name
Q1441676 Q847054 Q543729
SYSTEM
American Music Award for Favorite Pop/Rock Band/Duo/Group, MTV Video Music Award for Best Dance Video, MTV Video Music Award for Best Group Video
Q3841608 Q3841602 Q17135175 Q7243504 Q7243505 Q7243503 Q543729 Q850243 Q16994369 Q6496367 Q38461 Q38465 Q5280676 Q5280672 Q15046323 Q16911512 Q1619268 Q847054 Q5593841 Q1542147 Q7243501 Q7243495 Q7243496 Q7243497 Q7243498 Q6496382 Q2603180 Q5593894 Q5593895 Q848322 Q7243510 Q7243513 Q1285780 Q17048589 Q16987659 Q5243445 Q38473 Q38470 Q4649803 Q4354969 Q1357770 Q3841598 Q3841592 Q17092538 Q1542151 Q3841620 Q17010286 Q1441552 Q2085662 Q1441676 Q38138 Q1268066 Q4744486 Q5593902 Q16146879 Q1275727 Q1659576 Q8038463 Q1527242 Q6496345 Q2558222 Q7102152 Q2730331 Q6394341 Q245643 Q3841616 Q3841613 Q3841611 Q3841594 Q3841619 Q7929109 Q16943561 Q17010296 Q1659581 Q1369077 Q38457 Q821166 Q2781969 Q7113054 Q4649829 Q821010 Q1071326 Q1505018 Q2549777 Q221178 Q5593859 Q5593757 Q4649798 Q6496400 Q1271740 Q6496399 Q3131545
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmin
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[ANSWERS] were min number of works of art and people a recipient of
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?i WHERE { { ?c rdf:type ontology:Q502895 . ?i rdf:type ontology:Q618779 . ?c property:P1411 ?i } UNION { ?i rdf:type ontology:Q618779 . ?c rdf:type ontology:Q838948 . ?c property:P1411 ?i } } GROUP BY ?i } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?k property:P1411 ?x . ?x rdf:type ontology:Q618779 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P1411 ?x . ?x rdf:type ontology:Q618779 . ?k rdf:type ontology:Q838948 } } GROUP BY ?x } }
MTV Europe Music Award for Best Nordic Act MTV Europe Music Award for Best Danish Act Latin Grammy Award for Best Urban Performance Primetime Emmy Award for Outstanding Costumes for a Series Primetime Emmy Award for Outstanding Main Title Design Primetime Emmy Award for Outstanding Costumes for a Miniseries, Movie or a Special MTV Video Music Award for Best Group Video Grammy Award for Best Hard Rock/Metal Performance Grammy Award for Best Latin Urban Album Latin Grammy Award for Best Norteño Album MTV Europe Music Award for Best Alternative MTV Europe Music Award for Best Dance 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 American Music Award for Favorite Rap/Hip-Hop Band/Duo/Group Grammy Award for Best Classical Contemporary Composition MTV Video Music Award for Best Dance Video Grammy Award for Best New Age Album Grammy Award for Best Dance/Electronic Album Primetime Emmy Award for Outstanding Cinematography for a Multi-Camera Series 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 Latin Grammy Award for Best Rock Vocal Album, Duo or Group MTV Europe Music Award for Best Ukrainian Act Grammy Award for Best Traditional Folk Album Grammy Award for Best Traditional Gospel Album MTV Video Music Award for Best Video Game Soundtrack 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 Narrator Primetime Emmy Award for Short-format Animation Daytime Emmy Award for Outstanding Drama Series Writing Team MTV Europe Music Award for Best Pop MTV Europe Music Award for Best Live Act 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 Primetime Emmy Award for Outstanding Stunt Coordination Grammy Award for Best Jazz Fusion Performance MTV Europe Music Award for Best Group Primetime Emmy Award for Outstanding Art Direction for a Multi-Camera Series American Music Award for Favorite Country Band/Duo/Group MTV Europe Music Award for Best Latin American Act American Music Award for Favorite Pop/Rock Band/Duo/Group MTV Europe Music Award for Best Rock Saturn Award for Best Supporting Actor on Television American Music Award for Favorite Contemporary Inspirational Artist Grammy Award for Best Vocal Arrangement for Two or More Voices International Emmy Award for best drama series Saturn Award for Best Actor on Television NAACP Image Award for Outstanding Comedy Series Writers Guild of America Award for Television: Animation American Music Award for Favorite Alternative Artist 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 NAACP Image Award for Outstanding Actor in a Daytime Drama Series Kerrang! Award for Best Single The Best of the Booker MTV Europe Music Award for Best German Act MTV Europe Music Award for Best Portuguese Act MTV Europe Music Award for Best Polish Act MTV Europe Music Award for Best Dutch & Belgian Act MTV Europe Music Award for Best Hungarian Act Vijay Award for Best Story, Screenplay Writer American Music Award for Single of the Year Primetime Emmy Award for Outstanding Character Voice-Over Performance NAACP Image Award for Outstanding Drama Series British Academy Television Awards MTV Europe Music Award for Best World Stage Performance MTV Video Music Award for Best Artist Website Premios Iris Outstanding Team ESPY Award AACTA Award for Best Television Drama Series MTV Video Music Award for Best Alternative Video Un Certain Regard National Book Critics Circle Award Golden Reel Award Bram Stoker Award for Novel Grammy Award for Best Pop/Contemporary Gospel Album Grammy Award for Best Chamber Music Performance AACTA Award for Best Children’s Television Series Latin Grammy Award for Best Urban Song Saturn Award for Best Retro Television Series on DVD Latin Grammy Award for Best Urban Music Album Primetime Emmy Award for Outstanding Voice-Over Performance
American Music Award for Favorite Pop/Rock Band/Duo/Group, MTV Video Music Award for Best Dance Video and MTV Video Music Award for Best Group Video were min number of works of art and people a recipient of
American Music Award for Favorite Pop/Rock Band/Duo/Group MTV Video Music Award for Best Dance Video MTV Video Music Award for Best Group Video
action argmin
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
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?i WHERE { { ?c rdf:type ontology:common_name . ?i rdf:type ontology:award . ?c property:nominated_for ?i } UNION { ?i rdf:type ontology:award . ?c rdf:type ontology:work_of_art . ?c property:nominated_for ?i } } GROUP BY ?i } } . FILTER ( ?h = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?x WHERE { { ?k property:nominated_for ?x . ?x rdf:type ontology:award . ?k rdf:type ontology:common_name } UNION { ?k property:nominated_for ?x . ?x rdf:type ontology:award . ?k rdf:type ontology:work_of_art } } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q915665 Q847054
P1346
Q502895
USER
Which people were the winners of MTV Video Music Award for Best Dance Video or MTV Video Music Award for Best Direction ?
OR((Q847054,P1346,c(Q502895)), (Q915665,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q847054
relation P1346
action find
entity Q915665
relation P1346
type Q502895
{'OR': [['Q847054', 'P1346', {'concept': 'Q502895'}], ['Q915665', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { ?t property:P1346 ?s . VALUES ( ?t ) { ( resource:Q915665 ) ( resource:Q847054 ) } } . ?s rdf:type ontology:Q502895 }
MTV Video Music Award for Best Direction MTV Video Music Award for Best Dance Video
action filter_type
action union
action find
entity MTV Video Music Award for Best Dance Video
relation winner
action find
entity MTV Video Music Award for Best Direction
relation winner
type common name
{'OR': [['MTV Video Music Award for Best Dance Video', 'winner', {'concept': 'common name'}], ['MTV Video Music Award for Best Direction', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { ?t property:winner ?s . VALUES ( ?t ) { ( resource:MTV_Video_Music_Award_for_Best_Direction ) ( resource:MTV_Video_Music_Award_for_Best_Dance_Video ) } } . ?s rdf:type ontology:common_name }
[]
common name
Q21088 Q294449 Q175195 Q160009 Q201562 Q128799 Q16728588 Q272619 Q2831 Q7542
SYSTEM
Some of them are Zedd, Lil Jon, Peter Gabriel, Pink, Hayley Williams, Ricky Martin, DJ Snake, Fatboy Slim, Michael Jackson, Prince
Q204019 Q185465 Q128799 Q1351465 Q62766 Q43432 Q193676 Q165911 Q316454 Q21088 Q5608 Q295923 Q184903 Q272619 Q2831 Q203223 Q131324 Q130798 Q16728588 Q6096 Q310357 Q1744 Q201562 Q19848 Q81637 Q130311 Q40715 Q223875 Q11901 Q175195 Q7542 Q294449 Q155079 Q160009
OR((Q847054,P1346,c(Q502895)), (Q915665,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q847054
relation P1346
action find
entity Q915665
relation P1346
type Q502895
[ANSWERS] were the winners of MTV Video Music Award for Best Dance Video or MTV Video Music Award for Best Direction
{'OR': [['Q847054', 'P1346', {'concept': 'Q502895'}], ['Q915665', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { ?t property:P1346 ?s . VALUES ( ?t ) { ( resource:Q915665 ) ( resource:Q847054 ) } } . ?s rdf:type ontology:Q502895 }
M.I.A. Paula Abdul Ricky Martin Fatman Scoop Jay Z Justin Timberlake Ludacris Usher Don Henley Zedd Eminem MC Hammer David Fincher Fatboy Slim Michael Jackson Ciara Janet Jackson Kendrick Lamar DJ Snake Snoop Dogg Coolio Madonna Hayley Williams Lady Gaga Calvin Harris George Michael Jennifer Lopez Erykah Badu Beck Peter Gabriel Prince Lil Jon Missy Elliott Pink
Zedd, Lil Jon, Peter Gabriel, Pink, Hayley Williams, Ricky Martin, DJ Snake, Fatboy Slim, Michael Jackson and Prince were the winners of MTV Video Music Award for Best Dance Video or MTV Video Music Award for Best Direction
Zedd Lil Jon Peter Gabriel Pink Hayley Williams Ricky Martin DJ Snake Fatboy Slim Michael Jackson Prince
action filter_type
action union
action find
entity MTV Video Music Award for Best Dance Video
relation winner
action find
entity MTV Video Music Award for Best Direction
relation winner
type common name
{'OR': [['MTV Video Music Award for Best Dance Video', 'winner', {'concept': 'common name'}], ['MTV Video Music Award for Best Direction', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { ?t property:winner ?s . VALUES ( ?t ) { ( resource:MTV_Video_Music_Award_for_Best_Direction ) ( resource:MTV_Video_Music_Award_for_Best_Dance_Video ) } } . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 9091 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9091
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { FILTER ( ?c <= 9091 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?y } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9091
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { FILTER ( ?c <= 9091 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?y } }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9091
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { FILTER ( ?c <= 9091 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?y } }
viola bass guitar 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 trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9091
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { FILTER ( ?c <= 9091 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?y } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids did min number of people do the dubbing for ?
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?d ) WHERE { ?p property:P725 ?m . ?p rdf:type ontology:Q6619679 . ?m rdf:type ontology:Q502895 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f property:P725 ?c . ?c rdf:type ontology:Q502895 . ?f rdf:type ontology:Q6619679 } GROUP BY ?f } . FILTER ( ?i = ?k ) }
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?d ) WHERE { ?p property:voice_actor ?m . ?p rdf:type ontology:fictional_humanoid . ?m rdf:type ontology:common_name } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f property:voice_actor ?c . ?c rdf:type ontology:common_name . ?f rdf:type ontology:fictional_humanoid } GROUP BY ?f } . FILTER ( ?i = ?k ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
Min number of people did the dubbing for [ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?d ) WHERE { ?p property:P725 ?m . ?p rdf:type ontology:Q6619679 . ?m rdf:type ontology:Q502895 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f property:P725 ?c . ?c rdf:type ontology:Q502895 . ?f rdf:type ontology:Q6619679 } GROUP BY ?f } . FILTER ( ?i = ?k ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Min number of people did the dubbing for Hector Barbossa, Eli Vance and Imoen
Hector Barbossa Eli Vance Imoen
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?d ) WHERE { ?p property:voice_actor ?m . ?p rdf:type ontology:fictional_humanoid . ?m rdf:type ontology:common_name } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?i ) WHERE { ?f property:voice_actor ?c . ?c rdf:type ontology:common_name . ?f rdf:type ontology:fictional_humanoid } GROUP BY ?f } . FILTER ( ?i = ?k ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1623086 Q1205263 Q3149148
P21
Q290
USER
What are the sex of Hector Barbossa, Eli Vance and Imoen ?
(Q1623086,P21,c(Q290)) (Q1205263,P21,c(Q290)) (Q3149148,P21,c(Q290))
action union
action filter_type
action find
entity Q1623086
relation P21
type Q290
action filter_type
action find
entity Q1205263
relation P21
type Q290
action filter_type
action find
entity Q3149148
relation P21
type Q290
['Q1623086', 'P21', {'concept': 'Q290'}] ['Q1205263', 'P21', {'concept': 'Q290'}] ['Q3149148', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q290 . resource:Q1623086 property:P21 ?l } UNION { resource:Q1205263 property:P21 ?l . ?l rdf:type ontology:Q290 } }
Hector Barbossa Eli Vance Imoen
action union
action filter_type
action find
entity Hector Barbossa
relation gender
type sex
action filter_type
action find
entity Eli Vance
relation gender
type sex
action filter_type
action find
entity Imoen
relation gender
type sex
['Hector Barbossa', 'gender', {'concept': 'sex'}] ['Eli Vance', 'gender', {'concept': 'sex'}] ['Imoen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:sex . resource:Hector_Barbossa property:gender ?l } UNION { resource:Eli_Vance property:gender ?l . ?l rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q1623086,P21,c(Q290)) (Q1205263,P21,c(Q290)) (Q3149148,P21,c(Q290))
action union
action filter_type
action find
entity Q1623086
relation P21
type Q290
action filter_type
action find
entity Q1205263
relation P21
type Q290
action filter_type
action find
entity Q3149148
relation P21
type Q290
[ANSWERS]
['Q1623086', 'P21', {'concept': 'Q290'}] ['Q1205263', 'P21', {'concept': 'Q290'}] ['Q3149148', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q290 . resource:Q1623086 property:P21 ?l } UNION { resource:Q1205263 property:P21 ?l . ?l rdf:type ontology:Q290 } }
male male female
The sex of Hector Barbossa , Eli Vance and Imoen are all male, male and female
male male female
action union
action filter_type
action find
entity Hector Barbossa
relation gender
type sex
action filter_type
action find
entity Eli Vance
relation gender
type sex
action filter_type
action find
entity Imoen
relation gender
type sex
['Hector Barbossa', 'gender', {'concept': 'sex'}] ['Eli Vance', 'gender', {'concept': 'sex'}] ['Imoen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:sex . resource:Hector_Barbossa property:gender ?l } UNION { resource:Eli_Vance property:gender ?l . ?l rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2831
P27
Q15617994
USER
Which administrative territory is Michael Jackson an inhabitant of ?
(Q2831,P27,c(Q15617994))
action filter_type
action find
entity Q2831
relation P27
type Q15617994
['Q2831', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2831 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Michael Jackson
action filter_type
action find
entity Michael Jackson
relation country of citizenship
type designation for an administrative territorial entity
['Michael Jackson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Michael_Jackson property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2831,P27,c(Q15617994))
action filter_type
action find
entity Q2831
relation P27
type Q15617994
The [ANSWER] is Michael Jackson an inhabitant of
['Q2831', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2831 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
The United States of America is Michael Jackson an inhabitant of
United States of America
action filter_type
action find
entity Michael Jackson
relation country of citizenship
type designation for an administrative territorial entity
['Michael Jackson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Michael_Jackson property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P101
Q502895
USER
Who works in the domain of that administrative territory ?
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q30 . ?a rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:United_States_of_America . ?a rdf:type ontology:common_name }
[]
common name
Q498840
SYSTEM
David Janssen
Q498840
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[ANSWER] works in the domain of that administrative territory
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q30 . ?a rdf:type ontology:Q502895 }
David Janssen
David Janssen works in the domain of that administrative territory
David Janssen
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:United_States_of_America . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2831
P175
Q7725634
USER
Which literary works presented Michael Jackson ?
(c(Q7725634),P175,Q2831)
action filter_type
action find_reverse
entity Q2831
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q2831']
SELECT DISTINCT ?h WHERE { ?h property:P175 resource:Q2831 . ?h rdf:type ontology:Q7725634 }
Michael Jackson
action filter_type
action find_reverse
entity Michael Jackson
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Michael Jackson']
SELECT DISTINCT ?h WHERE { ?h property:performer resource:Michael_Jackson . ?h rdf:type ontology:literary_work }
[]
literary work
Q380825 Q210218 Q19857438
SYSTEM
Thriller, Beat It, Maria (You Were the Only One)
Q2251993 Q905780 Q1572224 Q210218 Q380825 Q1095079 Q900731 Q2427301 Q6086902 Q644504 Q2193458 Q17377038 Q662002 Q12318671 Q12838123 Q19856953 Q19856952 Q49497 Q15709886 Q16919265 Q2081168 Q19857438 Q3990260 Q1621982 Q3911368 Q16743287 Q1066094 Q1187768 Q3190282 Q16374278 Q2457117 Q3632427 Q854276
(c(Q7725634),P175,Q2831)
action filter_type
action find_reverse
entity Q2831
relation P175
type Q7725634
Thriller, beat It and Maria (You Were the Only One) presented Michael Jackson
[{'concept': 'Q7725634'}, 'P175', 'Q2831']
SELECT DISTINCT ?h WHERE { ?h property:P175 resource:Q2831 . ?h rdf:type ontology:Q7725634 }
(I Can't Make It) Another Day Speed Demon A Place with No Name Beat It Thriller Cheater D.S. Breaking News Privacy Monster Why Loving You (Michael Jackson song) Tabloid Junkie It's the Falling in Love Carousel In Our Small Way Girl Don't Take Your Love from Me I Wanna Be Where You Are You Are My Life Slave to the Rhythm (Michael Jackson song) Workin' Day and Night Maria (You Were the Only One) There Must Be More To Life Than This This Is It Price of Fame Love Never Felt So Good What More Can I Give Dangerous Just Good Friends Someone in the Dark Money Baby Be Mine Heaven Can Wait
Thriller, beat It and Maria (You Were the Only One) presented Michael Jackson
Thriller Beat It Maria (You Were the Only One)
action filter_type
action find_reverse
entity Michael Jackson
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Michael Jackson']
SELECT DISTINCT ?h WHERE { ?h property:performer resource:Michael_Jackson . ?h rdf:type ontology:literary_work }
[]