Simple Question (Direct)
Simple Question
Q17432799
P21
Q290
USER
Which sex does Axel Bosse have ?
(Q17432799,P21,c(Q290))
action filter_type
action find
entity Q17432799
relation P21
type Q290
['Q17432799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q17432799 property:P21 ?h . ?h rdf:type ontology:Q290 }
Axel Bosse
action filter_type
action find
entity Axel Bosse
relation gender
type sex
['Axel Bosse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Axel_Bosse property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17432799,P21,c(Q290))
action filter_type
action find
entity Q17432799
relation P21
type Q290
Axel Bosse has a [ANSWER]
['Q17432799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q17432799 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Axel Bosse has a male
male
action filter_type
action find
entity Axel Bosse
relation gender
type sex
['Axel Bosse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Axel_Bosse property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q340169
USER
Which media depicts that sex ?
(c(Q340169),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P180 resource:Q6581097 . ?g rdf:type ontology:Q340169 }
male
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ?g WHERE { ?g property:depicts resource:male . ?g rdf:type ontology:media }
[]
media
Q20020115
SYSTEM
Portrait of a Young Man
Q20020115
(c(Q340169),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[ANSWER] depicts that sex
[{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P180 resource:Q6581097 . ?g rdf:type ontology:Q340169 }
Portrait of a Young Man
Portrait of a Young Man depicts that sex
Portrait of a Young Man
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ?g WHERE { ?g property:depicts resource:male . ?g rdf:type ontology:media }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q19205977
P608
Q464980 Q340169
USER
How many exhibitions were greater number of medias exhibited at than 1817 Salon ?
(c(Q340169),P608,c(Q464980))
action count
action greater
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
action count
action filter_type
action find
entity Q19205977
relation P608
type Q464980
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P608 ?u . ?u rdf:type ontology:Q464980 . ?m rdf:type ontology:Q340169 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q19205977 property:P608 ?v . ?v rdf:type ontology:Q464980 } } . FILTER ( ?k > ?z ) }
1817 Salon
action count
action greater
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
action count
action filter_type
action find
entity 1817 Salon
relation exhibition history
type exhibition
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:exhibition_history ?u . ?u rdf:type ontology:exhibition . ?m rdf:type ontology:media } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:1817_Salon property:exhibition_history ?v . ?v rdf:type ontology:exhibition } } . FILTER ( ?k > ?z ) }
[]
exhibition media
SYSTEM
7
Q1345539 Q23042264 Q957317 Q871508 Q17101798 Q22666748 Q15966863
(c(Q340169),P608,c(Q464980))
action count
action greater
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
action count
action filter_type
action find
entity Q19205977
relation P608
type Q464980
[ANSWER]
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P608 ?u . ?u rdf:type ontology:Q464980 . ?m rdf:type ontology:Q340169 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q19205977 property:P608 ?v . ?v rdf:type ontology:Q464980 } } . FILTER ( ?k > ?z ) }
International Exposition 1867 Jheronimus Bosch - Visions of genius Exposition Universelle of 1889 Weltausstellung 1873 Wien Exposition des primitifs flamands à Bruges A beautiful lie - Eckersberg Seurat Paintings and Drawings
7
action count
action greater
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
action count
action filter_type
action find
entity 1817 Salon
relation exhibition history
type exhibition
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:exhibition_history ?u . ?u rdf:type ontology:exhibition . ?m rdf:type ontology:media } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:1817_Salon property:exhibition_history ?v . ?v rdf:type ontology:exhibition } } . FILTER ( ?k > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q329154
P608
Q464980 Q340169
USER
And how about Degenerate Art Exhibition?
(c(Q340169),P608,c(Q464980))
action count
action greater
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
action count
action filter_type
action find
entity Q329154
relation P608
type Q464980
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:P608 ?k . ?k rdf:type ontology:Q464980 . ?p rdf:type ontology:Q340169 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q329154 property:P608 ?d . ?d rdf:type ontology:Q464980 } } . FILTER ( ?m > ?o ) }
Degenerate Art Exhibition
action count
action greater
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
action count
action filter_type
action find
entity Degenerate Art Exhibition
relation exhibition history
type exhibition
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:exhibition_history ?k . ?k rdf:type ontology:exhibition . ?p rdf:type ontology:media } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Degenerate_Art_Exhibition property:exhibition_history ?d . ?d rdf:type ontology:exhibition } } . FILTER ( ?m > ?o ) }
[]
exhibition media
SYSTEM
7
Q1345539 Q23042264 Q957317 Q871508 Q17101798 Q22666748 Q15966863
(c(Q340169),P608,c(Q464980))
action count
action greater
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
action count
action filter_type
action find
entity Q329154
relation P608
type Q464980
[ANSWER]
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:P608 ?k . ?k rdf:type ontology:Q464980 . ?p rdf:type ontology:Q340169 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q329154 property:P608 ?d . ?d rdf:type ontology:Q464980 } } . FILTER ( ?m > ?o ) }
International Exposition 1867 Jheronimus Bosch - Visions of genius Exposition Universelle of 1889 Weltausstellung 1873 Wien Exposition des primitifs flamands à Bruges A beautiful lie - Eckersberg Seurat Paintings and Drawings
7
action count
action greater
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
action count
action filter_type
action find
entity Degenerate Art Exhibition
relation exhibition history
type exhibition
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:exhibition_history ?k . ?k rdf:type ontology:exhibition . ?p rdf:type ontology:media } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Degenerate_Art_Exhibition property:exhibition_history ?d . ?d rdf:type ontology:exhibition } } . FILTER ( ?m > ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3428208 Q20020115
P170 P161
Q502895
USER
Which people are credited with the creation of Portrait of a Young Man or are in Return to Life ?
OR((Q20020115,P170,c(Q502895)), (Q3428208,P161,c(Q502895)))
action filter_type
action union
action find
entity Q20020115
relation P170
action find
entity Q3428208
relation P161
type Q502895
{'OR': [['Q20020115', 'P170', {'concept': 'Q502895'}], ['Q3428208', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q20020115 property:P170 ?d } UNION { resource:Q3428208 property:P161 ?d } } . ?d rdf:type ontology:Q502895 }
Return to Life Portrait of a Young Man
action filter_type
action union
action find
entity Portrait of a Young Man
relation creator
action find
entity Return to Life
relation cast member
type common name
{'OR': [['Portrait of a Young Man', 'creator', {'concept': 'common name'}], ['Return to Life', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Portrait_of_a_Young_Man property:creator ?d } UNION { resource:Return_to_Life property:cast_member ?d } } . ?d rdf:type ontology:common_name }
[]
common name
Q277980 Q3171493 Q2847581 Q3370540 Q461111 Q3189584 Q3159522 Q3275588 Q1451173 Q3009733
SYSTEM
Some of them are Paul Frankeur, Jean Croué, André Darnay, Paul Azaïs, Serge Reggiani, Julien Maffre, Jacques Mattler, Madeleine Barbulée, François Périer, Cécile Didier
Q3275664 Q3301396 Q3291777 Q277980 Q60801 Q3171493 Q3161994 Q599249 Q2851001 Q3271129 Q160538 Q2847285 Q3176150 Q3073945 Q3174717 Q3275588 Q3300676 Q3009733 Q26854 Q2847581 Q3265504 Q3261897 Q461111 Q533912 Q3270500 Q3271575 Q3102293 Q370457 Q3107829 Q3159522 Q275397 Q3302094 Q3370540 Q2847441 Q3335637 Q3144902 Q3320606 Q3085517 Q3104223 Q1451173 Q3265652 Q3189584 Q3345759 Q3171001 Q3265533
OR((Q20020115,P170,c(Q502895)), (Q3428208,P161,c(Q502895)))
action filter_type
action union
action find
entity Q20020115
relation P170
action find
entity Q3428208
relation P161
type Q502895
[ANSWERS] are credited with the creation of Portrait of a Young Man or are in Return to Life
{'OR': [['Q20020115', 'P170', {'concept': 'Q502895'}], ['Q3428208', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q20020115 property:P170 ?d } UNION { resource:Q3428208 property:P161 ?d } } . ?d rdf:type ontology:Q502895 }
Madeleine Gérôme Maurice Schutz Marie-France Paul Frankeur Louis Jouvet Jean Croué Janine Darcey Bernard Blier Anne Campion Léon Larive Gian Lorenzo Bernini André Bervil Jeanne Pérez Florence Brière Jean Sylvere Madeleine Barbulée Maurice Derville Cécile Didier Jane Marken André Darnay Lucien Frégis Louis Florencie Serge Reggiani Noël Roquevert Léo Lapara Léonce Corne Georges Bever Jacques Hilling Gisèle Préville Jacques Mattler Patricia Roc Max Elloy Paul Azaïs André Carnège Nane Germon Héléna Manson Monette Dinay François Patrice Germaine Stainval François Périer Lucien Nat Julien Maffre Noël-Noël Jean Brochard Lucien Guervil
Paul Frankeur, Jean Croué, André Darnay, Paul Azaïs, Serge Reggiani, Julien Maffre, Jacques Mattler, Madeleine Barbulée, François Périer and Cécile Didier are credited with the creation of Portrait of a Young Man or are in Return to Life
Paul Frankeur Jean Croué André Darnay Paul Azaïs Serge Reggiani Julien Maffre Jacques Mattler Madeleine Barbulée François Périer Cécile Didier
action filter_type
action union
action find
entity Portrait of a Young Man
relation creator
action find
entity Return to Life
relation cast member
type common name
{'OR': [['Portrait of a Young Man', 'creator', {'concept': 'common name'}], ['Return to Life', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Portrait_of_a_Young_Man property:creator ?d } UNION { resource:Return_to_Life property:cast_member ?d } } . ?d rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art have that person in their star cast ?
(c(Q838948),P161,Q277980)
[{'concept': 'Q838948'}, 'P161', 'Q277980']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q277980 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Paul Frankeur']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Paul_Frankeur . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q3159522
SYSTEM
Did you mean Jacques Mattler ?
(c(Q838948),P161,Q277980) (c(Q838948),P161,Q3171493) (c(Q838948),P161,Q2847581) (c(Q838948),P161,Q3370540) (c(Q838948),P161,Q461111) (c(Q838948),P161,Q3189584) (c(Q838948),P161,Q3159522) (c(Q838948),P161,Q3275588) (c(Q838948),P161,Q1451173) (c(Q838948),P161,Q3009733)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q277980'] [{'concept': 'Q838948'}, 'P161', 'Q3171493'] [{'concept': 'Q838948'}, 'P161', 'Q2847581'] [{'concept': 'Q838948'}, 'P161', 'Q3370540'] [{'concept': 'Q838948'}, 'P161', 'Q461111'] [{'concept': 'Q838948'}, 'P161', 'Q3189584'] [{'concept': 'Q838948'}, 'P161', 'Q3159522'] [{'concept': 'Q838948'}, 'P161', 'Q3275588'] [{'concept': 'Q838948'}, 'P161', 'Q1451173'] [{'concept': 'Q838948'}, 'P161', 'Q3009733']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q277980 . ?z rdf:type ontology:Q838948 }
Did you mean Jacques Mattler ?
Jacques Mattler
[{'concept': 'work of art'}, 'cast member', 'Paul Frankeur'] [{'concept': 'work of art'}, 'cast member', 'Jean Croué'] [{'concept': 'work of art'}, 'cast member', 'André Darnay'] [{'concept': 'work of art'}, 'cast member', 'Paul Azaïs'] [{'concept': 'work of art'}, 'cast member', 'Serge Reggiani'] [{'concept': 'work of art'}, 'cast member', 'Julien Maffre'] [{'concept': 'work of art'}, 'cast member', 'Jacques Mattler'] [{'concept': 'work of art'}, 'cast member', 'Madeleine Barbulée'] [{'concept': 'work of art'}, 'cast member', 'François Périer'] [{'concept': 'work of art'}, 'cast member', 'Cécile Didier']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Paul_Frankeur . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Paul Frankeur. Could you tell me the answer for that?
(c(Q838948),P161,Q277980)
Q277980
[{'concept': 'Q838948'}, 'P161', 'Q277980']
[{'concept': 'work of art'}, 'cast member', 'Paul Frankeur']
[]
SYSTEM
51
Q2605493 Q3228403 Q1404656 Q1592060 Q3428208 Q3278101 Q768133 Q3549350 Q2860192 Q308920 Q29867 Q3480367 Q1214845 Q3228527 Q3220274 Q3210119 Q12146293 Q3352183 Q3278137 Q865580 Q2873336 Q3246611 Q3205513 Q3226141 Q919405 Q3222417 Q1195580 Q1058218 Q3208907 Q3024115 Q3222592 Q2308683 Q3228295 Q471445 Q3163554 Q3335512 Q3592511 Q2134387 Q1199881 Q3221850 Q660494 Q603819 Q3230471 Q3225740 Q3231769 Q3142863 Q3452097 Q2585857 Q3140575 Q2283907 Q2010054
(c(Q838948),P161,Q277980)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q277980']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q277980 . ?z rdf:type ontology:Q838948 }
Grisbi Le commissaire mène l'enquête We Are All Murderers Un singe en hiver Return to Life Maigret et l'Affaire Saint-Fiacre Le Gentleman d'Epsom A Bullet in the Gun Barrel Archimède le clochard The Discreet Charm of the Bourgeoisie Jour de Fête Service de nuit The Milky Way Speaking of Murder The Smugglers' Banquet La Longue marche Girl with Grey Eyes The Mona Lisa Has Been Stolen Maigret Sees Red Children of Paradise Before the Deluge Marie-Octobre L'Étrange Désir de monsieur Bard Mr. Orchid Nick Carter va tout casser Black Dossier Mon oncle Benjamin Sous le ciel de Paris La Fille du diable People of No Importance Le désordre et la nuit The Lovemakers The Trip to Biarritz The Phantom of Liberty Je suis un sentimental Nana Star Without Light Razzia sur la chnouf Le deuxième souffle The Ideal Couple La Nuit fantastique Thérèse Raquin Les Amants du pont Saint-Jean Le Point du jour Les copains du dimanche Huis clos Rue des prairies God's Thunder Endless Horizons Justice Is Done Come Dance with Me
51
[{'concept': 'work of art'}, 'cast member', 'Paul Frankeur']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Paul_Frankeur . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q461111
P161
Q838948
USER
How many works of art have Serge Reggiani as actor ?
(c(Q838948),P161,Q461111)
action count
action filter_type
action find_reverse
entity Q461111
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q461111']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P161 resource:Q461111 . ?s rdf:type ontology:Q838948 }
Serge Reggiani
action count
action filter_type
action find_reverse
entity Serge Reggiani
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Serge Reggiani']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:cast_member resource:Serge_Reggiani . ?s rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
48
Q3066593 Q570125 Q3224890 Q3225241 Q3428208 Q3086019 Q3211199 Q3335922 Q636176 Q10315118 Q1196452 Q937385 Q2992524 Q2394581 Q1192537 Q751550 Q782008 Q2162066 Q3791289 Q3246611 Q377274 Q3225286 Q1962561 Q2275853 Q1106157 Q1579791 Q3246684 Q829365 Q2353527 Q634809 Q3234838 Q1026997 Q3145074 Q38815 Q3592511 Q647282 Q596623 Q3822109 Q2656984 Q392424 Q3228305 Q681225 Q1197986 Q3794867 Q3230461 Q1517057 Q2870498 Q628975
(c(Q838948),P161,Q461111)
action count
action filter_type
action find_reverse
entity Q461111
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q461111']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P161 resource:Q461111 . ?s rdf:type ontology:Q838948 }
Fantastica I Hired a Contract Killer The Mystery of the Yellow Room Le Parfum de la dame en noir Return to Life François Villon Night in December Napoléon There Were Days... and Moons Warriors Five La Ronde Manon Conflit Les Misérables The Beekeeper Marie-Chantal contre le docteur Kha Red Shirts Casque d'or I sette fratelli Cervi Marie-Octobre The Last Adventure The Stowaway Le Chat et la souris Mauvais Sang The Secret People A cavallo della tigre Three billion without elevator Don't Touch the White Woman! The Good and the Bad Paris Blues Gates of the Night The 25th Hour Héroïnes Il giorno della civetta Star Without Light La terrazza The Leopard La Donna del Giorno Le Doulos Act of Love Le Voyageur de la Toussaint Army of Shadows Everybody Go Home The World Condemns Them Les amants de Vérone Let Sleeping Cops Lie Au royaume des cieux Vincent, François, Paul and the Others
48
action count
action filter_type
action find_reverse
entity Serge Reggiani
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Serge Reggiani']
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:cast_member resource:Serge_Reggiani . ?s rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1747540 Q3428208
P161
Q502895
USER
Which people are in Return to Life and Madame Bovary ?
AND((Q3428208,P161,c(Q502895)), (Q1747540,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q3428208
relation P161
action find
entity Q1747540
relation P161
type Q502895
{'AND': [['Q3428208', 'P161', {'concept': 'Q502895'}], ['Q1747540', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1747540 property:P161 ?y . resource:Q3428208 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Madame Bovary Return to Life
action filter_type
action intersection
action find
entity Return to Life
relation cast member
action find
entity Madame Bovary
relation cast member
type common name
{'AND': [['Return to Life', 'cast member', {'concept': 'common name'}], ['Madame Bovary', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { resource:Madame_Bovary property:cast_member ?y . resource:Return_to_Life property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
common name
Q3144902 Q3320606 Q3271129 Q3261897
SYSTEM
Héléna Manson, Monette Dinay, Léon Larive, Louis Florencie
Q3144902 Q3320606 Q3271129 Q3261897
AND((Q3428208,P161,c(Q502895)), (Q1747540,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q3428208
relation P161
action find
entity Q1747540
relation P161
type Q502895
[ANSWERS] are in Return to Life and Madame Bovary
{'AND': [['Q3428208', 'P161', {'concept': 'Q502895'}], ['Q1747540', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1747540 property:P161 ?y . resource:Q3428208 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Héléna Manson Monette Dinay Léon Larive Louis Florencie
Héléna Manson, Monette Dinay, Léon Larive and Louis Florencie are in Return to Life and Madame Bovary
Héléna Manson Monette Dinay Léon Larive Louis Florencie
action filter_type
action intersection
action find
entity Return to Life
relation cast member
action find
entity Madame Bovary
relation cast member
type common name
{'AND': [['Return to Life', 'cast member', {'concept': 'common name'}], ['Madame Bovary', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { resource:Madame_Bovary property:cast_member ?y . resource:Return_to_Life property:cast_member ?y . ?y rdf:type ontology:common_name }
[]