Simple Question (Direct)
Simple Question
Q495271
P86
Q502895
USER
Which person composed Le Cadeau ?
(Q495271,P86,c(Q502895))
action filter_type
action find
entity Q495271
relation P86
type Q502895
['Q495271', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q495271 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Le Cadeau
action filter_type
action find
entity Le Cadeau
relation composer
type common name
['Le Cadeau', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Le_Cadeau property:composer ?i . ?i rdf:type ontology:common_name }
[]
common name
Q313281
SYSTEM
Michel Legrand
Q313281
(Q495271,P86,c(Q502895))
action filter_type
action find
entity Q495271
relation P86
type Q502895
[ANSWER] composed Le Cadeau
['Q495271', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q495271 property:P86 ?i . ?i rdf:type ontology:Q502895 }
Michel Legrand
Michel Legrand composed Le Cadeau
Michel Legrand
action filter_type
action find
entity Le Cadeau
relation composer
type common name
['Le Cadeau', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Le_Cadeau property:composer ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313281
P26
Q502895
USER
Which people are the life partner of that one ?
(c(Q502895),P26,Q313281)
action filter_type
action find
entity Q313281
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q313281']
SELECT DISTINCT ?l WHERE { resource:Q313281 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Michel Legrand
action filter_type
action find
entity Michel Legrand
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Michel Legrand']
SELECT DISTINCT ?l WHERE { resource:Michel_Legrand property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q275066 Q2942003
SYSTEM
Macha Méril, Catherine Michel
Q275066 Q2942003
(c(Q502895),P26,Q313281)
action filter_type
action find
entity Q313281
relation P26
type Q502895
[ANSWERS] are the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q313281']
SELECT DISTINCT ?l WHERE { resource:Q313281 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Macha Méril Catherine Michel
Macha Méril and Catherine Michel are the life partner of that one
Macha Méril Catherine Michel
action filter_type
action find
entity Michel Legrand
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Michel Legrand']
SELECT DISTINCT ?l WHERE { resource:Michel_Legrand property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?r ) WHERE { ?u rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 . ?l property:P1303 ?u } GROUP BY ?u } . FILTER ( ?r = ?h ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?r ) WHERE { ?u rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name . ?l property:instrument ?u } GROUP BY ?u } . FILTER ( ?r = ?h ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?r ) WHERE { ?u rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 . ?l property:P1303 ?u } GROUP BY ?u } . FILTER ( ?r = ?h ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?b } } . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?r ) WHERE { ?u rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name . ?l property:instrument ?u } GROUP BY ?u } . FILTER ( ?r = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313281
P1411
Q4220917
USER
Which film awards were Michel Legrand nominated for ?
(Q313281,P1411,c(Q4220917))
action filter_type
action find
entity Q313281
relation P1411
type Q4220917
['Q313281', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?i WHERE { resource:Q313281 property:P1411 ?i . ?i rdf:type ontology:Q4220917 }
Michel Legrand
action filter_type
action find
entity Michel Legrand
relation nominated for
type film award
['Michel Legrand', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?i WHERE { resource:Michel_Legrand property:nominated_for ?i . ?i rdf:type ontology:film_award }
[]
film award
Q4671338 Q22752811 Q22344608
SYSTEM
Academy Award for Best Original Musical Score, Academy Award for Best Score, Adaptation or Treatment, Academy Award for Best Original Song Score
Q22752811 Q22235329 Q22752734 Q488651 Q22344608 Q4671338
(Q313281,P1411,c(Q4220917))
action filter_type
action find
entity Q313281
relation P1411
type Q4220917
Michel Legrand were nominated for [ANSWERS]
['Q313281', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?i WHERE { resource:Q313281 property:P1411 ?i . ?i rdf:type ontology:Q4220917 }
Academy Award for Best Score, Adaptation or Treatment Academy Award for Best Original Dramatic Score Academy Award for Best Original Score, no Musical Academy Award for Best Original Score Academy Award for Best Original Song Score Academy Award for Best Original Musical Score
Michel Legrand were nominated for Academy Award for Best Original Musical Score, Academy Award for Best Score, Adaptation or Treatment and Academy Award for Best Original Song Score
Academy Award for Best Original Musical Score Academy Award for Best Score, Adaptation or Treatment Academy Award for Best Original Song Score
action filter_type
action find
entity Michel Legrand
relation nominated for
type film award
['Michel Legrand', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?i WHERE { resource:Michel_Legrand property:nominated_for ?i . ?i rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4671338 Q22752811 Q22344608
P1411
Q838948
USER
Which works of art were a nomination for those film awards ?
(c(Q838948),P1411,Q4671338) (c(Q838948),P1411,Q22752811) (c(Q838948),P1411,Q22344608)
action filter_type
action find_reverse
entity prev_answer
relation P1411
type Q838948
[{'concept': 'Q838948'}, 'P1411', 'Q4671338'] [{'concept': 'Q838948'}, 'P1411', 'Q22752811'] [{'concept': 'Q838948'}, 'P1411', 'Q22344608']
SELECT DISTINCT ?e WHERE { VALUES ( ?u ) { ( resource:Q22752811 ) ( resource:Q22235329 ) ( resource:Q22752734 ) } . ?e property:P1411 ?u . ?e rdf:type ontology:Q838948 }
Academy Award for Best Original Musical Score Academy Award for Best Score, Adaptation or Treatment Academy Award for Best Original Song Score
action filter_type
action find_reverse
entity prev_answer
relation nominated for
type work of art
[{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Original Musical Score'] [{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Score, Adaptation or Treatment'] [{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Original Song Score']
SELECT DISTINCT ?e WHERE { VALUES ( ?u ) { ( resource:Academy_Award_for_Best_Score,_Adaptation_or_Treatment ) ( resource:Academy_Award_for_Best_Original_Dramatic_Score ) ( resource:Academy_Award_for_Best_Original_Score,_no_Musical ) } . ?e property:nominated_for ?u . ?e rdf:type ontology:work_of_art }
[]
work of art
Q209170 Q471716 Q1140171
SYSTEM
Mary Poppins, Barry Lyndon, They Shoot Horses, Don't They?
Q1169663 Q16251390 Q3209050 Q2312028 Q1214975 Q1435221 Q2407222 Q882343 Q2698384 Q3205691 Q2307428 Q1198750 Q5965806 Q3878004 Q22683504 Q662679 Q719471 Q2384699 Q1140171 Q273704 Q141359 Q7560273 Q7750889 Q27149 Q2412388 Q22753024 Q4727789 Q1345920 Q584824 Q5021556 Q698962 Q1848335 Q1066873 Q1305622 Q3713975 Q1499694 Q603651 Q1031821 Q21527791 Q4498626 Q1364076 Q146141 Q3548988 Q7751097 Q5871436 Q595310 Q542988 Q637192 Q926825 Q303095 Q2877834 Q366244 Q1707931 Q7640621 Q960349 Q999353 Q16252083 Q12125133 Q15809895 Q957893 Q3567686 Q4883730 Q2371931 Q2296064 Q2323002 Q7450965 Q1194613 Q1043659 Q1750380 Q1198132 Q1580373 Q32011 Q374526 Q261550 Q3282841 Q7743045 Q4353817 Q1508130 Q577757 Q1881769 Q634809 Q1444517 Q4917032 Q2410237 Q1210771 Q1410785 Q1127669 Q949666 Q1228404 Q5212720 Q1321622 Q2208041 Q3496921 Q6469881 Q973616 Q3108556 Q2604605 Q1262492 Q2300646 Q747570 Q1813582 Q2844002 Q2556456 Q1366560 Q2061652 Q1335503 Q7561171 Q22000673 Q3018061 Q2562884 Q4958616 Q6758649 Q1656298 Q3707879 Q1257227 Q2104178 Q148469 Q309153 Q475293 Q338442 Q1431567 Q1198780 Q1110062 Q2469737 Q6869530 Q1348409 Q2017333 Q2610975 Q1225134 Q7764665 Q1263921 Q165172 Q671482 Q1167120 Q776623 Q1619389 Q1193924 Q280470 Q387370 Q6068910 Q1622379 Q1217650 Q1425815 Q60072 Q201215 Q209170 Q950865 Q7782704 Q1955033 Q930372 Q1257088 Q1269675 Q1471244 Q935497 Q1193850 Q1218906 Q2321588 Q232227 Q76824 Q303719 Q188718 Q738552 Q7975772 Q772786 Q15847385 Q1305647 Q1056710 Q1407062 Q1193773 Q426272 Q1144787 Q632753 Q1131070 Q1215878 Q1193704 Q2455551 Q329709 Q589066 Q1620244 Q1420016 Q1194282 Q2422817 Q618741 Q15840826 Q736969 Q5564583 Q1162433 Q5391482 Q1230318 Q947098 Q1666238 Q1162072 Q866120 Q582281 Q1619866 Q596583 Q1620093 Q1336035 Q1390900 Q369083 Q1170515 Q948153 Q1619885 Q615028 Q1971276 Q2372034 Q50714 Q1527522 Q163868 Q1619977 Q15815676 Q1162937 Q3956817 Q1018487 Q913311 Q2563627 Q3230804 Q463869 Q2395028 Q2574548 Q1197830 Q762649 Q446633 Q428158 Q2779010 Q3417837 Q1419911 Q300568 Q1170086 Q1754021 Q1332299 Q303887 Q600517 Q1211819 Q934036 Q1307044 Q2249404 Q533585 Q2722326 Q945138 Q1634319 Q566890 Q62665 Q936037 Q1199280 Q1352613 Q3281808 Q780469 Q1419797 Q936327 Q1604697 Q1518589 Q918363 Q1353441 Q1754478 Q898465 Q504151 Q731082 Q2640322 Q471716 Q1198799 Q1214915 Q851611 Q1889403
(c(Q838948),P1411,Q4671338) (c(Q838948),P1411,Q22752811) (c(Q838948),P1411,Q22344608)
action filter_type
action find_reverse
entity prev_answer
relation P1411
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P1411', 'Q4671338'] [{'concept': 'Q838948'}, 'P1411', 'Q22752811'] [{'concept': 'Q838948'}, 'P1411', 'Q22344608']
SELECT DISTINCT ?e WHERE { VALUES ( ?u ) { ( resource:Q22752811 ) ( resource:Q22235329 ) ( resource:Q22752734 ) } . ?e property:P1411 ?u . ?e rdf:type ontology:Q838948 }
Can't Help Singing Hitchhike to Happiness State Fair Star Spangled Rhythm The Young Girls of Rochefort Phantom of the Opera Incendiary Blonde Blue Skies Goodbye, Mr. Chips Coney Island Road to Rio Finian's Rainbow I'll Get By Jolson Sings Again The Bolshoi Ballet Seven Brides for Seven Brothers High Society My Wild Irish Rose They Shoot Horses, Don't They? West Side Story Oliver! Something to Shout About The Medium The King and I Fiesta Sunbonnet Sue All-American Co-Ed Song of the South Night and Day Call Me Madam The Glenn Miller Story The Strawberry Blonde Meet Me in St. Louis A Star Is Born Meet Me in Las Vegas The Eddy Duchin Story It's Always Fair Weather Can-Can Knickerbocker Holiday Khovanshchina Funny Girl Hans Christian Andersen With a Song in My Heart The Merry Monahans Hit Parade of 1943 Song Without End Anchors Aweigh Paint Your Wagon Flower Drum Song Tonight and Every Night Babes in Toyland Sun Valley Serenade You'll Never Get Rich Sunny The Pirate Buck Privates Johnny Doughboy Irish Eyes Are Smiling Flying with Music Easter Parade When My Baby Smiles at Me Belle of the Yukon For Me and My Gal Love Me or Leave Me Bells Are Ringing Sensations of 1945 The Jolson Story Carmen Jones Lady in the Dark Wonder Man Look for the Silver Lining On the Town Porgy and Bess Hollywood Canteen Li'l Abner The Jazz Singer Mother Wore Tights The Band Wagon Gigi The Harvey Girls Paris Blues The Best Things in Life Are Free Birth of the Blues The Chocolate Soldier The 5,000 Fingers of Dr. T Up in Arms My Gal Sal It Started with Eve Calamity Jane Damn Yankees Yankee Doodle Dandy Kiss Me Kate Star! Lady, Let's Dance Daddy Long Legs Stage Door Canteen Thousands Cheer You Were Never Lovelier Sweet Charity An American in Paris Guys and Dolls Higher and Higher Show Boat Cover Girl On the Riviera Ice Capades Song of the Open Road Why Girls Leave Home This Is the Army Pepe Brazil Mardi Gras The Emperor Waltz Say One for Me Three Little Words The West Point Story Romance on the High Seas Singin' in the Rain Hello, Dolly! Rhapsody in Blue Holiday Inn The Great Caruso The Five Pennies Centennial Summer Minstrel Man Let's Make Love Oklahoma! South Pacific There's No Business Like Show Business The Sky's the Limit Annie Get Your Gun One Hundred Men and a Girl Spring Parade The Gospel According to St. Matthew Sundays and Cybele One Night of Love The Hunchback of Notre Dame Souls at Sea Irma la Douce Irene A Thousand Clowns The Wonderful World of the Brothers Grimm Captain Blood The Sound of Music My Fair Lady Mary Poppins Doctor Dolittle There Goes My Heart They Shall Have Music Camelot The Pleasure Seekers Storm Over Bengal Robin and the 7 Hoods Boy on a Dolphin The General Died at Dawn The Lost Patrol Gypsy Way Out West Cat Ballou An Affair to Remember The Bridge on the River Kwai The Life of Emile Zola Way Down South Gigot She Married a Cop Anthony Adverse First Love Maytime The Prisoner of Zenda The Hurricane Mad About Music Babes in Arms The Singing Nun Return of the Seven The Garden of Allah Tropic Holiday Mutiny on the Bounty Peter Ibbetson Our Town The Private Lives of Elizabeth and Essex The Sea Hawk Tin Pan Alley Jezebel Portia on Trial Guess Who's Coming to Dinner Girls' School The Young in Heart Something to Sing About Carefree The Gay Divorcee Intermezzo A New Kind of Love Mr. Smith Goes to Washington Raintree County In Old Chicago The Unsinkable Molly Brown Of Mice and Men The Goldwyn Follies Arise, My Love Winterset Valley of the Dolls Second Chorus Lost Horizon Strike Up the Band A Funny Thing Happened on the Way to the Forum Swanee River Stagecoach Make a Wish The Umbrellas of Cherbourg Alexander's Ragtime Band Hit Parade of 1941 Sweethearts The Great Victor Herbert Bye Bye Birdie A Hard Day's Night Billy Rose's Jumbo Perri The Informer Quality Street Thoroughly Modern Millie The Charge of the Light Brigade The Music Man A Little Night Music The Wiz The Slipper and the Rose The Boy Friend Funny Lady A Star Is Born Phantom of the Paradise Purple Rain Pete's Dragon A Boy Named Charlie Brown The Baby Maker The Buddy Holly Story Fiddler on the Roof One from the Heart Scrooge Bound for Glory Darling Lili Bedknobs and Broomsticks Tchaikovsky Annie The Sting Victor Victoria The Little Prince Let It Be Songwriter Yentl Tommy Willy Wonka & the Chocolate Factory The Sting II The Muppet Movie Cabaret All That Jazz Lady Sings the Blues Jesus Christ Superstar Trading Places Breaking Away Man of La Mancha Barry Lyndon The Great Gatsby The Muppets Take Manhattan Bugsy Malone Pretty Baby
Mary Poppins, Barry Lyndon and They shoot Horses, Don't They were a nomination for those film awards
Mary Poppins Barry Lyndon They Shoot Horses, Don't They?
action filter_type
action find_reverse
entity prev_answer
relation nominated for
type work of art
[{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Original Musical Score'] [{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Score, Adaptation or Treatment'] [{'concept': 'work of art'}, 'nominated for', 'Academy Award for Best Original Song Score']
SELECT DISTINCT ?e WHERE { VALUES ( ?u ) { ( resource:Academy_Award_for_Best_Score,_Adaptation_or_Treatment ) ( resource:Academy_Award_for_Best_Original_Dramatic_Score ) ( resource:Academy_Award_for_Best_Original_Score,_no_Musical ) } . ?e property:nominated_for ?u . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209170
P1441
Q636497
USER
Which stock character is from the works of Mary Poppins ?
(c(Q636497),P1441,Q209170)
action filter_type
action find_reverse
entity Q209170
relation P1441
type Q636497
[{'concept': 'Q636497'}, 'P1441', 'Q209170']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q636497 . ?u property:P1441 resource:Q209170 }
Mary Poppins
action filter_type
action find_reverse
entity Mary Poppins
relation present in work
type stock character
[{'concept': 'stock character'}, 'present in work', 'Mary Poppins']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:stock_character . ?u property:present_in_work resource:Mary_Poppins }
[]
stock character
Q3735317
SYSTEM
Mary Poppins
Q3735317
(c(Q636497),P1441,Q209170)
action filter_type
action find_reverse
entity Q209170
relation P1441
type Q636497
Is [ANSWER] is from the works of [ANSWER]
[{'concept': 'Q636497'}, 'P1441', 'Q209170']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q636497 . ?u property:P1441 resource:Q209170 }
Mary Poppins
Is Mary Poppins is from the works of Mary Poppins
Mary Poppins
action filter_type
action find_reverse
entity Mary Poppins
relation present in work
type stock character
[{'concept': 'stock character'}, 'present in work', 'Mary Poppins']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:stock_character . ?u property:present_in_work resource:Mary_Poppins }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3735317
P674
Q7725634
USER
Which literary work is that stock character a character of ?
(c(Q7725634),P674,Q3735317)
action filter_type
action find_reverse
entity Q3735317
relation P674
type Q7725634
[{'concept': 'Q7725634'}, 'P674', 'Q3735317']
SELECT DISTINCT ?e WHERE { ?e property:P674 resource:Q3735317 . ?e rdf:type ontology:Q7725634 }
Mary Poppins
action filter_type
action find_reverse
entity Mary Poppins
relation characters
type literary work
[{'concept': 'literary work'}, 'characters', 'Mary Poppins']
SELECT DISTINCT ?e WHERE { ?e property:characters resource:Mary_Poppins . ?e rdf:type ontology:literary_work }
[]
literary work
Q858705
SYSTEM
Mary Poppins
Q858705
(c(Q7725634),P674,Q3735317)
action filter_type
action find_reverse
entity Q3735317
relation P674
type Q7725634
[ANSWER] is that stock character a character of
[{'concept': 'Q7725634'}, 'P674', 'Q3735317']
SELECT DISTINCT ?e WHERE { ?e property:P674 resource:Q3735317 . ?e rdf:type ontology:Q7725634 }
Mary Poppins
Mary Poppins is that stock character a character of
Mary Poppins
action filter_type
action find_reverse
entity Mary Poppins
relation characters
type literary work
[{'concept': 'literary work'}, 'characters', 'Mary Poppins']
SELECT DISTINCT ?e WHERE { ?e property:characters resource:Mary_Poppins . ?e rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q858705
P110
Q502895
USER
Who illustrated that literary work ?
(Q858705,P110,c(Q502895))
action filter_type
action find
entity Q858705
relation P110
type Q502895
['Q858705', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q858705 property:P110 ?d . ?d rdf:type ontology:Q502895 }
Mary Poppins
action filter_type
action find
entity Mary Poppins
relation illustrator
type common name
['Mary Poppins', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Mary_Poppins property:illustrator ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3296245
SYSTEM
Mary Shepard
Q3296245
(Q858705,P110,c(Q502895))
action filter_type
action find
entity Q858705
relation P110
type Q502895
The [ANSWER] illustrated that literary work
['Q858705', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q858705 property:P110 ?d . ?d rdf:type ontology:Q502895 }
Mary Shepard
The Mary Shepard illustrated that literary work
Mary Shepard
action filter_type
action find
entity Mary Poppins
relation illustrator
type common name
['Mary Poppins', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Mary_Poppins property:illustrator ?d . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3296245 Q5932312
P22
Q502895
USER
Was Joaquín Perles the father of that one ?
(Q3296245,P22,Q5932312)
action is_in
entity Q5932312
action find
entity Q3296245
relation P22
['Q3296245', 'P22', 'Q5932312']
ASK WHERE { resource:Q3296245 property:P22 resource:Q5932312 }
Mary Shepard Joaquín Perles
action is_in
entity Joaquín Perles
action find
entity Mary Shepard
relation father
['Mary Shepard', 'father', 'Joaquín Perles']
ASK WHERE { resource:Mary_Shepard property:father resource:Joaquín_Perles }
[]
common name
SYSTEM
NO
(Q3296245,P22,Q5932312)
action is_in
entity Q5932312
action find
entity Q3296245
relation P22
[ANSWER]
['Q3296245', 'P22', 'Q5932312']
ASK WHERE { resource:Q3296245 property:P22 resource:Q5932312 }
No
action is_in
entity Joaquín Perles
action find
entity Mary Shepard
relation father
['Mary Shepard', 'father', 'Joaquín Perles']
ASK WHERE { resource:Mary_Shepard property:father resource:Joaquín_Perles }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3844800 Q471716
P161
Q502895
USER
Which people were casted in Barry Lyndon or Manolesta ?
OR((Q471716,P161,c(Q502895)), (Q3844800,P161,c(Q502895)))
action filter_type
action union
action find
entity Q471716
relation P161
action find
entity Q3844800
relation P161
type Q502895
{'OR': [['Q471716', 'P161', {'concept': 'Q502895'}], ['Q3844800', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q471716 property:P161 ?k } UNION { resource:Q3844800 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Manolesta Barry Lyndon
action filter_type
action union
action find
entity Barry Lyndon
relation cast member
action find
entity Manolesta
relation cast member
type common name
{'OR': [['Barry Lyndon', 'cast member', {'concept': 'common name'}], ['Manolesta', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Barry_Lyndon property:cast_member ?k } UNION { resource:Manolesta property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q1343282 Q239896 Q512205 Q5290645 Q529849 Q1343356 Q785197 Q432638 Q67469 Q86977
SYSTEM
Some of them are Murray Melvin, Nello Pazzafini, Clara Colosimo, Dominic Savage, Steven Berkoff, Ennio Antonelli, Anthony Sharp, Tomás Milián, Wolf Kahler, Diana Körner
Q785197 Q956867 Q967062 Q239896 Q3759045 Q3888684 Q6539778 Q106957 Q86977 Q512205 Q285419 Q3292619 Q925310 Q1343282 Q432638 Q521947 Q5488428 Q1804810 Q67469 Q272923 Q5290645 Q77342 Q4799863 Q5576532 Q1343356 Q3964941 Q3229654 Q529849
OR((Q471716,P161,c(Q502895)), (Q3844800,P161,c(Q502895)))
action filter_type
action union
action find
entity Q471716
relation P161
action find
entity Q3844800
relation P161
type Q502895
[ANSWERS] were casted in Barry Lyndon or Manolesta
{'OR': [['Q471716', 'P161', {'concept': 'Q502895'}], ['Q3844800', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q471716 property:P161 ?k } UNION { resource:Q3844800 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Anthony Sharp Michael Hordern Leonard Rossiter Nello Pazzafini Gay Hamilton Paco Fabrini Liam Redmond Giovanna Ralli Diana Körner Clara Colosimo Marisa Berenson Marie Kean Patrick Magee Murray Melvin Tomás Milián André Morell Frank Middlemass Philip Stone Wolf Kahler Ryan O'Neal Dominic Savage Hardy Krüger Arthur O'Sullivan Godfrey Quigley Ennio Antonelli Sophia Lombardo Leon Vitali Steven Berkoff
Murray Melvin, Nello Pazzafini, Clara Colosimo, Dominic Savage, Steven Berkoff, Ennio Antonelli, Anthony Sharp, Tomás Milián, Wolf Kahler and Diana Körner were casted in Barry Lyndon or Manolesta
Murray Melvin Nello Pazzafini Clara Colosimo Dominic Savage Steven Berkoff Ennio Antonelli Anthony Sharp Tomás Milián Wolf Kahler Diana Körner
action filter_type
action union
action find
entity Barry Lyndon
relation cast member
action find
entity Manolesta
relation cast member
type common name
{'OR': [['Barry Lyndon', 'cast member', {'concept': 'common name'}], ['Manolesta', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Barry_Lyndon property:cast_member ?k } UNION { resource:Manolesta property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { resource:Q1860 property:P361 ?w . ?w rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { resource:English property:part_of ?w . ?w rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { resource:Q1860 property:P361 ?w . ?w rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { resource:English property:part_of ?w . ?w rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12016129
Q5962346
USER
And how about hydrodynamics?
(Q12016129,P361,c(Q5962346))
action filter_type
action find
entity Q12016129
relation P361
type Q5962346
['Q12016129', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?r WHERE { resource:Q12016129 property:P361 ?r . ?r rdf:type ontology:Q5962346 }
hydrodynamics
action filter_type
action find
entity hydrodynamics
relation part of
type classification scheme
['hydrodynamics', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?r WHERE { resource:hydrodynamics property:part_of ?r . ?r rdf:type ontology:classification_scheme }
[]
classification scheme
Q216320
SYSTEM
fluid dynamics
Q216320
(Q12016129,P361,c(Q5962346))
action filter_type
action find
entity Q12016129
relation P361
type Q5962346
[ANSWER]
['Q12016129', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?r WHERE { resource:Q12016129 property:P361 ?r . ?r rdf:type ontology:Q5962346 }
fluid dynamics
fluid dynamics
action filter_type
action find
entity hydrodynamics
relation part of
type classification scheme
['hydrodynamics', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?r WHERE { resource:hydrodynamics property:part_of ?r . ?r rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q858705
P144
Q838948
USER
How many works of art are an extension Mary Poppins ?
(c(Q838948),P144,Q858705)
action count
action filter_type
action find_reverse
entity Q858705
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q858705']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P144 resource:Q858705 . ?m rdf:type ontology:Q838948 }
Mary Poppins
action count
action filter_type
action find_reverse
entity Mary Poppins
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Mary Poppins']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:based_on resource:Mary_Poppins . ?m rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q209170 Q24272881
(c(Q838948),P144,Q858705)
action count
action filter_type
action find_reverse
entity Q858705
relation P144
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P144', 'Q858705']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P144 resource:Q858705 . ?m rdf:type ontology:Q838948 }
Mary Poppins Mary Poppins Returns
2
action count
action filter_type
action find_reverse
entity Mary Poppins
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'Mary Poppins']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:based_on resource:Mary_Poppins . ?m rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q604418
P144
Q838948
USER
And how about An American Tragedy?
(c(Q838948),P144,Q604418)
action count
action filter_type
action find_reverse
entity Q604418
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q604418']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:Q838948 . ?k property:P144 resource:Q604418 }
An American Tragedy
action count
action filter_type
action find_reverse
entity An American Tragedy
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'An American Tragedy']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:work_of_art . ?k property:based_on resource:An_American_Tragedy }
[]
work of art
SYSTEM
2
Q4827633 Q733627
(c(Q838948),P144,Q604418)
action count
action filter_type
action find_reverse
entity Q604418
relation P144
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P144', 'Q604418']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:Q838948 . ?k property:P144 resource:Q604418 }
Avana Ivan A Place in the Sun
2
action count
action filter_type
action find_reverse
entity An American Tragedy
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', 'An American Tragedy']
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:work_of_art . ?k property:based_on resource:An_American_Tragedy }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7905363 Q2942003
P19
Q56061
USER
Which administrative territories are the birthplace of Catherine Michel or Ali Kemal Aksüt ?
OR((Q2942003,P19,c(Q56061)), (Q7905363,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2942003
relation P19
action find
entity Q7905363
relation P19
type Q56061
{'OR': [['Q2942003', 'P19', {'concept': 'Q56061'}], ['Q7905363', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2942003 property:P19 ?m } UNION { resource:Q7905363 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Ali Kemal Aksüt Catherine Michel
action filter_type
action union
action find
entity Catherine Michel
relation place of birth
action find
entity Ali Kemal Aksüt
relation place of birth
type administrative territorial entity
{'OR': [['Catherine Michel', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ali Kemal Aksüt', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Catherine_Michel property:place_of_birth ?m } UNION { resource:Ali_Kemal_Aksüt property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41604 Q183199
SYSTEM
Amiens, Ioannina
Q41604 Q183199
OR((Q2942003,P19,c(Q56061)), (Q7905363,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2942003
relation P19
action find
entity Q7905363
relation P19
type Q56061
[ANSWERS] are the birthplace of Catherine Michel or Ali Kemal Aksüt
{'OR': [['Q2942003', 'P19', {'concept': 'Q56061'}], ['Q7905363', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2942003 property:P19 ?m } UNION { resource:Q7905363 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Amiens Ioannina
Amiens and Ioannina are the birthplace of Catherine Michel or Ali Kemal Aksüt
Amiens Ioannina
action filter_type
action union
action find
entity Catherine Michel
relation place of birth
action find
entity Ali Kemal Aksüt
relation place of birth
type administrative territorial entity
{'OR': [['Catherine Michel', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ali Kemal Aksüt', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Catherine_Michel property:place_of_birth ?m } UNION { resource:Ali_Kemal_Aksüt property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]