Simple Question (Direct)
Simple Question
Q4530084
P20
Q515
USER
Where did Anatoly Eiramdzhan expire ?
(Q4530084,P20,c(Q515))
action filter_type
action find
entity Q4530084
relation P20
type Q515
['Q4530084', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q4530084 property:P20 ?f . ?f rdf:type ontology:Q515 }
Anatoly Eiramdzhan
action filter_type
action find
entity Anatoly Eiramdzhan
relation place of death
type city
['Anatoly Eiramdzhan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Anatoly_Eiramdzhan property:place_of_death ?f . ?f rdf:type ontology:city }
[]
city
Q8652
SYSTEM
Miami
Q8652
(Q4530084,P20,c(Q515))
action filter_type
action find
entity Q4530084
relation P20
type Q515
Anatoly Eiramdzhan expired [ANSWER]
['Q4530084', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q4530084 property:P20 ?f . ?f rdf:type ontology:Q515 }
Miami
Anatoly Eiramdzhan expired Miami
Miami
action filter_type
action find
entity Anatoly Eiramdzhan
relation place of death
type city
['Anatoly Eiramdzhan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Anatoly_Eiramdzhan property:place_of_death ?f . ?f rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4530084
P58
Q838948
USER
Which work of art did that person do the screenwriting for ?
(c(Q838948),P58,Q8652)
action filter_type
action find_reverse
entity Q4530084
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q8652']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P58 resource:Q4530084 }
Anatoly Eiramdzhan
action filter_type
action find_reverse
entity Anatoly Eiramdzhan
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Miami']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:screenwriter resource:Anatoly_Eiramdzhan }
[]
work of art
Q4406483
SYSTEM
The Most Charming and Attractive
Q4406483
(c(Q838948),P58,Q8652)
action filter_type
action find_reverse
entity Q4530084
relation P58
type Q838948
That person did the screenwriting for [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q8652']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P58 resource:Q4530084 }
The Most Charming and Attractive
That person did the screenwriting for The Most Charming and Attractive
The Most Charming and Attractive
action filter_type
action find_reverse
entity Anatoly Eiramdzhan
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Miami']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:screenwriter resource:Anatoly_Eiramdzhan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4406483
P161
Q502895
USER
Which people starred in that work of art ?
(Q4406483,P161,c(Q502895))
action filter_type
action find
entity Q4406483
relation P161
type Q502895
['Q4406483', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q4406483 property:P161 ?w }
The Most Charming and Attractive
action filter_type
action find
entity The Most Charming and Attractive
relation cast member
type common name
['The Most Charming and Attractive', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Most_Charming_and_Attractive property:cast_member ?w }
[]
common name
Q461085 Q1962742 Q4227521
SYSTEM
Aleksandr Abdulov, Irina Muravyova, Mikhail Kokshenov
Q1962742 Q4227521 Q461085 Q4104765 Q2368070
(Q4406483,P161,c(Q502895))
action filter_type
action find
entity Q4406483
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q4406483', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q4406483 property:P161 ?w }
Irina Muravyova Mikhail Kokshenov Aleksandr Abdulov Tatyana Vasileva Leonid Kuravlyov
Aleksandr Abdulov, Irina Muravyova and Mikhail Kokshenov starred in that work of art
Aleksandr Abdulov Irina Muravyova Mikhail Kokshenov
action filter_type
action find
entity The Most Charming and Attractive
relation cast member
type common name
['The Most Charming and Attractive', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Most_Charming_and_Attractive property:cast_member ?w }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4406483
P161
Q838948
USER
Does The Most Charming and Attractive star those people as actor ?
(Q4406483,P161,Q461085) (Q4406483,P161,Q1962742) (Q4406483,P161,Q4227521)
action is_in
entity prev_answer
action find
entity Q4406483
relation P161
['Q4406483', 'P161', 'Q461085'] ['Q4406483', 'P161', 'Q1962742'] ['Q4406483', 'P161', 'Q4227521']
ASK WHERE { resource:Q4406483 property:P161 ?a . VALUES ( ?a ) { ( resource:Q1962742 ) ( resource:Q4227521 ) ( resource:Q461085 ) } }
The Most Charming and Attractive
action is_in
entity prev_answer
action find
entity The Most Charming and Attractive
relation cast member
['The Most Charming and Attractive', 'cast member', 'Aleksandr Abdulov'] ['The Most Charming and Attractive', 'cast member', 'Irina Muravyova'] ['The Most Charming and Attractive', 'cast member', 'Mikhail Kokshenov']
ASK WHERE { resource:The_Most_Charming_and_Attractive property:cast_member ?a . VALUES ( ?a ) { ( resource:Irina_Muravyova ) ( resource:Mikhail_Kokshenov ) ( resource:Aleksandr_Abdulov ) } }
[]
work of art
SYSTEM
YES
(Q4406483,P161,Q461085) (Q4406483,P161,Q1962742) (Q4406483,P161,Q4227521)
action is_in
entity prev_answer
action find
entity Q4406483
relation P161
[ANSWER]
['Q4406483', 'P161', 'Q461085'] ['Q4406483', 'P161', 'Q1962742'] ['Q4406483', 'P161', 'Q4227521']
ASK WHERE { resource:Q4406483 property:P161 ?a . VALUES ( ?a ) { ( resource:Q1962742 ) ( resource:Q4227521 ) ( resource:Q461085 ) } }
Yes
action is_in
entity prev_answer
action find
entity The Most Charming and Attractive
relation cast member
['The Most Charming and Attractive', 'cast member', 'Aleksandr Abdulov'] ['The Most Charming and Attractive', 'cast member', 'Irina Muravyova'] ['The Most Charming and Attractive', 'cast member', 'Mikhail Kokshenov']
ASK WHERE { resource:The_Most_Charming_and_Attractive property:cast_member ?a . VALUES ( ?a ) { ( resource:Irina_Muravyova ) ( resource:Mikhail_Kokshenov ) ( resource:Aleksandr_Abdulov ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4227521 Q159
P27
Q15617994
USER
Does Mikhail Kokshenov belong to Russia ?
(Q4227521,P27,Q159)
action is_in
entity Q159
action find
entity Q4227521
relation P27
['Q4227521', 'P27', 'Q159']
ASK WHERE { resource:Q4227521 property:P27 resource:Q159 }
Mikhail Kokshenov Russia
action is_in
entity Russia
action find
entity Mikhail Kokshenov
relation country of citizenship
['Mikhail Kokshenov', 'country of citizenship', 'Russia']
ASK WHERE { resource:Mikhail_Kokshenov property:country_of_citizenship resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4227521,P27,Q159)
action is_in
entity Q159
action find
entity Q4227521
relation P27
[ANSWER]
['Q4227521', 'P27', 'Q159']
ASK WHERE { resource:Q4227521 property:P27 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity Mikhail Kokshenov
relation country of citizenship
['Mikhail Kokshenov', 'country of citizenship', 'Russia']
ASK WHERE { resource:Mikhail_Kokshenov property:country_of_citizenship resource:Russia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1962742 Q159
P27
Q15617994
USER
Does Irina Muravyova belong to Russia ?
(Q1962742,P27,Q159)
action is_in
entity Q159
action find
entity Q1962742
relation P27
['Q1962742', 'P27', 'Q159']
ASK WHERE { resource:Q1962742 property:P27 resource:Q159 }
Irina Muravyova Russia
action is_in
entity Russia
action find
entity Irina Muravyova
relation country of citizenship
['Irina Muravyova', 'country of citizenship', 'Russia']
ASK WHERE { resource:Irina_Muravyova property:country_of_citizenship resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1962742,P27,Q159)
action is_in
entity Q159
action find
entity Q1962742
relation P27
[ANSWER]
['Q1962742', 'P27', 'Q159']
ASK WHERE { resource:Q1962742 property:P27 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity Irina Muravyova
relation country of citizenship
['Irina Muravyova', 'country of citizenship', 'Russia']
ASK WHERE { resource:Irina_Muravyova property:country_of_citizenship resource:Russia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8652
P6
Q502895
USER
Which person is the head of government of Miami ?
(Q8652,P6,c(Q502895))
action filter_type
action find
entity Q8652
relation P6
type Q502895
['Q8652', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q8652 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Miami
action filter_type
action find
entity Miami
relation head of government
type common name
['Miami', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Miami property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
common name
Q467638
SYSTEM
Tomás Regalado
Q467638
(Q8652,P6,c(Q502895))
action filter_type
action find
entity Q8652
relation P6
type Q502895
[ANSWER] is the head of government of Miami
['Q8652', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q8652 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Tomás Regalado
Tomás Regalado is the head of government of Miami
Tomás Regalado
action filter_type
action find
entity Miami
relation head of government
type common name
['Miami', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Miami property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person an inhabitant of ?
(Q467638,P27,c(Q15617994))
action count
action filter_type
action find
entity Q467638
relation P27
type Q15617994
['Q467638', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q467638 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Tomás Regalado
relation country of citizenship
type designation for an administrative territorial entity
['Tomás Regalado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Tomás_Regalado property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q241 Q30
(Q467638,P27,c(Q15617994))
action count
action filter_type
action find
entity Q467638
relation P27
type Q15617994
[ANSWER]
['Q467638', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q467638 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Cuba United States of America
2
action count
action filter_type
action find
entity Tomás Regalado
relation country of citizenship
type designation for an administrative territorial entity
['Tomás Regalado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Tomás_Regalado property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q43229 Q56061 Q838948
USER
Which works of art have around 1 organizations or administrative territories as their commisioner ?
(c(Q838948),P88,c(Q43229)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q43229
action find_tuple_counts
relation P88
type Q838948
type Q56061
value 1
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q43229'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { { ?h rdf:type ontology:Q838948 . ?w rdf:type ontology:Q43229 . ?h property:P88 ?w } UNION { ?h property:P88 ?w . ?w rdf:type ontology:Q56061 . ?h rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?z = 1 ) }
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type organization
action find_tuple_counts
relation commissioned by
type work of art
type administrative territorial entity
value 1
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'organization'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { { ?h rdf:type ontology:work_of_art . ?w rdf:type ontology:organization . ?h property:commissioned_by ?w } UNION { ?h property:commissioned_by ?w . ?w rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?z = 1 ) }
[]
organization administrative territorial entity work of art
Q6572993 Q3225815 Q4091869
SYSTEM
Amphitrite, the wave and the sea birds, Le Porteur de viande, The Big Fish
Q4091869 Q12347248 Q19693349 Q1231464 Q3225815 Q6572993 Q19681517 Q19730417
(c(Q838948),P88,c(Q43229)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q43229
action find_tuple_counts
relation P88
type Q838948
type Q56061
value 1
[ANSWERS] have around 1 organizations or administrative territories as their commisioner
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q43229'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { { ?h rdf:type ontology:Q838948 . ?w rdf:type ontology:Q43229 . ?h property:P88 ?w } UNION { ?h property:P88 ?w . ?w rdf:type ontology:Q56061 . ?h rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?z = 1 ) }
The Big Fish Esperanto memorial Begegnung Senster Le Porteur de viande Amphitrite, the wave and the sea birds Wasserlichtfeldspiegel Spiegelfaltung
Amphitrite, the wave and the sea birds, Le Porteur de viande and The Big Fish have around 1 organizations or administrative territories as their commisioner
Amphitrite, the wave and the sea birds Le Porteur de viande The Big Fish
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type organization
action find_tuple_counts
relation commissioned by
type work of art
type administrative territorial entity
value 1
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'organization'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?h WHERE { { ?h rdf:type ontology:work_of_art . ?w rdf:type ontology:organization . ?h property:commissioned_by ?w } UNION { ?h property:commissioned_by ?w . ?w rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?z = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P170
Q502895
USER
How many people are the creaters of that work of art ?
(Q4091869,P170,c(Q502895))
['Q4091869', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4091869 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
['The Big Fish', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Big_Fish property:creator ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q6572993
SYSTEM
Did you mean Amphitrite, the wave and the sea birds ?
(Q6572993,P170,c(Q502895)) (Q3225815,P170,c(Q502895)) (Q4091869,P170,c(Q502895))
[ANSWER]
['Q6572993', 'P170', {'concept': 'Q502895'}] ['Q3225815', 'P170', {'concept': 'Q502895'}] ['Q4091869', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4091869 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Amphitrite, the wave and the sea birds ?
Amphitrite, the wave and the sea birds
['Amphitrite, the wave and the sea birds', 'creator', {'concept': 'common name'}] ['Le Porteur de viande', 'creator', {'concept': 'common name'}] ['The Big Fish', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Big_Fish property:creator ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Big Fish. Could you tell me the answer for that?
(Q4091869,P170,c(Q502895))
Q4091869
['Q4091869', 'P170', {'concept': 'Q502895'}]
['The Big Fish', 'creator', {'concept': 'common name'}]
[]
SYSTEM
1
Q6243103
(Q4091869,P170,c(Q502895))
[ANSWER]
['Q4091869', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4091869 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
John Kindness
1
['The Big Fish', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Big_Fish property:creator ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3209226 Q4227521
P161
Q838948
USER
Which works of art do Mikhail Kokshenov or Alberto Lionello star in ?
OR((c(Q838948),P161,Q4227521), (c(Q838948),P161,Q3209226))
action filter_type
action union
action find_reverse
entity Q4227521
relation P161
action find_reverse
entity Q3209226
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q4227521'], [{'concept': 'Q838948'}, 'P161', 'Q3209226']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P161 resource:Q3209226 } UNION { ?w property:P161 resource:Q4227521 } } . ?w rdf:type ontology:Q838948 }
Alberto Lionello Mikhail Kokshenov
action filter_type
action union
action find_reverse
entity Mikhail Kokshenov
relation cast member
action find_reverse
entity Alberto Lionello
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Mikhail Kokshenov'], [{'concept': 'work of art'}, 'cast member', 'Alberto Lionello']]}
SELECT DISTINCT ?w WHERE { { { ?w property:cast_member resource:Alberto_Lionello } UNION { ?w property:cast_member resource:Mikhail_Kokshenov } } . ?w rdf:type ontology:work_of_art }
[]
work of art
Q3282927 Q511783 Q174436 Q3019987 Q1144080 Q319275 Q1196179 Q3818089 Q3607593 Q2261264
SYSTEM
Some of them are Chi si ferma è perduto, The Virgo, the Taurus and the Capricorn, Liberation, La poliziotta, Till Marriage Do Us Part, The Birds, the Bees and the Italians, Pigsty, L'Italia s'è rotta, Al piacere di rivederla, Sessomatto
Q2373306 Q3791306 Q959312 Q2261264 Q2370022 Q3966948 Q174436 Q4406483 Q3019987 Q3599077 Q3818089 Q1964207 Q3282927 Q319275 Q19817580 Q7882200 Q1293148 Q3665199 Q1196179 Q3607593 Q3899500 Q3819120 Q2905388 Q511783 Q1144080
OR((c(Q838948),P161,Q4227521), (c(Q838948),P161,Q3209226))
action filter_type
action union
action find_reverse
entity Q4227521
relation P161
action find_reverse
entity Q3209226
relation P161
type Q838948
[ANSWERS] Mikhail Kokshenov or Alberto Lionello star in
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q4227521'], [{'concept': 'Q838948'}, 'P161', 'Q3209226']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P161 resource:Q3209226 } UNION { ?w property:P161 resource:Q4227521 } } . ?w rdf:type ontology:Q838948 }
The Girls I soldi Mia nonna poliziotto Sessomatto Operation Gold Ingot Sex with a Smile II Liberation The Most Charming and Attractive La poliziotta Sex with a Smile L'Italia s'è rotta Sportloto-82 Chi si ferma è perduto The Birds, the Bees and the Italians Russian field Una voglia da morire Dream of a Summer Night Certo certissimo ... anzi probabile Pigsty Al piacere di rivederla Per amore di Poppea The Peaceful Age Black Journal The Virgo, the Taurus and the Capricorn Till Marriage Do Us Part
Chi si ferma è perduto, The Virgo, the Taurus and the Capricorn, Liberation, La poliziotta, Till Marriage Do Us Part, The Birds, the Bees and the Italians, Pigsty, L'Italia s'è rotta, Al piacere di rivederla and Sessomatto Mikhail Kokshenov or Alberto Lionello star in
Chi si ferma è perduto The Virgo, the Taurus and the Capricorn Liberation La poliziotta Till Marriage Do Us Part The Birds, the Bees and the Italians Pigsty L'Italia s'è rotta Al piacere di rivederla Sessomatto
action filter_type
action union
action find_reverse
entity Mikhail Kokshenov
relation cast member
action find_reverse
entity Alberto Lionello
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Mikhail Kokshenov'], [{'concept': 'work of art'}, 'cast member', 'Alberto Lionello']]}
SELECT DISTINCT ?w WHERE { { { ?w property:cast_member resource:Alberto_Lionello } UNION { ?w property:cast_member resource:Mikhail_Kokshenov } } . ?w rdf:type ontology:work_of_art }
[]