Simple Question (Direct)
Simple Question
Q2827374
P20
Q56061
USER
Where did the demise of Agénor de Gramont d'Aster occur ?
(Q2827374,P20,c(Q56061))
action filter_type
action find
entity Q2827374
relation P20
type Q56061
['Q2827374', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2827374 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Agénor de Gramont d'Aster
action filter_type
action find
entity Agénor de Gramont d'Aster
relation place of death
type administrative territorial entity
["Agénor de Gramont d'Aster", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Agénor_de_Gramont_d'Aster property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2827374,P20,c(Q56061))
action filter_type
action find
entity Q2827374
relation P20
type Q56061
The demise of Agénor de Gramont d'Aster occurred in [ANSWER]
['Q2827374', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2827374 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Paris
The demise of Agénor de Gramont d'Aster occurred in Paris
Paris
action filter_type
action find
entity Agénor de Gramont d'Aster
relation place of death
type administrative territorial entity
["Agénor de Gramont d'Aster", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Agénor_de_Gramont_d'Aster property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2827374
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q90)
action filter_type
action find_reverse
entity Q2827374
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q90']
SELECT DISTINCT ?g WHERE { ?g property:P40 resource:Q2827374 . ?g rdf:type ontology:Q502895 }
Agénor de Gramont d'Aster
action filter_type
action find_reverse
entity Agénor de Gramont d'Aster
relation child
type common name
[{'concept': 'common name'}, 'child', 'Paris']
SELECT DISTINCT ?g WHERE { ?g property:child resource:Agénor_de_Gramont_d'Aster . ?g rdf:type ontology:common_name }
[]
common name
Q2856868
SYSTEM
Antoine de Gramont d'Aster
Q2856868
(c(Q502895),P40,Q90)
action filter_type
action find_reverse
entity Q2827374
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q90']
SELECT DISTINCT ?g WHERE { ?g property:P40 resource:Q2827374 . ?g rdf:type ontology:Q502895 }
Antoine de Gramont d'Aster
Antoine de Gramont d'Aster has that one as a child
Antoine de Gramont d'Aster
action filter_type
action find_reverse
entity Agénor de Gramont d'Aster
relation child
type common name
[{'concept': 'common name'}, 'child', 'Paris']
SELECT DISTINCT ?g WHERE { ?g property:child resource:Agénor_de_Gramont_d'Aster . ?g rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6187172 Q2827374
P27
Q15617994
USER
Which administrative territories do Agénor de Gramont d'Aster or Jessica Dobson belong to ?
OR((Q2827374,P27,c(Q15617994)), (Q6187172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2827374
relation P27
action find
entity Q6187172
relation P27
type Q15617994
{'OR': [['Q2827374', 'P27', {'concept': 'Q15617994'}], ['Q6187172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?s property:P27 ?t . VALUES ( ?s ) { ( resource:Q2827374 ) ( resource:Q6187172 ) } } . ?t rdf:type ontology:Q15617994 }
Jessica Dobson Agénor de Gramont d'Aster
action filter_type
action union
action find
entity Agénor de Gramont d'Aster
relation country of citizenship
action find
entity Jessica Dobson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Agénor de Gramont d'Aster", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jessica Dobson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?s property:country_of_citizenship ?t . VALUES ( ?s ) { ( resource:Agénor_de_Gramont_d'Aster ) ( resource:Jessica_Dobson ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q2827374,P27,c(Q15617994)), (Q6187172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2827374
relation P27
action find
entity Q6187172
relation P27
type Q15617994
[ANSWERS] Agénor de Gramont d'Aster or Jessica Dobson belong to
{'OR': [['Q2827374', 'P27', {'concept': 'Q15617994'}], ['Q6187172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?s property:P27 ?t . VALUES ( ?s ) { ( resource:Q2827374 ) ( resource:Q6187172 ) } } . ?t rdf:type ontology:Q15617994 }
France United States of America
France and United States of America Agénor de Gramont d'Aster or Jessica Dobson belong to
France United States of America
action filter_type
action union
action find
entity Agénor de Gramont d'Aster
relation country of citizenship
action find
entity Jessica Dobson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Agénor de Gramont d'Aster", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jessica Dobson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?s property:country_of_citizenship ?t . VALUES ( ?s ) { ( resource:Agénor_de_Gramont_d'Aster ) ( resource:Jessica_Dobson ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2827374
P106
Q12737077
USER
Which occupations are the professions of Agénor de Gramont d'Aster ?
(Q2827374,P106,c(Q12737077))
action filter_type
action find
entity Q2827374
relation P106
type Q12737077
['Q2827374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q2827374 property:P106 ?q }
Agénor de Gramont d'Aster
action filter_type
action find
entity Agénor de Gramont d'Aster
relation occupation
type occupation
["Agénor de Gramont d'Aster", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Agénor_de_Gramont_d'Aster property:occupation ?q }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q2827374,P106,c(Q12737077))
action filter_type
action find
entity Q2827374
relation P106
type Q12737077
The professions of Agénor de Gramont d' Aster are a [ANSWERS]
['Q2827374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q2827374 property:P106 ?q }
diplomat politician
The professions of Agénor de Gramont d' Aster are a diplomat and politician
diplomat politician
action filter_type
action find
entity Agénor de Gramont d'Aster
relation occupation
type occupation
["Agénor de Gramont d'Aster", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Agénor_de_Gramont_d'Aster property:occupation ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q336283 Q2827374
P106
Q12737077
USER
And also Caroline Cox, Baroness Cox
AND((Q2827374,P106,c(Q12737077)), (Q336283,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2827374
relation P106
action find
entity Q336283
relation P106
type Q12737077
{'AND': [['Q2827374', 'P106', {'concept': 'Q12737077'}], ['Q336283', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q2827374 property:P106 ?j . resource:Q336283 property:P106 ?j }
Caroline Cox, Baroness Cox Agénor de Gramont d'Aster
action filter_type
action intersection
action find
entity Agénor de Gramont d'Aster
relation occupation
action find
entity Caroline Cox, Baroness Cox
relation occupation
type occupation
{'AND': [["Agénor de Gramont d'Aster", 'occupation', {'concept': 'occupation'}], ['Caroline Cox, Baroness Cox', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Agénor_de_Gramont_d'Aster property:occupation ?j . resource:Caroline_Cox,_Baroness_Cox property:occupation ?j }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q2827374,P106,c(Q12737077)), (Q336283,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2827374
relation P106
action find
entity Q336283
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q2827374', 'P106', {'concept': 'Q12737077'}], ['Q336283', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q2827374 property:P106 ?j . resource:Q336283 property:P106 ?j }
politician
politician
action filter_type
action intersection
action find
entity Agénor de Gramont d'Aster
relation occupation
action find
entity Caroline Cox, Baroness Cox
relation occupation
type occupation
{'AND': [["Agénor de Gramont d'Aster", 'occupation', {'concept': 'occupation'}], ['Caroline Cox, Baroness Cox', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Agénor_de_Gramont_d'Aster property:occupation ?j . resource:Caroline_Cox,_Baroness_Cox property:occupation ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q332020
P674
Q502895 Q2342494 Q15850590
USER
Which people plays a role in lesser number of collectables or theatrical genres than César Gaviria ?
(c(Q2342494)|c(Q15850590),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q332020
relation P674
type Q2342494
type Q15850590
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:P674 ?y . ?y rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P674 ?y . ?m rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } } . ?x property:P674 resource:Q332020 } } . FILTER ( ?t < ?i ) }
César Gaviria
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity César Gaviria
relation characters
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:characters ?y . ?y rdf:type ontology:common_name . ?m rdf:type ontology:collectable } UNION { ?m property:characters ?y . ?m rdf:type ontology:theatrical_genre . ?y rdf:type ontology:common_name } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } } . ?x property:characters resource:César_Gaviria } } . FILTER ( ?t < ?i ) }
[]
common name collectable theatrical genre
Q7243 Q5879 Q41370
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, David
Q7793319 Q5254 Q6741571 Q18720650 Q216362 Q1986812 Q272246 Q33760 Q315795 Q3051256 Q744125 Q7788839 Q1353836 Q43706 Q725118 Q1093574 Q200902 Q10261 Q5879 Q295824 Q2458567 Q118653 Q635 Q41370 Q5685 Q2468262 Q248029 Q2850415 Q3867479 Q48438 Q36591 Q234022 Q1354988 Q92639 Q243203 Q1291267 Q130221 Q6323112 Q3181675 Q10265876 Q41155 Q270438 Q220344 Q44387 Q2254800 Q547828 Q44265 Q830183 Q317554 Q257442 Q62788 Q313421 Q244912 Q2915318 Q1338025 Q41980 Q2721219 Q2355196 Q229702 Q129165 Q55398 Q2521377 Q1067 Q367387 Q7200 Q5343069 Q5363384 Q172916 Q84192 Q59180 Q328793 Q8778 Q42544 Q83041 Q1979876 Q543853 Q9438 Q2412941 Q232913 Q5264 Q6780925 Q1133523 Q9077 Q152717 Q15718786 Q81422 Q3187975 Q591879 Q426862 Q154938 Q6818772 Q359237 Q662533 Q594805 Q719418 Q991 Q7243 Q76918 Q4344 Q188541 Q737786 Q172353 Q184176 Q43939 Q355903 Q1425 Q312537 Q43989 Q315628 Q86745 Q7422342 Q321166 Q111559 Q297776 Q154971 Q83400 Q8442 Q76721 Q1030008 Q289694 Q160441 Q7734 Q311456 Q1394 Q3236830 Q1398 Q7328 Q434217 Q638973 Q7326 Q63639 Q307 Q15995718 Q75568 Q166876 Q1938388 Q7198 Q68366 Q6184 Q282280 Q8747 Q118081 Q83375 Q549041 Q34943 Q170859 Q8011 Q48305 Q165479 Q109860 Q8409 Q451516 Q102851 Q694093 Q706003 Q228896 Q9045 Q310686 Q316876 Q144622 Q785250 Q234533 Q366270 Q41866 Q8058 Q199991 Q106077 Q141791 Q200637 Q16404704 Q2755054 Q3421721 Q466048 Q6264078 Q868 Q80048 Q247137 Q9458 Q43718 Q170335 Q1402591 Q172248 Q1281177 Q134646 Q188411 Q15711674 Q75090 Q2497107 Q2596433 Q1541 Q132786 Q6197 Q859 Q1747004 Q233359 Q2116944 Q360798 Q203792 Q205523 Q325026 Q545875 Q230314 Q85393 Q665165 Q6691 Q39837 Q889694 Q297050 Q36303 Q258369 Q131463 Q3182316 Q267733 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q448586 Q315347 Q8820 Q9181 Q332750 Q671872 Q1405 Q39259 Q1401 Q15427574 Q207370 Q60059
(c(Q2342494)|c(Q15850590),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q332020
relation P674
type Q2342494
type Q15850590
[ANSWERS] play a role in lesser number of collectables or theatrical genres than César Gaviria
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:P674 ?y . ?y rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P674 ?y . ?m rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } } . ?x property:P674 resource:Q332020 } } . FILTER ( ?t < ?i ) }
Thomas Putnam Folquet de Marselha Malayaketu Nyssia August von Goethe Tituba Johanne Luise Heiberg Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Chaerephon Thomas Danforth Hrothgar John Chrysostom Carl Christian Hall Ruggieri degli Ubaldini Shem Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard August Engelhardt Cleopatra David Anton Chekhov Jonah Jiro Horikoshi Ann Putnam, Jr. Musciatto Franzesi Saint George Vladimir Nabokov Inês de Castro Giles Corey Christos Papadimitriou Publius Papinius Statius Gundomar I Frederick II, Holy Roman Emperor Nahor John Hale Dhana Nanda Heraclitus Charles of Valois Pythia Darius I of Persia Cunizza da Romano Christiaan de Wet Benedict of Nursia Eve Hugh of Saint Victor Sarah Paulson Jethro Abel Hezekiah Soupy Sales Emma Forsayth Democritus Farinata degli Uberti Martinus Theunis Steyn Ham Xerxes Bernadette Soubirous Ottaviano degli Ubaldini Dante Alighieri William II of Sicily Alexander Pushkin Edward Garrard Marsh Elizabeth Proctor John XXI Maximilian I of Mexico Diogenes of Sinope Periander Galen Thomas More Anaxagoras Israel Hands Herod II Thomas Aquinas The Fox and the Cat Beatrice Portinari Hippocrates Mary Warren Jephthah Moses Henry VII, Holy Roman Emperor Winona Noah Judith Piet Cronjé Guido Bonatti Bede Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Jochebed Vasily Rozanov Fyodor Dostoyevsky Leo Tolstoy Johann Georg Faust Arnaut Daniel Chandragupta Maurya Giuseppe Moscati Pyrrhus Seleucus I Nicator Anselm of Canterbury Siger of Brabant Trajan Gyges of Lydia Grigori Rasputin Cuitláhuac Georg Michael Welzel Sarah Good Abihu Judah Maccabee Pedanius Dioscorides Carlota of Mexico Paulo da Gama Otto von Bismarck Godfrey of Bouillon Tamar Abigail Williams Rabanus Maurus Joshua Orosius Vladimir Lenin Princess Changping Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Hernán Cortés Charlotte Buff Galileo Galilei Albert Hahl Ottilie von Goethe Isidore of Seville Miriam Ovid Siward, Earl of Northumbria Plotius Tucca Vladimir Solovyov Euclid Pope Celestine V Empedocles Graciano Ptolemy Nicholas III Avicenna Euripides Saint Patrick Dagobert I Alexander the Great Gaius Scribonius Curio Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Dionysius the Areopagite Guido Cavalcanti Phil Collins Petrus Comestor Cornelia Africana Guido Guinizelli Justinian I Louis XI of France Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Rebecca Nurse Francesca da Rimini John Willard Aristotle Al Capone Aelius Donatus Muhammad Nikolai Gogol Constance, Queen of Sicily Ohthere Marcus Junius Brutus Beowulf Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Igor Svyatoslavich Naomi Cicero Anastasius II Horace Plato Timon of Athens Atossa Wealhþeow Saint Eligius Robert Guiscard Zipporah Anacharsis Monte Melkonian La Malinche Friedrich Wilhelm Riemer Sordello Homer Averroes Hygelac Cuauhtémoc Thales Peter Damian Clement V John Proctor Thaïs Ruth Samuel Parris Bonaventure John the Baptist Seth Fra Dolcino Peter Lombard Lucius Varius Rufus Abraham Dionysius I of Syracuse Isaac Augustus Recep Tayyip Erdoğan Petrarch John Hathorne Gaius Cassius Longinus Albertus Magnus
Leo Tolstoy, Johann Wolfgang von Goethe and David play a role in lesser number of collectables or theatrical genres than César Gaviria
Leo Tolstoy Johann Wolfgang von Goethe David
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity César Gaviria
relation characters
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:characters ?y . ?y rdf:type ontology:common_name . ?m rdf:type ontology:collectable } UNION { ?m property:characters ?y . ?m rdf:type ontology:theatrical_genre . ?y rdf:type ontology:common_name } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } } . ?x property:characters resource:César_Gaviria } } . FILTER ( ?t < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q42305
P674
Q502895 Q2342494 Q15850590
USER
And what about Richard I of England?
(c(Q2342494)|c(Q15850590),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q42305
relation P674
type Q2342494
type Q15850590
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q15850590 ) } . ?q rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } } . ?t property:P674 resource:Q42305 } } . FILTER ( ?m < ?g ) }
Richard I of England
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Richard I of England
relation characters
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:collectable ) ( ontology:theatrical_genre ) } . ?q rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } } . ?t property:characters resource:Richard_I_of_England } } . FILTER ( ?m < ?g ) }
[]
common name collectable theatrical genre
Q7243 Q5879 Q41370
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, David
Q7793319 Q5254 Q6741571 Q18720650 Q216362 Q1986812 Q272246 Q33760 Q315795 Q3051256 Q744125 Q7788839 Q1353836 Q43706 Q725118 Q1093574 Q200902 Q10261 Q5879 Q295824 Q2458567 Q118653 Q635 Q41370 Q5685 Q2468262 Q248029 Q2850415 Q3867479 Q48438 Q36591 Q234022 Q1354988 Q92639 Q243203 Q1291267 Q130221 Q6323112 Q3181675 Q10265876 Q41155 Q270438 Q220344 Q44387 Q2254800 Q547828 Q44265 Q830183 Q317554 Q257442 Q62788 Q313421 Q244912 Q2915318 Q1338025 Q41980 Q2721219 Q2355196 Q229702 Q129165 Q55398 Q2521377 Q1067 Q367387 Q7200 Q5343069 Q5363384 Q172916 Q84192 Q59180 Q328793 Q8778 Q42544 Q83041 Q1979876 Q543853 Q9438 Q2412941 Q232913 Q5264 Q6780925 Q1133523 Q9077 Q152717 Q15718786 Q81422 Q3187975 Q591879 Q426862 Q154938 Q6818772 Q359237 Q662533 Q594805 Q719418 Q991 Q7243 Q76918 Q4344 Q188541 Q737786 Q172353 Q184176 Q43939 Q355903 Q1425 Q312537 Q43989 Q315628 Q86745 Q7422342 Q321166 Q111559 Q297776 Q154971 Q83400 Q8442 Q76721 Q1030008 Q289694 Q160441 Q7734 Q311456 Q1394 Q3236830 Q1398 Q7328 Q434217 Q638973 Q7326 Q63639 Q307 Q15995718 Q75568 Q166876 Q1938388 Q7198 Q68366 Q6184 Q282280 Q8747 Q118081 Q83375 Q549041 Q34943 Q170859 Q8011 Q48305 Q165479 Q109860 Q8409 Q451516 Q102851 Q694093 Q706003 Q228896 Q9045 Q310686 Q316876 Q144622 Q785250 Q234533 Q366270 Q41866 Q8058 Q199991 Q106077 Q141791 Q200637 Q16404704 Q2755054 Q3421721 Q466048 Q6264078 Q868 Q80048 Q247137 Q9458 Q43718 Q170335 Q1402591 Q172248 Q1281177 Q134646 Q188411 Q15711674 Q75090 Q2497107 Q2596433 Q1541 Q132786 Q6197 Q859 Q1747004 Q233359 Q2116944 Q360798 Q203792 Q205523 Q325026 Q545875 Q230314 Q85393 Q665165 Q6691 Q39837 Q889694 Q297050 Q36303 Q258369 Q131463 Q3182316 Q267733 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q448586 Q315347 Q8820 Q9181 Q332750 Q671872 Q1405 Q39259 Q1401 Q15427574 Q207370 Q60059
(c(Q2342494)|c(Q15850590),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q42305
relation P674
type Q2342494
type Q15850590
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q15850590 ) } . ?q rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } } . ?t property:P674 resource:Q42305 } } . FILTER ( ?m < ?g ) }
Thomas Putnam Folquet de Marselha Malayaketu Nyssia August von Goethe Tituba Johanne Luise Heiberg Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Chaerephon Thomas Danforth Hrothgar John Chrysostom Carl Christian Hall Ruggieri degli Ubaldini Shem Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard August Engelhardt Cleopatra David Anton Chekhov Jonah Jiro Horikoshi Ann Putnam, Jr. Musciatto Franzesi Saint George Vladimir Nabokov Inês de Castro Giles Corey Christos Papadimitriou Publius Papinius Statius Gundomar I Frederick II, Holy Roman Emperor Nahor John Hale Dhana Nanda Heraclitus Charles of Valois Pythia Darius I of Persia Cunizza da Romano Christiaan de Wet Benedict of Nursia Eve Hugh of Saint Victor Sarah Paulson Jethro Abel Hezekiah Soupy Sales Emma Forsayth Democritus Farinata degli Uberti Martinus Theunis Steyn Ham Xerxes Bernadette Soubirous Ottaviano degli Ubaldini Dante Alighieri William II of Sicily Alexander Pushkin Edward Garrard Marsh Elizabeth Proctor John XXI Maximilian I of Mexico Diogenes of Sinope Periander Galen Thomas More Anaxagoras Israel Hands Herod II Thomas Aquinas The Fox and the Cat Beatrice Portinari Hippocrates Mary Warren Jephthah Moses Henry VII, Holy Roman Emperor Winona Noah Judith Piet Cronjé Guido Bonatti Bede Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Jochebed Vasily Rozanov Fyodor Dostoyevsky Leo Tolstoy Johann Georg Faust Arnaut Daniel Chandragupta Maurya Giuseppe Moscati Pyrrhus Seleucus I Nicator Anselm of Canterbury Siger of Brabant Trajan Gyges of Lydia Grigori Rasputin Cuitláhuac Georg Michael Welzel Sarah Good Abihu Judah Maccabee Pedanius Dioscorides Carlota of Mexico Paulo da Gama Otto von Bismarck Godfrey of Bouillon Tamar Abigail Williams Rabanus Maurus Joshua Orosius Vladimir Lenin Princess Changping Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Hernán Cortés Charlotte Buff Galileo Galilei Albert Hahl Ottilie von Goethe Isidore of Seville Miriam Ovid Siward, Earl of Northumbria Plotius Tucca Vladimir Solovyov Euclid Pope Celestine V Empedocles Graciano Ptolemy Nicholas III Avicenna Euripides Saint Patrick Dagobert I Alexander the Great Gaius Scribonius Curio Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Dionysius the Areopagite Guido Cavalcanti Phil Collins Petrus Comestor Cornelia Africana Guido Guinizelli Justinian I Louis XI of France Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Rebecca Nurse Francesca da Rimini John Willard Aristotle Al Capone Aelius Donatus Muhammad Nikolai Gogol Constance, Queen of Sicily Ohthere Marcus Junius Brutus Beowulf Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Igor Svyatoslavich Naomi Cicero Anastasius II Horace Plato Timon of Athens Atossa Wealhþeow Saint Eligius Robert Guiscard Zipporah Anacharsis Monte Melkonian La Malinche Friedrich Wilhelm Riemer Sordello Homer Averroes Hygelac Cuauhtémoc Thales Peter Damian Clement V John Proctor Thaïs Ruth Samuel Parris Bonaventure John the Baptist Seth Fra Dolcino Peter Lombard Lucius Varius Rufus Abraham Dionysius I of Syracuse Isaac Augustus Recep Tayyip Erdoğan Petrarch John Hathorne Gaius Cassius Longinus Albertus Magnus
Leo Tolstoy Johann Wolfgang von Goethe David
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Richard I of England
relation characters
type collectable
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?r ) { ( ontology:collectable ) ( ontology:theatrical_genre ) } . ?q rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } } . ?t property:characters resource:Richard_I_of_England } } . FILTER ( ?m < ?g ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7243 Q5879 Q41370
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q7243,P106,c(Q12737077)) (Q5879,P106,c(Q12737077)) (Q41370,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q7243', 'P106', {'concept': 'Q12737077'}] ['Q5879', 'P106', {'concept': 'Q12737077'}] ['Q41370', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Q7793319 ) ( resource:Q5254 ) ( resource:Q6741571 ) } . ?n property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Leo Tolstoy Johann Wolfgang von Goethe David
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Leo Tolstoy', 'occupation', {'concept': 'occupation'}] ['Johann Wolfgang von Goethe', 'occupation', {'concept': 'occupation'}] ['David', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Thomas_Putnam ) ( resource:Folquet_de_Marselha ) ( resource:Malayaketu ) } . ?n property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q182436 Q18939491 Q18195617
SYSTEM
librarian, diarist, literary
Q1231865 Q18939491 Q6625963 Q4853732 Q36180 Q17391638 Q6625963 Q3606216 Q13416354 Q1209498 Q18195617 Q49757 Q1776724 Q169470 Q3579035 Q18939491 Q11165895 Q372436 Q1350157 Q1234713 Q2374149 Q4164507 Q193391 Q82955 Q1028181 Q182436 Q350979 Q16533 Q82955 Q177220 Q12059906
(Q7243,P106,c(Q12737077)) (Q5879,P106,c(Q12737077)) (Q41370,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS] have those people as his/her 's career
['Q7243', 'P106', {'concept': 'Q12737077'}] ['Q5879', 'P106', {'concept': 'Q12737077'}] ['Q41370', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Q7793319 ) ( resource:Q5254 ) ( resource:Q6741571 ) } . ?n property:P106 ?e . ?e rdf:type ontology:Q12737077 }
educationist diarist novelist children's writer writer art theorist novelist aphorist mineralogist poet lawyer literary poet theatre manager physicist travel writer diarist Geheimrat statesman music critic theologian botanist art critic diplomat politician painter librarian zoologist judge politician singer herder
Librarian, diarist and literary have those people as his/her 's career
librarian diarist literary
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Leo Tolstoy', 'occupation', {'concept': 'occupation'}] ['Johann Wolfgang von Goethe', 'occupation', {'concept': 'occupation'}] ['David', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?n ) { ( resource:Thomas_Putnam ) ( resource:Folquet_de_Marselha ) ( resource:Malayaketu ) } . ?n property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5879
P22
Q502895
USER
Which male person was the parent of Johann Wolfgang von Goethe ?
(Q5879,P22,c(Q502895))
action filter_type
action find
entity Q5879
relation P22
type Q502895
['Q5879', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q5879 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Johann Wolfgang von Goethe
action filter_type
action find
entity Johann Wolfgang von Goethe
relation father
type common name
['Johann Wolfgang von Goethe', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Johann_Wolfgang_von_Goethe property:father ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1585819
SYSTEM
Johann Caspar Goethe
Q1585819
(Q5879,P22,c(Q502895))
action filter_type
action find
entity Q5879
relation P22
type Q502895
Goethe [ANSWER] was the parent of Johann Wolfgang von Goethe
['Q5879', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q5879 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Johann Caspar Goethe
Goethe Johann Caspar Goethe was the parent of Johann Wolfgang von Goethe
Johann Caspar Goethe
action filter_type
action find
entity Johann Wolfgang von Goethe
relation father
type common name
['Johann Wolfgang von Goethe', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Johann_Wolfgang_von_Goethe property:father ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5879
P138
Q618779
USER
Which awards have Johann Wolfgang von Goethe as their toponym ?
(c(Q618779),P138,Q5879)
action filter_type
action find_reverse
entity Q5879
relation P138
type Q618779
[{'concept': 'Q618779'}, 'P138', 'Q5879']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q5879 . ?y rdf:type ontology:Q618779 }
Johann Wolfgang von Goethe
action filter_type
action find_reverse
entity Johann Wolfgang von Goethe
relation named after
type award
[{'concept': 'award'}, 'named after', 'Johann Wolfgang von Goethe']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:Johann_Wolfgang_von_Goethe . ?y rdf:type ontology:award }
[]
award
Q1534139 Q1534190 Q159909
SYSTEM
Goethe Journalism Award, Goethe Plaque of the City of Frankfurt, Goethe Prize
Q1534139 Q1534190 Q159909
(c(Q618779),P138,Q5879)
action filter_type
action find_reverse
entity Q5879
relation P138
type Q618779
[ANSWERS] have Johann Wolfgang von Goethe as their toponym
[{'concept': 'Q618779'}, 'P138', 'Q5879']
SELECT DISTINCT ?y WHERE { ?y property:P138 resource:Q5879 . ?y rdf:type ontology:Q618779 }
Goethe Journalism Award Goethe Plaque of the City of Frankfurt Goethe Prize
Goethe Journalism Award, Goethe Plaque of the City of Frankfurt and Goethe Prize have Johann Wolfgang von Goethe as their toponym
Goethe Journalism Award Goethe Plaque of the City of Frankfurt Goethe Prize
action filter_type
action find_reverse
entity Johann Wolfgang von Goethe
relation named after
type award
[{'concept': 'award'}, 'named after', 'Johann Wolfgang von Goethe']
SELECT DISTINCT ?y WHERE { ?y property:named_after resource:Johann_Wolfgang_von_Goethe . ?y rdf:type ontology:award }
[]