Simple Question (Direct)
Simple Question
Q1039725
P102
Q7278
USER
Which political party is Karl Meist a member of ?
(Q1039725,P102,c(Q7278))
action filter_type
action find
entity Q1039725
relation P102
type Q7278
['Q1039725', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7278 . resource:Q1039725 property:P102 ?u }
Karl Meist
action filter_type
action find
entity Karl Meist
relation member of political party
type political party
['Karl Meist', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_party . resource:Karl_Meist property:member_of_political_party ?u }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1039725,P102,c(Q7278))
action filter_type
action find
entity Q1039725
relation P102
type Q7278
Party [ANSWER] is Karl Meist a member of
['Q1039725', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7278 . resource:Q1039725 property:P102 ?u }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Karl Meist a member of
Social Democratic Party of Germany
action filter_type
action find
entity Karl Meist
relation member of political party
type political party
['Karl Meist', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_party . resource:Karl_Meist property:member_of_political_party ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1039725
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q49768,P39,c(Q12737077))
action filter_type
action find
entity Q1039725
relation P39
type Q12737077
['Q49768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1039725 property:P39 ?o }
Karl Meist
action filter_type
action find
entity Karl Meist
relation position held
type occupation
['Social Democratic Party of Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Karl_Meist property:position_held ?o }
[]
occupation
Q17854096
SYSTEM
member of the Reichstag of the German Empire
Q17854096
(Q49768,P39,c(Q12737077))
action filter_type
action find
entity Q1039725
relation P39
type Q12737077
A [ANSWER] was a position held by that person
['Q49768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1039725 property:P39 ?o }
member of the Reichstag of the German Empire
A member of the Reichstag of the German Empire was a position held by that person
member of the Reichstag of the German Empire
action filter_type
action find
entity Karl Meist
relation position held
type occupation
['Social Democratic Party of Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Karl_Meist property:position_held ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1039725
P27
Q3024240
USER
Which former country is that person a civilian of ?
(Q17854096,P27,c(Q3024240))
action filter_type
action find
entity Q1039725
relation P27
type Q3024240
['Q17854096', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?s WHERE { resource:Q1039725 property:P27 ?s . ?s rdf:type ontology:Q3024240 }
Karl Meist
action filter_type
action find
entity Karl Meist
relation country of citizenship
type former country
['member of the Reichstag of the German Empire', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?s WHERE { resource:Karl_Meist property:country_of_citizenship ?s . ?s rdf:type ontology:former_country }
[]
former country
Q43287
SYSTEM
German Empire
Q43287
(Q17854096,P27,c(Q3024240))
action filter_type
action find
entity Q1039725
relation P27
type Q3024240
The [ANSWER] is that person a civilian of
['Q17854096', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?s WHERE { resource:Q1039725 property:P27 ?s . ?s rdf:type ontology:Q3024240 }
German Empire
The German Empire is that person a civilian of
German Empire
action filter_type
action find
entity Karl Meist
relation country of citizenship
type former country
['member of the Reichstag of the German Empire', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?s WHERE { resource:Karl_Meist property:country_of_citizenship ?s . ?s rdf:type ontology:former_country }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43287
P19
Q502895
USER
Which people have place of birth as that former country ?
(c(Q502895),P19,Q43287)
action filter_type
action find_reverse
entity Q43287
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q43287']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q43287 }
German Empire
action filter_type
action find_reverse
entity German Empire
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'German Empire']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:German_Empire }
[]
common name
Q4334365 Q1510222 Q69435
SYSTEM
Reiner Olzscha, Gerard Wodarz, Fritz Bracht
Q4147609 Q22249925 Q86069 Q11735756 Q5492797 Q1363315 Q5740971 Q4894077 Q4055451 Q5653699 Q4723077 Q21664296 Q7377338 Q91013 Q8043224 Q5649261 Q5109542 Q4310072 Q9282785 Q568346 Q6446840 Q6216795 Q123500 Q120607 Q4794871 Q5607654 Q5505027 Q7966087 Q6372225 Q679500 Q20739014 Q16575160 Q6699280 Q4502876 Q2574424 Q1510222 Q69435 Q4334365 Q7337321 Q7329893 Q4820725 Q4090238 Q5388114 Q7310374 Q110735 Q4422709 Q7151453 Q2644688 Q4400180
(c(Q502895),P19,Q43287)
action filter_type
action find_reverse
entity Q43287
relation P19
type Q502895
[ANSWERS] have place of birth as that former country
[{'concept': 'Q502895'}, 'P19', 'Q43287']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q43287 }
Walter Greite Karl Falkenberg Edmund Kiss Karl Arnold Franz Hemer Erwin Nyc Herman Schultheis Bernd von Doering Alarich Augustin Harald Auffarth Alfred Lindenberger Willy Clever Rudolf Stark Leonhard Adelt Xavier Dannhuber Hanns Lippmann Christian Donhauser Ludwig Mühlhausen Gustav Borm Franz Dienert Kurt Küppers Johannes Klein Willy Busch Christa Siems Arno Benzler Greta Meyer Fritz Thiede Walter Schürmeyer Karl Scharon Andrzej Jaraczewski Frank Dexter Martin Johns Ludwig Luer Rolf Höhne Wilhelm Paul Krüger Gerard Wodarz Fritz Bracht Reiner Olzscha Władysław Dworaczek Richard Wenzl August Hanko Karl-Heinz Boseck Erich Schuetze Reinhold Jörke Anton Köllisch Hans Robert Scultetus Paul Hüttenrauch Alfred Becker Karl Konrad August Ruppel
Reiner Olzscha, Gerard Wodarz and Fritz Bracht have place of birth as that former country
Reiner Olzscha Gerard Wodarz Fritz Bracht
action filter_type
action find_reverse
entity German Empire
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'German Empire']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:German_Empire }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4334365
P410
Q56019
USER
Which military rank has that person achieved ?
(Q4334365,P410,c(Q56019))
action filter_type
action find
entity Q4334365
relation P410
type Q56019
['Q4334365', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?r WHERE { resource:Q4334365 property:P410 ?r . ?r rdf:type ontology:Q56019 }
Reiner Olzscha
action filter_type
action find
entity Reiner Olzscha
relation military rank
type military rank
['Reiner Olzscha', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?r WHERE { resource:Reiner_Olzscha property:military_rank ?r . ?r rdf:type ontology:military_rank }
[]
military rank
Clarification for simple ques.
Q4334365
SYSTEM
Did you mean Reiner Olzscha ?
Q4334365 Q1510222 Q69435
(Q4334365,P410,c(Q56019)) (Q1510222,P410,c(Q56019)) (Q69435,P410,c(Q56019))
[ANSWER]
['Q4334365', 'P410', {'concept': 'Q56019'}] ['Q1510222', 'P410', {'concept': 'Q56019'}] ['Q69435', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?r WHERE { resource:Q4334365 property:P410 ?r . ?r rdf:type ontology:Q56019 }
Reiner Olzscha Gerard Wodarz Fritz Bracht
Did you mean Reiner Olzscha ?
Reiner Olzscha
['Reiner Olzscha', 'military rank', {'concept': 'military rank'}] ['Gerard Wodarz', 'military rank', {'concept': 'military rank'}] ['Fritz Bracht', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?r WHERE { resource:Reiner_Olzscha property:military_rank ?r . ?r rdf:type ontology:military_rank }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4334365,P410,c(Q56019))
['Q4334365', 'P410', {'concept': 'Q56019'}]
['Reiner Olzscha', 'military rank', {'concept': 'military rank'}]
[]
Q161104
SYSTEM
Sturmbannführer
Q161104
(Q4334365,P410,c(Q56019))
action filter_type
action find
entity Q4334365
relation P410
type Q56019
That person has achieved the [ANSWER]
['Q4334365', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?r WHERE { resource:Q4334365 property:P410 ?r . ?r rdf:type ontology:Q56019 }
Sturmbannführer
That person has achieved the Sturmbannführer
Sturmbannführer
action filter_type
action find
entity Reiner Olzscha
relation military rank
type military rank
['Reiner Olzscha', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?r WHERE { resource:Reiner_Olzscha property:military_rank ?r . ?r rdf:type ontology:military_rank }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q312332
P674
Q502895 Q2342494 Q7725634
USER
Which people are the name of the persons who plays a role in less number of collectables and literary works than Alessandro Cagliostro ?
(c(Q2342494)|c(Q7725634),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 Q7725634
action count
action filter_multi_types
action find_reverse
entity Q312332
relation P674
type Q2342494
type Q7725634
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P674 ?u . ?u rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2342494 } UNION { ?u rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7725634 . ?b property:P674 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P674 resource:Q312332 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q7725634 } } } } . FILTER ( ?q < ?h ) }
Alessandro Cagliostro
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 literary work
action count
action filter_multi_types
action find_reverse
entity Alessandro Cagliostro
relation characters
type collectable
type literary work
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:characters ?u . ?u rdf:type ontology:common_name . ?b rdf:type ontology:collectable } UNION { ?u rdf:type ontology:common_name . ?b rdf:type ontology:literary_work . ?b property:characters ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:characters resource:Alessandro_Cagliostro . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:literary_work } } } } . FILTER ( ?q < ?h ) }
[]
common name collectable literary work
Q7243 Q5879 Q41370
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, David
Q7793319 Q315726 Q5254 Q6741571 Q18720650 Q216362 Q457881 Q1986812 Q272246 Q33923 Q2054 Q33760 Q315795 Q3051256 Q676555 Q2635523 Q744125 Q157 Q7788839 Q152513 Q1353836 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q43706 Q725118 Q36724 Q1093574 Q200902 Q12316446 Q7322 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q12591 Q118653 Q353879 Q955856 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q1354988 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q21916822 Q6113413 Q6323112 Q456931 Q3181675 Q4212237 Q10265876 Q2085338 Q41155 Q270438 Q43353 Q206459 Q220344 Q765624 Q44387 Q312660 Q2254800 Q6139425 Q547828 Q44265 Q172480 Q1234647 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q4679883 Q313421 Q104804 Q294147 Q460763 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q13560546 Q1338025 Q6777920 Q234811 Q41980 Q2721219 Q185101 Q24061503 Q286238 Q2355196 Q229702 Q129165 Q282220 Q55398 Q1411 Q1413 Q363636 Q1416 Q1419 Q2521377 Q1067 Q42305 Q1140161 Q367387 Q937415 Q7200 Q7207 Q5343069 Q20749193 Q5363384 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q328793 Q34428 Q8778 Q42544 Q223440 Q5015 Q7523 Q169329 Q83041 Q271278 Q353188 Q1979876 Q1227273 Q603096 Q83235 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q38370 Q426862 Q1209603 Q154938 Q1059572 Q6818772 Q359237 Q662533 Q317188 Q378053 Q469118 Q17410 Q594805 Q719418 Q991 Q43600 Q128358 Q3090807 Q5598 Q531748 Q7243 Q76918 Q4344 Q19844997 Q188541 Q737786 Q172353 Q256439 Q184176 Q193232 Q43939 Q297285 Q335173 Q8462 Q692 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q315628 Q86745 Q209535 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q236243 Q1281235 Q532354 Q111559 Q297776 Q185476 Q953718 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q76723 Q83159 Q1030008 Q951503 Q289694 Q160441 Q7734 Q311456 Q153670 Q1394 Q3236830 Q3080825 Q310303 Q1398 Q7328 Q434217 Q638973 Q215512 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q24062019 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q68366 Q6184 Q145746 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q8409 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q9045 Q19348839 Q80823 Q57652 Q7071043 Q131412 Q743858 Q1773005 Q237201 Q353081 Q166056 Q131002 Q229432 Q47180 Q122290 Q170172 Q452048 Q5582 Q1377025 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q785250 Q950850 Q7617726 Q3261049 Q335165 Q544680 Q717441 Q211246 Q9588 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q83808 Q1824066 Q66107 Q199991 Q106077 Q141791 Q200637 Q16404704 Q2755054 Q6780526 Q182637 Q3421721 Q4230107 Q15463333 Q466048 Q6264078 Q670332 Q5944261 Q868 Q19118331 Q5544435 Q318726 Q80048 Q247137 Q9458 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q3275910 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q1771963 Q365695 Q2497107 Q313817 Q7647581 Q4403346 Q443256 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q233359 Q2116944 Q360798 Q203792 Q981902 Q205523 Q325026 Q347133 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q983502 Q453382 Q85393 Q665165 Q6691 Q36456 Q517 Q39837 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q1960623 Q131463 Q3182316 Q158707 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q190116 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q1401 Q15427574 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q2342494)|c(Q7725634),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 Q7725634
action count
action filter_multi_types
action find_reverse
entity Q312332
relation P674
type Q2342494
type Q7725634
[ANSWERS] are the name of the persons who plays a role in less number of collectables and literary works than Alessandro Cagliostro
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P674 ?u . ?u rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2342494 } UNION { ?u rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7725634 . ?b property:P674 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P674 resource:Q312332 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q7725634 } } } } . FILTER ( ?q < ?h ) }
Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Malayaketu Nyssia August von Goethe John Tenniel Tituba Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Francis of Assisi Henry Percy, 6th Earl of Northumberland Chaerephon François Hollande Thomas Danforth Henry Wadsworth Longfellow Hrothgar Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Antoine Barnave John Chrysostom Carl Christian Hall Attila the Hun Ruggieri degli Ubaldini Shem Henrik Sass Larsen Christopher Columbus Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard Nebuchadnezzar II August Engelhardt Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Jonah Hathi Billy Milligan Lyndon B. Johnson Jiro Horikoshi Ann Putnam, Jr. Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Giles Corey Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Giovanni Corrado Orsini Rucio Nahor Sextus Tarquinius John Hale Kanva Dhana Nanda Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Feodor II of Russia Pythia Willem Adriaan van der Stel Darius I of Persia Gaius Mucius Scaevola Cunizza da Romano Thomas Hayward Christiaan de Wet Benedict of Nursia Isaac of Armenia Mark Smeaton Eve Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Jethro Adam Tas Abel Saint Mesrob William Bligh Benjamin Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Heidi Blickenstaff Emma Forsayth Maruja Pachón Emma, Lady Hamilton Democritus Farinata degli Uberti Hamilcar Barca Petrus Kalden Thaïs Martinus Theunis Steyn Ham Xerxes Judah Bernadette Soubirous Claudius Nero Cardinal de Rohan Otho Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England Marina Mniszech William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Elizabeth I of England Edward Garrard Marsh Irma Le Fer de la Motte Elizabeth Proctor John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Periander Philip Galen Thomas More Lucius Junius Brutus Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Lucius Tarquinius Collatinus Israel Hands Henry Mayhew Leon Klinghoffer Horatio Nelson Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Piet Cronjé Henry VIII Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Zhou Enlai Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Bayezid I Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Johann Georg Faust Arnaut Daniel Sahakanuysh Chandragupta Maurya Giuseppe Moscati Pyrrhus Claudia Acte Seleucus I Nicator Vasili IV of Russia Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Timur William Shakespeare Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Grigori Rasputin Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Georg Michael Welzel False Dmitriy I Sarah Good Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Giulia Farnese Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Flavius Aetius Henry Bennet, 1st Earl of Arlington The Nun of Monza Carlota of Mexico Paulo da Gama Otto von Bismarck Titus van Rijn Godfrey of Bouillon Aulus Plautius Maurice de Saxe Clement VII Tamar Ashot II of Armenia Abigail Williams Rabanus Maurus Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Frances Nelson Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Levi Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Henning Huising Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Siward, Earl of Northumbria Plotius Tucca Joseph Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Alexander the Great Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Salammbô Anne Boleyn Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Simeon Adrienne Lecouvreur Robert de Sablé Cardinal Mazarin Harun al-Rashid Lucretia Petronius Jean-Paul Marat Boris Godunov Hasdrubal Gisco Vincent van Gogh Bharata Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Louis Ange Pitou Osceola John Thurloe Alberto Salazar Caiaphas Richard Nixon Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France François Joseph Lefebvre Arturo Bandini Henry Kissinger Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Mary Pius Regnier Jane Seymour Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini John Willard Comte de Troisville Hunter Bell Aristotle Andrey Shchelkalov George Seton, 7th Lord Seton Publius Valerius Publicola Al Capone Aelius Donatus Muhammad Mao Zedong Diana Turbay Poppaea Sabina Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Anne Françoise Elisabeth Lange Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Naphtali Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Atossa Wealhþeow Saint Eligius Robert Guiscard Charles Simon Favart Zipporah Anacharsis George Boleyn, Viscount Rochford Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus St. Nerses I John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Napoleon Averroes Agrippina the Younger Mary Bernard Laughlin Arshak II Conte Attilio Pomponia Graecina Marie de Rohan Francis Drake Oliver Cromwell Sir Thomas Hardy, 1st Baronet John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Tsarevna Xenia Borisovna of Russia Clement V John Proctor Pat Nixon Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Samuel Parris Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Benvenuto Cellini Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan Petrarch John Hathorne Leo I Étienne François, duc de Choiseul Jiang Qing Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
Leo Tolstoy, Johann Wolfgang von Goethe and David are the name of the persons who plays a role in less number of collectables and literary works than Alessandro Cagliostro
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 literary work
action count
action filter_multi_types
action find_reverse
entity Alessandro Cagliostro
relation characters
type collectable
type literary work
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:characters ?u . ?u rdf:type ontology:common_name . ?b rdf:type ontology:collectable } UNION { ?u rdf:type ontology:common_name . ?b rdf:type ontology:literary_work . ?b property:characters ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:characters resource:Alessandro_Cagliostro . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:literary_work } } } } . FILTER ( ?q < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q879350
P674
Q502895 Q2342494 Q7725634
USER
And what about Bjarne Corydon?
(c(Q2342494)|c(Q7725634),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 Q7725634
action count
action filter_multi_types
action find_reverse
entity Q879350
relation P674
type Q2342494
type Q7725634
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:P674 ?b . ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P674 ?b . ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q7725634 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P674 resource:Q879350 . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?z < ?i ) }
Bjarne Corydon
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 literary work
action count
action filter_multi_types
action find_reverse
entity Bjarne Corydon
relation characters
type collectable
type literary work
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:characters ?b . ?b rdf:type ontology:common_name . ?t rdf:type ontology:collectable } UNION { ?t property:characters ?b . ?b rdf:type ontology:common_name . ?t rdf:type ontology:literary_work } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:characters resource:Bjarne_Corydon . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:collectable ) ( ontology:literary_work ) } } } } . FILTER ( ?z < ?i ) }
[]
common name collectable literary work
Q7243 Q5879 Q41370
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, David
Q7793319 Q5254 Q6741571 Q18720650 Q216362 Q1986812 Q272246 Q33760 Q315795 Q3051256 Q2635523 Q744125 Q7788839 Q1353836 Q1851366 Q3680198 Q6173387 Q17141 Q43706 Q725118 Q36724 Q1093574 Q200902 Q7322 Q10261 Q5879 Q295824 Q12591 Q118653 Q955856 Q635 Q41370 Q5685 Q2468262 Q248029 Q2850415 Q3867479 Q48438 Q36591 Q234022 Q1354988 Q92639 Q243203 Q1291267 Q130221 Q21916822 Q6323112 Q456931 Q3181675 Q10265876 Q41155 Q270438 Q206459 Q220344 Q765624 Q44387 Q312660 Q2254800 Q547828 Q44265 Q1234647 Q830183 Q317554 Q257442 Q62788 Q4679883 Q313421 Q460763 Q244912 Q2915318 Q13560546 Q1338025 Q234811 Q41980 Q2721219 Q24061503 Q2355196 Q229702 Q129165 Q282220 Q55398 Q1411 Q1416 Q2521377 Q1067 Q1140161 Q367387 Q7200 Q7207 Q5343069 Q5363384 Q172916 Q84192 Q59180 Q328793 Q8778 Q42544 Q223440 Q83041 Q353188 Q1979876 Q603096 Q83235 Q543853 Q9438 Q2412941 Q232913 Q5264 Q6780925 Q1133523 Q9077 Q152717 Q15718786 Q81422 Q3187975 Q591879 Q38370 Q426862 Q154938 Q6818772 Q359237 Q662533 Q17410 Q594805 Q719418 Q991 Q128358 Q7243 Q76918 Q4344 Q188541 Q737786 Q172353 Q184176 Q193232 Q43939 Q692 Q355903 Q1425 Q312537 Q43989 Q315628 Q86745 Q209535 Q7422342 Q321166 Q236243 Q111559 Q297776 Q185476 Q154971 Q83400 Q8442 Q76721 Q76723 Q83159 Q1030008 Q289694 Q160441 Q7734 Q311456 Q1394 Q3236830 Q3080825 Q1398 Q7328 Q434217 Q215512 Q7326 Q63639 Q307 Q15995718 Q75568 Q24062019 Q166876 Q1938388 Q7198 Q68366 Q6184 Q145746 Q282280 Q8747 Q118081 Q83375 Q549041 Q34943 Q170859 Q8011 Q48305 Q165479 Q8409 Q451516 Q102851 Q694093 Q706003 Q228896 Q9045 Q80823 Q1773005 Q237201 Q229432 Q170172 Q310686 Q316876 Q144622 Q785250 Q3261049 Q9588 Q234533 Q366270 Q41866 Q8058 Q83808 Q66107 Q199991 Q141791 Q200637 Q16404704 Q2755054 Q182637 Q3421721 Q466048 Q6264078 Q5944261 Q868 Q19118331 Q318726 Q80048 Q247137 Q9458 Q5816 Q43718 Q170335 Q1402591 Q3275910 Q172248 Q1281177 Q134646 Q188411 Q15711674 Q75090 Q1771963 Q2497107 Q7647581 Q443256 Q2596433 Q1541 Q132786 Q6197 Q859 Q1747004 Q233359 Q2116944 Q203792 Q981902 Q205523 Q325026 Q347133 Q545875 Q230314 Q983502 Q85393 Q665165 Q6691 Q517 Q39837 Q154732 Q568082 Q36517 Q745286 Q889694 Q297050 Q36303 Q258369 Q1960623 Q131463 Q3182316 Q158707 Q267733 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q448586 Q315347 Q8820 Q190116 Q9181 Q332750 Q671872 Q1405 Q1401 Q15427574 Q43954 Q236017 Q207370 Q60059
(c(Q2342494)|c(Q7725634),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 Q7725634
action count
action filter_multi_types
action find_reverse
entity Q879350
relation P674
type Q2342494
type Q7725634
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:P674 ?b . ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P674 ?b . ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q7725634 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P674 resource:Q879350 . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?z < ?i ) }
Thomas Putnam Folquet de Marselha Malayaketu Nyssia August von Goethe Tituba Johanne Luise Heiberg Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Henry Percy, 6th Earl of Northumberland Chaerephon Thomas Danforth Hrothgar Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk John Chrysostom Carl Christian Hall Attila the Hun Ruggieri degli Ubaldini Shem Christopher Columbus Pythagoras Johann Wolfgang von Goethe Peter I of Portugal Nebuchadnezzar II August Engelhardt Pallas 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 Giovanni Corrado Orsini Nahor Sextus Tarquinius John Hale Dhana Nanda Heraclitus Charles of Valois Feodor II of Russia Pythia Willem Adriaan van der Stel Darius I of Persia Gaius Mucius Scaevola Cunizza da Romano Christiaan de Wet Benedict of Nursia Mark Smeaton Eve Hugh of Saint Victor Sarah Paulson Jethro Adam Tas Abel Benjamin Hezekiah Soupy Sales Heidi Blickenstaff Emma Forsayth Emma, Lady Hamilton Democritus Farinata degli Uberti Petrus Kalden Martinus Theunis Steyn Ham Xerxes Judah Bernadette Soubirous Claudius Otho Ottaviano degli Ubaldini Dante Alighieri Marina Mniszech William II of Sicily Alexander Pushkin Elizabeth I of England Edward Garrard Marsh Elizabeth Proctor John XXI Maximilian I of Mexico Diogenes of Sinope Periander Galen Thomas More Lucius Junius Brutus Anaxagoras Lucius Tarquinius Collatinus Israel Hands Leon Klinghoffer Horatio Nelson 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é Henry VIII Guido Bonatti Bede Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Zhou Enlai Jochebed Vasily Rozanov Fyodor Dostoyevsky Bayezid I Leo Tolstoy Johann Georg Faust Arnaut Daniel Chandragupta Maurya Giuseppe Moscati Pyrrhus Seleucus I Nicator Vasili IV of Russia Anselm of Canterbury William Shakespeare Siger of Brabant Trajan Gyges of Lydia Grigori Rasputin Cuitláhuac Georg Michael Welzel False Dmitriy I Sarah Good Abihu Giulia Farnese Judah Maccabee Pedanius Dioscorides Flavius Aetius Carlota of Mexico Paulo da Gama Otto von Bismarck Godfrey of Bouillon Maurice de Saxe Clement VII Tamar Abigail Williams Rabanus Maurus Joshua Orosius Vladimir Lenin Princess Changping Frances Nelson Virgil Vasco da Gama Candaules Levi Hernán Cortés Charlotte Buff Galileo Galilei Albert Hahl Ottilie von Goethe Henning Huising Isidore of Seville Miriam Ovid Siward, Earl of Northumbria Plotius Tucca Joseph Vladimir Solovyov Euclid Pope Celestine V Empedocles Graciano Ptolemy Nicholas III Avicenna Euripides Saint Patrick Alexander the Great Gaius Scribonius Curio Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Anne Boleyn Simeon Adrienne Lecouvreur Lucretia Boris Godunov Dionysius the Areopagite Guido Cavalcanti Phil Collins Petrus Comestor Louis Ange Pitou Richard Nixon Cornelia Africana Guido Guinizelli Justinian I Louis XI of France François Joseph Lefebvre Henry Kissinger Joachim of Fiore Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Jane Seymour Rebecca Nurse Francesca da Rimini John Willard Hunter Bell Aristotle Andrey Shchelkalov Publius Valerius Publicola Al Capone Aelius Donatus Muhammad Mao Zedong Nikolai Gogol Constance, Queen of Sicily Ohthere Anne Françoise Elisabeth Lange Marcus Junius Brutus Beowulf Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Naphtali Igor Svyatoslavich Susan Blackwell Marie Favart Naomi Cicero Anastasius II Horace Plato Timon of Athens Atossa Wealhþeow Robert Guiscard Charles Simon Favart Zipporah Anacharsis George Boleyn, Viscount Rochford Monte Melkonian La Malinche St. Nerses I Friedrich Wilhelm Riemer Sordello Homer Napoleon Averroes Agrippina the Younger Arshak II Francis Drake Sir Thomas Hardy, 1st Baronet Hygelac Cuauhtémoc Thales Peter Damian Tsarevna Xenia Borisovna of Russia Clement V John Proctor Pat Nixon Thaïs Ruth Samuel Parris Bonaventure John the Baptist Seth Fra Dolcino Peter Lombard Lucius Varius Rufus Benvenuto Cellini Abraham Dionysius I of Syracuse Isaac Augustus Petrarch John Hathorne Leo I Jiang Qing 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 literary work
action count
action filter_multi_types
action find_reverse
entity Bjarne Corydon
relation characters
type collectable
type literary work
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?z ) WHERE { { ?t property:characters ?b . ?b rdf:type ontology:common_name . ?t rdf:type ontology:collectable } UNION { ?t property:characters ?b . ?b rdf:type ontology:common_name . ?t rdf:type ontology:literary_work } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:characters resource:Bjarne_Corydon . { ?v rdf:type ?u . VALUES ( ?u ) { ( ontology:collectable ) ( ontology:literary_work ) } } } } . FILTER ( ?z < ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5879 Q12313022
P22
Q502895
USER
How many people are the offspring of Johann Wolfgang von Goethe or Fritz Brun ?
(c(Q502895),P22,Q5879) (c(Q502895),P22,Q12313022)
action count
action union
action filter_type
action find_reverse
entity Q5879
relation P22
type Q502895
action filter_type
action find_reverse
entity Q12313022
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q5879'] [{'concept': 'Q502895'}, 'P22', 'Q12313022']
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h property:P22 resource:Q5879 . ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q502895 . ?h property:P22 resource:Q12313022 } }
Johann Wolfgang von Goethe Fritz Brun
action count
action union
action filter_type
action find_reverse
entity Johann Wolfgang von Goethe
relation father
type common name
action filter_type
action find_reverse
entity Fritz Brun
relation father
type common name
[{'concept': 'common name'}, 'father', 'Johann Wolfgang von Goethe'] [{'concept': 'common name'}, 'father', 'Fritz Brun']
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h property:father resource:Johann_Wolfgang_von_Goethe . ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:common_name . ?h property:father resource:Fritz_Brun } }
[]
common name
SYSTEM
2
Q216362 Q12330483
(c(Q502895),P22,Q5879) (c(Q502895),P22,Q12313022)
action count
action union
action filter_type
action find_reverse
entity Q5879
relation P22
type Q502895
action filter_type
action find_reverse
entity Q12313022
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q5879'] [{'concept': 'Q502895'}, 'P22', 'Q12313022']
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h property:P22 resource:Q5879 . ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q502895 . ?h property:P22 resource:Q12313022 } }
August von Goethe Oscar Brun
2
action count
action union
action filter_type
action find_reverse
entity Johann Wolfgang von Goethe
relation father
type common name
action filter_type
action find_reverse
entity Fritz Brun
relation father
type common name
[{'concept': 'common name'}, 'father', 'Johann Wolfgang von Goethe'] [{'concept': 'common name'}, 'father', 'Fritz Brun']
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h property:father resource:Johann_Wolfgang_von_Goethe . ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:common_name . ?h property:father resource:Fritz_Brun } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16859605 Q12313022
P40
Q502895
USER
Which people have Fritz Brun or Peter Toms as an offspring ?
OR((c(Q502895),P40,Q12313022), (c(Q502895),P40,Q16859605))
action filter_type
action union
action find_reverse
entity Q12313022
relation P40
action find_reverse
entity Q16859605
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q12313022'], [{'concept': 'Q502895'}, 'P40', 'Q16859605']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P40 resource:Q12313022 } UNION { ?d property:P40 resource:Q16859605 } } . ?d rdf:type ontology:Q502895 }
Peter Toms Fritz Brun
action filter_type
action union
action find_reverse
entity Fritz Brun
relation child
action find_reverse
entity Peter Toms
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Fritz Brun'], [{'concept': 'common name'}, 'child', 'Peter Toms']]}
SELECT DISTINCT ?d WHERE { { { ?d property:child resource:Fritz_Brun } UNION { ?d property:child resource:Peter_Toms } } . ?d rdf:type ontology:common_name }
[]
common name
Q12304944 Q8012191
SYSTEM
C.F.B. Brun, William Henry Toms
Q12304944 Q8012191
OR((c(Q502895),P40,Q12313022), (c(Q502895),P40,Q16859605))
action filter_type
action union
action find_reverse
entity Q12313022
relation P40
action find_reverse
entity Q16859605
relation P40
type Q502895
[ANSWERS] have Fritz Brun or Peter Toms as an offspring
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q12313022'], [{'concept': 'Q502895'}, 'P40', 'Q16859605']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P40 resource:Q12313022 } UNION { ?d property:P40 resource:Q16859605 } } . ?d rdf:type ontology:Q502895 }
C.F.B. Brun William Henry Toms
C.F.B. Brun and William Henry Toms have Fritz Brun or Peter Toms as an offspring
C.F.B. Brun William Henry Toms
action filter_type
action union
action find_reverse
entity Fritz Brun
relation child
action find_reverse
entity Peter Toms
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Fritz Brun'], [{'concept': 'common name'}, 'child', 'Peter Toms']]}
SELECT DISTINCT ?d WHERE { { { ?d property:child resource:Fritz_Brun } UNION { ?d property:child resource:Peter_Toms } } . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12304944 Q8012191
P40
Q502895
USER
Which people are children of C.F.B. Brun and William Henry Toms ?
(Q12304944,P40,c(Q502895)) (Q8012191,P40,c(Q502895))
action union
action filter_type
action find
entity Q12304944
relation P40
type Q502895
action filter_type
action find
entity Q8012191
relation P40
type Q502895
['Q12304944', 'P40', {'concept': 'Q502895'}] ['Q8012191', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q12304944 ) ( resource:Q8012191 ) } . ?b property:P40 ?j }
C.F.B. Brun William Henry Toms
action union
action filter_type
action find
entity C.F.B. Brun
relation child
type common name
action filter_type
action find
entity William Henry Toms
relation child
type common name
['C.F.B. Brun', 'child', {'concept': 'common name'}] ['William Henry Toms', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:C.F.B._Brun ) ( resource:William_Henry_Toms ) } . ?b property:child ?j }
[]
common name
Q12304920 Q16859605 Q12306652
SYSTEM
C.A.A.F.J. Brun, Peter Toms, Constantin Brun
Q12306652 Q12300947 Q12304920 Q16859605
(Q12304944,P40,c(Q502895)) (Q8012191,P40,c(Q502895))
action union
action filter_type
action find
entity Q12304944
relation P40
type Q502895
action filter_type
action find
entity Q8012191
relation P40
type Q502895
[ANSWERS] are children of C.F.B. Brun and William Henry Toms
['Q12304944', 'P40', {'concept': 'Q502895'}] ['Q8012191', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q12304944 ) ( resource:Q8012191 ) } . ?b property:P40 ?j }
Constantin Brun Alexander Brun C.A.A.F.J. Brun Peter Toms
C.A.A.F.J. Brun, Peter Toms and Constantin Brun are children of C.F.B. Brun and William Henry Toms
C.A.A.F.J. Brun Peter Toms Constantin Brun
action union
action filter_type
action find
entity C.F.B. Brun
relation child
type common name
action filter_type
action find
entity William Henry Toms
relation child
type common name
['C.F.B. Brun', 'child', {'concept': 'common name'}] ['William Henry Toms', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:C.F.B._Brun ) ( resource:William_Henry_Toms ) } . ?b property:child ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12304920
P735
Q82799
USER
What is forename of that person ?
(Q12304920,P735,c(Q82799))
action filter_type
action find
entity Q12304920
relation P735
type Q82799
['Q12304920', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q12304920 property:P735 ?h . ?h rdf:type ontology:Q82799 }
C.A.A.F.J. Brun
action filter_type
action find
entity C.A.A.F.J. Brun
relation given name
type name
['C.A.A.F.J. Brun', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:C.A.A.F.J._Brun property:given_name ?h . ?h rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q12304920
SYSTEM
Did you mean C.A.A.F.J. Brun ?
Q12304920 Q16859605 Q12306652
(Q12304920,P735,c(Q82799)) (Q16859605,P735,c(Q82799)) (Q12306652,P735,c(Q82799))
[ANSWER]
['Q12304920', 'P735', {'concept': 'Q82799'}] ['Q16859605', 'P735', {'concept': 'Q82799'}] ['Q12306652', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q12304920 property:P735 ?h . ?h rdf:type ontology:Q82799 }
C.A.A.F.J. Brun Peter Toms Constantin Brun
Did you mean C.A.A.F.J. Brun ?
C.A.A.F.J. Brun
['C.A.A.F.J. Brun', 'given name', {'concept': 'name'}] ['Peter Toms', 'given name', {'concept': 'name'}] ['Constantin Brun', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:C.A.A.F.J._Brun property:given_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q12304920,P735,c(Q82799))
['Q12304920', 'P735', {'concept': 'Q82799'}]
['C.A.A.F.J. Brun', 'given name', {'concept': 'name'}]
[]
Q19803499
SYSTEM
C.
Q19803499
(Q12304920,P735,c(Q82799))
action filter_type
action find
entity Q12304920
relation P735
type Q82799
Forename of that person is [ANSWER]
['Q12304920', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q12304920 property:P735 ?h . ?h rdf:type ontology:Q82799 }
C.
Forename of that person is C.
C.
action filter_type
action find
entity C.A.A.F.J. Brun
relation given name
type name
['C.A.A.F.J. Brun', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:C.A.A.F.J._Brun property:given_name ?h . ?h rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P735
Q6619679 Q15619164
USER
How many fictional humanoids and abstract beings have that name as forename ?
(c(Q6619679),P735,Q19803499) (c(Q15619164),P735,Q19803499) (c(Q6619679),P735,Q19803499) (c(Q15619164),P735,Q19803499)
action count
action union
action filter_type
action find_reverse
entity Q19803499
relation P735
type Q6619679
action filter_type
action find_reverse
entity Q19803499
relation P735
type Q15619164
[{'concept': 'Q6619679'}, 'P735', 'Q19803499'] [{'concept': 'Q15619164'}, 'P735', 'Q19803499'] [{'concept': 'Q6619679'}, 'P735', 'Q19803499'] [{'concept': 'Q15619164'}, 'P735', 'Q19803499']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n property:P735 resource:Q19803499 . ?n rdf:type ontology:Q6619679 } UNION { ?n property:P735 resource:Q19803499 . ?n rdf:type ontology:Q15619164 } }
action count
action union
action filter_type
action find_reverse
entity C.
relation given name
type fictional humanoid
action filter_type
action find_reverse
entity C.
relation given name
type abstract being
[{'concept': 'fictional humanoid'}, 'given name', 'C.'] [{'concept': 'abstract being'}, 'given name', 'C.'] [{'concept': 'fictional humanoid'}, 'given name', 'C.'] [{'concept': 'abstract being'}, 'given name', 'C.']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n property:given_name resource:C. . ?n rdf:type ontology:fictional_humanoid } UNION { ?n property:given_name resource:C. . ?n rdf:type ontology:abstract_being } }
[]
fictional humanoid abstract being
SYSTEM
2 fictional humanoids and 1 abstract beings
Q2442857 Q2559724 Q5006003
(c(Q6619679),P735,Q19803499) (c(Q15619164),P735,Q19803499) (c(Q6619679),P735,Q19803499) (c(Q15619164),P735,Q19803499)
action count
action union
action filter_type
action find_reverse
entity Q19803499
relation P735
type Q6619679
action filter_type
action find_reverse
entity Q19803499
relation P735
type Q15619164
[ANSWER]
[{'concept': 'Q6619679'}, 'P735', 'Q19803499'] [{'concept': 'Q15619164'}, 'P735', 'Q19803499'] [{'concept': 'Q6619679'}, 'P735', 'Q19803499'] [{'concept': 'Q15619164'}, 'P735', 'Q19803499']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n property:P735 resource:Q19803499 . ?n rdf:type ontology:Q6619679 } UNION { ?n property:P735 resource:Q19803499 . ?n rdf:type ontology:Q15619164 } }
C.C. C.J. Garrison C.C. Capwell
2 fictional humanoids and 1 abstract beings
action count
action union
action filter_type
action find_reverse
entity C.
relation given name
type fictional humanoid
action filter_type
action find_reverse
entity C.
relation given name
type abstract being
[{'concept': 'fictional humanoid'}, 'given name', 'C.'] [{'concept': 'abstract being'}, 'given name', 'C.'] [{'concept': 'fictional humanoid'}, 'given name', 'C.'] [{'concept': 'abstract being'}, 'given name', 'C.']
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { ?n property:given_name resource:C. . ?n rdf:type ontology:fictional_humanoid } UNION { ?n property:given_name resource:C. . ?n rdf:type ontology:abstract_being } }
[]