Simple Question (Direct)
Simple Question
Q1889233
P1066
Q502895
USER
Which person was the professor of Pierre Cornu ?
(Q1889233,P1066,c(Q502895))
action filter_type
action find
entity Q1889233
relation P1066
type Q502895
['Q1889233', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1889233 property:P1066 ?h . ?h rdf:type ontology:Q502895 }
Pierre Cornu
action filter_type
action find
entity Pierre Cornu
relation student of
type common name
['Pierre Cornu', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Cornu property:student_of ?h . ?h rdf:type ontology:common_name }
[]
common name
Q708482
SYSTEM
Othon Friesz
Q708482
(Q1889233,P1066,c(Q502895))
action filter_type
action find
entity Q1889233
relation P1066
type Q502895
[ANSWER] was the professor of Pierre Cornu
['Q1889233', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1889233 property:P1066 ?h . ?h rdf:type ontology:Q502895 }
Othon Friesz
Othon Friesz was the professor of Pierre Cornu
Othon Friesz
action filter_type
action find
entity Pierre Cornu
relation student of
type common name
['Pierre Cornu', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Pierre_Cornu property:student_of ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q708482
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q708482,P106,c(Q12737077))
action filter_type
action find
entity Q708482
relation P106
type Q12737077
['Q708482', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q708482 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Othon Friesz
action filter_type
action find
entity Othon Friesz
relation occupation
type occupation
['Othon Friesz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Othon_Friesz property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q708482,P106,c(Q12737077))
action filter_type
action find
entity Q708482
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q708482', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q708482 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
painter
The painter is the profession of that person
painter
action filter_type
action find
entity Othon Friesz
relation occupation
type occupation
['Othon Friesz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Othon_Friesz property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6042130
Q12737077
USER
And how about Perri 6?
(Q6042130,P106,c(Q12737077))
action filter_type
action find
entity Q6042130
relation P106
type Q12737077
['Q6042130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6042130 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Perri 6
action filter_type
action find
entity Perri 6
relation occupation
type occupation
['Perri 6', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Perri_6 property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q2306091
SYSTEM
sociologist
Q2306091
(Q6042130,P106,c(Q12737077))
action filter_type
action find
entity Q6042130
relation P106
type Q12737077
[ANSWER]
['Q6042130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6042130 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
sociologist
sociologist
action filter_type
action find
entity Perri 6
relation occupation
type occupation
['Perri 6', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Perri_6 property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3316293 Q1028181
P161 P417
Q502895
USER
Which people are the patron saints of painter or starred in Pillaged ?
OR((Q1028181,P417,c(Q502895)), (Q3316293,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1028181
relation P417
action find
entity Q3316293
relation P161
type Q502895
{'OR': [['Q1028181', 'P417', {'concept': 'Q502895'}], ['Q3316293', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1028181 property:P417 ?i } UNION { resource:Q3316293 property:P161 ?i } } . ?i rdf:type ontology:Q502895 }
Pillaged painter
action filter_type
action union
action find
entity painter
relation patron saint
action find
entity Pillaged
relation cast member
type common name
{'OR': [['painter', 'patron saint', {'concept': 'common name'}], ['Pillaged', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:painter property:patron_saint ?i } UNION { resource:Pillaged property:cast_member ?i } } . ?i rdf:type ontology:common_name }
[]
common name
Q3171214 Q3371652 Q2014123 Q3131809 Q62257 Q3189697 Q2941897 Q3380467 Q3130587 Q3154671
SYSTEM
Some of them are Jean Champion, Paul Le Person, Pierre Maguelon, Henri Poirier, Michel Constantin, Julien Verdier, Catherine Demongeot, Philippe Ogouz, Henri Attal, Irène Tunc
Q2848581 Q3131809 Q3171214 Q708350 Q3154671 Q82746 Q128538 Q3380467 Q3264716 Q3014208 Q3189697 Q2651925 Q3130587 Q2014123 Q2941897 Q3371652 Q62257
OR((Q1028181,P417,c(Q502895)), (Q3316293,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1028181
relation P417
action find
entity Q3316293
relation P161
type Q502895
[ANSWERS] are the patron saints of painter or starred in Pillaged
{'OR': [['Q1028181', 'P417', {'concept': 'Q502895'}], ['Q3316293', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1028181 property:P417 ?i } UNION { resource:Q3316293 property:P161 ?i } } . ?i rdf:type ontology:Q502895 }
André Rouyer Henri Poirier Jean Champion Franco Interlenghi Irène Tunc Tanya Lopert Luke the Evangelist Philippe Ogouz Luc Andrieux Daniel Ivernel Julien Verdier Xavier Gélin Henri Attal Pierre Maguelon Catherine Demongeot Paul Le Person Michel Constantin
Jean Champion, Paul Le Person, Pierre Maguelon, Henri Poirier, Michel Constantin, Julien Verdier, Catherine Demongeot, Philippe Ogouz, Henri Attal and Irène Tunc are the patron saints of painter or starred in Pillaged
Jean Champion Paul Le Person Pierre Maguelon Henri Poirier Michel Constantin Julien Verdier Catherine Demongeot Philippe Ogouz Henri Attal Irène Tunc
action filter_type
action union
action find
entity painter
relation patron saint
action find
entity Pillaged
relation cast member
type common name
{'OR': [['painter', 'patron saint', {'concept': 'common name'}], ['Pillaged', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:painter property:patron_saint ?i } UNION { resource:Pillaged property:cast_member ?i } } . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3171214 Q3371652 Q2014123 Q3131809 Q62257 Q3189697 Q2941897 Q3380467 Q3130587 Q3154671
P161
Q838948
USER
Which works of art do Jean Champion, Paul Le Person, Pierre Maguelon, Henri Poirier, Michel Constantin, Julien Verdier, Catherine Demongeot, Philippe Ogouz, Henri Attal and Irène Tunc star in ?
(c(Q838948),P161,Q3171214) (c(Q838948),P161,Q3371652) (c(Q838948),P161,Q2014123) (c(Q838948),P161,Q3131809) (c(Q838948),P161,Q62257) (c(Q838948),P161,Q3189697) (c(Q838948),P161,Q2941897) (c(Q838948),P161,Q3380467) (c(Q838948),P161,Q3130587) (c(Q838948),P161,Q3154671)
action union
action filter_type
action find_reverse
entity Q3171214
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3371652
relation P161
type Q838948
action filter_type
action find_reverse
entity Q2014123
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3131809
relation P161
type Q838948
action filter_type
action find_reverse
entity Q62257
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3189697
relation P161
type Q838948
action filter_type
action find_reverse
entity Q2941897
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3380467
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3130587
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3154671
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3171214'] [{'concept': 'Q838948'}, 'P161', 'Q3371652'] [{'concept': 'Q838948'}, 'P161', 'Q2014123'] [{'concept': 'Q838948'}, 'P161', 'Q3131809'] [{'concept': 'Q838948'}, 'P161', 'Q62257'] [{'concept': 'Q838948'}, 'P161', 'Q3189697'] [{'concept': 'Q838948'}, 'P161', 'Q2941897'] [{'concept': 'Q838948'}, 'P161', 'Q3380467'] [{'concept': 'Q838948'}, 'P161', 'Q3130587'] [{'concept': 'Q838948'}, 'P161', 'Q3154671']
SELECT DISTINCT ?u WHERE { { ?u property:P161 resource:Q3171214 . ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q838948 . ?u property:P161 resource:Q3371652 } }
Jean Champion Paul Le Person Pierre Maguelon Henri Poirier Michel Constantin Julien Verdier Catherine Demongeot Philippe Ogouz Henri Attal Irène Tunc
action union
action filter_type
action find_reverse
entity Jean Champion
relation cast member
type work of art
action filter_type
action find_reverse
entity Paul Le Person
relation cast member
type work of art
action filter_type
action find_reverse
entity Pierre Maguelon
relation cast member
type work of art
action filter_type
action find_reverse
entity Henri Poirier
relation cast member
type work of art
action filter_type
action find_reverse
entity Michel Constantin
relation cast member
type work of art
action filter_type
action find_reverse
entity Julien Verdier
relation cast member
type work of art
action filter_type
action find_reverse
entity Catherine Demongeot
relation cast member
type work of art
action filter_type
action find_reverse
entity Philippe Ogouz
relation cast member
type work of art
action filter_type
action find_reverse
entity Henri Attal
relation cast member
type work of art
action filter_type
action find_reverse
entity Irène Tunc
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean Champion'] [{'concept': 'work of art'}, 'cast member', 'Paul Le Person'] [{'concept': 'work of art'}, 'cast member', 'Pierre Maguelon'] [{'concept': 'work of art'}, 'cast member', 'Henri Poirier'] [{'concept': 'work of art'}, 'cast member', 'Michel Constantin'] [{'concept': 'work of art'}, 'cast member', 'Julien Verdier'] [{'concept': 'work of art'}, 'cast member', 'Catherine Demongeot'] [{'concept': 'work of art'}, 'cast member', 'Philippe Ogouz'] [{'concept': 'work of art'}, 'cast member', 'Henri Attal'] [{'concept': 'work of art'}, 'cast member', 'Irène Tunc']
SELECT DISTINCT ?u WHERE { { ?u property:cast_member resource:Jean_Champion . ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:work_of_art . ?u property:cast_member resource:Paul_Le_Person } }
[]
work of art
Q2394596 Q1404656 Q1610740
SYSTEM
If Paris Were Told to Us, We Are All Murderers, Marie Antoinette Queen of France
Q1610740 Q3557979 Q1200175 Q909816 Q544607 Q2183011 Q1199628 Q1216114 Q2897342 Q1416440 Q3207101 Q3316293 Q3227440 Q977950 Q784195 Q471445 Q1212357 Q1138846 Q163868 Q1403510 Q2625062 Q3221995 Q16629855 Q3817970 Q1810886 Q261403 Q3221185 Q3228321 Q3236099 Q3337788 Q1394486 Q2899052 Q3548424 Q3461256 Q1046198 Q1094519 Q3316293 Q1196574 Q468868 Q538111 Q784195 Q471445 Q1294901 Q953814 Q3321497 Q1621899 Q3321604 Q3223793 Q570966 Q3539544 Q1661961 Q2623176 Q339101 Q308920 Q128982 Q1214845 Q3540036 Q261415 Q2893077 Q905959 Q2986067 Q627975 Q759314 Q12136663 Q3316293 Q2929536 Q471445 Q1294901 Q1199716 Q2565870 Q3587965 Q628975 Q3529353 Q1143361 Q3220825 Q686059 Q3232939 Q2012425 Q3227745 Q3212023 Q3548479 Q1056704 Q3148534 Q2473093 Q3373881 Q259389 Q2247968 Q2897342 Q1858133 Q25513 Q3316293 Q3232179 Q590397 Q3209800 Q327919 Q3232990 Q3213420 Q3548877 Q3347584 Q3228578 Q3024971 Q3208833 Q3548479 Q3278137 Q338002 Q3793109 Q369544 Q1169862 Q4270918 Q3316293 Q3944899 Q3548773 Q600674 Q32734 Q1199881 Q3024718 Q1195507 Q3224385 Q368136 Q641897 Q670171 Q1213093 Q1113049 Q3539981 Q1404656 Q7506481 Q3208723 Q2921766 Q6455578 Q3033530 Q3549665 Q246793 Q1271819 Q3204755 Q2873336 Q3222417 Q3316293 Q16972828 Q3057844 Q3225740 Q3142863 Q263232 Q2625031 Q167905 Q3316293 Q804816 Q1137070 Q3316293 Q919700 Q3223582 Q2420310 Q894172 Q938851 Q1196339 Q1193534 Q2625031 Q3207917 Q1517084 Q1196741 Q3232990 Q3234617 Q1395971 Q3281998 Q3223036 Q1578604 Q3228527 Q1148491 Q1405931 Q3203726 Q493892 Q2414415 Q751550 Q383220 Q594469 Q2631381 Q1588181 Q1394486 Q612271 Q1055139 Q195593 Q758588 Q3213507 Q2473093 Q1989832 Q996020 Q3246433 Q3392255 Q674851 Q604912 Q357086 Q3228011 Q3439645 Q426332 Q1858133 Q3535714 Q1813438 Q3316293 Q1143460 Q1513821 Q1170481 Q1211672 Q1114422 Q850238 Q1306392 Q1760794 Q682328 Q3354161 Q1746058 Q528871 Q769712 Q3213184 Q804816 Q3221800 Q3227969 Q382629 Q255812 Q3108201 Q115202 Q841390 Q3127380 Q2886062 Q590397 Q606935 Q1405943 Q475286 Q3209800 Q1107196 Q232020 Q2925237 Q3091040 Q3226956 Q3038878 Q1579358 Q773816 Q3824344 Q232091 Q2394596 Q20888425 Q3877777 Q631102 Q3828227 Q1633007 Q377274 Q19861145 Q3203226 Q3316293 Q3576597 Q3235933 Q245920 Q2132418 Q517056 Q3651396 Q1056538
(c(Q838948),P161,Q3171214) (c(Q838948),P161,Q3371652) (c(Q838948),P161,Q2014123) (c(Q838948),P161,Q3131809) (c(Q838948),P161,Q62257) (c(Q838948),P161,Q3189697) (c(Q838948),P161,Q2941897) (c(Q838948),P161,Q3380467) (c(Q838948),P161,Q3130587) (c(Q838948),P161,Q3154671)
action union
action filter_type
action find_reverse
entity Q3171214
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3371652
relation P161
type Q838948
action filter_type
action find_reverse
entity Q2014123
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3131809
relation P161
type Q838948
action filter_type
action find_reverse
entity Q62257
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3189697
relation P161
type Q838948
action filter_type
action find_reverse
entity Q2941897
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3380467
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3130587
relation P161
type Q838948
action filter_type
action find_reverse
entity Q3154671
relation P161
type Q838948
If Paris were Told to Us, We Are All Murderers and Marie Antoinette Queen of France Jean Champion, Paul Le Person, Pierre Maguelon, Henri Poirier, Michel Constantin, Julien Verdier, Catherine Demongeot, Philippe Ogouz, Henri Attal and Irène Tunc star in
[{'concept': 'Q838948'}, 'P161', 'Q3171214'] [{'concept': 'Q838948'}, 'P161', 'Q3371652'] [{'concept': 'Q838948'}, 'P161', 'Q2014123'] [{'concept': 'Q838948'}, 'P161', 'Q3131809'] [{'concept': 'Q838948'}, 'P161', 'Q62257'] [{'concept': 'Q838948'}, 'P161', 'Q3189697'] [{'concept': 'Q838948'}, 'P161', 'Q2941897'] [{'concept': 'Q838948'}, 'P161', 'Q3380467'] [{'concept': 'Q838948'}, 'P161', 'Q3130587'] [{'concept': 'Q838948'}, 'P161', 'Q3154671']
SELECT DISTINCT ?u WHERE { { ?u property:P161 resource:Q3171214 . ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q838948 . ?u property:P161 resource:Q3371652 } }
Marie Antoinette Queen of France Viens chez moi Le Maître d'école Day for Night The Blood of Others I Want to Go Home Cléo from 5 to 7 Les Anges gardiens Bernadette Le Cercle rouge On the Lamb Pillaged Le sucre Coup de Torchon The Thief of Paris The Phantom of Liberty The Hatter's Ghost L'Amour à mort The Umbrellas of Cherbourg The Invitation Muriel The Creator Douce France L'Autrichienne A Matter of Resistance A Man and a Woman The Horse of Pride Le Voyou Violins at the Ball Neige The Train Bernie A Loser Diamond Safari Les malheurs d'Alfred The Tall Blond Man with One Black Shoe Pillaged The Return of Monte Cristo The Return of the Tall Blond Man with One Black Shoe The Twin The Thief of Paris The Phantom of Liberty Alexandre le bienheureux The Wings of the Dove Monsieur de Pourceaugnac Coup de tête Mont-Dragon The Judge The Little Thief Triplex Law Breakers Alice and Martin Le tatoué The Discreet Charm of the Bourgeoisie Cyrano de Bergerac The Milky Way Trois places pour le 26 My Mother's Castle Beau Masque My Father's Glory Boomerang Bed and Board The Suitor Cap Canaille Pillaged Bébert et l'Omnibus The Phantom of Liberty Alexandre le bienheureux A Bad Son Cartouche Elise, or Real Life Vincent, François, Paul and the Others The Army Game A Slightly Pregnant Man Captain Blood Murmur of the Heart The Holes Head Against the Wall Le Tracassin La provinciale The Cop I Vinti It Is Raining on Santiago Any Number Can Win Banana Peel The French Woman Faceless Bernadette Nada Paris Belongs to Us Pillaged Les Dragueurs La Carapate La Horse Dirty Heroes The Gorillas Man in the Trunk A Man Named Rocca OK Patron Le téléphone sonne toujours deux fois!! Deux heures moins le quart avant Jésus-Christ A Very Curious Girl The Cop Maigret Sees Red The Inglorious Bastards The Beast Children of Mata Hari La ragazza di via Condotti The Lion's Share Pillaged Sahara Cross Un linceul n'a pas de poches Last Known Address Cold Sweat Le deuxième souffle The Wise Guys La Scoumoune Le mataf Città violenta The Outside Man Plucking the Daisy Les Morfalous The Hole Three Women We Are All Murderers Si le soleil ne revenait pas The Woman in Blue Boulevard L'Appel du destin Docteur Petiot Une nuit à l'Assemblée Nationale A Trap for Cinderella Weekend at Dunkirk The Bear and the Doll Before the Deluge Black Dossier Pillaged Murder at 45 R.P.M. Escapade Le Point du jour Huis clos At Night All Cats Are Crazy A Woman Is a Woman Zazie dans le Métro Pillaged Faites sauter la banque! Contre-enquête Pillaged Un clair de lune à Maubeuge Playing with Fire Trop c'est trop Borsalino Pierrot le Fou La Zizanie Landru A Woman Is a Woman La Course à l'échalote The Medic The Cry of the Owl The Gorillas Girl on the Road Fantômas contre Scotland Yard Par Où T'es Rentré? On T'a Pas Vu Sortir Le Gang Goodbye Again Speaking of Murder My Life to Live Pleasure Party L'Homme pressé Male Hunt Nutty Marie-Chantal contre le docteur Kha The Under-Gifted The Unfaithful Wife Backfire Jo The Train Fantômas se déchaîne Line of Demarcation Masculin Féminin Arsene Lupin vs. Arsene Lupin La vengeance du serpent à plumes Any Number Can Win Safe Conduct Fantômas Méfiez-vous Pleins feux sur Stanislas My New Partner Cop or Hood Adieu poulet The Vampire of Düsseldorf Trap for the Assassin Les Bonnes Femmes Nada Tout est calme Madame Bovary Pillaged Vice and Virtue For a Cop's Hide The Brain The Flower of Evil Les Misérables Betty Story of Women Borsalino & Co. Masks Ophelia Violette Nozière Le Tigre aime la chair fraiche Dr. Popaul La Totale! Faites sauter la banque! Le Corps de mon ennemi The Witness Just Before Nightfall Chicken with Vinegar The Powder Puff Gang Innocents with Dirty Hands Le Solitaire Hardi Pardaillan! Bartleby La Carapate The Swindle Wise Guys Animal La Horse Le Marginal Les Biches Brigade antigangs Furia à Bahia pour OSS 117 The Champagne Murders Sweet and Sour La Chamade Léon Morin, Priest La sposa Two English Girls If Paris Were Told to Us The Conqueror of the Orient Noi siamo due evasi Bravissimo Lazzarella Live for Life The Last Adventure Le signore Slave Women of Corinth Pillaged Paris Holiday Les Truands Je t'aime, je t'aime Une Parisienne The Magnificent Sinner Camilla Frou-Frou
If Paris were Told to Us, We Are All Murderers and Marie Antoinette Queen of France Jean Champion, Paul Le Person, Pierre Maguelon, Henri Poirier, Michel Constantin, Julien Verdier, Catherine Demongeot, Philippe Ogouz, Henri Attal and Irène Tunc star in
If Paris Were Told to Us We Are All Murderers Marie Antoinette Queen of France
action union
action filter_type
action find_reverse
entity Jean Champion
relation cast member
type work of art
action filter_type
action find_reverse
entity Paul Le Person
relation cast member
type work of art
action filter_type
action find_reverse
entity Pierre Maguelon
relation cast member
type work of art
action filter_type
action find_reverse
entity Henri Poirier
relation cast member
type work of art
action filter_type
action find_reverse
entity Michel Constantin
relation cast member
type work of art
action filter_type
action find_reverse
entity Julien Verdier
relation cast member
type work of art
action filter_type
action find_reverse
entity Catherine Demongeot
relation cast member
type work of art
action filter_type
action find_reverse
entity Philippe Ogouz
relation cast member
type work of art
action filter_type
action find_reverse
entity Henri Attal
relation cast member
type work of art
action filter_type
action find_reverse
entity Irène Tunc
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean Champion'] [{'concept': 'work of art'}, 'cast member', 'Paul Le Person'] [{'concept': 'work of art'}, 'cast member', 'Pierre Maguelon'] [{'concept': 'work of art'}, 'cast member', 'Henri Poirier'] [{'concept': 'work of art'}, 'cast member', 'Michel Constantin'] [{'concept': 'work of art'}, 'cast member', 'Julien Verdier'] [{'concept': 'work of art'}, 'cast member', 'Catherine Demongeot'] [{'concept': 'work of art'}, 'cast member', 'Philippe Ogouz'] [{'concept': 'work of art'}, 'cast member', 'Henri Attal'] [{'concept': 'work of art'}, 'cast member', 'Irène Tunc']
SELECT DISTINCT ?u WHERE { { ?u property:cast_member resource:Jean_Champion . ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:work_of_art . ?u property:cast_member resource:Paul_Le_Person } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1404656
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q1404656,P344,c(Q502895))
action filter_type
action find
entity Q1404656
relation P344
type Q502895
['Q1404656', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1404656 property:P344 ?r . ?r rdf:type ontology:Q502895 }
We Are All Murderers
action filter_type
action find
entity We Are All Murderers
relation director of photography
type common name
['We Are All Murderers', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:We_Are_All_Murderers property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1404656
SYSTEM
Did you mean We Are All Murderers ?
Q2394596 Q1404656 Q1610740
(Q2394596,P344,c(Q502895)) (Q1404656,P344,c(Q502895)) (Q1610740,P344,c(Q502895))
[ANSWER]
['Q2394596', 'P344', {'concept': 'Q502895'}] ['Q1404656', 'P344', {'concept': 'Q502895'}] ['Q1610740', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1404656 property:P344 ?r . ?r rdf:type ontology:Q502895 }
If Paris Were Told to Us We Are All Murderers Marie Antoinette Queen of France
Did you mean We Are All Murderers ?
We Are All Murderers
['If Paris Were Told to Us', 'director of photography', {'concept': 'common name'}] ['We Are All Murderers', 'director of photography', {'concept': 'common name'}] ['Marie Antoinette Queen of France', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:We_Are_All_Murderers property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1404656,P344,c(Q502895))
['Q1404656', 'P344', {'concept': 'Q502895'}]
['We Are All Murderers', 'director of photography', {'concept': 'common name'}]
[]
Q914315
SYSTEM
Jean Bourgoin
Q914315
(Q1404656,P344,c(Q502895))
action filter_type
action find
entity Q1404656
relation P344
type Q502895
The cinematographer of that work of art is the [ANSWER]
['Q1404656', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1404656 property:P344 ?r . ?r rdf:type ontology:Q502895 }
Jean Bourgoin
The cinematographer of that work of art is the Jean Bourgoin
Jean Bourgoin
action filter_type
action find
entity We Are All Murderers
relation director of photography
type common name
['We Are All Murderers', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:We_Are_All_Murderers property:director_of_photography ?r . ?r rdf:type ontology:common_name }
[]