Simple Question (Direct)
Simple Question
Q594309
P39
Q12737077
USER
Which occupation was a position occupied by Anton Spetzler ?
(Q594309,P39,c(Q12737077))
action filter_type
action find
entity Q594309
relation P39
type Q12737077
['Q594309', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q594309 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Anton Spetzler
action filter_type
action find
entity Anton Spetzler
relation position held
type occupation
['Anton Spetzler', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Anton_Spetzler property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q17850767
SYSTEM
member of the Reichstag of the Weimar Republic
Q17850767
(Q594309,P39,c(Q12737077))
action filter_type
action find
entity Q594309
relation P39
type Q12737077
A [ANSWER] was a position occupied by Anton Spetzler
['Q594309', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q594309 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
member of the Reichstag of the Weimar Republic
A member of the Reichstag of the Weimar Republic was a position occupied by Anton Spetzler
member of the Reichstag of the Weimar Republic
action filter_type
action find
entity Anton Spetzler
relation position held
type occupation
['Anton Spetzler', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Anton_Spetzler property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q594309
P937
Q56061
USER
What is the work location of Anton Spetzler ?
(Q594309,P937,c(Q56061))
action filter_type
action find
entity Q594309
relation P937
type Q56061
['Q594309', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q594309 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Anton Spetzler
action filter_type
action find
entity Anton Spetzler
relation work location
type administrative territorial entity
['Anton Spetzler', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Anton_Spetzler property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q594309,P937,c(Q56061))
action filter_type
action find
entity Q594309
relation P937
type Q56061
The work location of Anton Spetzler is in [ANSWER]
['Q594309', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q594309 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Berlin
The work location of Anton Spetzler is in Berlin
Berlin
action filter_type
action find
entity Anton Spetzler
relation work location
type administrative territorial entity
['Anton Spetzler', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Anton_Spetzler property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q64 Q15843778
P20
Q502895
USER
Does Said have that administrative territory as the area of death ?
(Q15843778,P20,Q64)
action is_in
entity Q15843778
action find
entity Q64
relation P20
['Q15843778', 'P20', 'Q64']
ASK WHERE { resource:Q64 property:P20 resource:Q15843778 }
Berlin Said
action is_in
entity Said
action find
entity Berlin
relation place of death
['Said', 'place of death', 'Berlin']
ASK WHERE { resource:Berlin property:place_of_death resource:Said }
[]
common name
SYSTEM
NO
(Q15843778,P20,Q64)
action is_in
entity Q15843778
action find
entity Q64
relation P20
[ANSWER]
['Q15843778', 'P20', 'Q64']
ASK WHERE { resource:Q64 property:P20 resource:Q15843778 }
No
action is_in
entity Said
action find
entity Berlin
relation place of death
['Said', 'place of death', 'Berlin']
ASK WHERE { resource:Berlin property:place_of_death resource:Said }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P237
Q17335294
USER
Which coat of arms serves as the ensign for that administrative territory ?
action filter_type
action find
entity Q64
relation P237
type Q17335294
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q17335294 . resource:Q64 property:P237 ?v }
Berlin
action filter_type
action find
entity Berlin
relation coat of arms
type flag or coat of arms
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:flag_or_coat_of_arms . resource:Berlin property:coat_of_arms ?v }
[]
flag or coat of arms
Q819737
SYSTEM
coat of arms of Berlin
Q819737
action filter_type
action find
entity Q64
relation P237
type Q17335294
The [ANSWER] serves as the ensign for that administrative territory
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q17335294 . resource:Q64 property:P237 ?v }
coat of arms of Berlin
The coat of arms of Berlin serves as the ensign for that administrative territory
coat of arms of Berlin
action filter_type
action find
entity Berlin
relation coat of arms
type flag or coat of arms
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:flag_or_coat_of_arms . resource:Berlin property:coat_of_arms ?v }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2468262
P674
Q502895 Q234460 Q36649
USER
Which people appears as a character in approximately the same number of texts or visual artss as Jonah ?
(c(Q234460)|c(Q36649),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action count
action filter_multi_types
action find_reverse
entity Q2468262
relation P674
type Q234460
type Q36649
[[{'concept': 'Q234460'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?o = ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P674 resource:Q2468262 . { { ?x rdf:type ontology:Q234460 } UNION { ?x rdf:type ontology:Q36649 } } } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P674 ?u . ?u rdf:type ontology:Q502895 . ?k rdf:type ontology:Q234460 } UNION { ?u rdf:type ontology:Q502895 . ?k rdf:type ontology:Q36649 . ?k property:P674 ?u } } GROUP BY ?u } }
Jonah
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type text
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action count
action filter_multi_types
action find_reverse
entity Jonah
relation characters
type text
type visual arts
[[{'concept': 'text'}, {'concept': 'visual arts'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?o = ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:characters resource:Jonah . { { ?x rdf:type ontology:text } UNION { ?x rdf:type ontology:visual_arts } } } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:characters ?u . ?u rdf:type ontology:common_name . ?k rdf:type ontology:text } UNION { ?u rdf:type ontology:common_name . ?k rdf:type ontology:visual_arts . ?k property:characters ?u } } GROUP BY ?u } }
[]
common name text visual arts
Q41370 Q692 Q5598
SYSTEM
David, William Shakespeare, Rembrandt
Q13562217 Q7793319 Q315726 Q5254 Q6741571 Q18720650 Q457881 Q1986812 Q272246 Q33923 Q2054 Q33760 Q3051256 Q676555 Q2635523 Q157 Q7788839 Q152513 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q43706 Q725118 Q1093574 Q12316446 Q7322 Q18733964 Q295824 Q2458567 Q12591 Q353879 Q955856 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q3867479 Q48438 Q849 Q234022 Q319713 Q1354988 Q92639 Q981915 Q243203 Q229807 Q130221 Q21916822 Q6113413 Q3181675 Q4212237 Q10265876 Q2085338 Q41155 Q270438 Q43353 Q206459 Q220344 Q765624 Q44387 Q312660 Q2254800 Q6139425 Q547828 Q44265 Q172480 Q1234647 Q1937560 Q317554 Q257442 Q256663 Q4679883 Q47365 Q104804 Q294147 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q13560546 Q6777920 Q234811 Q41980 Q2721219 Q185101 Q24061503 Q286238 Q2355196 Q129165 Q282220 Q55398 Q1411 Q1413 Q363636 Q1416 Q1419 Q2521377 Q1067 Q42305 Q1140161 Q367387 Q937415 Q7207 Q5343069 Q20749193 Q312332 Q5363384 Q172916 Q6780580 Q187982 Q59180 Q43393 Q188646 Q328793 Q34428 Q8778 Q42544 Q223440 Q5015 Q7523 Q169329 Q83041 Q271278 Q353188 Q1979876 Q1227273 Q603096 Q83235 Q543853 Q9438 Q1348718 Q12927 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q7742 Q1133523 Q281146 Q181875 Q152717 Q634239 Q591879 Q38370 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q6818772 Q359237 Q317188 Q378053 Q469118 Q17410 Q43600 Q128358 Q3090807 Q5598 Q531748 Q76918 Q4344 Q19844997 Q188541 Q737786 Q172353 Q256439 Q184176 Q193232 Q43939 Q297285 Q335173 Q8462 Q692 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q43989 Q4791018 Q137680 Q86745 Q209535 Q7422342 Q1981295 Q40787 Q737533 Q236243 Q1281235 Q532354 Q111559 Q297776 Q185476 Q953718 Q81506 Q3860377 Q83400 Q8442 Q200817 Q352489 Q76723 Q83159 Q1030008 Q951503 Q289694 Q160441 Q7732 Q7734 Q311456 Q153670 Q3236830 Q3080825 Q310303 Q7328 Q434217 Q638973 Q215512 Q231944 Q307 Q6527 Q1280744 Q24062019 Q20750935 Q166876 Q134309 Q273942 Q332020 Q2633351 Q68366 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 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 Q83808 Q1824066 Q66107 Q199991 Q106077 Q16404704 Q2755054 Q193660 Q6780526 Q182637 Q3421721 Q4230107 Q15463333 Q466048 Q6264078 Q670332 Q5944261 Q868 Q19118331 Q5544435 Q318726 Q80048 Q247137 Q9458 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q170335 Q555304 Q1402591 Q3275910 Q5202472 Q1394174 Q172248 Q4712236 Q208359 Q186652 Q134646 Q188411 Q1771963 Q365695 Q2497107 Q313817 Q7647581 Q4403346 Q443256 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q233359 Q360798 Q203792 Q981902 Q325026 Q347133 Q545875 Q380482 Q26702 Q43963 Q366205 Q1048 Q983502 Q453382 Q665165 Q6691 Q36456 Q517 Q39837 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q36303 Q258369 Q17131 Q1960623 Q131463 Q3182316 Q158707 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q3471206 Q43746 Q40662 Q448586 Q5553293 Q315347 Q12324262 Q190116 Q860084 Q332750 Q772930 Q434579 Q39259 Q1401 Q15427574 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q234460)|c(Q36649),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action count
action filter_multi_types
action find_reverse
entity Q2468262
relation P674
type Q234460
type Q36649
[ANSWERS] appear as a character in approximately the same number of texts or visual artss as Jonah
[[{'concept': 'Q234460'}, {'concept': 'Q36649'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?o = ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P674 resource:Q2468262 . { { ?x rdf:type ontology:Q234460 } UNION { ?x rdf:type ontology:Q36649 } } } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P674 ?u . ?u rdf:type ontology:Q502895 . ?k rdf:type ontology:Q234460 } UNION { ?u rdf:type ontology:Q502895 . ?k rdf:type ontology:Q36649 . ?k property:P674 ?u } } GROUP BY ?u } }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Malayaketu Nyssia John Tenniel Tituba Johanne Luise Heiberg Peter Seneca Bertrand Russell Elizabeth Parris Francis of Assisi Henry Percy, 6th Earl of Northumberland François Hollande Thomas Danforth Henry Wadsworth Longfellow Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Antoine Barnave John Chrysostom Carl Christian Hall Ruggieri degli Ubaldini Henrik Sass Larsen Christopher Columbus Peter Stahl Peter I of Portugal François Bonivard Nebuchadnezzar II Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley Cleopatra David Mathos Charles Dickens Kay Scarpetta 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 Inês de Castro Leopold V, Duke of Austria Giles Corey Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Berengaria of Navarre Frederick II, Holy Roman Emperor Giovanni Corrado Orsini Rucio 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 Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Adam Tas Marie Antoinette Saint Mesrob William Bligh Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Heidi Blickenstaff Maruja Pachón Emma, Lady Hamilton Democritus Farinata degli Uberti Hamilcar Barca Petrus Kalden Thaïs Martinus Theunis Steyn 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 Elizabeth I of England Edward Garrard Marsh Irma Le Fer de la Motte Alessandro Cagliostro Elizabeth Proctor John XXI 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 Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Louis XIV of France Jephthah Yeznik of Kolb Robert Peel Henry VII, Holy Roman Emperor Atto Melani Piet Cronjé Henry VIII Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Mercy Lewis Charles Martel of Anjou Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Zhou Enlai Matthew the Apostle Bayezid I Almanzo Wilder Rembrandt Carsten Hansen 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 Georg Michael Welzel False Dmitriy I Sarah Good Francisco Santos Calderón 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 Charles I of England The Nun of Monza Paulo da Gama Otto von Bismarck Titus van Rijn Aulus Plautius Maurice de Saxe Clement VII Tamar Ashot II of Armenia Abigail Williams Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Princess Changping Frances Nelson Yazdegerd II Vasco da Gama Candaules Leofric, Earl of Mercia Levi Ann Radcliffe Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Henning Huising Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Vasak of Syunik Siward, Earl of Northumbria 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 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 François Joseph Lefebvre Arturo Bandini Henry Kissinger Joachim of Fiore Lady Godiva Endel Nelis Guido I da Montefeltro Ramon Llull 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 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 John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Naphtali Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Atossa Saint Eligius Robert Guiscard Charles Simon Favart Anacharsis George Boleyn, Viscount Rochford Monte Melkonian Agathon Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar St. Nerses I John Adams 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 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 Samuel Parris Bonaventure John the Baptist Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Benvenuto Cellini Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin 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
David, William Shakespeare and Rembrandt appear as a character in approximately the same number of texts or visual artss as Jonah
David William Shakespeare Rembrandt
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type text
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action count
action filter_multi_types
action find_reverse
entity Jonah
relation characters
type text
type visual arts
[[{'concept': 'text'}, {'concept': 'visual arts'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?o = ?q ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:characters resource:Jonah . { { ?x rdf:type ontology:text } UNION { ?x rdf:type ontology:visual_arts } } } } . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:characters ?u . ?u rdf:type ontology:common_name . ?k rdf:type ontology:text } UNION { ?u rdf:type ontology:common_name . ?k rdf:type ontology:visual_arts . ?k property:characters ?u } } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q44539 Q56061
USER
How many people are the patron saint of approximately 53 temples or administrative territories ?
(c(Q44539)|c(Q56061),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
value 53
[[{'concept': 'Q44539'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P417 ?t . ?u rdf:type ontology:Q44539 . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . ?u rdf:type ontology:Q56061 . ?u property:P417 ?t } } GROUP BY ?t } . FILTER ( ?m = 53 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
value 53
[[{'concept': 'temple'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:patron_saint ?t . ?u rdf:type ontology:temple . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . ?u rdf:type ontology:administrative_territorial_entity . ?u property:patron_saint ?t } } GROUP BY ?t } . FILTER ( ?m = 53 ) }
[]
common name temple administrative territorial entity
SYSTEM
2
Q33923 Q9200
(c(Q44539)|c(Q56061),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
value 53
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P417 ?t . ?u rdf:type ontology:Q44539 . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . ?u rdf:type ontology:Q56061 . ?u property:P417 ?t } } GROUP BY ?t } . FILTER ( ?m = 53 ) }
Peter Paul
2
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
value 53
[[{'concept': 'temple'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:patron_saint ?t . ?u rdf:type ontology:temple . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . ?u rdf:type ontology:administrative_territorial_entity . ?u property:patron_saint ?t } } GROUP BY ?t } . FILTER ( ?m = 53 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1171341 Q64
P6 P86
Q502895
USER
Which people do Berlin serve as the head of government for or wrote the music for The Green Room ?
OR((Q64,P6,c(Q502895)), (Q1171341,P86,c(Q502895)))
action filter_type
action union
action find
entity Q64
relation P6
action find
entity Q1171341
relation P86
type Q502895
{'OR': [['Q64', 'P6', {'concept': 'Q502895'}], ['Q1171341', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1171341 property:P86 ?b } UNION { resource:Q64 property:P6 ?b } } . ?b rdf:type ontology:Q502895 }
The Green Room Berlin
action filter_type
action union
action find
entity Berlin
relation head of government
action find
entity The Green Room
relation composer
type common name
{'OR': [['Berlin', 'head of government', {'concept': 'common name'}], ['The Green Room', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:The_Green_Room property:composer ?b } UNION { resource:Berlin property:head_of_government ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q2567 Q705862 Q650878 Q69232 Q552483 Q215756 Q1138157 Q2514 Q60957 Q213561
SYSTEM
Some of them are Richard von Weizsäcker, Heinrich Albertz, Otto Suhr, Walther Schreiber, Hans-Jochen Vogel, Klaus Schütz, Maurice Jaubert, Willy Brandt, Eberhard Diepgen, Ernst Reuter
Q705862 Q8863 Q552483 Q61085 Q2514 Q1138157 Q650878 Q102844 Q2567 Q96399 Q68748 Q60957 Q215756 Q69232 Q213561
OR((Q64,P6,c(Q502895)), (Q1171341,P86,c(Q502895)))
action filter_type
action union
action find
entity Q64
relation P6
action find
entity Q1171341
relation P86
type Q502895
Berlin serve for as the head of government of [ANSWERS]
{'OR': [['Q64', 'P6', {'concept': 'Q502895'}], ['Q1171341', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1171341 property:P86 ?b } UNION { resource:Q64 property:P6 ?b } } . ?b rdf:type ontology:Q502895 }
Heinrich Albertz Klaus Wowereit Hans-Jochen Vogel Walter Momper Willy Brandt Maurice Jaubert Otto Suhr Michael Müller Richard von Weizsäcker Franz Amrehn Dietrich Stobbe Eberhard Diepgen Klaus Schütz Walther Schreiber Ernst Reuter
Berlin serve for as the head of government of Richard von Weizsäcker, Heinrich Albertz, Otto Suhr, Walther Schreiber, Hans-Jochen Vogel, Klaus Schütz, Maurice Jaubert, Willy Brandt, Eberhard Diepgen and Ernst Reuter
Richard von Weizsäcker Heinrich Albertz Otto Suhr Walther Schreiber Hans-Jochen Vogel Klaus Schütz Maurice Jaubert Willy Brandt Eberhard Diepgen Ernst Reuter
action filter_type
action union
action find
entity Berlin
relation head of government
action find
entity The Green Room
relation composer
type common name
{'OR': [['Berlin', 'head of government', {'concept': 'common name'}], ['The Green Room', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:The_Green_Room property:composer ?b } UNION { resource:Berlin property:head_of_government ?b } } . ?b rdf:type ontology:common_name }
[]