Simple Question (Direct)
Simple Question
Q71376
P19
Q56061
USER
Which administrative territory is the place of birth of Monika Kruse ?
(Q71376,P19,c(Q56061))
action filter_type
action find
entity Q71376
relation P19
type Q56061
['Q71376', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q71376 property:P19 ?h }
Monika Kruse
action filter_type
action find
entity Monika Kruse
relation place of birth
type administrative territorial entity
['Monika Kruse', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Monika_Kruse property:place_of_birth ?h }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q71376,P19,c(Q56061))
action filter_type
action find
entity Q71376
relation P19
type Q56061
[ANSWER] is the place of birth of Monika Kruse
['Q71376', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q71376 property:P19 ?h }
Berlin
Berlin is the place of birth of Monika Kruse
Berlin
action filter_type
action find
entity Monika Kruse
relation place of birth
type administrative territorial entity
['Monika Kruse', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Monika_Kruse property:place_of_birth ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q71376
P21
Q290
USER
Which sex does that person have ?
(Q64,P21,c(Q290))
action filter_type
action find
entity Q71376
relation P21
type Q290
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q71376 property:P21 ?k . ?k rdf:type ontology:Q290 }
Monika Kruse
action filter_type
action find
entity Monika Kruse
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Monika_Kruse property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q64,P21,c(Q290))
action filter_type
action find
entity Q71376
relation P21
type Q290
That person has a [ANSWER]
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q71376 property:P21 ?k . ?k rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Monika Kruse
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Monika_Kruse property:gender ?k . ?k rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q71376
P27
Q1048835
USER
How many political territories are the native countriesof Monika Kruse ?
(Q71376,P27,c(Q1048835))
action count
action filter_type
action find
entity Q71376
relation P27
type Q1048835
['Q71376', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q71376 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Monika Kruse
action count
action filter_type
action find
entity Monika Kruse
relation country of citizenship
type political territorial entity
['Monika Kruse', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Monika_Kruse property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q71376,P27,c(Q1048835))
action count
action filter_type
action find
entity Q71376
relation P27
type Q1048835
[ANSWER]
['Q71376', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q71376 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Monika Kruse
relation country of citizenship
type political territorial entity
['Monika Kruse', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Monika_Kruse property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1558468
Q1048835
USER
And also tell me about Gynter Mödder?
(Q1558468,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1558468
relation P27
type Q1048835
['Q1558468', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:Q1048835 . resource:Q1558468 property:P27 ?b }
Gynter Mödder
action count
action filter_type
action find
entity Gynter Mödder
relation country of citizenship
type political territorial entity
['Gynter Mödder', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Gynter_Mödder property:country_of_citizenship ?b }
[]
political territorial entity
SYSTEM
1
(Q1558468,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1558468
relation P27
type Q1048835
[ANSWER]
['Q1558468', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:Q1048835 . resource:Q1558468 property:P27 ?b }
1
action count
action filter_type
action find
entity Gynter Mödder
relation country of citizenship
type political territorial entity
['Gynter Mödder', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Gynter_Mödder property:country_of_citizenship ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1558468
P106
Q12737077
USER
What do that person do for a living ?
action filter_type
action find
entity Q1558468
relation P106
type Q12737077
SELECT DISTINCT ?g WHERE { resource:Q1558468 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Gynter Mödder
action filter_type
action find
entity Gynter Mödder
relation occupation
type occupation
SELECT DISTINCT ?g WHERE { resource:Gynter_Mödder property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q18890587 Q36180
SYSTEM
radiologist, writer
Q18890587 Q36180
action filter_type
action find
entity Q1558468
relation P106
type Q12737077
[ANSWERS] that person do for a living
SELECT DISTINCT ?g WHERE { resource:Q1558468 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
radiologist writer
Radiologist and writer that person do for a living
radiologist writer
action filter_type
action find
entity Gynter Mödder
relation occupation
type occupation
SELECT DISTINCT ?g WHERE { resource:Gynter_Mödder property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q199991
P674
Q502895 Q571 Q223393
USER
Which people appears as a character in lesser number of books and literary genres than Joachim of Fiore ?
(c(Q571)|c(Q223393),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q571
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q199991
relation P674
type Q571
type Q223393
[[{'concept': 'Q571'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:Q571 ) ( ontology:Q223393 ) } . ?l rdf:type ?a } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P674 resource:Q199991 . { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:Q571 ) ( ontology:Q223393 ) } } } } . FILTER ( ?t < ?i ) }
Joachim of Fiore
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type book
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action count
action filter_multi_types
action find_reverse
entity Joachim of Fiore
relation characters
type book
type literary genre
[[{'concept': 'book'}, {'concept': 'literary genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:book ) ( ontology:literary_genre ) } . ?l rdf:type ?a } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:characters resource:Joachim_of_Fiore . { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:book ) ( ontology:literary_genre ) } } } } . FILTER ( ?t < ?i ) }
[]
common name book literary genre
Q7243 Q5879 Q692
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, William Shakespeare
Q13562217 Q7793319 Q315726 Q6741571 Q216362 Q457881 Q1986812 Q272246 Q315795 Q3051256 Q2635523 Q744125 Q157 Q7788839 Q152513 Q1353836 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q725118 Q200902 Q12316446 Q7322 Q18733964 Q10261 Q5879 Q2458567 Q12591 Q118653 Q353879 Q955856 Q262513 Q6779230 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q48438 Q849 Q36591 Q319713 Q1354988 Q981915 Q1291267 Q229807 Q21916822 Q6113413 Q6323112 Q456931 Q3181675 Q4212237 Q10265876 Q2085338 Q43353 Q206459 Q220344 Q765624 Q44387 Q312660 Q6139425 Q547828 Q172480 Q1234647 Q830183 Q1937560 Q257442 Q256663 Q62788 Q4679883 Q313421 Q47365 Q104804 Q294147 Q460763 Q230677 Q6562057 Q1347324 Q2915318 Q13560546 Q1338025 Q6777920 Q234811 Q185101 Q24061503 Q286238 Q2355196 Q229702 Q129165 Q282220 Q55398 Q1411 Q1413 Q363636 Q1416 Q1419 Q42305 Q1140161 Q937415 Q7200 Q7207 Q20749193 Q312332 Q5363384 Q84192 Q6780580 Q187982 Q43393 Q328793 Q34428 Q42544 Q5015 Q7523 Q169329 Q271278 Q353188 Q1979876 Q1227273 Q603096 Q83235 Q543853 Q2412941 Q1348718 Q12927 Q2361344 Q6780925 Q7742 Q281146 Q181875 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q38370 Q1209603 Q1059572 Q6818772 Q662533 Q317188 Q378053 Q469118 Q17410 Q594805 Q719418 Q991 Q43600 Q128358 Q3090807 Q5598 Q531748 Q7243 Q76918 Q19844997 Q188541 Q737786 Q256439 Q184176 Q193232 Q297285 Q335173 Q8462 Q692 Q2750254 Q1427 Q9353 Q9215 Q4791018 Q137680 Q315628 Q86745 Q209535 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q236243 Q1281235 Q532354 Q185476 Q953718 Q81506 Q3860377 Q154971 Q8442 Q200817 Q352489 Q76723 Q83159 Q1030008 Q951503 Q289694 Q7732 Q153670 Q1394 Q3080825 Q310303 Q638973 Q215512 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q24062019 Q20750935 Q134309 Q273942 Q332020 Q1938388 Q2633351 Q68366 Q6184 Q145746 Q282280 Q3064195 Q1177456 Q674683 Q15897 Q165479 Q109860 Q154723 Q2438324 Q519984 Q312682 Q20749268 Q691873 Q694093 Q228896 Q9045 Q19348839 Q80823 Q57652 Q7071043 Q131412 Q743858 Q1773005 Q237201 Q353081 Q166056 Q131002 Q229432 Q47180 Q122290 Q170172 Q452048 Q5582 Q1377025 Q612501 Q231997 Q170373 Q16912694 Q144622 Q950850 Q7617726 Q3261049 Q335165 Q544680 Q717441 Q9588 Q2872353 Q559541 Q8058 Q83808 Q1824066 Q66107 Q106077 Q141791 Q200637 Q16404704 Q193660 Q6780526 Q182637 Q3421721 Q4230107 Q15463333 Q6264078 Q670332 Q5944261 Q19118331 Q5544435 Q318726 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q43718 Q555304 Q3275910 Q5202472 Q1394174 Q4712236 Q1281177 Q208359 Q186652 Q15711674 Q75090 Q1771963 Q365695 Q313817 Q7647581 Q4403346 Q443256 Q2596433 Q5689201 Q879350 Q82006 Q151209 Q828583 Q310267 Q1747004 Q233359 Q2116944 Q360798 Q981902 Q205523 Q347133 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q983502 Q453382 Q85393 Q36456 Q517 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q889694 Q297050 Q17131 Q1960623 Q3182316 Q158707 Q6762867 Q37085 Q313555 Q920912 Q2361032 Q1774982 Q3471206 Q107626 Q5553293 Q12324262 Q8820 Q190116 Q9181 Q860084 Q772930 Q434579 Q671872 Q83321 Q39259 Q15427574 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q463440 Q218747 Q9960
(c(Q571)|c(Q223393),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q571
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q199991
relation P674
type Q571
type Q223393
[ANSWERS] appear as a character in lesser number of books and literary genres than Joachim of Fiore
[[{'concept': 'Q571'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:Q571 ) ( ontology:Q223393 ) } . ?l rdf:type ?a } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P674 resource:Q199991 . { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:Q571 ) ( ontology:Q223393 ) } } } } . FILTER ( ?t < ?i ) }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Malayaketu August von Goethe John Tenniel Tituba Johanne Luise Heiberg Bernal Díaz del Castillo Elizabeth Parris 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 Carl Christian Hall Shem Henrik Sass Larsen Christopher Columbus Peter Stahl Pythagoras Johann Wolfgang von Goethe François Bonivard Nebuchadnezzar II August Engelhardt Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Jiro Horikoshi Ann Putnam, Jr. Blondel de Nesle Wernher von Braun Saint George François Villon Vladimir Nabokov Leopold V, Duke of Austria Giles Corey Joseph Bazalgette Gundomar I Berengaria of Navarre Giovanni Corrado Orsini Rucio Nahor Sextus Tarquinius John Hale Kanva Dhana Nanda Vahan I Mamikonian Aristophanes Feodor II of Russia Pythia Willem Adriaan van der Stel Darius I of Persia Gaius Mucius Scaevola Thomas Hayward Christiaan de Wet Isaac of Armenia Mark Smeaton Eve Mogens Lykketoft Sarah Paulson Anne Geneviève de Bourbon Jethro Adam Tas Abel Marie Antoinette Saint Mesrob William Bligh Benjamin Madame du Barry Mushegh IV Mamikonian François de Vendôme, Duc de Beaufort Soupy Sales Heidi Blickenstaff Emma Forsayth Maruja Pachón Emma, Lady Hamilton Hamilcar Barca Petrus Kalden Thaïs Martinus Theunis Steyn Ham Xerxes Judah Bernadette Soubirous Claudius Nero Cardinal de Rohan Otho Vespasian Richard I of England Marina Mniszech James Stewart, 1st Earl of Moray Alexander Pushkin Elizabeth I of England Irma Le Fer de la Motte Alessandro Cagliostro Elizabeth Proctor Maximilian I of Mexico Mary Raphael Slattery Alcibiades Robert Boyle Periander Philip Thomas More Mette Frederiksen Kublai Khan Conrad of Montferrat Jeanne of Valois-Saint-Rémy Lucius Tarquinius Collatinus Israel Hands Henry Mayhew Leon Klinghoffer Horatio Nelson Herod II The Fox and the Cat Jean-Claude Romand Marine Le Pen Durvasa Mary Warren Louis XIV of France Yeznik of Kolb Robert Peel Winona Noah Judith Atto Melani Piet Cronjé Henry VIII Dick Beardsley Khaled Al Khamissi Mercy Lewis 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 Sahakanuysh Chandragupta Maurya Giuseppe Moscati Claudia Acte Seleucus I Nicator Vasili IV of Russia Ali Pasha Edward Hyde, 1st Earl of Clarendon Timur William Shakespeare Pharantzem Hadrian John Locke Sigmund Freud 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 Flavius Aetius Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Otto von Bismarck Titus van Rijn Aulus Plautius Maurice de Saxe Clement VII Tamar Ashot II of Armenia Abigail Williams Louis XVI of France Primo Levi Vladimir Lenin Frances Nelson Yazdegerd II 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 Charles IX of France Pia Gjellerup César Gaviria Miriam Vasak of Syunik Siward, Earl of Northumbria Plotius Tucca Joseph Vladimir Solovyov Hovsep Ier de Holotsim David of Scotland, Earl of Huntingdon Terpsion Amy Winehouse Saint Patrick Dagobert I Viktor Frankl Julie d'Aubigny Neil Strauss Euclid of Megara John Corbe Anthony Wood Ditlev Gothard Monrad 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 Christopher Wren Cornelia van Rijn Phil Collins Samuel Morland William Douglas, 6th Earl of Morton Louis Ange Pitou Osceola John Thurloe Alberto Salazar Richard Nixon Autaritus Salvatore Giuliano Louis XI of France François Joseph Lefebvre Arturo Bandini Henry Kissinger Lady Godiva Moctezuma IIl Japheth Endel Nelis Ramon Llull Mary Pius Regnier Jane Seymour Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt John Willard Comte de Troisville Hunter Bell Andrey Shchelkalov George Seton, 7th Lord Seton Publius Valerius Publicola Mao Zedong Diana Turbay Poppaea Sabina Rose Angela Horan Peter Heywood Nikolai Gogol Georges Cadoudal Anne Françoise Elisabeth Lange Célestine Guynemer de la Hailandière Paphnutius of Thebes Alberto Villamizar Beowulf John Wallis Gilbert du Motier Zecora Adele Schopenhauer Naphtali Moses of Chorene George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Anne of Austria Bertrand-François Mahé de La Bourdonnais Shapur III Timon of Athens Atossa Wealhþeow Saint Eligius Charles Simon Favart Zipporah George Boleyn, Viscount Rochford Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus St. Nerses I John Adams Friedrich Wilhelm Riemer Hannibal Napoleon 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 Pontius Pilatus Tsarevna Xenia Borisovna of Russia John Proctor Pat Nixon Marie Helene Franey Solomon Hanno the Great Theaetetus Thomas Ken Ruth Samuel Parris Seth Gertrude Clare Owens Lene Jensen Lucius Varius Rufus Benvenuto Cellini Abraham Pausanias of Athens Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Recep Tayyip Erdoğan John Hathorne Leo I Étienne François, duc de Choiseul Jiang Qing Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
Leo Tolstoy, Johann Wolfgang von Goethe and William Shakespeare appear as a character in lesser number of books and literary genres than Joachim of Fiore
Leo Tolstoy Johann Wolfgang von Goethe William Shakespeare
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type book
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
action count
action filter_multi_types
action find_reverse
entity Joachim of Fiore
relation characters
type book
type literary genre
[[{'concept': 'book'}, {'concept': 'literary genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?t ) WHERE { VALUES ( ?a ) { ( ontology:book ) ( ontology:literary_genre ) } . ?l rdf:type ?a } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:characters resource:Joachim_of_Fiore . { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:book ) ( ontology:literary_genre ) } } } } . FILTER ( ?t < ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5879
P463
Q3947
USER
Which house had Johann Wolfgang von Goethe as its member ?
(Q5879,P463,c(Q3947))
action filter_type
action find
entity Q5879
relation P463
type Q3947
['Q5879', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?s WHERE { resource:Q5879 property:P463 ?s . ?s rdf:type ontology:Q3947 }
Johann Wolfgang von Goethe
action filter_type
action find
entity Johann Wolfgang von Goethe
relation member of
type house
['Johann Wolfgang von Goethe', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?s WHERE { resource:Johann_Wolfgang_von_Goethe property:member_of ?s . ?s rdf:type ontology:house }
[]
house
Q414188
SYSTEM
Göttingen Academy of Sciences
Q414188
(Q5879,P463,c(Q3947))
action filter_type
action find
entity Q5879
relation P463
type Q3947
[ANSWER] had Johann Wolfgang von Goethe as its member
['Q5879', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?s WHERE { resource:Q5879 property:P463 ?s . ?s rdf:type ontology:Q3947 }
Göttingen Academy of Sciences
Göttingen Academy of Sciences had Johann Wolfgang von Goethe as its member
Göttingen Academy of Sciences
action filter_type
action find
entity Johann Wolfgang von Goethe
relation member of
type house
['Johann Wolfgang von Goethe', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?s WHERE { resource:Johann_Wolfgang_von_Goethe property:member_of ?s . ?s rdf:type ontology:house }
[]