Simple Question (Direct)
Simple Question
Q7835622
P57
Q502895
USER
Which person directed Trapped by Television ?
(Q7835622,P57,c(Q502895))
action filter_type
action find
entity Q7835622
relation P57
type Q502895
['Q7835622', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q7835622 property:P57 ?f }
Trapped by Television
action filter_type
action find
entity Trapped by Television
relation director
type common name
['Trapped by Television', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Trapped_by_Television property:director ?f }
[]
common name
Q3021400
SYSTEM
Del Lord
Q3021400
(Q7835622,P57,c(Q502895))
action filter_type
action find
entity Q7835622
relation P57
type Q502895
[ANSWER] directed Trapped by Television
['Q7835622', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q7835622 property:P57 ?f }
Del Lord
Del Lord directed Trapped by Television
Del Lord
action filter_type
action find
entity Trapped by Television
relation director
type common name
['Trapped by Television', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Trapped_by_Television property:director ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7835622
P161
Q502895
USER
Which people starred in Trapped by Television ?
(Q7835622,P161,c(Q502895))
action filter_type
action find
entity Q7835622
relation P161
type Q502895
['Q7835622', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q7835622 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Trapped by Television
action filter_type
action find
entity Trapped by Television
relation cast member
type common name
['Trapped by Television', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Trapped_by_Television property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q232109 Q3039327
SYSTEM
Mary Astor, Lyle Talbot
Q232109 Q3039327
(Q7835622,P161,c(Q502895))
action filter_type
action find
entity Q7835622
relation P161
type Q502895
The [ANSWERS] starred in Trapped by Television
['Q7835622', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q7835622 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Mary Astor Lyle Talbot
The Mary Astor and Lyle Talbot starred in Trapped by Television
Mary Astor Lyle Talbot
action filter_type
action find
entity Trapped by Television
relation cast member
type common name
['Trapped by Television', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Trapped_by_Television property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3644405
Q502895
USER
And also tell me about Vacations in Majorca?
(Q3644405,P161,c(Q502895))
action filter_type
action find
entity Q3644405
relation P161
type Q502895
['Q3644405', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q3644405 property:P161 ?y }
Vacations in Majorca
action filter_type
action find
entity Vacations in Majorca
relation cast member
type common name
['Vacations in Majorca', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Vacations_in_Majorca property:cast_member ?y }
[]
common name
Q50003 Q289075 Q3107942
SYSTEM
Alberto Sordi, Belinda Lee, Giulio Paradisi
Q3845598 Q50003 Q950328 Q3246736 Q3107942 Q3769697 Q465417 Q964644 Q554301 Q3619425 Q289075
(Q3644405,P161,c(Q502895))
action filter_type
action find
entity Q3644405
relation P161
type Q502895
[ANSWERS]
['Q3644405', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q3644405 property:P161 ?y }
Marcello Giorda Alberto Sordi Laura Carli Vicente Parra Giulio Paradisi Giulio Marchetti Dorian Gray Rossana Martini Gino Cervi Antonio Cifariello Belinda Lee
Alberto Sordi Belinda Lee Giulio Paradisi
action filter_type
action find
entity Vacations in Majorca
relation cast member
type common name
['Vacations in Majorca', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Vacations_in_Majorca property:cast_member ?y }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q50003 Q289075 Q3107942
P161
Q838948
USER
Which works of art do Alberto Sordi, Belinda Lee and Giulio Paradisi star in ?
(c(Q838948),P161,Q50003) (c(Q838948),P161,Q289075) (c(Q838948),P161,Q3107942)
action union
action filter_type
action find_reverse
entity Q50003
relation P161
type Q838948
action filter_type
action find_reverse
entity Q289075
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3107942
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q50003'] [{'concept': 'Q838948'}, 'P161', 'Q289075'] [{'concept': 'Q838948'}, 'P161', 'Q3107942']
SELECT DISTINCT ?r WHERE { { ?r property:P161 resource:Q50003 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P161 resource:Q289075 . ?r rdf:type ontology:Q838948 } }
Alberto Sordi Belinda Lee Giulio Paradisi
action union
action filter_type
action find_reverse
entity Alberto Sordi
relation cast member
type work of art
action filter_type
action find_reverse
entity Belinda Lee
relation cast member
type work of art
action filter_type
action find_reverse
entity Giulio Paradisi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alberto Sordi'] [{'concept': 'work of art'}, 'cast member', 'Belinda Lee'] [{'concept': 'work of art'}, 'cast member', 'Giulio Paradisi']
SELECT DISTINCT ?r WHERE { { ?r property:cast_member resource:Alberto_Sordi . ?r rdf:type ontology:work_of_art } UNION { ?r property:cast_member resource:Belinda_Lee . ?r rdf:type ontology:work_of_art } }
[]
work of art
Q18407 Q12018 Q3842327
SYSTEM
La Dolce Vita, 8½, Made in Italy
Q3843065 Q3964885 Q598308 Q3614595 Q3623833 Q1092874 Q4003891 Q1054708 Q3644405 Q3791352 Q3763790 Q3232007 Q3844157 Q3651324 Q3754366 Q3647124 Q3842327 Q3516516 Q3603922 Q1169559 Q733016 Q474072 Q3797333 Q24887465 Q3824216 Q3795976 Q3794884 Q3983800 Q1091145 Q3801125 Q1304301 Q3796254 Q4000802 Q3555524 Q3758740 Q779490 Q3828864 Q2312518 Q3794621 Q3307840 Q2511284 Q1169191 Q1583832 Q2894960 Q3697161 Q1165054 Q3902572 Q500304 Q3794612 Q3748858 Q3208826 Q4003806 Q3281632 Q3236186 Q631102 Q3795348 Q3148555 Q3695258 Q130803 Q3615075 Q18397 Q150867 Q3795692 Q3706433 Q2927276 Q3148513 Q3828638 Q129988 Q3823128 Q3792851 Q3823704 Q3793530 Q3540784 Q3793590 Q3794593 Q3688872 Q2753566 Q776890 Q3793939 Q3797492 Q1055223 Q1635122 Q3791104 Q1717918 Q3996035 Q3677504 Q3614618 Q18423 Q1080841 Q21646034 Q3020023 Q3801221 Q3990888 Q3638932 Q2661437 Q4025267 Q3797711 Q3359260 Q3907256 Q3793820 Q3791083 Q2246567 Q962306 Q18399 Q128718 Q3928514 Q3825438 Q3487718 Q4003862 Q661488 Q3745651 Q3221967 Q130293 Q17313421 Q1108721 Q1158717 Q3227969 Q3206605 Q3907717 Q3546394 Q1197986 Q1110092 Q3281747 Q2265676 Q4004077 Q3790755 Q1629592 Q1144057 Q3644405 Q3742389 Q24883540 Q3306980 Q3024200 Q7717709 Q7763067 Q2995039 Q130803 Q637133 Q3203227 Q25303446 Q3822168 Q6691130 Q4210005 Q4243412 Q7050038 Q5422875 Q3232179 Q3225937 Q3644405 Q596541 Q18407 Q3651624 Q522377 Q3108858 Q12018 Q1055986 Q3614568
(c(Q838948),P161,Q50003) (c(Q838948),P161,Q289075) (c(Q838948),P161,Q3107942)
action union
action filter_type
action find_reverse
entity Q50003
relation P161
type Q838948
action filter_type
action find_reverse
entity Q289075
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3107942
relation P161
type Q838948
La Dolce Vita, 8½ and made in Italy Alberto Sordi, Belinda Lee and Giulio Paradisi star in
[{'concept': 'Q838948'}, 'P161', 'Q50003'] [{'concept': 'Q838948'}, 'P161', 'Q289075'] [{'concept': 'Q838948'}, 'P161', 'Q3107942']
SELECT DISTINCT ?r WHERE { { ?r property:P161 resource:Q50003 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P161 resource:Q289075 . ?r rdf:type ontology:Q838948 } }
Mafioso I Am an ESP Viva il cinema! Help Me Arrivano i dollari! Nell'anno del Signore An Italian in America Il Marchese del Grillo Vacations in Majorca The Three Pilots Giarabub Una botta di vita Mamma mia, che impressione! Cameriera bella presenza offresi... Fumo di Londra Buonanotte... avvocato! Made in Italy Il comune senso del pudore It Happened at the Police Station A Difficult Life Romanzo di un giovane povero Il diavolo In nome del popolo sovrano Cavalcade of Song La signorina Il tassinaro The Moralist Forbidden Temptations The Three Faces Io e Caterina Un americano a Roma The Traffic Policeman Tutti dentro Venezia, la luna e tu Gastone The Scientific Cardplayer His Young Wife Traffic Jam Doctor and the Healer Allow Me The Virtuous Bigamist The Last Judgement Riusciranno i nostri eroi a ritrovare l'amico misteriosamente scomparso in Africa? A Girl in Australia Crimen The Art of Getting Along The Letters Page Those Magnificent Men in their Flying Machines Be Sick... It's Free Fortunella Quelle strane occasioni A Hero of Our Times Two Nights with Cleopatra Nero's Weekend Bravissimo Il Prof. Dott. Guido Tersilli, primario della clinica Villa Celeste, convenzionata con le mutue Il vedovo Wild Cats on the Beach The Magliari My Brother Anastasia The White Sheik The Great War Il seduttore Di che segno sei? Winter Holidays Il maestro di Vigevano Le coppie Il malato immaginario My Wife Bullet for Stefano Princess Tarakanova The Police Commissioner Troppo forte Count Max Marriage Let's Have a Riot Guardia The Bachelor The Ferocious Saladin In viaggio con papà Nella città l'inferno I nuovi mostri I pappagalli Scipio Africanus: The Defeat of Hannibal Toto and the King of Rome The Za-Bum Circus Mid-Century Loves Roma A Slice of Life After Casanova's Fashion Il marito I Know That You Know That I Know Thrilling Bertoldo, Bertoldino e Cacasenno The Witches È arrivato l'accordatore Incontri proibiti Where Are You Going on Holiday? Policarpo Il disco volante I nostri mariti An Average Little Man Under the Sun of Rome I Vitelloni In Prison Awaiting Trial Girls for the Summer Ladro lui, ladra lei Souvenir d'Italie Un giorno in pretura Sex Quartet While There's War There's Hope Flesh Will Surrender L'avaro I pinguini ci guardano The Sign of Venus The Most Wonderful Evening of My Life The Witness The Belle of Rome Polvere di stelle Allegro squadrone Everybody Go Home Il Boom Pardon, Are You for or Against? I complessi Un sorriso, uno schiaffo, un bacio in bocca The Best of Enemies A Farewell to Arms Long Night in 1943 Vacations in Majorca Femmine di lusso Marie of the Isles Messalina Footsteps in the Fog The Big Money The Secret Place Constantine and the Cross The Magliari Ghosts of Rome The Story of Joseph and His Brethren Satan Tempts with Love Women of the World Love Now, Pay Later Man of the Moment Who Done It? Nor the Moon by Night Eyewitness Les Dragueurs Dangerous Exile Vacations in Majorca Too Bad She's Bad La Dolce Vita Walking, Walking Three Strangers in Rome The Abandoned 8½ 1870 Amore e chiacchiere
La Dolce Vita, 8½ and made in Italy Alberto Sordi, Belinda Lee and Giulio Paradisi star in
La Dolce Vita 8½ Made in Italy
action union
action filter_type
action find_reverse
entity Alberto Sordi
relation cast member
type work of art
action filter_type
action find_reverse
entity Belinda Lee
relation cast member
type work of art
action filter_type
action find_reverse
entity Giulio Paradisi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alberto Sordi'] [{'concept': 'work of art'}, 'cast member', 'Belinda Lee'] [{'concept': 'work of art'}, 'cast member', 'Giulio Paradisi']
SELECT DISTINCT ?r WHERE { { ?r property:cast_member resource:Alberto_Sordi . ?r rdf:type ontology:work_of_art } UNION { ?r property:cast_member resource:Belinda_Lee . ?r rdf:type ontology:work_of_art } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18407 Q12018 Q3842327
P161
Q502895
USER
Which people starred in those works of art ?
(Q18407,P161,c(Q502895)) (Q12018,P161,c(Q502895)) (Q3842327,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
['Q18407', 'P161', {'concept': 'Q502895'}] ['Q12018', 'P161', {'concept': 'Q502895'}] ['Q3842327', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?t property:P161 ?c . VALUES ( ?t ) { ( resource:Q3843065 ) ( resource:Q3964885 ) ( resource:Q598308 ) } . ?c rdf:type ontology:Q502895 }
La Dolce Vita 8½ Made in Italy
action filter_type
action find
entity prev_answer
relation cast member
type common name
['La Dolce Vita', 'cast member', {'concept': 'common name'}] ['8½', 'cast member', {'concept': 'common name'}] ['Made in Italy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?t property:cast_member ?c . VALUES ( ?t ) { ( resource:Mafioso ) ( resource:I_Am_an_ESP ) ( resource:Viva_il_cinema! ) } . ?c rdf:type ontology:common_name }
[]
common name
Q44634 Q228607 Q228607
SYSTEM
Nico for 1st, Anouk Aimée for 2nd, 3rd
Q3726484 Q266190 Q270546 Q865205 Q775800 Q451734 Q468243 Q1498104 Q44634 Q973621 Q55469 Q463651 Q3771825 Q2590462 Q339891 Q285431 Q1522552 Q1042530 Q3107942 Q299918 Q3618066 Q428834 Q3713375 Q1662519 Q2850286 Q79065 Q334506 Q520819 Q276440 Q228607 Q3751345 Q636733 Q3832432 Q3701770 Q943378 Q3933126 Q230662 Q3617824 Q938124 Q3394223 Q199943 Q3885593 Q3809276 Q3707813 Q440224 Q3619141 Q3941625 Q3720100 Q3941623 Q769732 Q1553484 Q16576334 Q55469 Q2590462 Q3174439 Q291915 Q107006 Q443254 Q3107942 Q3939011 Q3618066 Q3809385 Q266240 Q1054390 Q3294107 Q1041634 Q456390 Q228607 Q164065 Q16567494 Q3847540 Q2058342 Q3618087 Q3047317 Q3769523 Q508730 Q3394223 Q12309389 Q3849313 Q3869850 Q3679903 Q554689 Q426820 Q3617595 Q56011 Q3619381 Q1041527 Q1038614 Q50003 Q1069496 Q3933034 Q1346097 Q433903 Q437502 Q3964484 Q1054390 Q106627 Q3738076 Q544110 Q3547802 Q3809785 Q1442528 Q3941303 Q493631 Q3617585 Q869022 Q1054917 Q977975 Q436317 Q974629 Q695190 Q984438 Q3856079 Q239802 Q3609147 Q3619874 Q3982413 Q451206 Q289020 Q13478654 Q3903756 Q55456 Q555828 Q437406 Q2143641 Q1042540 Q55450 Q3941625 Q3733418
(Q18407,P161,c(Q502895)) (Q12018,P161,c(Q502895)) (Q3842327,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
[ANSWERS]
['Q18407', 'P161', {'concept': 'Q502895'}] ['Q12018', 'P161', {'concept': 'Q502895'}] ['Q3842327', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?t property:P161 ?c . VALUES ( ?t ) { ( resource:Q3843065 ) ( resource:Q3964885 ) ( resource:Q598308 ) } . ?c rdf:type ontology:Q502895 }
Enzo Cerusico Magali Noël Gloria Jones Giuliana Lojodice Oscar Ghiglia Ida Galli Yvonne Furneaux Renato Mambor Nico Riccardo Garrone Marcello Mastroianni Enrico Glori Giò Stajano Mino Doro Gianfranco Mingozzi Laura Betti Gianni Baghino Valeria Ciangottini Giulio Paradisi Rina Franchetti Annibale Ninchi Italo Zingarelli Dominot Walter Santesso Leonida Rèpaci Nadia Gray Alain Cuny Lex Barker Iris Tree Anouk Aimée Franco Giacobini Jacques Sernas Lily Granado Daniela Calvino Umberto Orsini Renée Longarini Anita Ekberg Anna Salvatore Giulio Questi Polidor Adriano Celentano Oretta Fiume John Francis Lane Dina De Santis Olimpia Cavalli Antonio Acqua Rossella Falk Edy Vessel Rossella Como Maria Antonietta Beluzzi Guido Alberti Mario Conocchia Marcello Mastroianni Mino Doro Jean Rougeul Sandra Milo Claudia Cardinale Caterina Boratto Giulio Paradisi Roberto Nicolosi Annibale Ninchi John Karlsen Barbara Steele Mario Pisu Mark Herron Giuliana Calandra Madeleine LeBeau Anouk Aimée Giuditta Rissone John Stacy Maria Tedeschi Eugene Walter Annie Gorassini Eddra Gale Giulio Calì Abdalqadir as-Sufi Polidor Edward Fleming Marisa Colomber Nadine Sanders Claudie Lange Peppino De Filippo Marcella Rovena Anita Todesco Anna Magnani Antonio Casagrande Lando Buzzanca Giampiero Albertini Alberto Sordi Carlo Pisacane Renzo Marignano Enzo Liberti Claudio Gora Milena Vukotic Solvi Stubing Mario Pisu Virna Lisi Fabrizio Moroni Michele Abbruzzo Ugo Fangareggi Jolanda Modio Franco Balducci Rosalia Maggio Andrea Checchi Anita Durante Lars Bloch Gigi Reder Walter Chiari Giulio Bosetti Enzo Petito Jean Sorel Nino Castelnuovo Micaela Esdra Sylva Koscina Aldo Bufi Landi Antonio Mazza Tecla Scarano Marina Berti Lea Massari Mario Meniconi Pietro Carloni Nino Manfredi Aldo Giuffrè Catherine Spaak Renato Terra Carlo Taranto Aldo Fabrizi Rossella Falk Ester Carloni
Nico, Anouk Aimée and Anouk Aimée starred in those works of art
Nico Anouk Aimée Anouk Aimée
action filter_type
action find
entity prev_answer
relation cast member
type common name
['La Dolce Vita', 'cast member', {'concept': 'common name'}] ['8½', 'cast member', {'concept': 'common name'}] ['Made in Italy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?t property:cast_member ?c . VALUES ( ?t ) { ( resource:Mafioso ) ( resource:I_Am_an_ESP ) ( resource:Viva_il_cinema! ) } . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50003
P58
Q838948
USER
Which works of art have Alberto Sordi as screenwriter ?
(c(Q838948),P58,Q50003)
action filter_type
action find_reverse
entity Q50003
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q50003']
SELECT DISTINCT ?u WHERE { ?u property:P58 resource:Q50003 . ?u rdf:type ontology:Q838948 }
Alberto Sordi
action filter_type
action find_reverse
entity Alberto Sordi
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Alberto Sordi']
SELECT DISTINCT ?u WHERE { ?u property:screenwriter resource:Alberto_Sordi . ?u rdf:type ontology:work_of_art }
[]
work of art
Q2265676 Q1054708 Q3706433
SYSTEM
I complessi, Il Marchese del Grillo, Di che segno sei?
Q3540784 Q3706433 Q3281747 Q1304301 Q3359260 Q3647124 Q3795976 Q4003862 Q3615075 Q3828638 Q3516516 Q4000802 Q3797492 Q4003891 Q3797711 Q3795348 Q3825438 Q3907717 Q3801125 Q2265676 Q129988 Q3793590 Q3020023 Q3964885 Q3754366 Q3794612 Q1054708 Q1091145 Q3928514 Q3844157 Q3232007 Q3745651 Q130293
(c(Q838948),P58,Q50003)
action filter_type
action find_reverse
entity Q50003
relation P58
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P58', 'Q50003']
SELECT DISTINCT ?u WHERE { ?u property:P58 resource:Q50003 . ?u rdf:type ontology:Q838948 }
Troppo forte Di che segno sei? Pardon, Are You for or Against? Un americano a Roma Where Are You Going on Holiday? Buonanotte... avvocato! Il tassinaro Un giorno in pretura My Brother Anastasia Le coppie Il comune senso del pudore Tutti dentro In viaggio con papà An Italian in America Incontri proibiti Il Prof. Dott. Guido Tersilli, primario della clinica Villa Celeste, convenzionata con le mutue Ladro lui, ladra lei Polvere di stelle Io e Caterina I complessi Il malato immaginario Count Max Il marito I Am an ESP Fumo di Londra Be Sick... It's Free Il Marchese del Grillo The Three Faces Girls for the Summer Mamma mia, che impressione! Una botta di vita While There's War There's Hope L'avaro
I complessi, Il Marchese del Grillo and Di che segno sei have Alberto Sordi as screenwriter
I complessi Il Marchese del Grillo Di che segno sei?
action filter_type
action find_reverse
entity Alberto Sordi
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Alberto Sordi']
SELECT DISTINCT ?u WHERE { ?u property:screenwriter resource:Alberto_Sordi . ?u rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1054708
P1040
Q502895
USER
Which person edited that work of art ?
(Q1054708,P1040,c(Q502895))
action filter_type
action find
entity Q1054708
relation P1040
type Q502895
['Q1054708', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1054708 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
Il Marchese del Grillo
action filter_type
action find
entity Il Marchese del Grillo
relation film editor
type common name
['Il Marchese del Grillo', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Il_Marchese_del_Grillo property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3706433
SYSTEM
Did you mean Di che segno sei? ?
Q2265676 Q1054708 Q3706433
(Q2265676,P1040,c(Q502895)) (Q1054708,P1040,c(Q502895)) (Q3706433,P1040,c(Q502895))
[ANSWER]
['Q2265676', 'P1040', {'concept': 'Q502895'}] ['Q1054708', 'P1040', {'concept': 'Q502895'}] ['Q3706433', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1054708 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
I complessi Il Marchese del Grillo Di che segno sei?
Did you mean Di che segno sei? ?
Di che segno sei?
['I complessi', 'film editor', {'concept': 'common name'}] ['Il Marchese del Grillo', 'film editor', {'concept': 'common name'}] ['Di che segno sei?', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Il_Marchese_del_Grillo property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Il Marchese del Grillo. Could you tell me the answer for that?
(Q1054708,P1040,c(Q502895))
Q1054708
['Q1054708', 'P1040', {'concept': 'Q502895'}]
['Il Marchese del Grillo', 'film editor', {'concept': 'common name'}]
[]
Q166318
SYSTEM
Ruggero Mastroianni
Q166318
(Q1054708,P1040,c(Q502895))
action filter_type
action find
entity Q1054708
relation P1040
type Q502895
[ANSWER] edited that work of art
['Q1054708', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1054708 property:P1040 ?g . ?g rdf:type ontology:Q502895 }
Ruggero Mastroianni
Ruggero Mastroianni edited that work of art
Ruggero Mastroianni
action filter_type
action find
entity Il Marchese del Grillo
relation film editor
type common name
['Il Marchese del Grillo', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Il_Marchese_del_Grillo property:film_editor ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q166318 Q42290
P27
Q15617994
USER
Does that person belong to Bigarello ?
(Q166318,P27,Q42290)
action is_in
entity Q42290
action find
entity Q166318
relation P27
['Q166318', 'P27', 'Q42290']
ASK WHERE { resource:Q166318 property:P27 resource:Q42290 }
Ruggero Mastroianni Bigarello
action is_in
entity Bigarello
action find
entity Ruggero Mastroianni
relation country of citizenship
['Ruggero Mastroianni', 'country of citizenship', 'Bigarello']
ASK WHERE { resource:Ruggero_Mastroianni property:country_of_citizenship resource:Bigarello }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q166318,P27,Q42290)
action is_in
entity Q42290
action find
entity Q166318
relation P27
[ANSWER]
['Q166318', 'P27', 'Q42290']
ASK WHERE { resource:Q166318 property:P27 resource:Q42290 }
No
action is_in
entity Bigarello
action find
entity Ruggero Mastroianni
relation country of citizenship
['Ruggero Mastroianni', 'country of citizenship', 'Bigarello']
ASK WHERE { resource:Ruggero_Mastroianni property:country_of_citizenship resource:Bigarello }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166318
P7
Q502895
USER
Who is that one a sibling of ?
action filter_type
action find
entity Q166318
relation P7
type Q502895
SELECT DISTINCT ?a WHERE { resource:Q166318 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Ruggero Mastroianni
action filter_type
action find
entity Ruggero Mastroianni
relation brother
type common name
SELECT DISTINCT ?a WHERE { resource:Ruggero_Mastroianni property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q55469
SYSTEM
Marcello Mastroianni
Q55469
action filter_type
action find
entity Q166318
relation P7
type Q502895
That one a sibling of is [ANSWER]
SELECT DISTINCT ?a WHERE { resource:Q166318 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Marcello Mastroianni
That one a sibling of is Marcello Mastroianni
Marcello Mastroianni
action filter_type
action find
entity Ruggero Mastroianni
relation brother
type common name
SELECT DISTINCT ?a WHERE { resource:Ruggero_Mastroianni property:brother ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids had their voice dubbing done by max number of people ?
(c(Q6619679),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q502895 . ?a rdf:type ontology:Q6619679 . ?a property:P725 ?o } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?m ) WHERE { ?d property:P725 ?s . ?d rdf:type ontology:Q6619679 . ?s rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?m = ?l ) }
action argmax
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:common_name . ?a rdf:type ontology:fictional_humanoid . ?a property:voice_actor ?o } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?m ) WHERE { ?d property:voice_actor ?s . ?d rdf:type ontology:fictional_humanoid . ?s rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?m = ?l ) }
[]
common name fictional humanoid
Q15711517
SYSTEM
Granny Smith
Q15711517
(c(Q6619679),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q502895 . ?a rdf:type ontology:Q6619679 . ?a property:P725 ?o } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?m ) WHERE { ?d property:P725 ?s . ?d rdf:type ontology:Q6619679 . ?s rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?m = ?l ) }
Granny Smith
Granny Smith had their voice dubbing done by max number of people
Granny Smith
action argmax
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:common_name . ?a rdf:type ontology:fictional_humanoid . ?a property:voice_actor ?o } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?m ) WHERE { ?d property:voice_actor ?s . ?d rdf:type ontology:fictional_humanoid . ?s rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?m = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q596583 Q232109
P1411
Q4220917
USER
Which film awards were Mary Astor or The Unsinkable Molly Brown nominated for ?
OR((Q232109,P1411,c(Q4220917)), (Q596583,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q232109
relation P1411
action find
entity Q596583
relation P1411
type Q4220917
{'OR': [['Q232109', 'P1411', {'concept': 'Q4220917'}], ['Q596583', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q4220917 . { VALUES ( ?n ) { ( resource:Q232109 ) ( resource:Q596583 ) } . ?n property:P1411 ?h } }
The Unsinkable Molly Brown Mary Astor
action filter_type
action union
action find
entity Mary Astor
relation nominated for
action find
entity The Unsinkable Molly Brown
relation nominated for
type film award
{'OR': [['Mary Astor', 'nominated for', {'concept': 'film award'}], ['The Unsinkable Molly Brown', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:film_award . { VALUES ( ?n ) { ( resource:Mary_Astor ) ( resource:The_Unsinkable_Molly_Brown ) } . ?n property:nominated_for ?h } }
[]
film award
Q1011564 Q1534906 Q22752811 Q277751 Q22120066 Q21995136 Q22253131 Q670282 Q830079 Q106301
SYSTEM
Some of them are Golden Globe Award for Best Actress – Motion Picture Musical or Comedy, Golden Globe Award for New Star of the Year – Actor, Academy Award for Best Score, Adaptation or Treatment, Academy Award for Best Production Design, Academy Award for Best Costume Design, Color, Academy Award for Best Cinematography, Color, Academy Award for Best Art Direction, Color, Golden Globe Award for Best Motion Picture – Musical or Comedy, Academy Award for Best Sound Mixing, Academy Award for Best Supporting Actress
Q22752811 Q106301 Q103618 Q22253131 Q830079 Q1011564 Q1534906 Q277751 Q670282 Q21995136 Q277536 Q22120066
OR((Q232109,P1411,c(Q4220917)), (Q596583,P1411,c(Q4220917)))
action filter_type
action union
action find
entity Q232109
relation P1411
action find
entity Q596583
relation P1411
type Q4220917
Mary Astor or The Unsinkable Molly Brown were nominated for the [ANSWERS]
{'OR': [['Q232109', 'P1411', {'concept': 'Q4220917'}], ['Q596583', 'P1411', {'concept': 'Q4220917'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q4220917 . { VALUES ( ?n ) { ( resource:Q232109 ) ( resource:Q596583 ) } . ?n property:P1411 ?h } }
Academy Award for Best Score, Adaptation or Treatment Academy Award for Best Supporting Actress Academy Award for Best Actress Academy Award for Best Art Direction, Color Academy Award for Best Sound Mixing Golden Globe Award for Best Actress – Motion Picture Musical or Comedy Golden Globe Award for New Star of the Year – Actor Academy Award for Best Production Design Golden Globe Award for Best Motion Picture – Musical or Comedy Academy Award for Best Cinematography, Color Academy Award for Best Costume Design Academy Award for Best Costume Design, Color
Mary Astor or The Unsinkable Molly Brown were nominated for the Golden Globe Award for Best Actress – Motion Picture Musical or Comedy, Golden Globe Award for New Star of the Year – Actor, Academy Award for Best Score, Adaptation or Treatment, Academy Award for Best Production Design, Academy Award for Best Costume Design, Color, Academy Award for Best Cinematography, Color, Academy Award for Best Art Direction, Color, Golden Globe Award for Best Motion Picture – Musical or Comedy, Academy Award for Best Sound Mixing and Academy Award for Best Supporting Actress
Golden Globe Award for Best Actress – Motion Picture Musical or Comedy Golden Globe Award for New Star of the Year – Actor Academy Award for Best Score, Adaptation or Treatment Academy Award for Best Production Design Academy Award for Best Costume Design, Color Academy Award for Best Cinematography, Color Academy Award for Best Art Direction, Color Golden Globe Award for Best Motion Picture – Musical or Comedy Academy Award for Best Sound Mixing Academy Award for Best Supporting Actress
action filter_type
action union
action find
entity Mary Astor
relation nominated for
action find
entity The Unsinkable Molly Brown
relation nominated for
type film award
{'OR': [['Mary Astor', 'nominated for', {'concept': 'film award'}], ['The Unsinkable Molly Brown', 'nominated for', {'concept': 'film award'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:film_award . { VALUES ( ?n ) { ( resource:Mary_Astor ) ( resource:The_Unsinkable_Molly_Brown ) } . ?n property:nominated_for ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18407
P86
Q502895
USER
Which person composed La Dolce Vita ?
(Q18407,P86,c(Q502895))
action filter_type
action find
entity Q18407
relation P86
type Q502895
['Q18407', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q18407 property:P86 ?w . ?w rdf:type ontology:Q502895 }
La Dolce Vita
action filter_type
action find
entity La Dolce Vita
relation composer
type common name
['La Dolce Vita', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:La_Dolce_Vita property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q214665
SYSTEM
Nino Rota
Q214665
(Q18407,P86,c(Q502895))
action filter_type
action find
entity Q18407
relation P86
type Q502895
[ANSWER] composed La Dolce Vita
['Q18407', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q18407 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Nino Rota
Nino Rota composed La Dolce Vita
Nino Rota
action filter_type
action find
entity La Dolce Vita
relation composer
type common name
['La Dolce Vita', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:La_Dolce_Vita property:composer ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214665
P509
Q2057971
USER
What lead to the death of that person ?
(Q214665,P509,c(Q2057971))
action filter_type
action find
entity Q214665
relation P509
type Q2057971
['Q214665', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q214665 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
Nino Rota
action filter_type
action find
entity Nino Rota
relation cause of death
type health problem
['Nino Rota', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:Nino_Rota property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]
health problem
Q707774
SYSTEM
coronary thrombosis
Q707774
(Q214665,P509,c(Q2057971))
action filter_type
action find
entity Q214665
relation P509
type Q2057971
[ANSWER] lead to the death of that person
['Q214665', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { resource:Q214665 property:P509 ?f . ?f rdf:type ontology:Q2057971 }
coronary thrombosis
Coronary thrombosis lead to the death of that person
coronary thrombosis
action filter_type
action find
entity Nino Rota
relation cause of death
type health problem
['Nino Rota', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { resource:Nino_Rota property:cause_of_death ?f . ?f rdf:type ontology:health_problem }
[]