Simple Question (Direct)
Simple Question
Q5667848
P19
Q15700808
USER
Which urban unit definition was Harry Cawthorne born in ?
(Q5667848,P19,c(Q15700808))
action filter_type
action find
entity Q5667848
relation P19
type Q15700808
['Q5667848', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15700808 . resource:Q5667848 property:P19 ?c }
Harry Cawthorne
action filter_type
action find
entity Harry Cawthorne
relation place of birth
type urban unit definition
['Harry Cawthorne', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:urban_unit_definition . resource:Harry_Cawthorne property:place_of_birth ?c }
[]
urban unit definition
Q5224088
SYSTEM
Darnall
Q5224088
(Q5667848,P19,c(Q15700808))
action filter_type
action find
entity Q5667848
relation P19
type Q15700808
Which urban unit definition was Harry Cawthorne born in
['Q5667848', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15700808 . resource:Q5667848 property:P19 ?c }
Darnall
Which urban unit definition was Harry Cawthorne born in
Darnall
action filter_type
action find
entity Harry Cawthorne
relation place of birth
type urban unit definition
['Harry Cawthorne', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:urban_unit_definition . resource:Harry_Cawthorne property:place_of_birth ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5667848
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q5224088,P27,c(Q15617994))
action filter_type
action find
entity Q5667848
relation P27
type Q15617994
['Q5224088', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q5667848 property:P27 ?y }
Harry Cawthorne
action filter_type
action find
entity Harry Cawthorne
relation country of citizenship
type designation for an administrative territorial entity
['Darnall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Harry_Cawthorne property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5224088,P27,c(Q15617994))
action filter_type
action find
entity Q5667848
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q5224088', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q5667848 property:P27 ?y }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity Harry Cawthorne
relation country of citizenship
type designation for an administrative territorial entity
['Darnall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Harry_Cawthorne property:country_of_citizenship ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2342494
USER
Which administrative territories are the origins of lesser number of film genres and collectables than that administrative territory ?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q201658
type Q2342494
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:P495 ?q . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q201658 } UNION { ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2342494 . ?y property:P495 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P495 resource:Q145 . { { ?z rdf:type ontology:Q201658 } UNION { ?z rdf:type ontology:Q2342494 } } } } . FILTER ( ?x < ?o ) }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type film genre
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:film_genre } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:collectable . ?y property:country_of_origin ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:country_of_origin resource:United_Kingdom . { { ?z rdf:type ontology:film_genre } UNION { ?z rdf:type ontology:collectable } } } } . FILTER ( ?x < ?o ) }
[]
designation for an administrative territorial entity film genre collectable
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q201658
type Q2342494
[ANSWERS] are the origins of lesser number of film genres and collectables than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:P495 ?q . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q201658 } UNION { ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2342494 . ?y property:P495 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P495 resource:Q145 . { { ?z rdf:type ontology:Q201658 } UNION { ?z rdf:type ontology:Q2342494 } } } } . FILTER ( ?x < ?o ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of lesser number of film genres and collectables than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type film genre
type collectable
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?x ) WHERE { { ?y property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:film_genre } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:collectable . ?y property:country_of_origin ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:country_of_origin resource:United_Kingdom . { { ?z rdf:type ontology:film_genre } UNION { ?z rdf:type ontology:collectable } } } } . FILTER ( ?x < ?o ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q230
P20
Q502895
USER
Which people expired at those administrative territories ?
(c(Q502895),P20,Q38) (c(Q502895),P20,Q155) (c(Q502895),P20,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q38'] [{'concept': 'Q502895'}, 'P20', 'Q155'] [{'concept': 'Q502895'}, 'P20', 'Q230']
SELECT DISTINCT ?y WHERE { ?y property:P20 ?j . ?y rdf:type ontology:Q502895 . VALUES ( ?j ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Italy Brazil Georgia
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Italy'] [{'concept': 'common name'}, 'place of death', 'Brazil'] [{'concept': 'common name'}, 'place of death', 'Georgia']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death ?j . ?y rdf:type ontology:common_name . VALUES ( ?j ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
common name
Q23930953 Q2538947 Q244007
SYSTEM
Adelaide, Sylvio Hoffmann, Tamar of Georgia
Q5669183 Q376713 Q3742961 Q141838 Q5516710 Q938824 Q327785 Q3119268 Q456971 Q583534 Q4000596 Q3280510 Q19285140 Q360718 Q3619063 Q547326 Q675949 Q1338402 Q367196 Q4239919 Q11259300 Q1679021 Q1227055 Q5405097 Q27436258 Q7192766 Q919247 Q1677594 Q23930953 Q1671511 Q3246701 Q2823899 Q16631857 Q877599 Q8052907 Q7143637 Q1731336 Q1800585 Q241424 Q2015834 Q2094342 Q5503817 Q215550 Q119205 Q5725258 Q1764693 Q1296559 Q2037861 Q1454087 Q1226987 Q3735110 Q18672078 Q19288389 Q1179724 Q869098 Q16059727 Q4740689 Q5042216 Q1248842 Q1101622 Q7373462 Q322443 Q515796 Q18415642 Q21143211 Q5379600 Q2036288 Q5041474 Q4715007 Q3772809 Q374509 Q5932510 Q3246690 Q3246695 Q19628913 Q353823 Q3388144 Q6481304 Q827380 Q8317662 Q336510 Q18419719 Q15081004 Q3940015 Q1631184 Q1401377 Q1378188 Q19894185 Q1161194 Q312672 Q1363191 Q8020616 Q3595581 Q4757494 Q5178468 Q348223 Q22115685 Q9358496 Q1597095 Q818375 Q18420427 Q3907293 Q562495 Q5538307 Q7961397 Q1051848 Q7343881 Q1657601 Q6208917 Q10133 Q11680208 Q862772 Q2371273 Q4284560 Q927531 Q1726392 Q955312 Q325299 Q3791474 Q1466641 Q21597901 Q3806920 Q236030 Q3701629 Q3779171 Q3438105 Q1421997 Q2314714 Q3604337 Q13593797 Q73230 Q59570 Q1672006 Q2160303 Q3821657 Q2862093 Q21947089 Q3370632 Q123423 Q11789231 Q940706 Q16011299 Q2573581 Q16488426 Q1949150 Q84768 Q15077421 Q305022 Q1998657 Q6380311 Q21030318 Q5970024 Q16489668 Q36981 Q20055509 Q7086942 Q1797286 Q4985375 Q25338291 Q6121091 Q214742 Q110943 Q14623285 Q4786507 Q274845 Q3742861 Q2538947 Q2740619 Q3650913 Q3651930 Q348419 Q379612 Q244007 Q887088 Q202470
(c(Q502895),P20,Q38) (c(Q502895),P20,Q155) (c(Q502895),P20,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] expired at those administrative territories
[{'concept': 'Q502895'}, 'P20', 'Q38'] [{'concept': 'Q502895'}, 'P20', 'Q155'] [{'concept': 'Q502895'}, 'P20', 'Q230']
SELECT DISTINCT ?y WHERE { ?y property:P20 ?j . ?y rdf:type ontology:Q502895 . VALUES ( ?j ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } }
Harry Goslin Martino Longhi the Younger Fernando Saraceni Peregrine Laziosi Gaetano Trentanove Timothy Holme Alessandro Gherardini Guglielmo Berchet Bartolomeo Vivarini Paolo Troubetzkoy Turgisio di Sanseverino Majid El Houssi Heinrich Gißel Johan Niclas Byström Antonino Foschini Giulio Benso Alberto Sorrentino Karl Delobelle Ettore Majorana Iosif Krachkovsky Jerzy Franciszek Grabowski Jakob Friedrich Bollschweiler Otto Jäger Etuta Willem Huysmans Pieter Cornelisz van Rijck Eberhard of Friuli Jakob Nikolaus Craigher Adelaide Alfons Hartmann Mikio Hasemoto Adalbero II of Verdun Silvia Parodi Ernst Strohschneider Yeshwant Ghadge Pat Keysell Karl Gufler Stanisław Łojasiewicz Stephen the Posthumous Sandrin Pietro Aquila Friedrich Hauber Rudolf Levy Friedrich Strindberg Henry M. Cist Robert Dudley Pietro Ferrero Ottmar Knacke Orlando di Medici Dionysius Rodotheatos Eva Czemerys Alberto Canaveri Jan Frans Soolmaker István Mudin Emilio Agradi Robert Sinclair Amaury de Montfort, Canon of York Carlos Jauregui Guido delle Colonne Giambattista De Curtis Roy W. Harmon Victor Wolfgang von Hagen Justus van Gent Sigizzone Bianchelli il Vecchio Mattheus Meyvogel Enrico Torre Osvaldo Louis Guglielmi Carlo Calani Aleksander Żyw Goffredo Ridello Michael DiSalle Hugh Robinson Kazuo Otani Joe Hayashi Palmerino di Guido Adela of Flanders Pietro Modoliense Lambert Visscher Bert Hinkler Jean Galli de Bibiena Alistair McAlpine, Baron McAlpine of West Green Paolo Gentili Giuseppe Castellano Rodolfo di Moulins Jonathan Dümcke Rudolf Hoflehner Frederick Schiller Faust Giacomo Poselli Daniel I. Tetricus I Erwin Lichtenegger William Wylie Galt Jimmy George Andrew Jayamanne Courtenay Foote Stephan Bibrowski Louis Marie Léopold of Lorraine, prince of Harcourt Thomas Hunter Heinrich Ebeling Benvenida Abrabanel Sigizzone Bianchelli il Giovane Polidoro da Lanciano Dean Benedetti George D. Keathley Waldemar Becker Millosh Gjergj Nikolla Robert E. Roeder Ignazio Spalla Joe C. Specker Suetonius Bernat I de Vilamarí Shinyei Nakamine Sven Ljungberg Fyodor Matveyev Ferdinando Minoia Michele Tito Mario Tadini Děpold I of Jamnitz Ian Falloon Fritz Hellmann Amedeo Kleva Jan Peeter Brueghel Josephine Bakhita Daniel Hug Guido Balsamo Stella Salomon Smolianoff Maria Do Carmo Geronimo Friedrich Gustav Brieger Achille Bassi Scarlet Moon de Chevalier Curt Nimuendajú Theodor Koch-Grunberg Ion Drîmbă Rochus Schüch Guillermo Divito Armando de Miranda Sophie Zanger Paul Berthelot Julius Meyer Nahum Eitingon Pedro Teixeira Maria Carmela Lico Wilhelm Kegel Alfredo Oroz Moses Goldschmidt Georg Anton Schäffer Jimmy Walker Edgar Booth Gastone Pierini Kay Williamson Brian Andre Doyle Niels Hertzberg Ambrósio Fernandes Brandão Gustave Gillman Richard Mason Olinto Sampaio Rubini Paulo Autran Buell Quain Marģers Gūtmanis Santiago Phillips Gyula Cseszneky Karl Böhme Władysław Rusin Archibald S. Dobbins Felipa de Souza Fernanda Farias De Albuquerque Sylvio Hoffmann Anicetus Valiko Jugheli Alexander Roinashvili Evgeni Mikeladze Akaki Tsereteli Tamar of Georgia David VIII of Georgia Grady Johnson
Adelaide, Sylvio Hoffmann and Tamar of Georgia expired at those administrative territories
Adelaide Sylvio Hoffmann Tamar of Georgia
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Italy'] [{'concept': 'common name'}, 'place of death', 'Brazil'] [{'concept': 'common name'}, 'place of death', 'Georgia']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death ?j . ?y rdf:type ontology:common_name . VALUES ( ?j ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23930953
P106
Q4164871
USER
Which position is the profession of that person ?
(Q23930953,P106,c(Q4164871))
action filter_type
action find
entity Q23930953
relation P106
type Q4164871
['Q23930953', 'P106', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { resource:Q23930953 property:P106 ?a . ?a rdf:type ontology:Q4164871 }
Adelaide
action filter_type
action find
entity Adelaide
relation occupation
type position
['Adelaide', 'occupation', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { resource:Adelaide property:occupation ?a . ?a rdf:type ontology:position }
[]
position
Clarification for simple ques.
Q23930953
SYSTEM
Did you mean Adelaide ?
Q23930953 Q2538947 Q244007
(Q23930953,P106,c(Q4164871)) (Q2538947,P106,c(Q4164871)) (Q244007,P106,c(Q4164871))
[ANSWER]
['Q23930953', 'P106', {'concept': 'Q4164871'}] ['Q2538947', 'P106', {'concept': 'Q4164871'}] ['Q244007', 'P106', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { resource:Q23930953 property:P106 ?a . ?a rdf:type ontology:Q4164871 }
Adelaide Sylvio Hoffmann Tamar of Georgia
Did you mean Adelaide ?
Adelaide
['Adelaide', 'occupation', {'concept': 'position'}] ['Sylvio Hoffmann', 'occupation', {'concept': 'position'}] ['Tamar of Georgia', 'occupation', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { resource:Adelaide property:occupation ?a . ?a rdf:type ontology:position }
[]
Simple Question (Coreferenced)
USER
Yes
(Q23930953,P106,c(Q4164871))
['Q23930953', 'P106', {'concept': 'Q4164871'}]
['Adelaide', 'occupation', {'concept': 'position'}]
[]
Q2747456
SYSTEM
prince
Q2747456
(Q23930953,P106,c(Q4164871))
action filter_type
action find
entity Q23930953
relation P106
type Q4164871
[ANSWER] is the profession of that person
['Q23930953', 'P106', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { resource:Q23930953 property:P106 ?a . ?a rdf:type ontology:Q4164871 }
prince
Prince is the profession of that person
prince
action filter_type
action find
entity Adelaide
relation occupation
type position
['Adelaide', 'occupation', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { resource:Adelaide property:occupation ?a . ?a rdf:type ontology:position }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23930953
P9
Q502895
USER
How many people are Adelaide a sibling of ?
(Q23930953,P9,c(Q502895))
action count
action filter_type
action find
entity Q23930953
relation P9
type Q502895
['Q23930953', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q23930953 property:P9 ?j }
Adelaide
action count
action filter_type
action find
entity Adelaide
relation sister
type common name
['Adelaide', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:common_name . resource:Adelaide property:sister ?j }
[]
common name
SYSTEM
10
Q23930966 Q23930974 Q23930962 Q23930960 Q946829 Q269691 Q452984 Q3442976 Q23930949 Q827676
(Q23930953,P9,c(Q502895))
action count
action filter_type
action find
entity Q23930953
relation P9
type Q502895
[ANSWER]
['Q23930953', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q23930953 property:P9 ?j }
Hiltrude Adaltrude Chrotais Hildegard Gisela, daughter of Charlemagne Rotrude Theodrada Ruodhaid Alpais Bertha, daughter of Charlemagne
10
action count
action filter_type
action find
entity Adelaide
relation sister
type common name
['Adelaide', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:common_name . resource:Adelaide property:sister ?j }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q78635
Q502895
USER
And also tell me about Archduke Felix of Austria?
(Q78635,P9,c(Q502895))
action count
action filter_type
action find
entity Q78635
relation P9
type Q502895
['Q78635', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:Q502895 . resource:Q78635 property:P9 ?p }
Archduke Felix of Austria
action count
action filter_type
action find
entity Archduke Felix of Austria
relation sister
type common name
['Archduke Felix of Austria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:common_name . resource:Archduke_Felix_of_Austria property:sister ?p }
[]
common name
SYSTEM
3
(Q78635,P9,c(Q502895))
action count
action filter_type
action find
entity Q78635
relation P9
type Q502895
[ANSWER]
['Q78635', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:Q502895 . resource:Q78635 property:P9 ?p }
3
action count
action filter_type
action find
entity Archduke Felix of Austria
relation sister
type common name
['Archduke Felix of Austria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:common_name . resource:Archduke_Felix_of_Austria property:sister ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78635
P7
Q502895
USER
Who are Archduke Felix of Austria a brother of ?
(c(Q502895),P7,Q78635)
action filter_type
action find_reverse
entity Q78635
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q78635']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P7 resource:Q78635 }
Archduke Felix of Austria
action filter_type
action find_reverse
entity Archduke Felix of Austria
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Archduke Felix of Austria']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:brother resource:Archduke_Felix_of_Austria }
[]
common name
Q76343 Q112870 Q112108
SYSTEM
Otto von Habsburg, Archduke Carl Ludwig of Austria, Robert, Archduke of Austria-Este
Q898126 Q1774948 Q112866 Q2066971 Q112870 Q112108 Q76343
(c(Q502895),P7,Q78635)
action filter_type
action find_reverse
entity Q78635
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q78635']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P7 resource:Q78635 }
Archduchess Adelheid of Austria Archduchess Elisabeth of Austria Archduke Rudolf of Austria Archduchess Charlotte of Austria Archduke Carl Ludwig of Austria Robert, Archduke of Austria-Este Otto von Habsburg
Otto von Habsburg, Archduke Carl Ludwig of Austria and Robert, Archduke of Austria-Este are Archduke Felix of Austria a brother of
Otto von Habsburg Archduke Carl Ludwig of Austria Robert, Archduke of Austria-Este
action filter_type
action find_reverse
entity Archduke Felix of Austria
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Archduke Felix of Austria']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:brother resource:Archduke_Felix_of_Austria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q76343
P138
Q43229
USER
Which organization has Otto von Habsburg as its toponym ?
(c(Q43229),P138,Q76343)
action filter_type
action find_reverse
entity Q76343
relation P138
type Q43229
[{'concept': 'Q43229'}, 'P138', 'Q76343']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P138 resource:Q76343 }
Otto von Habsburg
action filter_type
action find_reverse
entity Otto von Habsburg
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Otto von Habsburg']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:named_after resource:Otto_von_Habsburg }
[]
organization
Q27579976
SYSTEM
Otto von Habsburg Foundation
Q27579976
(c(Q43229),P138,Q76343)
action filter_type
action find_reverse
entity Q76343
relation P138
type Q43229
[ANSWER] has Otto von Habsburg as its toponym
[{'concept': 'Q43229'}, 'P138', 'Q76343']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P138 resource:Q76343 }
Otto von Habsburg Foundation
Otto von Habsburg Foundation has Otto von Habsburg as its toponym
Otto von Habsburg Foundation
action filter_type
action find_reverse
entity Otto von Habsburg
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Otto von Habsburg']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:named_after resource:Otto_von_Habsburg }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27579976
P17
Q15617994
USER
Which administrative territory is that organization present in ?
(Q27579976,P17,c(Q15617994))
action filter_type
action find
entity Q27579976
relation P17
type Q15617994
['Q27579976', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q27579976 property:P17 ?e }
Otto von Habsburg Foundation
action filter_type
action find
entity Otto von Habsburg Foundation
relation country
type designation for an administrative territorial entity
['Otto von Habsburg Foundation', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Otto_von_Habsburg_Foundation property:country ?e }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q27579976,P17,c(Q15617994))
action filter_type
action find
entity Q27579976
relation P17
type Q15617994
That organization is in [ANSWER]
['Q27579976', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q27579976 property:P17 ?e }
Hungary
That organization is in Hungary
Hungary
action filter_type
action find
entity Otto von Habsburg Foundation
relation country
type designation for an administrative territorial entity
['Otto von Habsburg Foundation', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Otto_von_Habsburg_Foundation property:country ?e }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q28 Q183 Q7144260
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Germany and Patapo District ?
(Q28,P530,Q183) (Q28,P530,Q7144260)
action is_in
entity Q28
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q7144260
relation P530
['Q28', 'P530', 'Q183'] ['Q28', 'P530', 'Q7144260']
ASK WHERE { resource:Q28 property:P530 resource:Q183 . resource:Q28 property:P530 resource:Q7144260 }
Hungary Germany Patapo District
action is_in
entity Hungary
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Patapo District
relation diplomatic relation
['Hungary', 'diplomatic relation', 'Germany'] ['Hungary', 'diplomatic relation', 'Patapo District']
ASK WHERE { resource:Hungary property:diplomatic_relation resource:Germany . resource:Hungary property:diplomatic_relation resource:Patapo_District }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q28,P530,Q183) (Q28,P530,Q7144260)
action is_in
entity Q28
action intersection
action find_reverse
entity Q183
relation P530
action find_reverse
entity Q7144260
relation P530
[ANSWER]
['Q28', 'P530', 'Q183'] ['Q28', 'P530', 'Q7144260']
ASK WHERE { resource:Q28 property:P530 resource:Q183 . resource:Q28 property:P530 resource:Q7144260 }
YES and NO respectively
action is_in
entity Hungary
action intersection
action find_reverse
entity Germany
relation diplomatic relation
action find_reverse
entity Patapo District
relation diplomatic relation
['Hungary', 'diplomatic relation', 'Germany'] ['Hungary', 'diplomatic relation', 'Patapo District']
ASK WHERE { resource:Hungary property:diplomatic_relation resource:Germany . resource:Hungary property:diplomatic_relation resource:Patapo_District }
[]