Simple Question (Direct)
Simple Question
Q5618997
P106
Q12737077
USER
What is the profession of Gunnar Fougner ?
(Q5618997,P106,c(Q12737077))
action filter_type
action find
entity Q5618997
relation P106
type Q12737077
['Q5618997', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5618997 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Gunnar Fougner
action filter_type
action find
entity Gunnar Fougner
relation occupation
type occupation
['Gunnar Fougner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Gunnar_Fougner property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q5618997,P106,c(Q12737077))
action filter_type
action find
entity Q5618997
relation P106
type Q12737077
The profession of Gunnar Fougner is an [ANSWER]
['Q5618997', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5618997 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
architect
The profession of Gunnar Fougner is an architect
architect
action filter_type
action find
entity Gunnar Fougner
relation occupation
type occupation
['Gunnar Fougner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Gunnar_Fougner property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5618997
P21
Q290
USER
Which sex does Gunnar Fougner have ?
(Q5618997,P21,c(Q290))
action filter_type
action find
entity Q5618997
relation P21
type Q290
['Q5618997', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q5618997 property:P21 ?t . ?t rdf:type ontology:Q290 }
Gunnar Fougner
action filter_type
action find
entity Gunnar Fougner
relation gender
type sex
['Gunnar Fougner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Gunnar_Fougner property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5618997,P21,c(Q290))
action filter_type
action find
entity Q5618997
relation P21
type Q290
Gunnar Fougner has a [ANSWER]
['Q5618997', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q5618997 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Gunnar Fougner has a male
male
action filter_type
action find
entity Gunnar Fougner
relation gender
type sex
['Gunnar Fougner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Gunnar_Fougner property:gender ?t . ?t rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3779522
P417
Q502895 Q12737077
USER
Which people are the patron saints of greater number of occupations than Guido of Acqui ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3779522
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P417 ?f . ?e rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q3779522 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?x > ?h ) }
Guido of Acqui
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Guido of Acqui
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:patron_saint ?f . ?e rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Guido_of_Acqui property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?x > ?h ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3779522
relation P417
type Q502895
[ANSWERS] are the patron saints of greater number of occupations than Guido of Acqui
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:P417 ?f . ?e rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q3779522 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?x > ?h ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the patron saints of greater number of occupations than Guido of Acqui
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Guido of Acqui
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?x ) WHERE { ?e property:patron_saint ?f . ?e rdf:type ontology:occupation . ?f rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Guido_of_Acqui property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?x > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q316295
P417
Q502895 Q12737077
USER
And what about Bernardino of Siena?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q316295
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P417 ?h . ?h rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q316295 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?n > ?u ) }
Bernardino of Siena
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Bernardino of Siena
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:patron_saint ?h . ?h rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Bernardino_of_Siena property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?n > ?u ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q316295
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P417 ?h . ?h rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q316295 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?n > ?u ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Bernardino of Siena
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:patron_saint ?h . ?h rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Bernardino_of_Siena property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?n > ?u ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q40185
P674
Q223393
USER
Do The Divine Comedy have the character those people ?
(Q40185,P674,Q9438) (Q40185,P674,Q60059) (Q40185,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q40185
relation P674
['Q40185', 'P674', 'Q9438'] ['Q40185', 'P674', 'Q60059'] ['Q40185', 'P674', 'Q166876']
ASK WHERE { resource:Q40185 property:P674 ?t . VALUES ( ?t ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
The Divine Comedy
action is_in
entity prev_answer
action find
entity The Divine Comedy
relation characters
['The Divine Comedy', 'characters', 'Thomas Aquinas'] ['The Divine Comedy', 'characters', 'Albertus Magnus'] ['The Divine Comedy', 'characters', 'Isidore of Seville']
ASK WHERE { resource:The_Divine_Comedy property:characters ?t . VALUES ( ?t ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
literary genre
SYSTEM
YES
(Q40185,P674,Q9438) (Q40185,P674,Q60059) (Q40185,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q40185
relation P674
[ANSWER]
['Q40185', 'P674', 'Q9438'] ['Q40185', 'P674', 'Q60059'] ['Q40185', 'P674', 'Q166876']
ASK WHERE { resource:Q40185 property:P674 ?t . VALUES ( ?t ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
Yes
action is_in
entity prev_answer
action find
entity The Divine Comedy
relation characters
['The Divine Comedy', 'characters', 'Thomas Aquinas'] ['The Divine Comedy', 'characters', 'Albertus Magnus'] ['The Divine Comedy', 'characters', 'Isidore of Seville']
ASK WHERE { resource:The_Divine_Comedy property:characters ?t . VALUES ( ?t ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15029
P35
Q502895 Q15617994 Q35798
USER
How many people are the heads of state of lesser number of administrative territories and executive branches than Hu Jintao ?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q15029
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:P35 ?w . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q502895 } UNION { ?g property:P35 ?w . ?w rdf:type ontology:Q502895 . ?g rdf:type ontology:Q35798 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P35 resource:Q15029 . { { ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q35798 } } } } . FILTER ( ?j < ?h ) }
Hu Jintao
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Hu Jintao
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:head_of_state ?w . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:common_name } UNION { ?g property:head_of_state ?w . ?w rdf:type ontology:common_name . ?g rdf:type ontology:executive_branch } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:head_of_state resource:Hu_Jintao . { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:executive_branch } } } } . FILTER ( ?j < ?h ) }
[]
common name designation for an administrative territorial entity executive branch
SYSTEM
192
Q2573 Q2571 Q19830768 Q19830761 Q2494376 Q67345 Q19464383 Q19830715 Q16105901 Q171977 Q151667 Q1359023 Q310775 Q157651 Q6809265 Q13631996 Q13014 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q19831432 Q151312 Q151087 Q267745 Q19810371 Q58056 Q400961 Q38987 Q94941 Q157812 Q444290 Q19216 Q16849387 Q20875 Q154444 Q2610 Q19831452 Q155002 Q250087 Q9439 Q1354851 Q335323 Q2542 Q2540 Q379203 Q735387 Q122304 Q154936 Q156617 Q555531 Q157789 Q976974 Q6707612 Q290786 Q773874 Q886786 Q7244117 Q502185 Q6127060 Q2594 Q570155 Q161958 Q154998 Q182266 Q2646 Q156187 Q151305 Q76437 Q189186 Q335310 Q157793 Q93427 Q19830746 Q3910 Q11753 Q57509 Q157099 Q34464 Q362618 Q334923 Q157776 Q2677 Q188409 Q102139 Q3518013 Q8467 Q2601 Q2602 Q2607 Q39619 Q270645 Q29213 Q570195 Q69569 Q156572 Q335033 Q163945 Q30487 Q223183 Q213791 Q2551 Q84204 Q156502 Q511888 Q257425 Q58600 Q468847 Q77233 Q160318 Q210329 Q84475 Q153940 Q57232 Q1455923 Q613051 Q6127112 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q354705 Q154041 Q19831457 Q2569 Q156494 Q2563 Q1982245 Q2567 Q152463 Q157781 Q1855372 Q299629 Q11726 Q17488307 Q1354229 Q187697 Q371854 Q72856 Q161059 Q62483 Q661663 Q19861344 Q7726 Q72898 Q150620 Q1260 Q313355 Q2582 Q6225811 Q17582456 Q541507 Q57360 Q172083 Q153586 Q704339 Q310000 Q2667 Q159585 Q450675 Q37731 Q154460 Q43915 Q1356927 Q334111 Q19628885 Q84263 Q2538 Q33168 Q296054 Q360462 Q57521 Q380187 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q150652 Q150712 Q57634 Q19831445 Q22368 Q51672 Q333824 Q65917 Q2628 Q19831449
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q15029
relation P35
type Q15617994
type Q35798
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:P35 ?w . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q502895 } UNION { ?g property:P35 ?w . ?w rdf:type ontology:Q502895 . ?g rdf:type ontology:Q35798 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P35 resource:Q15029 . { { ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q35798 } } } } . FILTER ( ?j < ?h ) }
Gustav Heinemann Walter Scheel Thomas Currie Jonathan Lambert Edmund Lawrence John William, Duke of Jülich-Cleves-Berg John Woolley Robert Ben Madison Paul Delprat Tokugawa Ieyasu Ferdinand I of Bulgaria Raul Khadjimba Jean-Claude Duvalier Gustáv Husák Mehbooba Mufti Chennamaneni Vidyasagar Rao Franz Jonas Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Giuseppe Bertoleoni Frederick IX of Denmark Jérôme Bonaparte William Deane Vít Jedlička Christopher of Bavaria Ahmad bin Yahya Tony Tan Keng Yam Frederick VII of Denmark Frederick III of Denmark Louis, King of Etruria Ma Ying-jeou Jam Nizamuddin II Edward VII Grand Duke Michael Alexandrovich of Russia Willi Stoph Carlo II Bertoleoni Frederick VI of Denmark Bill Hayden Queen Victoria John Kerr William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Khieu Samphan William McKell Nitish Kumar Arnulf of Carinthia Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Lydia Emerencia Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Andrey Vorobyov Jam Feruzudin Theodor Heuss John II, Duke of Cleves Eric of Pomerania Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Christian IX of Denmark Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Christian V of Denmark Archduke John of Austria King Louis I of Talossa Albert II Heinz Fischer Atifete Jahjaga Louis the Child Philip III of Spain Adolph I, Duke of Cleves Abu Bakr John, King of Denmark Wilhelm II Yevgeny Shevchuk Margrethe II of Denmark N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Rose Francine Rogombé Tarja Halonen John I, Duke of Cleves Sardar Muhammad Yaqoob Khan Christian VII of Denmark William Slim, 1st Viscount Slim Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Johannes Rau Theodor Körner Emil Hácha Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Frederick III, Elector of Saxony Norodom Sihanouk Yuan Shikai Michael Hainisch Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Frederick Ballantyne Frederick II of Denmark Tonino Bertoleoni Karl Carstens Antonín Novotný Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Christian VIII of Denmark Tamim bin Hamad Al Thani Léon M'ba Karl Renner Aleksandr Zakharchenko Peter Hollingworth François Duvalier Antonín Zápotocký Rudolf Kirchschläger Frederick IV of Denmark William, Duke of Jülich-Cleves-Berg Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Adolf Schärf Henry I the Fowler Kurt Waldheim Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Arkadi Ghukasyan Hamad bin Khalifa Al Thani Omar Bongo Christian IV of Denmark John III, Duke of Cleves Ludvík Svoboda Paul von Hindenburg Boris III of Bulgaria Francis Uthman ibn Affan Christian II of Denmark Otto I the Great Ninian Stephen Sunjong of the Korean Empire Michael Bates Wilhelm Miklas Joachim Gauck Kalvakuntla Chandrashekar Klement Gottwald Bako Sahakyan Ali Bongo Ondimba Ahmed Mahamoud Silanyo Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Wilhelm I of Germany Charles the Fat Hashim Thaçi Mariangela Bertoleoni Chen Shui-bian Herod the Great William Sidney, 1st Viscount De L'Isle Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
192
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Hu Jintao
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?j ) WHERE { { ?g property:head_of_state ?w . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:common_name } UNION { ?g property:head_of_state ?w . ?w rdf:type ontology:common_name . ?g rdf:type ontology:executive_branch } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:head_of_state resource:Hu_Jintao . { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:executive_branch } } } } . FILTER ( ?j < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q289285
P35
Q502895 Q15617994 Q35798
USER
And also tell me about Filippo Maria Visconti?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q289285
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?j WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } } GROUP BY ?j } . FILTER ( ?o < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P35 resource:Q289285 . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q35798 } } } } }
Filippo Maria Visconti
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Filippo Maria Visconti
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?j WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } } GROUP BY ?j } . FILTER ( ?o < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:head_of_state resource:Filippo_Maria_Visconti . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:executive_branch } } } } }
[]
common name designation for an administrative territorial entity executive branch
SYSTEM
192
Q2573 Q2571 Q19830768 Q19830761 Q2494376 Q67345 Q19464383 Q19830715 Q16105901 Q171977 Q151667 Q1359023 Q310775 Q157651 Q6809265 Q13631996 Q13014 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q19831432 Q151312 Q151087 Q267745 Q19810371 Q58056 Q400961 Q38987 Q94941 Q157812 Q444290 Q19216 Q16849387 Q20875 Q154444 Q2610 Q19831452 Q155002 Q250087 Q9439 Q1354851 Q335323 Q2542 Q2540 Q379203 Q735387 Q122304 Q154936 Q156617 Q555531 Q157789 Q976974 Q6707612 Q290786 Q773874 Q886786 Q7244117 Q502185 Q6127060 Q2594 Q570155 Q161958 Q154998 Q182266 Q2646 Q156187 Q151305 Q76437 Q189186 Q335310 Q157793 Q93427 Q19830746 Q3910 Q11753 Q57509 Q157099 Q34464 Q362618 Q334923 Q157776 Q2677 Q188409 Q102139 Q3518013 Q8467 Q2601 Q2602 Q2607 Q39619 Q270645 Q29213 Q570195 Q69569 Q156572 Q335033 Q163945 Q30487 Q223183 Q213791 Q2551 Q84204 Q156502 Q511888 Q257425 Q58600 Q468847 Q77233 Q160318 Q210329 Q84475 Q153940 Q57232 Q1455923 Q613051 Q6127112 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q354705 Q154041 Q19831457 Q2569 Q156494 Q2563 Q1982245 Q2567 Q152463 Q157781 Q1855372 Q299629 Q11726 Q17488307 Q1354229 Q187697 Q371854 Q72856 Q161059 Q62483 Q661663 Q19861344 Q7726 Q72898 Q150620 Q1260 Q313355 Q2582 Q6225811 Q17582456 Q541507 Q57360 Q172083 Q153586 Q704339 Q310000 Q2667 Q159585 Q450675 Q37731 Q154460 Q43915 Q1356927 Q334111 Q19628885 Q84263 Q2538 Q33168 Q296054 Q360462 Q57521 Q380187 Q352 Q233984 Q314464 Q1382174 Q1898405 Q130834 Q150652 Q150712 Q57634 Q19831445 Q22368 Q51672 Q333824 Q65917 Q2628 Q19831449
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q289285
relation P35
type Q15617994
type Q35798
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?j WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } } GROUP BY ?j } . FILTER ( ?o < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P35 resource:Q289285 . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q35798 } } } } }
Gustav Heinemann Walter Scheel Thomas Currie Jonathan Lambert Edmund Lawrence John William, Duke of Jülich-Cleves-Berg John Woolley Robert Ben Madison Paul Delprat Tokugawa Ieyasu Ferdinand I of Bulgaria Raul Khadjimba Jean-Claude Duvalier Gustáv Husák Mehbooba Mufti Chennamaneni Vidyasagar Rao Franz Jonas Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Giuseppe Bertoleoni Frederick IX of Denmark Jérôme Bonaparte William Deane Vít Jedlička Christopher of Bavaria Ahmad bin Yahya Tony Tan Keng Yam Frederick VII of Denmark Frederick III of Denmark Louis, King of Etruria Ma Ying-jeou Jam Nizamuddin II Edward VII Grand Duke Michael Alexandrovich of Russia Willi Stoph Carlo II Bertoleoni Frederick VI of Denmark Bill Hayden Queen Victoria John Kerr William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Khieu Samphan William McKell Nitish Kumar Arnulf of Carinthia Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Lydia Emerencia Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Andrey Vorobyov Jam Feruzudin Theodor Heuss John II, Duke of Cleves Eric of Pomerania Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Christian IX of Denmark Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Christian V of Denmark Archduke John of Austria King Louis I of Talossa Albert II Heinz Fischer Atifete Jahjaga Louis the Child Philip III of Spain Adolph I, Duke of Cleves Abu Bakr John, King of Denmark Wilhelm II Yevgeny Shevchuk Margrethe II of Denmark N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Rose Francine Rogombé Tarja Halonen John I, Duke of Cleves Sardar Muhammad Yaqoob Khan Christian VII of Denmark William Slim, 1st Viscount Slim Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Johannes Rau Theodor Körner Emil Hácha Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Frederick III, Elector of Saxony Norodom Sihanouk Yuan Shikai Michael Hainisch Christian I of Denmark Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Frederick Ballantyne Frederick II of Denmark Tonino Bertoleoni Karl Carstens Antonín Novotný Roman Herzog Ismail Shammout Richard von Weizsäcker Louis the German Christian VIII of Denmark Tamim bin Hamad Al Thani Léon M'ba Karl Renner Aleksandr Zakharchenko Peter Hollingworth François Duvalier Antonín Zápotocký Rudolf Kirchschläger Frederick IV of Denmark William, Duke of Jülich-Cleves-Berg Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Adolf Schärf Henry I the Fowler Kurt Waldheim Alexander Ankvab Heinrich Lübke John Charlton Rudge Ihor Plotnytskiy Arkadi Ghukasyan Hamad bin Khalifa Al Thani Omar Bongo Christian IV of Denmark John III, Duke of Cleves Ludvík Svoboda Paul von Hindenburg Boris III of Bulgaria Francis Uthman ibn Affan Christian II of Denmark Otto I the Great Ninian Stephen Sunjong of the Korean Empire Michael Bates Wilhelm Miklas Joachim Gauck Kalvakuntla Chandrashekar Klement Gottwald Bako Sahakyan Ali Bongo Ondimba Ahmed Mahamoud Silanyo Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Paul Hasluck Konijeti Rosaiah Francis I of Austria Wilhelm I of Germany Charles the Fat Hashim Thaçi Mariangela Bertoleoni Chen Shui-bian Herod the Great William Sidney, 1st Viscount De L'Isle Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
192
action count
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action count
action filter_multi_types
action find_reverse
entity Filippo Maria Visconti
relation head of state
type designation for an administrative territorial entity
type executive branch
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?j WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } } GROUP BY ?j } . FILTER ( ?o < ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:head_of_state resource:Filippo_Maria_Visconti . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:executive_branch } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9438
P737
Q502895
USER
How many people influenced Thomas Aquinas ?
(Q9438,P737,c(Q502895))
action count
action filter_type
action find
entity Q9438
relation P737
type Q502895
['Q9438', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q9438 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Thomas Aquinas
action count
action filter_type
action find
entity Thomas Aquinas
relation influenced by
type common name
['Thomas Aquinas', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Thomas_Aquinas property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
15
Q859 Q9191 Q43939 Q9546 Q8011 Q39837 Q184500 Q102851 Q127398 Q1541 Q179759 Q60059 Q868 Q8018 Q9200
(Q9438,P737,c(Q502895))
action count
action filter_type
action find
entity Q9438
relation P737
type Q502895
[ANSWER]
['Q9438', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q9438 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Plato René Descartes Anselm of Canterbury Al-Ghazali Avicenna Averroes Johannes Scotus Eriugena Boethius Maimonides Cicero Al-Kindi Albertus Magnus Aristotle Augustine of Hippo Paul
15
action count
action filter_type
action find
entity Thomas Aquinas
relation influenced by
type common name
['Thomas Aquinas', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Thomas_Aquinas property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q295431
P737
Q502895
USER
And how about Julian Barnes?
(Q295431,P737,c(Q502895))
action count
action filter_type
action find
entity Q295431
relation P737
type Q502895
['Q295431', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q295431 property:P737 ?b . ?b rdf:type ontology:Q502895 }
Julian Barnes
action count
action filter_type
action find
entity Julian Barnes
relation influenced by
type common name
['Julian Barnes', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Julian_Barnes property:influenced_by ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q43444 Q314987 Q83059 Q7314 Q537112 Q105756 Q1351972
(Q295431,P737,c(Q502895))
action count
action filter_type
action find
entity Q295431
relation P737
type Q502895
[ANSWER]
['Q295431', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q295431 property:P737 ?b . ?b rdf:type ontology:Q502895 }
Gustave Flaubert Jules Renard Saul Bellow Igor Stravinsky Ford Madox Ford John Updike Frank O'Connor
7
action count
action filter_type
action find
entity Julian Barnes
relation influenced by
type common name
['Julian Barnes', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Julian_Barnes property:influenced_by ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3398798
Q502895
USER
And also tell me about Richard Aaron?
(Q3398798,P737,c(Q502895))
action count
action filter_type
action find
entity Q3398798
relation P737
type Q502895
['Q3398798', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q3398798 property:P737 ?b . ?b rdf:type ontology:Q502895 }
Richard Aaron
action count
action filter_type
action find
entity Richard Aaron
relation influenced by
type common name
['Richard Aaron', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Richard_Aaron property:influenced_by ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
4
(Q3398798,P737,c(Q502895))
action count
action filter_type
action find
entity Q3398798
relation P737
type Q502895
[ANSWER]
['Q3398798', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q3398798 property:P737 ?b . ?b rdf:type ontology:Q502895 }
4
action count
action filter_type
action find
entity Richard Aaron
relation influenced by
type common name
['Richard Aaron', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Richard_Aaron property:influenced_by ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3398798
P22
Q502895
USER
Which person has that one as a parent ?
action filter_type
action find_reverse
entity Q3398798
relation P22
type Q502895
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q3398798 }
Richard Aaron
action filter_type
action find_reverse
entity Richard Aaron
relation father
type common name
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Richard_Aaron }
[]
common name
Q24006201
SYSTEM
Jane Aaron
Q24006201
action filter_type
action find_reverse
entity Q3398798
relation P22
type Q502895
[ANSWER] has that one as a parent
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q3398798 }
Jane Aaron
Jane Aaron has that one as a parent
Jane Aaron
action filter_type
action find_reverse
entity Richard Aaron
relation father
type common name
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Richard_Aaron }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24006201 Q776203
P22
Q502895
USER
Was Mark S. Schweiker the dad of Jane Aaron ?
(Q24006201,P22,Q776203)
action is_in
entity Q776203
action find
entity Q24006201
relation P22
['Q24006201', 'P22', 'Q776203']
ASK WHERE { resource:Q24006201 property:P22 resource:Q776203 }
Jane Aaron Mark S. Schweiker
action is_in
entity Mark S. Schweiker
action find
entity Jane Aaron
relation father
['Jane Aaron', 'father', 'Mark S. Schweiker']
ASK WHERE { resource:Jane_Aaron property:father resource:Mark_S._Schweiker }
[]
common name
SYSTEM
NO
(Q24006201,P22,Q776203)
action is_in
entity Q776203
action find
entity Q24006201
relation P22
[ANSWER]
['Q24006201', 'P22', 'Q776203']
ASK WHERE { resource:Q24006201 property:P22 resource:Q776203 }
No
action is_in
entity Mark S. Schweiker
action find
entity Jane Aaron
relation father
['Jane Aaron', 'father', 'Mark S. Schweiker']
ASK WHERE { resource:Jane_Aaron property:father resource:Mark_S._Schweiker }
[]