Simple Question (Direct)
Simple Question
Q19410064
P108
Q484652
USER
Which international organization employs John Hocking ?
(Q19410064,P108,c(Q484652))
action filter_type
action find
entity Q19410064
relation P108
type Q484652
['Q19410064', 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?c WHERE { resource:Q19410064 property:P108 ?c . ?c rdf:type ontology:Q484652 }
John Hocking
action filter_type
action find
entity John Hocking
relation employer
type international organization
['John Hocking', 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?c WHERE { resource:John_Hocking property:employer ?c . ?c rdf:type ontology:international_organization }
[]
international organization
Q1065
SYSTEM
United Nations
Q1065
(Q19410064,P108,c(Q484652))
action filter_type
action find
entity Q19410064
relation P108
type Q484652
[ANSWER] employs John Hocking
['Q19410064', 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ?c WHERE { resource:Q19410064 property:P108 ?c . ?c rdf:type ontology:Q484652 }
United Nations
United Nations employs John Hocking
United Nations
action filter_type
action find
entity John Hocking
relation employer
type international organization
['John Hocking', 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ?c WHERE { resource:John_Hocking property:employer ?c . ?c rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19410064
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q1065,P27,c(Q1048835))
action filter_type
action find
entity Q19410064
relation P27
type Q1048835
['Q1065', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q19410064 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
John Hocking
action filter_type
action find
entity John Hocking
relation country of citizenship
type political territorial entity
['United Nations', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:John_Hocking property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q1065,P27,c(Q1048835))
action filter_type
action find
entity Q19410064
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q1065', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q19410064 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Australia
Australia is the country of citizenship of that person
Australia
action filter_type
action find
entity John Hocking
relation country of citizenship
type political territorial entity
['United Nations', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:John_Hocking property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3203753 Q1065
P488 P161
Q502895
USER
Which people were the chair of United Nations or are in The Man Who Laughs ?
OR((Q1065,P488,c(Q502895)), (Q3203753,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1065
relation P488
action find
entity Q3203753
relation P161
type Q502895
{'OR': [['Q1065', 'P488', {'concept': 'Q502895'}], ['Q3203753', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1065 property:P488 ?l } UNION { resource:Q3203753 property:P161 ?l } } . ?l rdf:type ontology:Q502895 }
The Man Who Laughs United Nations
action filter_type
action union
action find
entity United Nations
relation chairperson
action find
entity The Man Who Laughs
relation cast member
type common name
{'OR': [['United Nations', 'chairperson', {'concept': 'common name'}], ['The Man Who Laughs', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:United_Nations property:chairperson ?l } UNION { resource:The_Man_Who_Laughs property:cast_member ?l } } . ?l rdf:type ontology:common_name }
[]
common name
Q440348 Q3559891 Q629529 Q3506431 Q1253 Q1529138 Q2925088 Q3479446 Q234890 Q106508
SYSTEM
Christa Theret, Vincent de Bouard, Arben Bajraktaraj, Swann Arlaud, Ban Ki-moon, Marc-André Grondin, Brice Fournier, Serge Merlin, Emmanuelle Seigner, Gérard Depardieu
Q440348 Q3559891 Q629529 Q3506431 Q1253 Q1529138 Q2925088 Q3479446 Q234890 Q106508
OR((Q1065,P488,c(Q502895)), (Q3203753,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1065
relation P488
action find
entity Q3203753
relation P161
type Q502895
[ANSWERS] were the chair of United Nations or are in The Man Who Laughs
{'OR': [['Q1065', 'P488', {'concept': 'Q502895'}], ['Q3203753', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1065 property:P488 ?l } UNION { resource:Q3203753 property:P161 ?l } } . ?l rdf:type ontology:Q502895 }
Christa Theret Vincent de Bouard Arben Bajraktaraj Swann Arlaud Ban Ki-moon Marc-André Grondin Brice Fournier Serge Merlin Emmanuelle Seigner Gérard Depardieu
Christa Theret, Vincent de Bouard, Arben Bajraktaraj, Swann Arlaud, Ban Ki-moon, Marc-André Grondin, Brice Fournier, Serge Merlin, Emmanuelle Seigner and Gérard Depardieu were the chair of United Nations or are in The Man Who Laughs
Christa Theret Vincent de Bouard Arben Bajraktaraj Swann Arlaud Ban Ki-moon Marc-André Grondin Brice Fournier Serge Merlin Emmanuelle Seigner Gérard Depardieu
action filter_type
action union
action find
entity United Nations
relation chairperson
action find
entity The Man Who Laughs
relation cast member
type common name
{'OR': [['United Nations', 'chairperson', {'concept': 'common name'}], ['The Man Who Laughs', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:United_Nations property:chairperson ?l } UNION { resource:The_Man_Who_Laughs property:cast_member ?l } } . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q234890
P161 P495
Q838948
USER
Which works of art have Emmanuelle Seigner as actor and are France a country of origin of ?
AND((c(Q838948),P161,Q234890), (c(Q838948),P495,Q142))
action filter_type
action intersection
action find_reverse
entity Q234890
relation P161
action find_reverse
entity Q142
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q234890'], [{'concept': 'Q838948'}, 'P495', 'Q142']]}
SELECT DISTINCT ?a WHERE { ?a property:P495 resource:Q142 . ?a property:P161 resource:Q234890 . ?a rdf:type ontology:Q838948 }
France Emmanuelle Seigner
action filter_type
action intersection
action find_reverse
entity Emmanuelle Seigner
relation cast member
action find_reverse
entity France
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Emmanuelle Seigner'], [{'concept': 'work of art'}, 'country of origin', 'France']]}
SELECT DISTINCT ?a WHERE { ?a property:country_of_origin resource:France . ?a property:cast_member resource:Emmanuelle_Seigner . ?a rdf:type ontology:work_of_art }
[]
work of art
Q383024 Q11390744 Q472600 Q3415296 Q151606 Q236217 Q1584281 Q761423 Q3208315 Q1322361
SYSTEM
Some of them are Change of Plans, Venus in Fur, The Diving Bell and the Butterfly, RPM, Place Vendôme, La Vie en Rose, Happily Ever After, Nirvana, The Gods Must Be Daring, Year of the Jellyfish
Q3203753 Q3415296 Q119526 Q236217 Q11390744 Q3400683 Q878964 Q151606 Q383024 Q126652 Q1584281 Q761423 Q19405 Q979231 Q472600 Q2997831 Q1322361 Q2878435 Q3414137 Q3208315
AND((c(Q838948),P161,Q234890), (c(Q838948),P495,Q142))
action filter_type
action intersection
action find_reverse
entity Q234890
relation P161
action find_reverse
entity Q142
relation P495
type Q838948
[ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q234890'], [{'concept': 'Q838948'}, 'P495', 'Q142']]}
SELECT DISTINCT ?a WHERE { ?a property:P495 resource:Q142 . ?a property:P161 resource:Q234890 . ?a rdf:type ontology:Q838948 }
The Man Who Laughs RPM In the House La Vie en Rose Venus in Fur Let's Hope it Lasts Bitter Moon Place Vendôme Change of Plans Frantic Happily Ever After Nirvana The Ninth Gate Détective The Diving Bell and the Butterfly Corps à corps Year of the Jellyfish Backstage A Few Hours of Spring The Gods Must Be Daring
Nirvana, The Gods must Be Daring and Year of the Jellyfish have Emmanuelle Seigner as actor and are France a country of origin of
Change of Plans Venus in Fur The Diving Bell and the Butterfly RPM Place Vendôme La Vie en Rose Happily Ever After Nirvana The Gods Must Be Daring Year of the Jellyfish
action filter_type
action intersection
action find_reverse
entity Emmanuelle Seigner
relation cast member
action find_reverse
entity France
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Emmanuelle Seigner'], [{'concept': 'work of art'}, 'country of origin', 'France']]}
SELECT DISTINCT ?a WHERE { ?a property:country_of_origin resource:France . ?a property:cast_member resource:Emmanuelle_Seigner . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q383024 Q11390744 Q472600 Q3415296 Q151606 Q236217 Q1584281 Q761423 Q3208315 Q1322361
P161
Q502895
USER
Which people are in Change of Plans, Venus in Fur, The Diving Bell and the Butterfly, RPM, Place Vendôme, La Vie en Rose, Happily Ever After, Nirvana, The Gods Must Be Daring and Year of the Jellyfish ?
(Q383024,P161,c(Q502895)) (Q11390744,P161,c(Q502895)) (Q472600,P161,c(Q502895)) (Q3415296,P161,c(Q502895)) (Q151606,P161,c(Q502895)) (Q236217,P161,c(Q502895)) (Q1584281,P161,c(Q502895)) (Q761423,P161,c(Q502895)) (Q3208315,P161,c(Q502895)) (Q1322361,P161,c(Q502895))
action union
action filter_type
action find
entity Q383024
relation P161
type Q502895
action filter_type
action find
entity Q11390744
relation P161
type Q502895
action filter_type
action find
entity Q472600
relation P161
type Q502895
action filter_type
action find
entity Q3415296
relation P161
type Q502895
action filter_type
action find
entity Q151606
relation P161
type Q502895
action filter_type
action find
entity Q236217
relation P161
type Q502895
action filter_type
action find
entity Q1584281
relation P161
type Q502895
action filter_type
action find
entity Q761423
relation P161
type Q502895
action filter_type
action find
entity Q3208315
relation P161
type Q502895
action filter_type
action find
entity Q1322361
relation P161
type Q502895
['Q383024', 'P161', {'concept': 'Q502895'}] ['Q11390744', 'P161', {'concept': 'Q502895'}] ['Q472600', 'P161', {'concept': 'Q502895'}] ['Q3415296', 'P161', {'concept': 'Q502895'}] ['Q151606', 'P161', {'concept': 'Q502895'}] ['Q236217', 'P161', {'concept': 'Q502895'}] ['Q1584281', 'P161', {'concept': 'Q502895'}] ['Q761423', 'P161', {'concept': 'Q502895'}] ['Q3208315', 'P161', {'concept': 'Q502895'}] ['Q1322361', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { resource:Q11390744 property:P161 ?o . ?o rdf:type ontology:Q502895 } UNION { resource:Q383024 property:P161 ?o . ?o rdf:type ontology:Q502895 } }
Change of Plans Venus in Fur The Diving Bell and the Butterfly RPM Place Vendôme La Vie en Rose Happily Ever After Nirvana The Gods Must Be Daring Year of the Jellyfish
action union
action filter_type
action find
entity Change of Plans
relation cast member
type common name
action filter_type
action find
entity Venus in Fur
relation cast member
type common name
action filter_type
action find
entity The Diving Bell and the Butterfly
relation cast member
type common name
action filter_type
action find
entity RPM
relation cast member
type common name
action filter_type
action find
entity Place Vendôme
relation cast member
type common name
action filter_type
action find
entity La Vie en Rose
relation cast member
type common name
action filter_type
action find
entity Happily Ever After
relation cast member
type common name
action filter_type
action find
entity Nirvana
relation cast member
type common name
action filter_type
action find
entity The Gods Must Be Daring
relation cast member
type common name
action filter_type
action find
entity Year of the Jellyfish
relation cast member
type common name
['Change of Plans', 'cast member', {'concept': 'common name'}] ['Venus in Fur', 'cast member', {'concept': 'common name'}] ['The Diving Bell and the Butterfly', 'cast member', {'concept': 'common name'}] ['RPM', 'cast member', {'concept': 'common name'}] ['Place Vendôme', 'cast member', {'concept': 'common name'}] ['La Vie en Rose', 'cast member', {'concept': 'common name'}] ['Happily Ever After', 'cast member', {'concept': 'common name'}] ['Nirvana', 'cast member', {'concept': 'common name'}] ['The Gods Must Be Daring', 'cast member', {'concept': 'common name'}] ['Year of the Jellyfish', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { resource:Venus_in_Fur property:cast_member ?o . ?o rdf:type ontology:common_name } UNION { resource:Change_of_Plans property:cast_member ?o . ?o rdf:type ontology:common_name } }
[]
common name
Q106508 Q106418 Q37175
SYSTEM
Gérard Depardieu, Catherine Deneuve, Johnny Depp
Q6292322 Q292760 Q3219528 Q123135 Q2966653 Q3119826 Q468190 Q3009121 Q3288347 Q456360 Q276432 Q3190737 Q171530 Q234890 Q271944 Q3189281 Q231276 Q452106 Q234890 Q355835 Q3086542 Q1974920 Q6292322 Q461945 Q319527 Q292760 Q437415 Q203215 Q204394 Q355835 Q239341 Q3218807 Q5626030 Q391297 Q234890 Q3082304 Q3168898 Q382396 Q60304 Q1342843 Q190794 Q109147 Q1229052 Q234890 Q294185 Q116314 Q239476 Q3507319 Q106418 Q576085 Q3591341 Q3379593 Q713477 Q375191 Q3587868 Q981203 Q234890 Q327229 Q2185587 Q3287895 Q274113 Q443516 Q949391 Q8927 Q3291554 Q3286446 Q324068 Q3034988 Q2966416 Q1775644 Q15069930 Q106508 Q16667921 Q573679 Q3384713 Q3008655 Q234890 Q3287782 Q3587868 Q242526 Q967764 Q2830755 Q952106 Q3219419 Q3168621 Q2848415 Q3035372 Q2280205 Q448021 Q2849589 Q3340838 Q136221 Q3190813 Q228607 Q2829677 Q298905 Q37175 Q3502209 Q725519 Q724208 Q234890 Q276005 Q105158 Q4022887 Q3894434 Q1179412 Q1874771 Q4007918 Q697816 Q34922 Q461074 Q3830365 Q4002773 Q456710 Q425826 Q677260 Q3783562 Q454135 Q9257523 Q3637342 Q3763602 Q3932789 Q1042185 Q1523696 Q234890 Q3436089 Q272804 Q3165813 Q3082041 Q225531 Q2827004 Q648036 Q1187592 Q3218916 Q462147 Q3345693 Q236138 Q391974 Q275073 Q1807890 Q234890 Q2965042 Q3430799 Q921928 Q822410 Q3089868 Q978266 Q525389 Q2929408 Q2087651 Q561124 Q956942 Q436682 Q234890 Q273292 Q543169
(Q383024,P161,c(Q502895)) (Q11390744,P161,c(Q502895)) (Q472600,P161,c(Q502895)) (Q3415296,P161,c(Q502895)) (Q151606,P161,c(Q502895)) (Q236217,P161,c(Q502895)) (Q1584281,P161,c(Q502895)) (Q761423,P161,c(Q502895)) (Q3208315,P161,c(Q502895)) (Q1322361,P161,c(Q502895))
action union
action filter_type
action find
entity Q383024
relation P161
type Q502895
action filter_type
action find
entity Q11390744
relation P161
type Q502895
action filter_type
action find
entity Q472600
relation P161
type Q502895
action filter_type
action find
entity Q3415296
relation P161
type Q502895
action filter_type
action find
entity Q151606
relation P161
type Q502895
action filter_type
action find
entity Q236217
relation P161
type Q502895
action filter_type
action find
entity Q1584281
relation P161
type Q502895
action filter_type
action find
entity Q761423
relation P161
type Q502895
action filter_type
action find
entity Q3208315
relation P161
type Q502895
action filter_type
action find
entity Q1322361
relation P161
type Q502895
[ANSWERS] are in Change of Plans, Venus in Fur, The Diving Bell and the Butterfly, RPM, Place Vendôme, La Vie en Rose, Happily Ever After, Nirvana, The Gods Must Be Daring and Year of the Jellyfish
['Q383024', 'P161', {'concept': 'Q502895'}] ['Q11390744', 'P161', {'concept': 'Q502895'}] ['Q472600', 'P161', {'concept': 'Q502895'}] ['Q3415296', 'P161', {'concept': 'Q502895'}] ['Q151606', 'P161', {'concept': 'Q502895'}] ['Q236217', 'P161', {'concept': 'Q502895'}] ['Q1584281', 'P161', {'concept': 'Q502895'}] ['Q761423', 'P161', {'concept': 'Q502895'}] ['Q3208315', 'P161', {'concept': 'Q502895'}] ['Q1322361', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { resource:Q11390744 property:P161 ?o . ?o rdf:type ontology:Q502895 } UNION { resource:Q383024 property:P161 ?o . ?o rdf:type ontology:Q502895 } }
Patrick Chesnais Marina Hands Laurent Stocker Pierre Arditi Christopher Thompson Guillaume Durand Dany Boon Cyrille Eldin Marc Rioufol Marina Foïs Blanca Li Jérémy Bardeau Patrick Bruel Emmanuelle Seigner Karin Viard Julie Villers Angélique Kidjo Claire Chazal Emmanuelle Seigner Mathieu Amalric Françoise Lebrun Niels Arestrup Patrick Chesnais Anne Alvaro Jean-Pierre Cassel Marina Hands Anne Consigny Max von Sydow Zinedine Soualem Mathieu Amalric Marie-Josée Croze Laure de Clermont-Tonnerre Gérard Watkins Agathe de La Fontaine Emmanuelle Seigner Franck Victor Jean-Philippe Écoffey Nicolas Le Riche Emma de Caunes Isaach de Bankolé Famke Janssen Patrick Allen Kenneth Cranham Emmanuelle Seigner David Arquette Jean-Luc Bideau Jerry Hall Sylvie Flepp Catherine Deneuve François Berléand Éric Ruf Philippe Clévenot Jacques Dutronc László Szabó Élisabeth Commelin Jean-Pierre Bacri Emmanuelle Seigner Bernard Fresson Malik Zidi Marc Chapiteau Catherine Allégret Clotilde Courau Jean-Paul Rouve Marion Cotillard Marie-Armelle Deguy Manon Chevallier Marek Vašut Dominique Bettenfeld Christophe Odent Jean-Pierre Martins Pauline Burlet Gérard Depardieu Olivier Cruveiller Pascal Greggory Pierre Derenne Cylia Malki Emmanuelle Seigner Marc Barbé Élisabeth Commelin Sylvie Testud Denis Ménochet Alban Casterman Caroline Silhol Laurent Olmedo Jean-Paul Muel André Penvern Dominique Paturel Carolina Gynning Alain Chabat Angie David Nicolas Vaude Aurore Clément Jérôme Bertin Anouk Aimée Alain Cohen Claude Berri Johnny Depp Stéphanie Murat Keith Allen Yvan Attal Emmanuelle Seigner Charlotte Gainsbourg Christopher Lambert Yoon Cometti Joyce Paolo Rossi Claudio Bisio Ugo Conti Valerio Staffelli Sergio Rubini Diego Abatantuono Stefania Rocca Leonardo Gajo Ugo Conti Antonello Grimaldi Luisa Corna Silvio Orlando Haruhiko Yamanouchi Amanda Sandrelli Fabio Sartor Bebo Storti Gianni Palladino Renato Sarti Antonio Catania Gigio Alberti Emmanuelle Seigner Robert Plagnol Emmanuelle Bercot Jean-François Perrier Franck Adrien Olivier Py Agnès Obadia Antoine de Caunes Denis Podalydès Laurence Masliah Hélène de Fougerolles Nozha Khouadra Élodie Bouchez Roschdy Zem Amanda Langlet Laure Marsac Emmanuelle Seigner Christian Benedetti Richard Gotainer Hubert Koundé Bernard Farcy Frédéric Gélard Charlotte Kady Barbara Nielsen Béatrice Agenin Philippe Lemaire Jacques Perrin Pierre Vaneck Valérie Kaprisky Emmanuelle Seigner Caroline Cellier Bernard Giraudeau
Gérard Depardieu, Catherine Deneuve and Johnny Depp are in Change of Plans, Venus in Fur, The Diving Bell and the Butterfly, RPM, Place Vendôme, La Vie en Rose, Happily Ever After, Nirvana, The Gods Must Be Daring and Year of the Jellyfish
Gérard Depardieu Catherine Deneuve Johnny Depp
action union
action filter_type
action find
entity Change of Plans
relation cast member
type common name
action filter_type
action find
entity Venus in Fur
relation cast member
type common name
action filter_type
action find
entity The Diving Bell and the Butterfly
relation cast member
type common name
action filter_type
action find
entity RPM
relation cast member
type common name
action filter_type
action find
entity Place Vendôme
relation cast member
type common name
action filter_type
action find
entity La Vie en Rose
relation cast member
type common name
action filter_type
action find
entity Happily Ever After
relation cast member
type common name
action filter_type
action find
entity Nirvana
relation cast member
type common name
action filter_type
action find
entity The Gods Must Be Daring
relation cast member
type common name
action filter_type
action find
entity Year of the Jellyfish
relation cast member
type common name
['Change of Plans', 'cast member', {'concept': 'common name'}] ['Venus in Fur', 'cast member', {'concept': 'common name'}] ['The Diving Bell and the Butterfly', 'cast member', {'concept': 'common name'}] ['RPM', 'cast member', {'concept': 'common name'}] ['Place Vendôme', 'cast member', {'concept': 'common name'}] ['La Vie en Rose', 'cast member', {'concept': 'common name'}] ['Happily Ever After', 'cast member', {'concept': 'common name'}] ['Nirvana', 'cast member', {'concept': 'common name'}] ['The Gods Must Be Daring', 'cast member', {'concept': 'common name'}] ['Year of the Jellyfish', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { resource:Venus_in_Fur property:cast_member ?o . ?o rdf:type ontology:common_name } UNION { resource:Change_of_Plans property:cast_member ?o . ?o rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q106508 Q106418 Q37175
P1411
Q4220917
USER
What were Gérard Depardieu, Catherine Deneuve and Johnny Depp nominated for ?
(Q106508,P1411,c(Q4220917)) (Q106418,P1411,c(Q4220917)) (Q37175,P1411,c(Q4220917))
action union
action filter_type
action find
entity Q106508
relation P1411
type Q4220917
action filter_type
action find
entity Q106418
relation P1411
type Q4220917
action filter_type
action find
entity Q37175
relation P1411
type Q4220917
['Q106508', 'P1411', {'concept': 'Q4220917'}] ['Q106418', 'P1411', {'concept': 'Q4220917'}] ['Q37175', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Q106508 ) ( resource:Q106418 ) } . ?d property:P1411 ?y }
Gérard Depardieu Catherine Deneuve Johnny Depp
action union
action filter_type
action find
entity Gérard Depardieu
relation nominated for
type film award
action filter_type
action find
entity Catherine Deneuve
relation nominated for
type film award
action filter_type
action find
entity Johnny Depp
relation nominated for
type film award
['Gérard Depardieu', 'nominated for', {'concept': 'film award'}] ['Catherine Deneuve', 'nominated for', {'concept': 'film award'}] ['Johnny Depp', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Gérard_Depardieu ) ( resource:Catherine_Deneuve ) } . ?d property:nominated_for ?y }
[]
film award
Q181883 Q1967731 Q1377738
SYSTEM
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy, National Society of Film Critics Award for Best Actor, European Film Award for Best Actress
Q932281 Q181883 Q400007 Q103916 Q1967731 Q687123 Q103618 Q1377738 Q11789134 Q103916
(Q106508,P1411,c(Q4220917)) (Q106418,P1411,c(Q4220917)) (Q37175,P1411,c(Q4220917))
action union
action filter_type
action find
entity Q106508
relation P1411
type Q4220917
action filter_type
action find
entity Q106418
relation P1411
type Q4220917
action filter_type
action find
entity Q37175
relation P1411
type Q4220917
Gérard Depardieu , Catherine Deneuve and Johnny Depp were nominated for [ANSWERS]
['Q106508', 'P1411', {'concept': 'Q4220917'}] ['Q106418', 'P1411', {'concept': 'Q4220917'}] ['Q37175', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Q106508 ) ( resource:Q106418 ) } . ?d property:P1411 ?y }
European Film Award for Best Actor Golden Globe Award for Best Actor – Motion Picture Musical or Comedy BAFTA Award for Best Actor in a Leading Role Academy Award for Best Actor National Society of Film Critics Award for Best Actor BAFTA Award for Best Actress in a Leading Role Academy Award for Best Actress European Film Award for Best Actress Satellite Award for Best Actress in a Musical or Comedy Academy Award for Best Actor
Gérard Depardieu , Catherine Deneuve and Johnny Depp were nominated for Golden Globe Award for Best Actor – Motion Picture Musical or Comedy, National Society of Film Critics Award for Best Actor and European Film Award for Best Actress
Golden Globe Award for Best Actor – Motion Picture Musical or Comedy National Society of Film Critics Award for Best Actor European Film Award for Best Actress
action union
action filter_type
action find
entity Gérard Depardieu
relation nominated for
type film award
action filter_type
action find
entity Catherine Deneuve
relation nominated for
type film award
action filter_type
action find
entity Johnny Depp
relation nominated for
type film award
['Gérard Depardieu', 'nominated for', {'concept': 'film award'}] ['Catherine Deneuve', 'nominated for', {'concept': 'film award'}] ['Johnny Depp', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?d ) { ( resource:Gérard_Depardieu ) ( resource:Catherine_Deneuve ) } . ?d property:nominated_for ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11390744
P921
Q12136
USER
What was the main subject of Venus in Fur 's work ?
(Q11390744,P921,c(Q12136))
action filter_type
action find
entity Q11390744
relation P921
type Q12136
['Q11390744', 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?e WHERE { resource:Q11390744 property:P921 ?e . ?e rdf:type ontology:Q12136 }
Venus in Fur
action filter_type
action find
entity Venus in Fur
relation main subject
type disease
['Venus in Fur', 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?e WHERE { resource:Venus_in_Fur property:main_subject ?e . ?e rdf:type ontology:disease }
[]
disease
Q2211650
SYSTEM
sadomasochism
Q2211650
(Q11390744,P921,c(Q12136))
action filter_type
action find
entity Q11390744
relation P921
type Q12136
The main subject of Venus was in Fur's work of [ANSWER]
['Q11390744', 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?e WHERE { resource:Q11390744 property:P921 ?e . ?e rdf:type ontology:Q12136 }
sadomasochism
The main subject of Venus was in Fur's work of sadomasochism
sadomasochism
action filter_type
action find
entity Venus in Fur
relation main subject
type disease
['Venus in Fur', 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?e WHERE { resource:Venus_in_Fur property:main_subject ?e . ?e rdf:type ontology:disease }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q114089 Q19410064
P19 P20
Q56061
USER
Which administrative territories were John Hocking born in or did the demise of Arthur Kaps occur ?
OR((Q19410064,P19,c(Q56061)), (Q114089,P20,c(Q56061)))
action filter_type
action union
action find
entity Q19410064
relation P19
action find
entity Q114089
relation P20
type Q56061
{'OR': [['Q19410064', 'P19', {'concept': 'Q56061'}], ['Q114089', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q19410064 property:P19 ?x } UNION { resource:Q114089 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Arthur Kaps John Hocking
action filter_type
action union
action find
entity John Hocking
relation place of birth
action find
entity Arthur Kaps
relation place of death
type administrative territorial entity
{'OR': [['John Hocking', 'place of birth', {'concept': 'administrative territorial entity'}], ['Arthur Kaps', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:John_Hocking property:place_of_birth ?x } UNION { resource:Arthur_Kaps property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3141 Q1492
SYSTEM
Melbourne, Barcelona
Q3141 Q1492
OR((Q19410064,P19,c(Q56061)), (Q114089,P20,c(Q56061)))
action filter_type
action union
action find
entity Q19410064
relation P19
action find
entity Q114089
relation P20
type Q56061
John Hocking were born occur in [ANSWERS]
{'OR': [['Q19410064', 'P19', {'concept': 'Q56061'}], ['Q114089', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q19410064 property:P19 ?x } UNION { resource:Q114089 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Melbourne Barcelona
John Hocking were born occur in Melbourne and Barcelona
Melbourne Barcelona
action filter_type
action union
action find
entity John Hocking
relation place of birth
action find
entity Arthur Kaps
relation place of death
type administrative territorial entity
{'OR': [['John Hocking', 'place of birth', {'concept': 'administrative territorial entity'}], ['Arthur Kaps', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:John_Hocking property:place_of_birth ?x } UNION { resource:Arthur_Kaps property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2281467
P190
Q56061
USER
Are Luokė twin town of those ones ?
(Q2281467,P190,Q3141) (Q2281467,P190,Q1492)
action is_in
entity prev_answer
action find
entity Q2281467
relation P190
['Q2281467', 'P190', 'Q3141'] ['Q2281467', 'P190', 'Q1492']
ASK WHERE { resource:Q2281467 property:P190 ?y . VALUES ( ?y ) { ( resource:Q3141 ) ( resource:Q1492 ) } }
Luokė
action is_in
entity prev_answer
action find
entity Luokė
relation sister city
['Luokė', 'sister city', 'Melbourne'] ['Luokė', 'sister city', 'Barcelona']
ASK WHERE { resource:Luokė property:sister_city ?y . VALUES ( ?y ) { ( resource:Melbourne ) ( resource:Barcelona ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q2281467,P190,Q3141) (Q2281467,P190,Q1492)
action is_in
entity prev_answer
action find
entity Q2281467
relation P190
[ANSWER]
['Q2281467', 'P190', 'Q3141'] ['Q2281467', 'P190', 'Q1492']
ASK WHERE { resource:Q2281467 property:P190 ?y . VALUES ( ?y ) { ( resource:Q3141 ) ( resource:Q1492 ) } }
No
action is_in
entity prev_answer
action find
entity Luokė
relation sister city
['Luokė', 'sister city', 'Melbourne'] ['Luokė', 'sister city', 'Barcelona']
ASK WHERE { resource:Luokė property:sister_city ?y . VALUES ( ?y ) { ( resource:Melbourne ) ( resource:Barcelona ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q4220917 Q502895 Q838948
USER
Which film awards were max number of people and works of art a recipient of ?
(c(Q502895)|c(Q838948),P1411,c(Q4220917))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?a WHERE { { ?a rdf:type ontology:Q4220917 . ?j rdf:type ontology:Q838948 . ?j property:P1411 ?a } UNION { ?a rdf:type ontology:Q4220917 . ?j rdf:type ontology:Q502895 . ?j property:P1411 ?a } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?t WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?t } . FILTER ( ?f = ?b ) }
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?a WHERE { { ?a rdf:type ontology:film_award . ?j rdf:type ontology:work_of_art . ?j property:nominated_for ?a } UNION { ?a rdf:type ontology:film_award . ?j rdf:type ontology:common_name . ?j property:nominated_for ?a } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?t WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?t } . FILTER ( ?f = ?b ) }
[]
film award common name work of art
Q830079
SYSTEM
Academy Award for Best Sound Mixing
Q830079
(c(Q502895)|c(Q838948),P1411,c(Q4220917))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q4220917
type Q838948
The [ANSWER] was max number of people and works of art a recipient of
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?a WHERE { { ?a rdf:type ontology:Q4220917 . ?j rdf:type ontology:Q838948 . ?j property:P1411 ?a } UNION { ?a rdf:type ontology:Q4220917 . ?j rdf:type ontology:Q502895 . ?j property:P1411 ?a } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?t WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?t } . FILTER ( ?f = ?b ) }
Academy Award for Best Sound Mixing
The Academy Award for Best Sound Mixing was max number of people and works of art a recipient of
Academy Award for Best Sound Mixing
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type film award
type common name
action find_reverse_tuple_counts
relation nominated for
type film award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?a WHERE { { ?a rdf:type ontology:film_award . ?j rdf:type ontology:work_of_art . ?j property:nominated_for ?a } UNION { ?a rdf:type ontology:film_award . ?j rdf:type ontology:common_name . ?j property:nominated_for ?a } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?t WHERE { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?t } . FILTER ( ?f = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q106508
P172
Q2472587
USER
Which people does Gérard Depardieu have as ethnic origin ?
(Q106508,P172,c(Q2472587))
action filter_type
action find
entity Q106508
relation P172
type Q2472587
['Q106508', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q106508 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Gérard Depardieu
action filter_type
action find
entity Gérard Depardieu
relation ethnic group
type people
['Gérard Depardieu', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Gérard_Depardieu property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
people
Q121842
SYSTEM
French people
Q121842
(Q106508,P172,c(Q2472587))
action filter_type
action find
entity Q106508
relation P172
type Q2472587
As ethnic origin Gérard Depardieu has been [ANSWER]
['Q106508', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q106508 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
French people
As ethnic origin Gérard Depardieu has been French people
French people
action filter_type
action find
entity Gérard Depardieu
relation ethnic group
type people
['Gérard Depardieu', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Gérard_Depardieu property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P180
Q2472587 Q838948 Q15709879
USER
How many peoples are expressed in more number of works of art or artwork series than that people ?
(c(Q838948)|c(Q15709879),P180,c(Q2472587))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q2472587
type Q838948
action find_reverse_tuple_counts
relation P180
type Q2472587
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q121842
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q2472587'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?v WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } } GROUP BY ?v } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P180 resource:Q121842 . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15709879 } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type people
type work of art
action find_reverse_tuple_counts
relation depicts
type people
type artwork series
action count
action filter_multi_types
action find_reverse
entity French people
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'people'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?v WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } } GROUP BY ?v } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:depicts resource:French_people . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:artwork_series } } } } }
[]
people work of art artwork series
SYSTEM
6
Q107434 Q36747 Q11073103 Q539051 Q50001 Q15140604
(c(Q838948)|c(Q15709879),P180,c(Q2472587))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q2472587
type Q838948
action find_reverse_tuple_counts
relation P180
type Q2472587
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q121842
relation P180
type Q838948
type Q15709879
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q2472587'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?v WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } } GROUP BY ?v } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P180 resource:Q121842 . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15709879 } } } } }
Sioux Native Americans Galatians Greeks Italians Nubian people
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type people
type work of art
action find_reverse_tuple_counts
relation depicts
type people
type artwork series
action count
action filter_multi_types
action find_reverse
entity French people
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'people'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?v WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } } GROUP BY ?v } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:depicts resource:French_people . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:artwork_series } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q106508
P451
Q502895
USER
Who are the partners of Gérard Depardieu ?
(Q106508,P451,c(Q502895))
action filter_type
action find
entity Q106508
relation P451
type Q502895
['Q106508', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q106508 property:P451 ?j . ?j rdf:type ontology:Q502895 }
Gérard Depardieu
action filter_type
action find
entity Gérard Depardieu
relation partner
type common name
['Gérard Depardieu', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Gérard_Depardieu property:partner ?j . ?j rdf:type ontology:common_name }
[]
common name
Q106607 Q3193313
SYSTEM
Carole Bouquet, Karine Silla
Q106607 Q3193313
(Q106508,P451,c(Q502895))
action filter_type
action find
entity Q106508
relation P451
type Q502895
The partners of Gérard Depardieu are of [ANSWERS]
['Q106508', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q106508 property:P451 ?j . ?j rdf:type ontology:Q502895 }
Carole Bouquet Karine Silla
The partners of Gérard Depardieu are of Carole Bouquet and Karine Silla
Carole Bouquet Karine Silla
action filter_type
action find
entity Gérard Depardieu
relation partner
type common name
['Gérard Depardieu', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Gérard_Depardieu property:partner ?j . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q106508
P451
Q502895
USER
Did Gérard Depardieu have those ones as their mistress ?
(Q106508,P451,Q106607) (Q106508,P451,Q3193313)
action is_in
entity prev_answer
action find
entity Q106508
relation P451
['Q106508', 'P451', 'Q106607'] ['Q106508', 'P451', 'Q3193313']
ASK WHERE { VALUES ( ?q ) { ( resource:Q106607 ) ( resource:Q3193313 ) } . resource:Q106508 property:P451 ?q }
Gérard Depardieu
action is_in
entity prev_answer
action find
entity Gérard Depardieu
relation partner
['Gérard Depardieu', 'partner', 'Carole Bouquet'] ['Gérard Depardieu', 'partner', 'Karine Silla']
ASK WHERE { VALUES ( ?q ) { ( resource:Carole_Bouquet ) ( resource:Karine_Silla ) } . resource:Gérard_Depardieu property:partner ?q }
[]
common name
SYSTEM
YES
(Q106508,P451,Q106607) (Q106508,P451,Q3193313)
action is_in
entity prev_answer
action find
entity Q106508
relation P451
[ANSWER]
['Q106508', 'P451', 'Q106607'] ['Q106508', 'P451', 'Q3193313']
ASK WHERE { VALUES ( ?q ) { ( resource:Q106607 ) ( resource:Q3193313 ) } . resource:Q106508 property:P451 ?q }
Yes
action is_in
entity prev_answer
action find
entity Gérard Depardieu
relation partner
['Gérard Depardieu', 'partner', 'Carole Bouquet'] ['Gérard Depardieu', 'partner', 'Karine Silla']
ASK WHERE { VALUES ( ?q ) { ( resource:Carole_Bouquet ) ( resource:Karine_Silla ) } . resource:Gérard_Depardieu property:partner ?q }
[]