Simple Question (Direct)
Simple Question
Q2904656
P102
Q7210356
USER
Which political organization is Yehuda Ben-Meir a member of ?
(Q2904656,P102,c(Q7210356))
action filter_type
action find
entity Q2904656
relation P102
type Q7210356
['Q2904656', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q2904656 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Yehuda Ben-Meir
action filter_type
action find
entity Yehuda Ben-Meir
relation member of political party
type political organization
['Yehuda Ben-Meir', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Yehuda_Ben-Meir property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q1501088
SYSTEM
National Religious Party
Q1501088
(Q2904656,P102,c(Q7210356))
action filter_type
action find
entity Q2904656
relation P102
type Q7210356
[ANSWER] is Yehuda Ben-Meir a member of
['Q2904656', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q2904656 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
National Religious Party
National Religious Party is Yehuda Ben-Meir a member of
National Religious Party
action filter_type
action find
entity Yehuda Ben-Meir
relation member of political party
type political organization
['Yehuda Ben-Meir', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Yehuda_Ben-Meir property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1501088
P488
Q502895
USER
Which person was the chairperson of that political organization ?
(Q1501088,P488,c(Q502895))
action filter_type
action find
entity Q1501088
relation P488
type Q502895
['Q1501088', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q1501088 property:P488 ?n }
National Religious Party
action filter_type
action find
entity National Religious Party
relation chairperson
type common name
['National Religious Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:National_Religious_Party property:chairperson ?n }
[]
common name
Q2079775
SYSTEM
Haim-Moshe Shapira
Q2079775
(Q1501088,P488,c(Q502895))
action filter_type
action find
entity Q1501088
relation P488
type Q502895
[ANSWER] was the chairperson of that political organization
['Q1501088', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q1501088 property:P488 ?n }
Haim-Moshe Shapira
Haim-Moshe Shapira was the chairperson of that political organization
Haim-Moshe Shapira
action filter_type
action find
entity National Religious Party
relation chairperson
type common name
['National Religious Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:National_Religious_Party property:chairperson ?n }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 2414 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2414
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?x = 2414 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2414
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?x = 2414 ) }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2414
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?x = 2414 ) }
bass guitar trumpet organ drum kit
Which musical instruments can around 2414 people perform with
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2414
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?x = 2414 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q21074730
P180
Q34379 Q340169
USER
Which medias express around the same number of musical instruments as Cartoon Portrait of Ilya Ostroukhov ?
(c(Q340169),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q21074730
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?b ) WHERE { ?z property:P180 ?n . ?z rdf:type ontology:Q340169 . ?n rdf:type ontology:Q34379 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q21074730 property:P180 ?c . ?c rdf:type ontology:Q340169 } } . FILTER ( ?b = ?f ) }
Cartoon Portrait of Ilya Ostroukhov
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Cartoon Portrait of Ilya Ostroukhov
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?b ) WHERE { ?z property:depicts ?n . ?z rdf:type ontology:media . ?n rdf:type ontology:musical_instrument } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Cartoon_Portrait_of_Ilya_Ostroukhov property:depicts ?c . ?c rdf:type ontology:media } } . FILTER ( ?b = ?f ) }
[]
musical instrument media
Q2956370 Q19960759 Q5397781
SYSTEM
Chanteur florentin du XVe siècle, Recumbent woman seen from behind, or Le Sommeil, Ulysses and the Sirens
Q3698232 Q18341259 Q26722217 Q18341254 Q20668033 Q19018571 Q2956370 Q591128 Q18341251 Q21084517 Q20730962 Q19969227 Q4812449 Q19960621 Q19960620 Q3630760 Q19960626 Q19960625 Q19938813 Q19861731 Q20746778 Q21743278 Q20032046 Q3464466 Q19960630 Q2374563 Q21680736 Q26806397 Q22075309 Q20739824 Q22034065 Q2072801 Q21181736 Q21181731 Q22034063 Q26788623 Q21940021 Q993743 Q19926290 Q18706602 Q26757473 Q279559 Q3976305 Q3213096 Q20427885 Q3922633 Q20199537 Q20202079 Q23955631 Q20392044 Q19960631 Q19960632 Q19960633 Q23692625 Q26236127 Q20424878 Q20746730 Q18783185 Q18783428 Q3985177 Q21750239 Q18686026 Q27068122 Q19883386 Q18688687 Q19862185 Q27068126 Q22034077 Q24037218 Q20180154 Q22034071 Q3291553 Q19962637 Q18688274 Q19973372 Q18689357 Q19018597 Q18689162 Q22075489 Q18688374 Q18783435 Q24052403 Q20639898 Q20746805 Q19883387 Q18341239 Q20427896 Q20201918 Q18683320 Q21605377 Q19973476 Q19018615 Q20489205 Q18783431 Q20489202 Q19926262 Q19960627 Q24037274 Q195801 Q19926246 Q19913859 Q19968947 Q19897679 Q18917850 Q19862183 Q19862182 Q20020115 Q19862187 Q19862186 Q21204267 Q3842599 Q19969153 Q19018581 Q20900700 Q18683041 Q19963633 Q18574705 Q20199314 Q16324551 Q2918420 Q22912548 Q18685724 Q18688885 Q26252079 Q22034074 Q23054928 Q18684925 Q18686512 Q18685400 Q607370 Q23008311 Q21151813 Q18683524 Q18686496 Q18917847 Q2709726 Q20051649 Q20201924 Q19862190 Q5397781 Q20441339 Q20392049 Q19967297 Q22912348 Q19963626 Q18684879 Q23008382 Q18685994 Q18683635 Q20199499 Q21699165 Q20199494 Q17064861 Q21283055 Q20199497 Q20199491 Q14634872 Q18686502 Q24037291 Q18686506 Q19897624 Q20088062 Q1272037 Q18685442 Q19007055 Q20489106 Q20639505 Q23308984 Q19862167 Q23011493 Q19862169 Q20051675 Q15981394 Q20639508 Q699552 Q22034068 Q2471531 Q18686976 Q20202095 Q19006977 Q19904620 Q19483466 Q5293360 Q7827221 Q18684961 Q20199461 Q20392056 Q20747206 Q18683315 Q20392051 Q20739277 Q22034082 Q22034080 Q22945245 Q7232324 Q23015703 Q27781598 Q14819521 Q22343587 Q19862171 Q27334854 Q19859020 Q19960756 Q19904656 Q19862179 Q18783441 Q7809990 Q20019121 Q22245036 Q23530718 Q20489064 Q23047618 Q20739274 Q20392046 Q18688235 Q19897638 Q19960618 Q21778278 Q24052400 Q18688427 Q22329827 Q21074730 Q24052405 Q20202025 Q20087380 Q19973439 Q18686242 Q19962746 Q20202102 Q19861777 Q20670888 Q13107262 Q20737901 Q19969179 Q18686647 Q19968909 Q5025272 Q19563578 Q19912438 Q19969176 Q11825876 Q19969204 Q20392038 Q20392035 Q19990858 Q18685952 Q20087106 Q19862176 Q18341245 Q18918185 Q12076093 Q19969194 Q11063990 Q3949529 Q22075490 Q20392057 Q19960759 Q20202114 Q20991111 Q19967277 Q23037291 Q21175364 Q23037297 Q19926234 Q19960619 Q21181748 Q23008891 Q20201643 Q21181740 Q19883382 Q20201649 Q21181745 Q20054703 Q19967645
(c(Q340169),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q340169
type Q34379
action count
action filter_type
action find
entity Q21074730
relation P180
type Q340169
[ANSWERS] express around the same number of musical instruments as Cartoon Portrait of Ilya Ostroukhov
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?b ) WHERE { ?z property:P180 ?n . ?z rdf:type ontology:Q340169 . ?n rdf:type ontology:Q34379 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q21074730 property:P180 ?c . ?c rdf:type ontology:Q340169 } } . FILTER ( ?b = ?f ) }
Crucifixion The Women's Bath Portrait of a Man (drawing by Gianlorenzo Bernini) Young couple on horseback The Last Flag Raising Ceremony: Cession of New Orleans (1803) View of the Ground, under the Eiffel Tower, from the First Floor Chanteur florentin du XVe siècle Portrait of Isabella d'Este Angel playing the lute Portrait of Nadezhda Lamanova Study for a Triton (drawing) Study of Four Women Bathing At a Window in the Artist's Studio Old Woman with Arms Outstretched (Study for The Neapolitan Gesture) Study of a girl. Self-portrait Reclining Female Nude: Study for "Aegina visited by Jupiter" Madame Greuze Electro Steel Smelter, Sweden Eiffel Tower Mud Pond, Pine Plains, New York Study for Rock Drill Yosemite Saint Barbara Study of a Faun Bonaparte at Malmaison Landscape Sketch (Siikaniemi by lake Riistavesi near Kuopio) Flora Passengers in the tramway West Island Elizabeth went on her mission of pity Portrait of a Young Fiancée Study of a Female Figure with Rosary Flora The Divine Playmate Self Portrait of Gianlorenzo Bernini (drawing - WA1947.322) Nude woman Self-portrait House of Sallust, Pompeii Amorous Peasants The Cliffs Babylonian Map of the World Study of a woman's hands The Temptation of St Anthony View of the Parthenon from the Propylea Bust of a Warrior Cotopaxi seen from Ambato, Ecuador Schoodic Peninsula from Mount Desert at Sunrise Portrait of Adrià Gual Lamentation over the Dead Christ Study for Le fils puni Louis Philippe d'Orléans (1725-1785) Lovers Profiting from the Drowsiness of the Grandmother by Jean-Baptiste Greuze in the Museum of Fine Arts. About 1785. Black and brown ink, gray and brown wash over graphite pencil. Old Parr when Young Drawing of a Boy (by Gianlorenzo Bernini) Young Italian woman Catskills Portrait of Jean-Jacques Rousseau Self-Portrait with a Visor Head of Leda The Maiden of the Grave. Triptych Girl Sketch for a Wall Tomb with Skeletons (1) Hilterfingen An Elephant Study of Lions Sketch for a Wall Tomb with Skeletons (2) Elizabeth would steal out and lay the child upon the altar Banks of the Seine in Charenton Portrait of Henry Ossawa Tanner They beheld the form of Jesus of Nazareth Marie Antoinette Led to Her Execution Study of Two Feet Gustav III in harness on horse back The Sacrifice of Iphigenia Death on the Battlefield Visitors at the 1900 World's Fair under a Torrential Downpour An Elephant Rubbing Itself against a Tree The Kids Saddled Horse Portrait of Mademoiselle Huquier Capriccio of the Pantheon, the Colosseum and Trajan's Forum Seated Male Nude Sketchbook: Conway, New Hampshire Thunersee near Schadau New Year's Greeting with Three Witches West Front of the Parthenon Mounts Katahdin and Turner from Lake Katahdin, Maine Two Figure Studies of a Young Woman Sermon of Josaphat Kuntsevich in Belarus Four Studies of a Female Nude, an Annunciation and Two Studies of a Woman Swimming Construction Site for the 1900 Paris World's Fair Sketch of a Canopy Bed Portrait of Gabriel Huquier Salt Pan Worker in Road Costume Ruins in Itanhaém Drawing of a woman. The Marne in Charenton Waldseemüller map Ruin Walls on the Rhine Wailuku Falls, Hilo The Intimate Conversation Ruins of an Aqueduct in Rome The Great Cypresses of the Villa d'Este Dutch Cavalier Study for "Slave Market at Rome" Portrait of a Young Man Portrait of an Egyptian Fellah Man Walking on a Road Ten Women of Stralsund Madonna of the Animals Virgin and Child in the Clouds Two Workers Seated on a Beam of the Eiffel Tower Landscape with a Stone Bridge in charcoal Reclining Dog Shinnecock Studio Interior The Author August Strindberg A Waterfall in Colombia A Family Supper The Owls' Nest Saxton’s Proof Map of Wales The White Drake A Young Woman Having Her Hair Braided Drawing of Angel with Crown of Thorns (by Gianlorenzo Bernini) Elizabeth prayed to god to clothe her Boat Journey Old Houses in Krumau Head of Smiling Girl Female Nude, Seen from the Back Stalingrad Madonna Charity and Justice Male Back With a Flag The Porta Portello with the Brenta Canal in Padua Boy with a Broken Egg Tomb of Nero Epifania Fifth Avenue Mount Desert Island ?, Landscape Turkish Soldier Ulysses and the Sirens Study of a Ewe Triumph of Pan Tuileries Garden John Speed's map of Wales Studio of Robert F. Blum Portrait of the Artist's Sister-in-Law, Adele Harms Young Girl Holding a Monkey Self-Portrait Self-Portrait Colombia, Barranquilla, Portrait of Boy A Despot Colombia, Barranquilla Church Portrait of a Young Woman Ignudo Colombia, Barranquilla, Two Houses Colombia or Ecuador, Church Roofs Isabella Brant A Father Curses hos Ungrateful Son View of a Mill in Charenton Savoyard with a Dancing Doll The Massage Mme Loubens au Lit Self-portrait Standing Nude Girl Here we kill Salt Pan Worker Narrows from Staten Island Prima Europe Tabula Study for "Diogenes" Portrait of Goffredo Mameli Study for "Slave Market" Winter on 21st Street, New York The Battle of Anghiari View of the Shawangunke Mountains, graphite with white heightening on paper by Johann Herman Carmiencke, 1865,Honolulu Museum of Art Praying Hands A shower of red and white roses was scattered over the ground The Virgin and Child with St Anne and St John the Baptist Crucifixion of Saint Peter Studies of Mount Chimborazo, Ecuador Cerberus Devouring a Man The Temple of Minerva Woman masturbating Don Quixote Torso of Venus and a Landscape Schiele with Nude Model before the Mirror Cloud Study Selfportrait Design for a Medal (drawing by Gianlorenzo Bernini) Diana Bathing A Dance to the Music of Time Studies of Cows and Calves Some little bird sang to me most blithely An Outcast Staging Point Portrait of a Man in a Top Hat Self-portrait Self-portrait A Woman Spinning and an Old Woman St Gervais Study for "The Tulip Folly" View from the Domed Hall at Charlottenborg in Copenhagen Willows and White Poplars Young Woman Sleeping Antique Ruins Study for "Socrates Looking for Alcibiades in the House of Aspasia" Portrait of Louis XV Titian Self-Portrait Lady in Turkish dress, reading Study of the pigeonhole gate of Ooidonk Castle Portrait of Lucas van Leyden The Salt Pan Worker from Saillé Self-portrait Landscape with Stone Bridge The Death of Hippolytus Two Silver Birches, the Front One Fallen The Massage Christ Crucified Bather Capriccio of the Colosseum and a Preaching Apostle Allegory of Luxuria Study for Cardinal Niccolò Albergati Cartoon Portrait of Ilya Ostroukhov Capriccio of Ruins Palm Trees and Housetops, Ecuador Self-portrait Caritas The Embroiders Female Nude on a Dolphin Study of Mount Chimborazo, Ecuador The Eiffel Tower and the Wheel River Landscape Sorrow View of Venice Studies of an outstretched arm for the fresco 'The Drunkenness of Noah' in the Sistine Chapel Teiresias Foretells the Future to Odysseus Study of a Standing Dancer with an Outstretched Arm Cambriae Typus Portrait of Hélène Fourment Beatrice Hastings Studies of a Horse with Two Nude Riders and a Male Torso Hanging of Bernardo Bandini Baroncelli Studies of Three Figures, Including a Self-portrait The Massacre of the Innocents Apollo and the Muses on Mount Parnassus Seated Woman with an Open Book on her Lap Floating Woman with Outstretched Arm The maiden from Tapiola Arab Standing in Prayer Head of a man The Elephant Hanno and his Mahout Self-portrait of Gianlorenzo Bernini (drawing) Portrait of Hortense Cézanne-Figuet, the Artist's Wife Kangxi Taiwan map A Saint on Horseback Queue for food Snake Recumbent woman seen from behind, or Le Sommeil Sunset across the Hudson Valley, New York Watermills Monks at Prayer in a Cloister Self-Portrait as Imitatio on laid paper, 20 x 17 cm. Yale Center for British Art. A Female Study Self-Portrait in a bonnet Castle Ruins on a River Bank Portrait of Denis Diderot Study for Echo from Echo and Narcissus Portrait of Cecil Rhodes Eagle Lake Viewed from Cadillac Mountain, Mount Desert Island, Maine Study For Gather Ye Rosebuds While Ye May Gemmi Pass, Valais Alps El Khasne Study of The Lady Clare Milton, New York Park of Versailles, View of an Alley
Chanteur florentin du XVe siècle, Recumbent woman seen from behind, or Le Sommeil and Ulysses and the Sirens express around the same number of musical instruments as Cartoon Portrait of Ilya Ostroukhov
Chanteur florentin du XVe siècle Recumbent woman seen from behind, or Le Sommeil Ulysses and the Sirens
action approx
action find_tuple_counts
relation depicts
type media
type musical instrument
action count
action filter_type
action find
entity Cartoon Portrait of Ilya Ostroukhov
relation depicts
type media
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?b ) WHERE { ?z property:depicts ?n . ?z rdf:type ontology:media . ?n rdf:type ontology:musical_instrument } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Cartoon_Portrait_of_Ilya_Ostroukhov property:depicts ?c . ?c rdf:type ontology:media } } . FILTER ( ?b = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17026188 Q5397781
P170 P161
Q502895
USER
Which people created Ulysses and the Sirens or were casted in Roswolsky's Mistress ?
OR((Q5397781,P170,c(Q502895)), (Q17026188,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5397781
relation P170
action find
entity Q17026188
relation P161
type Q502895
{'OR': [['Q5397781', 'P170', {'concept': 'Q502895'}], ['Q17026188', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q5397781 property:P170 ?s } UNION { resource:Q17026188 property:P161 ?s } } . ?s rdf:type ontology:Q502895 }
Roswolsky's Mistress Ulysses and the Sirens
action filter_type
action union
action find
entity Ulysses and the Sirens
relation creator
action find
entity Roswolsky's Mistress
relation cast member
type common name
{'OR': [['Ulysses and the Sirens', 'creator', {'concept': 'common name'}], ["Roswolsky's Mistress", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Ulysses_and_the_Sirens property:creator ?s } UNION { resource:Roswolsky's_Mistress property:cast_member ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q107579 Q361337 Q1912924 Q91159 Q98365 Q232404 Q214684 Q91182 Q66410 Q365725
SYSTEM
Some of them are Ferdinand von Alten, Adolf Edgar Licho, Max Landa, Guido Herzfeld, Gertrud Wolle, Asta Nielsen, Emil Rameau, Ernst Gronau, Paul Wegener, Adolphe Engers
Q232404 Q107579 Q98365 Q97317 Q214684 Q89060 Q91182 Q66410 Q918605 Q1912924 Q361337 Q91159 Q365725
OR((Q5397781,P170,c(Q502895)), (Q17026188,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5397781
relation P170
action find
entity Q17026188
relation P161
type Q502895
[ANSWERS] created Ulysses and the Sirens or were casted in Roswolsky's Mistress
{'OR': [['Q5397781', 'P170', {'concept': 'Q502895'}], ['Q17026188', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q5397781 property:P170 ?s } UNION { resource:Q17026188 property:P161 ?s } } . ?s rdf:type ontology:Q502895 }
Asta Nielsen Ferdinand von Alten Gertrud Wolle Wilhelm Diegelmann Emil Rameau Arnold Korff Ernst Gronau Paul Wegener Herbert James Draper Max Landa Adolf Edgar Licho Guido Herzfeld Adolphe Engers
Ferdinand von Alten, Adolf Edgar Licho, Max Landa, Guido Herzfeld, Gertrud Wolle, Asta Nielsen, Emil Rameau, Ernst Gronau, Paul Wegener and Adolphe Engers created Ulysses and the Sirens or were casted in Roswolsky's Mistress
Ferdinand von Alten Adolf Edgar Licho Max Landa Guido Herzfeld Gertrud Wolle Asta Nielsen Emil Rameau Ernst Gronau Paul Wegener Adolphe Engers
action filter_type
action union
action find
entity Ulysses and the Sirens
relation creator
action find
entity Roswolsky's Mistress
relation cast member
type common name
{'OR': [['Ulysses and the Sirens', 'creator', {'concept': 'common name'}], ["Roswolsky's Mistress", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Ulysses_and_the_Sirens property:creator ?s } UNION { resource:Roswolsky's_Mistress property:cast_member ?s } } . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q66410
P27
Q1048835
USER
How many political territories are the native countriesof Paul Wegener ?
(Q66410,P27,c(Q1048835))
action count
action filter_type
action find
entity Q66410
relation P27
type Q1048835
['Q66410', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q66410 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Paul Wegener
action count
action filter_type
action find
entity Paul Wegener
relation country of citizenship
type political territorial entity
['Paul Wegener', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Paul_Wegener property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q66410,P27,c(Q1048835))
action count
action filter_type
action find
entity Q66410
relation P27
type Q1048835
[ANSWER]
['Q66410', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q66410 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Paul Wegener
relation country of citizenship
type political territorial entity
['Paul Wegener', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Paul_Wegener property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232404
P162
Q838948
USER
Which works of art created Asta Nielsen ?
(c(Q838948),P162,Q232404)
action filter_type
action find_reverse
entity Q232404
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q232404']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P162 resource:Q232404 }
Asta Nielsen
action filter_type
action find_reverse
entity Asta Nielsen
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Asta Nielsen']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:producer resource:Asta_Nielsen }
[]
work of art
Q19971569 Q21869627
SYSTEM
Downfall, Miss Julie
Q19971569 Q21869627
(c(Q838948),P162,Q232404)
action filter_type
action find_reverse
entity Q232404
relation P162
type Q838948
[ANSWERS] created Asta Nielsen
[{'concept': 'Q838948'}, 'P162', 'Q232404']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P162 resource:Q232404 }
Downfall Miss Julie
Downfall and Miss Julie created Asta Nielsen
Downfall Miss Julie
action filter_type
action find_reverse
entity Asta Nielsen
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Asta Nielsen']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:producer resource:Asta_Nielsen }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19971569 Q21869627
P162
Q502895
USER
Who are the producers of those works of art ?
(Q19971569,P162,c(Q502895)) (Q21869627,P162,c(Q502895))
action filter_type
action find
entity prev_answer
relation P162
type Q502895
['Q19971569', 'P162', {'concept': 'Q502895'}] ['Q21869627', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?p property:P162 ?y . ?y rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q19971569 ) ( resource:Q21869627 ) } }
Downfall Miss Julie
action filter_type
action find
entity prev_answer
relation producer
type common name
['Downfall', 'producer', {'concept': 'common name'}] ['Miss Julie', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?p property:producer ?y . ?y rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Downfall ) ( resource:Miss_Julie ) } }
[]
common name
Q232404 Q232404
SYSTEM
Asta Nielsen
Q232404 Q232404
(Q19971569,P162,c(Q502895)) (Q21869627,P162,c(Q502895))
action filter_type
action find
entity prev_answer
relation P162
type Q502895
The producers of those works of art are the [ANSWER] and [ANSWER]
['Q19971569', 'P162', {'concept': 'Q502895'}] ['Q21869627', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?p property:P162 ?y . ?y rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q19971569 ) ( resource:Q21869627 ) } }
Asta Nielsen Asta Nielsen
The producers of those works of art are the Asta Nielsen and Asta Nielsen
Asta Nielsen Asta Nielsen
action filter_type
action find
entity prev_answer
relation producer
type common name
['Downfall', 'producer', {'concept': 'common name'}] ['Miss Julie', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?p property:producer ?y . ?y rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Downfall ) ( resource:Miss_Julie ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232404
P26
Q502895
USER
Which people are the life partner of Asta Nielsen ?
(Q232404,P26,c(Q502895))
action filter_type
action find
entity Q232404
relation P26
type Q502895
['Q232404', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q232404 property:P26 ?v }
Asta Nielsen
action filter_type
action find
entity Asta Nielsen
relation spouse
type common name
['Asta Nielsen', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Asta_Nielsen property:spouse ?v }
[]
common name
Q1350286 Q984506
SYSTEM
Urban Gad, Gregori Chmara
Q1350286 Q984506
(Q232404,P26,c(Q502895))
action filter_type
action find
entity Q232404
relation P26
type Q502895
[ANSWERS] are the life partner of Asta Nielsen
['Q232404', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q232404 property:P26 ?v }
Urban Gad Gregori Chmara
Urban Gad and Gregori Chmara are the life partner of Asta Nielsen
Urban Gad Gregori Chmara
action filter_type
action find
entity Asta Nielsen
relation spouse
type common name
['Asta Nielsen', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Asta_Nielsen property:spouse ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1350286
P57
Q838948
USER
Which works of art are Urban Gad a director of ?
(c(Q838948),P57,Q1350286)
action filter_type
action find_reverse
entity Q1350286
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1350286']
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q1350286 . ?k rdf:type ontology:Q838948 }
Urban Gad
action filter_type
action find_reverse
entity Urban Gad
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Urban Gad']
SELECT DISTINCT ?k WHERE { ?k property:director resource:Urban_Gad . ?k rdf:type ontology:work_of_art }
[]
work of art
Q22000434 Q1212425 Q21869991
SYSTEM
Hannele's Journey to Heaven, The Film Primadonna, The White Roses
Q1212425 Q2092960 Q21869991 Q17347415 Q22000434 Q1197579 Q1342034 Q21869985 Q1217869 Q19796554
(c(Q838948),P57,Q1350286)
action filter_type
action find_reverse
entity Q1350286
relation P57
type Q838948
[ANSWERS] are Urban Gad a director of
[{'concept': 'Q838948'}, 'P57', 'Q1350286']
SELECT DISTINCT ?k WHERE { ?k property:P57 resource:Q1350286 . ?k rdf:type ontology:Q838948 }
The Film Primadonna Zapata's Gang The White Roses Count Festenberg Hannele's Journey to Heaven The Dance of Death Little Angel What a Girl Die arme Jenny The False Asta Nielsen
Hannele's Journey to Heaven, The Film Primadonna and The White Roses are Urban Gad a director of
Hannele's Journey to Heaven The Film Primadonna The White Roses
action filter_type
action find_reverse
entity Urban Gad
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Urban Gad']
SELECT DISTINCT ?k WHERE { ?k property:director resource:Urban_Gad . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22000434 Q1212425 Q21869991
P161
Q502895
USER
Who starred in Hannele's Journey to Heaven, The Film Primadonna and The White Roses ?
(Q22000434,P161,c(Q502895)) (Q1212425,P161,c(Q502895)) (Q21869991,P161,c(Q502895))
action union
action filter_type
action find
entity Q22000434
relation P161
type Q502895
action filter_type
action find
entity Q1212425
relation P161
type Q502895
action filter_type
action find
entity Q21869991
relation P161
type Q502895
['Q22000434', 'P161', {'concept': 'Q502895'}] ['Q1212425', 'P161', {'concept': 'Q502895'}] ['Q21869991', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q22000434 property:P161 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q1212425 property:P161 ?d . ?d rdf:type ontology:Q502895 } }
Hannele's Journey to Heaven The Film Primadonna The White Roses
action union
action filter_type
action find
entity Hannele's Journey to Heaven
relation cast member
type common name
action filter_type
action find
entity The Film Primadonna
relation cast member
type common name
action filter_type
action find
entity The White Roses
relation cast member
type common name
["Hannele's Journey to Heaven", 'cast member', {'concept': 'common name'}] ['The Film Primadonna', 'cast member', {'concept': 'common name'}] ['The White Roses', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Hannele's_Journey_to_Heaven property:cast_member ?d . ?d rdf:type ontology:common_name } UNION { resource:The_Film_Primadonna property:cast_member ?d . ?d rdf:type ontology:common_name } }
[]
common name
Q4673 Q103851 Q63781
SYSTEM
Paul Otto, Margarete Schön, Alfred Abel
Q90034 Q98147 Q96469 Q103851 Q86066 Q87413 Q104815 Q104699 Q446936 Q99577 Q87148 Q115249 Q232404 Q4673 Q23059951 Q232404 Q95984 Q63781 Q115249 Q88377 Q96848 Q86340 Q1912924 Q108611
(Q22000434,P161,c(Q502895)) (Q1212425,P161,c(Q502895)) (Q21869991,P161,c(Q502895))
action union
action filter_type
action find
entity Q22000434
relation P161
type Q502895
action filter_type
action find
entity Q1212425
relation P161
type Q502895
action filter_type
action find
entity Q21869991
relation P161
type Q502895
[ANSWERS] starred in Hannele's Journey to Heaven, The Film Primadonna and The White Roses
['Q22000434', 'P161', {'concept': 'Q502895'}] ['Q1212425', 'P161', {'concept': 'Q502895'}] ['Q21869991', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q22000434 property:P161 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q1212425 property:P161 ?d . ?d rdf:type ontology:Q502895 } }
Fritz Richard Hugo Döblin Theodor Loos Margarete Schön Walter Rilla Klaus Pohl Hermine Sterler Margarete Schlegel Maria Forescu Ernst Dernburg Hermann Vallentin Fred Immler Asta Nielsen Paul Otto Fritz Weidemann Asta Nielsen Carl Auen Alfred Abel Fred Immler Magnus Stifter Hanns Kräly Karl Harbacher Max Landa Ernst Hofmann
Paul Otto, Margarete Schön and Alfred Abel starred in Hannele's Journey to Heaven, The Film Primadonna and The White Roses
Paul Otto Margarete Schön Alfred Abel
action union
action filter_type
action find
entity Hannele's Journey to Heaven
relation cast member
type common name
action filter_type
action find
entity The Film Primadonna
relation cast member
type common name
action filter_type
action find
entity The White Roses
relation cast member
type common name
["Hannele's Journey to Heaven", 'cast member', {'concept': 'common name'}] ['The Film Primadonna', 'cast member', {'concept': 'common name'}] ['The White Roses', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Hannele's_Journey_to_Heaven property:cast_member ?d . ?d rdf:type ontology:common_name } UNION { resource:The_Film_Primadonna property:cast_member ?d . ?d rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22000434
P344
Q502895
USER
Who is appointed as the cinematographer of Hannele's Journey to Heaven ?
(Q4673,P344,c(Q502895)) (Q103851,P344,c(Q502895)) (Q63781,P344,c(Q502895))
action filter_type
action find
entity Q22000434
relation P344
type Q502895
['Q4673', 'P344', {'concept': 'Q502895'}] ['Q103851', 'P344', {'concept': 'Q502895'}] ['Q63781', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q22000434 property:P344 ?e . ?e rdf:type ontology:Q502895 }
Hannele's Journey to Heaven
action filter_type
action find
entity Hannele's Journey to Heaven
relation director of photography
type common name
['Paul Otto', 'director of photography', {'concept': 'common name'}] ['Margarete Schön', 'director of photography', {'concept': 'common name'}] ['Alfred Abel', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Hannele's_Journey_to_Heaven property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1644833
SYSTEM
Karl Hasselmann
Q1644833
(Q4673,P344,c(Q502895)) (Q103851,P344,c(Q502895)) (Q63781,P344,c(Q502895))
action filter_type
action find
entity Q22000434
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of Hannele's Journey to Heaven
['Q4673', 'P344', {'concept': 'Q502895'}] ['Q103851', 'P344', {'concept': 'Q502895'}] ['Q63781', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q22000434 property:P344 ?e . ?e rdf:type ontology:Q502895 }
Karl Hasselmann
Karl Hasselmann is appointed as the cinematographer of Hannele's Journey to Heaven
Karl Hasselmann
action filter_type
action find
entity Hannele's Journey to Heaven
relation director of photography
type common name
['Paul Otto', 'director of photography', {'concept': 'common name'}] ['Margarete Schön', 'director of photography', {'concept': 'common name'}] ['Alfred Abel', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Hannele's_Journey_to_Heaven property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1644833 Q24343042 Q183
P27
Q1048835
USER
Is that person a citizen of Llanafanfawr and Germany ?
(Q1644833,P27,Q24343042) (Q1644833,P27,Q183)
action is_in
entity Q1644833
action intersection
action find_reverse
entity Q24343042
relation P27
action find_reverse
entity Q183
relation P27
['Q1644833', 'P27', 'Q24343042'] ['Q1644833', 'P27', 'Q183']
ASK WHERE { resource:Q1644833 property:P27 resource:Q24343042 . resource:Q1644833 property:P27 resource:Q183 }
Karl Hasselmann Llanafanfawr Germany
action is_in
entity Karl Hasselmann
action intersection
action find_reverse
entity Llanafanfawr
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Karl Hasselmann', 'country of citizenship', 'Llanafanfawr'] ['Karl Hasselmann', 'country of citizenship', 'Germany']
ASK WHERE { resource:Karl_Hasselmann property:country_of_citizenship resource:Llanafanfawr . resource:Karl_Hasselmann property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q1644833,P27,Q24343042) (Q1644833,P27,Q183)
action is_in
entity Q1644833
action intersection
action find_reverse
entity Q24343042
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q1644833', 'P27', 'Q24343042'] ['Q1644833', 'P27', 'Q183']
ASK WHERE { resource:Q1644833 property:P27 resource:Q24343042 . resource:Q1644833 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Karl Hasselmann
action intersection
action find_reverse
entity Llanafanfawr
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Karl Hasselmann', 'country of citizenship', 'Llanafanfawr'] ['Karl Hasselmann', 'country of citizenship', 'Germany']
ASK WHERE { resource:Karl_Hasselmann property:country_of_citizenship resource:Llanafanfawr . resource:Karl_Hasselmann property:country_of_citizenship resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1644833
P19
Q56061
USER
Which administrative territory was Karl Hasselmann born at ?
(Q1644833,P19,c(Q56061))
action filter_type
action find
entity Q1644833
relation P19
type Q56061
['Q1644833', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1644833 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Karl Hasselmann
action filter_type
action find
entity Karl Hasselmann
relation place of birth
type administrative territorial entity
['Karl Hasselmann', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Karl_Hasselmann property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1715
SYSTEM
Hanover
Q1715
(Q1644833,P19,c(Q56061))
action filter_type
action find
entity Q1644833
relation P19
type Q56061
Karl Hasselmann was born in [ANSWER]
['Q1644833', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1644833 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Hanover
Karl Hasselmann was born in Hanover
Hanover
action filter_type
action find
entity Karl Hasselmann
relation place of birth
type administrative territorial entity
['Karl Hasselmann', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Karl_Hasselmann property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1715
P706
Q13226383
USER
What is located in that administrative territory ?
(c(Q13226383),P706,Q1715)
action filter_type
action find_reverse
entity Q1715
relation P706
type Q13226383
[{'concept': 'Q13226383'}, 'P706', 'Q1715']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q13226383 . ?s property:P706 resource:Q1715 }
Hanover
action filter_type
action find_reverse
entity Hanover
relation located on terrain feature
type facility
[{'concept': 'facility'}, 'located on terrain feature', 'Hanover']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:facility . ?s property:located_on_terrain_feature resource:Hanover }
[]
facility
Q574773
SYSTEM
Herrenhausen Gardens
Q574773
(c(Q13226383),P706,Q1715)
action filter_type
action find_reverse
entity Q1715
relation P706
type Q13226383
[ANSWER] is located in that administrative territory
[{'concept': 'Q13226383'}, 'P706', 'Q1715']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q13226383 . ?s property:P706 resource:Q1715 }
Herrenhausen Gardens
Herrenhausen Gardens is located in that administrative territory
Herrenhausen Gardens
action filter_type
action find_reverse
entity Hanover
relation located on terrain feature
type facility
[{'concept': 'facility'}, 'located on terrain feature', 'Hanover']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:facility . ?s property:located_on_terrain_feature resource:Hanover }
[]