Simple Question (Direct)
Simple Question
Q3568734
P410
Q4189293
USER
Which is the title held by William J. Worth ?
(Q3568734,P410,c(Q4189293))
action filter_type
action find
entity Q3568734
relation P410
type Q4189293
['Q3568734', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q3568734 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
William J. Worth
action filter_type
action find
entity William J. Worth
relation military rank
type title
['William J. Worth', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:William_J._Worth property:military_rank ?w . ?w rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q3568734,P410,c(Q4189293))
action filter_type
action find
entity Q3568734
relation P410
type Q4189293
[ANSWER] is the title held by William J. Worth
['Q3568734', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q3568734 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
general officer
General officer is the title held by William J. Worth
general officer
action filter_type
action find
entity William J. Worth
relation military rank
type title
['William J. Worth', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:William_J._Worth property:military_rank ?w . ?w rdf:type ontology:title }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7793319
P674
Q502895 Q15850590 Q2342494
USER
Which people appears as a character in more number of theatrical genres or collectables than Thomas Putnam ?
(c(Q15850590)|c(Q2342494),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q7793319
relation P674
type Q15850590
type Q2342494
[[{'concept': 'Q15850590'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q15850590 ) } . ?j rdf:type ?y } GROUP BY ?z } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P674 resource:Q7793319 . { VALUES ( ?u ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } . ?a rdf:type ?u } } } }
Thomas Putnam
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Thomas Putnam
relation characters
type theatrical genre
type collectable
[[{'concept': 'theatrical genre'}, {'concept': 'collectable'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:collectable ) ( ontology:theatrical_genre ) } . ?j rdf:type ?y } GROUP BY ?z } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:characters resource:Thomas_Putnam . { VALUES ( ?u ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } . ?a rdf:type ?u } } } }
[]
common name theatrical genre collectable
Q692 Q5598 Q57384
SYSTEM
William Shakespeare, Rembrandt, Wernher von Braun
Q13562217 Q315726 Q457881 Q33923 Q2054 Q676555 Q2635523 Q157 Q152513 Q1851366 Q3680198 Q6173387 Q17141 Q551481 Q36724 Q12316446 Q7322 Q18733964 Q12591 Q353879 Q955856 Q262513 Q6779230 Q3299086 Q5686 Q854177 Q1093885 Q1774745 Q9640 Q5170 Q57384 Q849 Q319713 Q981915 Q229807 Q21916822 Q6113413 Q456931 Q4212237 Q2085338 Q43353 Q206459 Q765624 Q312660 Q6139425 Q172480 Q1234647 Q1937560 Q256663 Q4679883 Q47365 Q104804 Q294147 Q460763 Q230677 Q6562057 Q1347324 Q13560546 Q6777920 Q234811 Q185101 Q24061503 Q286238 Q282220 Q1411 Q1413 Q363636 Q1416 Q1419 Q42305 Q1140161 Q937415 Q7207 Q20749193 Q312332 Q6780580 Q187982 Q43393 Q188646 Q34428 Q223440 Q5015 Q7523 Q169329 Q271278 Q353188 Q1227273 Q603096 Q83235 Q1348718 Q12927 Q81018 Q2361344 Q7742 Q281146 Q181875 Q634239 Q38370 Q207535 Q1209603 Q1059572 Q317188 Q378053 Q469118 Q17410 Q43600 Q128358 Q3090807 Q5598 Q531748 Q19844997 Q256439 Q193232 Q297285 Q335173 Q8462 Q692 Q2750254 Q1427 Q9353 Q9215 Q4791018 Q137680 Q209535 Q1981295 Q40787 Q737533 Q236243 Q1281235 Q532354 Q185476 Q953718 Q81506 Q3860377 Q200817 Q352489 Q76723 Q83159 Q951503 Q7732 Q153670 Q3080825 Q310303 Q215512 Q231944 Q6527 Q1280744 Q24062019 Q20750935 Q134309 Q273942 Q332020 Q2633351 Q145746 Q3064195 Q1177456 Q674683 Q8018 Q15897 Q154723 Q2438324 Q519984 Q312682 Q20749268 Q691873 Q19348839 Q80823 Q57652 Q7071043 Q131412 Q743858 Q1773005 Q237201 Q353081 Q166056 Q131002 Q229432 Q47180 Q122290 Q170172 Q452048 Q5582 Q1377025 Q612501 Q231997 Q170373 Q16912694 Q8581 Q913 Q950850 Q7617726 Q3261049 Q335165 Q544680 Q717441 Q211246 Q9588 Q2872353 Q559541 Q83808 Q1824066 Q66107 Q193660 Q6780526 Q182637 Q4230107 Q15463333 Q670332 Q5944261 Q19118331 Q5544435 Q318726 Q5816 Q778520 Q230716 Q7367631 Q1370965 Q555304 Q3275910 Q5202472 Q1394174 Q4712236 Q208359 Q186652 Q1771963 Q365695 Q313817 Q7647581 Q4403346 Q443256 Q5689201 Q879350 Q82006 Q151209 Q828583 Q310267 Q981902 Q347133 Q380482 Q26702 Q43963 Q366205 Q1048 Q983502 Q453382 Q36456 Q517 Q154732 Q6779045 Q568082 Q3687804 Q469050 Q438615 Q36517 Q44279 Q745286 Q204236 Q17131 Q1960623 Q158707 Q6762867 Q37085 Q313555 Q920912 Q2361032 Q205365 Q5553293 Q12324262 Q190116 Q860084 Q772930 Q434579 Q83321 Q43954 Q289149 Q236017 Q187447 Q155596 Q174210 Q463440 Q218747 Q9960
(c(Q15850590)|c(Q2342494),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q7793319
relation P674
type Q15850590
type Q2342494
[ANSWERS] appear as a character in more number of theatrical genres or collectables than Thomas Putnam
[[{'concept': 'Q15850590'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q15850590 ) } . ?j rdf:type ?y } GROUP BY ?z } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P674 resource:Q7793319 . { VALUES ( ?u ) { ( ontology:Q15850590 ) ( ontology:Q2342494 ) } . ?a rdf:type ?u } } } }
Mary Cecilia Bailly Grand Duke Alexei Alexandrovich of Russia John Tenniel Peter Seneca Francis of Assisi Henry Percy, 6th Earl of Northumberland François Hollande Henry Wadsworth Longfellow Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Antoine Barnave Attila the Hun Henrik Sass Larsen Christopher Columbus Peter Stahl Nebuchadnezzar II Jean François Paul de Gondi Pallas John Felton Mary Cleophas Foley Mathos Charles Dickens Kay Scarpetta Hathi Billy Milligan Lyndon B. Johnson Blondel de Nesle Wernher von Braun François Villon Leopold V, Duke of Austria Joseph Bazalgette Berengaria of Navarre Giovanni Corrado Orsini Rucio Sextus Tarquinius Kanva Vahan I Mamikonian Aristophanes Feodor II of Russia Willem Adriaan van der Stel Gaius Mucius Scaevola Thomas Hayward Isaac of Armenia Mark Smeaton Mogens Lykketoft Anne Geneviève de Bourbon Adam Tas Marie Antoinette Saint Mesrob William Bligh Benjamin Madame du Barry Mushegh IV Mamikonian François de Vendôme, Duc de Beaufort Heidi Blickenstaff Maruja Pachón Emma, Lady Hamilton Hamilcar Barca Petrus Kalden Thaïs Judah Claudius Nero Cardinal de Rohan Otho Vespasian Richard I of England Marina Mniszech James Stewart, 1st Earl of Moray Elizabeth I of England Irma Le Fer de la Motte Alessandro Cagliostro Mary Raphael Slattery Alcibiades Robert Boyle Lucan Philip Lucius Junius Brutus Mette Frederiksen Kublai Khan Conrad of Montferrat Jeanne of Valois-Saint-Rémy Lucius Tarquinius Collatinus Henry Mayhew Leon Klinghoffer Horatio Nelson Jean-Claude Romand Marine Le Pen Judas Iscariot Durvasa Louis XIV of France Yeznik of Kolb Robert Peel Atto Melani Henry VIII Roland Dick Beardsley Khaled Al Khamissi Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Zhou Enlai Matthew the Apostle Bayezid I Almanzo Wilder Rembrandt Carsten Hansen Sahakanuysh Claudia Acte 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 False Dmitriy I Francisco Santos Calderón 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 Titus van Rijn Aulus Plautius Maurice de Saxe Clement VII Ashot II of Armenia Louis XVI of France Primo Levi Frances Nelson Yazdegerd II Levi Ann Radcliffe Jean-Jacques Rousseau Vardan Mamikonian Henning Huising Athanasius Fogarty Charles IX of France Pia Gjellerup César Gaviria Vasak of Syunik Joseph Hovsep Ier de Holotsim David of Scotland, Earl of Huntingdon Terpsion Augustine of Hippo Amy Winehouse Viktor Frankl Julie d'Aubigny Neil Strauss Euclid of Megara John Corbe Anthony Wood 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 Saladin Socrates Samuel Morland William Douglas, 6th Earl of Morton Louis Ange Pitou Osceola John Thurloe Alberto Salazar Caiaphas Richard Nixon Autaritus Salvatore Giuliano François Joseph Lefebvre Arturo Bandini Henry Kissinger Ramon Llull Mary Pius Regnier Jane Seymour William Compton John Mordaunt, 1st Viscount Mordaunt 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 Georges Cadoudal Anne Françoise Elisabeth Lange Célestine Guynemer de la Hailandière Paphnutius of Thebes Alberto Villamizar John Wallis Gilbert du Motier Naphtali Moses of Chorene George Villiers, 1st Duke of Buckingham Susan Blackwell Sahak Sevada Marie Favart Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Anne of Austria Bertrand-François Mahé de La Bourdonnais Shapur III Charles Simon Favart George Boleyn, Viscount Rochford Agathon Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar St. Nerses I John Adams 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 Pontius Pilatus Tsarevna Xenia Borisovna of Russia Pat Nixon Marie Helene Franey Solomon Hanno the Great Theaetetus Thomas Ken Cain Gertrude Clare Owens Lene Jensen Benvenuto Cellini Pausanias of Athens Aulus Plautius Théodore Guérin Giacomo Casanova 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
William Shakespeare, Rembrandt and Wernher von Braun appear as a character in more number of theatrical genres or collectables than Thomas Putnam
William Shakespeare Rembrandt Wernher von Braun
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Thomas Putnam
relation characters
type theatrical genre
type collectable
[[{'concept': 'theatrical genre'}, {'concept': 'collectable'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:collectable ) ( ontology:theatrical_genre ) } . ?j rdf:type ?y } GROUP BY ?z } . FILTER ( ?w > ?p ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:characters resource:Thomas_Putnam . { VALUES ( ?u ) { ( ontology:theatrical_genre ) ( ontology:collectable ) } . ?a rdf:type ?u } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6139425
P674
Q502895 Q15850590 Q2342494
USER
And how about Thomas Hayward?
(c(Q15850590)|c(Q2342494),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q6139425
relation P674
type Q15850590
type Q2342494
[[{'concept': 'Q15850590'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15850590 . ?o property:P674 ?d } UNION { ?o property:P674 ?d . ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q2342494 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P674 resource:Q6139425 . { { ?v rdf:type ontology:Q15850590 } UNION { ?v rdf:type ontology:Q2342494 } } } } . FILTER ( ?h > ?g ) }
Thomas Hayward
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Thomas Hayward
relation characters
type theatrical genre
type collectable
[[{'concept': 'theatrical genre'}, {'concept': 'collectable'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:common_name . ?o rdf:type ontology:theatrical_genre . ?o property:characters ?d } UNION { ?o property:characters ?d . ?d rdf:type ontology:common_name . ?o rdf:type ontology:collectable } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:characters resource:Thomas_Hayward . { { ?v rdf:type ontology:theatrical_genre } UNION { ?v rdf:type ontology:collectable } } } } . FILTER ( ?h > ?g ) }
[]
common name theatrical genre collectable
Q7732 Q47365 Q1048
SYSTEM
Louis XVI of France, Marie Antoinette, Julius Caesar
Q13562217 Q7322 Q854177 Q47365 Q1413 Q312332 Q81506 Q7732 Q913 Q230716 Q151209 Q1048
(c(Q15850590)|c(Q2342494),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q6139425
relation P674
type Q15850590
type Q2342494
[ANSWERS]
[[{'concept': 'Q15850590'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15850590 . ?o property:P674 ?d } UNION { ?o property:P674 ?d . ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q2342494 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P674 resource:Q6139425 . { { ?v rdf:type ontology:Q15850590 } UNION { ?v rdf:type ontology:Q2342494 } } } } . FILTER ( ?h > ?g ) }
Mary Cecilia Bailly Christopher Columbus Kay Scarpetta Marie Antoinette Nero Alessandro Cagliostro Charles I of England Louis XVI of France Socrates Poppaea Sabina Anne of Austria Julius Caesar
Louis XVI of France Marie Antoinette Julius Caesar
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Thomas Hayward
relation characters
type theatrical genre
type collectable
[[{'concept': 'theatrical genre'}, {'concept': 'collectable'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?h ) WHERE { { ?d rdf:type ontology:common_name . ?o rdf:type ontology:theatrical_genre . ?o property:characters ?d } UNION { ?o property:characters ?d . ?d rdf:type ontology:common_name . ?o rdf:type ontology:collectable } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:characters resource:Thomas_Hayward . { { ?v rdf:type ontology:theatrical_genre } UNION { ?v rdf:type ontology:collectable } } } } . FILTER ( ?h > ?g ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7732 Q47365 Q1048
P20
Q56061
USER
Which administrative territories are the places of death of Louis XVI of France, Marie Antoinette and Julius Caesar ?
(Q7732,P20,c(Q56061)) (Q47365,P20,c(Q56061)) (Q1048,P20,c(Q56061))
action union
action filter_type
action find
entity Q7732
relation P20
type Q56061
action filter_type
action find
entity Q47365
relation P20
type Q56061
action filter_type
action find
entity Q1048
relation P20
type Q56061
['Q7732', 'P20', {'concept': 'Q56061'}] ['Q47365', 'P20', {'concept': 'Q56061'}] ['Q1048', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { resource:Q47365 property:P20 ?b . ?b rdf:type ontology:Q56061 } UNION { resource:Q7732 property:P20 ?b . ?b rdf:type ontology:Q56061 } }
Louis XVI of France Marie Antoinette Julius Caesar
action union
action filter_type
action find
entity Louis XVI of France
relation place of death
type administrative territorial entity
action filter_type
action find
entity Marie Antoinette
relation place of death
type administrative territorial entity
action filter_type
action find
entity Julius Caesar
relation place of death
type administrative territorial entity
['Louis XVI of France', 'place of death', {'concept': 'administrative territorial entity'}] ['Marie Antoinette', 'place of death', {'concept': 'administrative territorial entity'}] ['Julius Caesar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { resource:Marie_Antoinette property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity } UNION { resource:Louis_XVI_of_France property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q90 Q90 Q220
SYSTEM
Paris for 1st, 2nd, Rome for 3rd
Q90 Q90 Q220
(Q7732,P20,c(Q56061)) (Q47365,P20,c(Q56061)) (Q1048,P20,c(Q56061))
action union
action filter_type
action find
entity Q7732
relation P20
type Q56061
action filter_type
action find
entity Q47365
relation P20
type Q56061
action filter_type
action find
entity Q1048
relation P20
type Q56061
[ANSWERS]
['Q7732', 'P20', {'concept': 'Q56061'}] ['Q47365', 'P20', {'concept': 'Q56061'}] ['Q1048', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { resource:Q47365 property:P20 ?b . ?b rdf:type ontology:Q56061 } UNION { resource:Q7732 property:P20 ?b . ?b rdf:type ontology:Q56061 } }
Paris Paris Rome
Paris, Paris and Rome are the places of death of Louis XVI of France, Marie Antoinette and Julius Caesar
Paris Paris Rome
action union
action filter_type
action find
entity Louis XVI of France
relation place of death
type administrative territorial entity
action filter_type
action find
entity Marie Antoinette
relation place of death
type administrative territorial entity
action filter_type
action find
entity Julius Caesar
relation place of death
type administrative territorial entity
['Louis XVI of France', 'place of death', {'concept': 'administrative territorial entity'}] ['Marie Antoinette', 'place of death', {'concept': 'administrative territorial entity'}] ['Julius Caesar', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { resource:Marie_Antoinette property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity } UNION { resource:Louis_XVI_of_France property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P190
Q56061
USER
Which administrative territories are a sister city of Rome ?
(c(Q56061),P190,Q220)
action filter_type
action find
entity Q220
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q220']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q220 property:P190 ?u }
Rome
action filter_type
action find
entity Rome
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Rome']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Rome property:sister_city ?u }
[]
administrative territorial entity
Q90 Q8717 Q1490
SYSTEM
Paris, Seville, Tokyo
Q484799 Q8717 Q90 Q34647 Q1490 Q132830
(c(Q56061),P190,Q220)
action filter_type
action find
entity Q220
relation P190
type Q56061
[ANSWERS] are a sister city of Rome
[{'concept': 'Q56061'}, 'P190', 'Q220']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q220 property:P190 ?u }
Marbella Seville Paris Johannesburg Tokyo Douala
Paris, Seville and Tokyo are a sister city of Rome
Paris Seville Tokyo
action filter_type
action find
entity Rome
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Rome']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Rome property:sister_city ?u }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q90 Q8717 Q1490
P190
Q56061
USER
Which administrative territories are the sister cities of those ones ?
(Q90,P190,c(Q56061)) (Q8717,P190,c(Q56061)) (Q1490,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
['Q90', 'P190', {'concept': 'Q56061'}] ['Q8717', 'P190', {'concept': 'Q56061'}] ['Q1490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . ?s property:P190 ?p . VALUES ( ?s ) { ( resource:Q484799 ) ( resource:Q8717 ) ( resource:Q90 ) } }
Paris Seville Tokyo
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Paris', 'sister city', {'concept': 'administrative territorial entity'}] ['Seville', 'sister city', {'concept': 'administrative territorial entity'}] ['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . ?s property:sister_city ?p . VALUES ( ?s ) { ( resource:Marbella ) ( resource:Seville ) ( resource:Paris ) } }
[]
administrative territorial entity
Q649 Q64 Q90
SYSTEM
Moscow, Berlin, Paris
Q220 Q12303 Q2360337 Q35004 Q220 Q3551 Q1718 Q486472 Q41819 Q16567 Q1563 Q1492 Q3630 Q220 Q649 Q90 Q956 Q84 Q64 Q60
(Q90,P190,c(Q56061)) (Q8717,P190,c(Q56061)) (Q1490,P190,c(Q56061))
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS] are the sister cities of those ones
['Q90', 'P190', {'concept': 'Q56061'}] ['Q8717', 'P190', {'concept': 'Q56061'}] ['Q1490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . ?s property:P190 ?p . VALUES ( ?s ) { ( resource:Q484799 ) ( resource:Q8717 ) ( resource:Q90 ) } }
Rome Jerez de la Frontera Tifariti Tarija Rome Rabat Düsseldorf Kansas City Kansas City Columbus Havana Barcelona Jakarta Rome Moscow Paris Beijing London Berlin New York City
Moscow, Berlin and Paris are the sister cities of those ones
Moscow Berlin Paris
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
['Paris', 'sister city', {'concept': 'administrative territorial entity'}] ['Seville', 'sister city', {'concept': 'administrative territorial entity'}] ['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . ?s property:sister_city ?p . VALUES ( ?s ) { ( resource:Marbella ) ( resource:Seville ) ( resource:Paris ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q649 Q64 Q90
P237
Q17335294
USER
What are the ensigns for Moscow, Berlin and Paris ?
(Q649,P237,c(Q17335294)) (Q64,P237,c(Q17335294)) (Q90,P237,c(Q17335294))
action union
action filter_type
action find
entity Q649
relation P237
type Q17335294
action filter_type
action find
entity Q64
relation P237
type Q17335294
action filter_type
action find
entity Q90
relation P237
type Q17335294
['Q649', 'P237', {'concept': 'Q17335294'}] ['Q64', 'P237', {'concept': 'Q17335294'}] ['Q90', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?f WHERE { ?m property:P237 ?f . VALUES ( ?m ) { ( resource:Q649 ) ( resource:Q64 ) } }
Moscow Berlin Paris
action union
action filter_type
action find
entity Moscow
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Berlin
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Paris
relation coat of arms
type flag or coat of arms
['Moscow', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Berlin', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?f WHERE { ?m property:coat_of_arms ?f . VALUES ( ?m ) { ( resource:Moscow ) ( resource:Berlin ) } }
[]
flag or coat of arms
Q2079384 Q819737 Q1925366
SYSTEM
Coat of arms of Moscow, coat of arms of Berlin, coat of arms of Paris
Q2079384 Q819737 Q1925366
(Q649,P237,c(Q17335294)) (Q64,P237,c(Q17335294)) (Q90,P237,c(Q17335294))
action union
action filter_type
action find
entity Q649
relation P237
type Q17335294
action filter_type
action find
entity Q64
relation P237
type Q17335294
action filter_type
action find
entity Q90
relation P237
type Q17335294
The ensigns for Moscow , Berlin and Paris are the [ANSWERS]
['Q649', 'P237', {'concept': 'Q17335294'}] ['Q64', 'P237', {'concept': 'Q17335294'}] ['Q90', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?f WHERE { ?m property:P237 ?f . VALUES ( ?m ) { ( resource:Q649 ) ( resource:Q64 ) } }
Coat of arms of Moscow coat of arms of Berlin coat of arms of Paris
The ensigns for Moscow , Berlin and Paris are the Coat of arms of Moscow, coat of arms of Berlin and coat of arms of Paris
Coat of arms of Moscow coat of arms of Berlin coat of arms of Paris
action union
action filter_type
action find
entity Moscow
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Berlin
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Paris
relation coat of arms
type flag or coat of arms
['Moscow', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Berlin', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?f WHERE { ?m property:coat_of_arms ?f . VALUES ( ?m ) { ( resource:Moscow ) ( resource:Berlin ) } }
[]