Simple Question (Direct)
Simple Question
Q169529
P106
Q12737077
USER
What is the profession of Emmanuel Callender ?
(Q169529,P106,c(Q12737077))
action filter_type
action find
entity Q169529
relation P106
type Q12737077
['Q169529', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q169529 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Emmanuel Callender
action filter_type
action find
entity Emmanuel Callender
relation occupation
type occupation
['Emmanuel Callender', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Emmanuel_Callender property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q4009406
SYSTEM
sprinter
Q4009406
(Q169529,P106,c(Q12737077))
action filter_type
action find
entity Q169529
relation P106
type Q12737077
The profession of Emmanuel Callender is a [ANSWER]
['Q169529', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q169529 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
sprinter
The profession of Emmanuel Callender is a sprinter
sprinter
action filter_type
action find
entity Emmanuel Callender
relation occupation
type occupation
['Emmanuel Callender', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Emmanuel_Callender property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4009406
P641
Q502895
USER
Which person is associated with playing that occupation ?
(c(Q502895),P641,Q4009406)
action filter_type
action find_reverse
entity Q4009406
relation P641
type Q502895
[{'concept': 'Q502895'}, 'P641', 'Q4009406']
SELECT DISTINCT ?m WHERE { ?m property:P641 resource:Q4009406 . ?m rdf:type ontology:Q502895 }
sprinter
action filter_type
action find_reverse
entity sprinter
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'sprinter']
SELECT DISTINCT ?m WHERE { ?m property:sport resource:sprinter . ?m rdf:type ontology:common_name }
[]
common name
Q23901321
SYSTEM
Secundino Borabota
Q23901321
(c(Q502895),P641,Q4009406)
action filter_type
action find_reverse
entity Q4009406
relation P641
type Q502895
[ANSWER] is associated with playing that occupation
[{'concept': 'Q502895'}, 'P641', 'Q4009406']
SELECT DISTINCT ?m WHERE { ?m property:P641 resource:Q4009406 . ?m rdf:type ontology:Q502895 }
Secundino Borabota
Secundino Borabota is associated with playing that occupation
Secundino Borabota
action filter_type
action find_reverse
entity sprinter
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'sprinter']
SELECT DISTINCT ?m WHERE { ?m property:sport resource:sprinter . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2582
P35
Q502895 Q1048835 Q15617994
USER
Which people are the heads of state of less number of political territories or administrative territories than Heinrich Lübke ?
(c(Q1048835)|c(Q15617994),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q2582
relation P35
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?j ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P35 resource:Q2582 . { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?j < ?u ) }
Heinrich Lübke
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Heinrich Lübke
relation head of state
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?j ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:head_of_state resource:Heinrich_Lübke . { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?j < ?u ) }
[]
common name political territorial entity designation for an administrative territorial entity
Q352 Q76 Q39619
SYSTEM
Adolf Hitler, Barack Obama, Alī ibn Abī Ṭālib
Q19830768 Q310994 Q19830761 Q1428924 Q297950 Q19464383 Q214029 Q152511 Q19830715 Q152335 Q16105901 Q171977 Q152274 Q312557 Q162269 Q151667 Q167724 Q1359023 Q310775 Q157651 Q6809265 Q13631996 Q237951 Q19831439 Q78492 Q19831437 Q19831432 Q259331 Q151087 Q19810371 Q167699 Q472323 Q400961 Q38987 Q187149 Q855252 Q153688 Q19216 Q188214 Q42939 Q16849387 Q154444 Q2503364 Q2610 Q19831452 Q179858 Q34105 Q152306 Q379203 Q150642 Q122304 Q154936 Q334851 Q555531 Q57488 Q6707612 Q290786 Q773874 Q886786 Q7244117 Q502185 Q6127060 Q2646 Q76437 Q93427 Q19830746 Q76 Q3910 Q57509 Q57502 Q181261 Q157099 Q332709 Q34464 Q334923 Q235454 Q4631 Q2677 Q188409 Q562209 Q3518013 Q8467 Q2601 Q2602 Q2607 Q39619 Q29213 Q69569 Q163945 Q30487 Q223183 Q213791 Q336913 Q156502 Q511888 Q257425 Q58600 Q468847 Q173347 Q13593432 Q77233 Q160318 Q210329 Q205993 Q157068 Q57232 Q1455923 Q613051 Q6127112 Q19831185 Q19831184 Q19831183 Q157121 Q399998 Q81215 Q19831457 Q327203 Q156494 Q1982245 Q152463 Q1855372 Q212188 Q168691 Q17488307 Q273228 Q187697 Q371854 Q661663 Q19861344 Q7726 Q150620 Q313355 Q6225811 Q17582456 Q541507 Q57360 Q310000 Q2667 Q156349 Q332157 Q159585 Q450675 Q37731 Q43915 Q334111 Q19628885 Q33168 Q296054 Q360462 Q380187 Q154912 Q352 Q233984 Q314464 Q1898405 Q130834 Q57261 Q150652 Q150712 Q57634 Q19831445 Q22368 Q174662 Q65917 Q2628 Q19831449
(c(Q1048835)|c(Q15617994),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q2582
relation P35
type Q1048835
type Q15617994
[ANSWERS] are the heads of state of less number of political territories or administrative territories than Heinrich Lübke
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?j ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P35 resource:Q2582 . { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?j < ?u ) }
Thomas Currie Patrick Hillery Jonathan Lambert Nicola Mancino R. Venkataraman John Woolley Kaarlo Juho Ståhlberg Eddie Fenech Adami Robert Ben Madison László Sólyom Paul Delprat Tokugawa Ieyasu Edvard Beneš V. V. Giri Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Raul Khadjimba Jean-Claude Duvalier Gustáv Husák Mehbooba Mufti Chennamaneni Vidyasagar Rao Douglas Hyde Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Giuseppe Bertoleoni Yusof bin Ishak Jérôme Bonaparte Vít Jedlička Ugo Mifsud Bonnici Ranasinghe Premadasa Ahmad bin Yahya Tony Tan Keng Yam Umberto II of Italy Bhumibol Adulyadej Umberto I of Italy Ma Ying-jeou Mary Robinson Bronisław Komorowski Jam Nizamuddin II Grand Duke Michael Alexandrovich of Russia Pietro Grasso Willi Stoph Carlo II Bertoleoni Urho Kekkonen Hosni Mubarak Carl Gustaf Emil Mannerheim Khieu Samphan Vittorio Emanuele III Nitish Kumar Arnulf of Carinthia Zail Singh Paddy Roy Bates Jakaya Kikwete Lydia Emerencia Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Andrey Vorobyov Jam Feruzudin Friedrich Ebert Karl Dönitz Archduke John of Austria King Louis I of Talossa Barack Obama Albert II Atifete Jahjaga George Abela Charles Albert of Sardinia Louis the Child Giovanni Spadolini Philip III of Spain Abu Bakr K. R. Narayanan Mohamed Morsi Wilhelm II Yevgeny Shevchuk Cesare Merzagora N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Tarja Halonen Sardar Muhammad Yaqoob Khan Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Neelam Sanjiva Reddy Emil Hácha Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Éamon de Valera Adly Mansour Frederick III, Elector of Saxony Norodom Sihanouk Yuan Shikai William Gopallawa Lord Mountbatten Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Conrad I of Germany Wee Kim Wee Petar Stoyanov Tonino Bertoleoni Seán T. O'Kelly Antonín Novotný Ismail Shammout Louis the German Tamim bin Hamad Al Thani S. R. Nathan Victor Emmanuel II of Savoy Aleksandr Zakharchenko Amintore Fanfani François Duvalier Antonín Zápotocký Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Henry I the Fowler Alexander Ankvab John Charlton Rudge Ihor Plotnytskiy Arkadi Ghukasyan Hamad bin Khalifa Al Thani Ludvík Svoboda Paul von Hindenburg Sarvepalli Radhakrishnan Shankar Dayal Sharma Boris III of Bulgaria Francis Uthman ibn Affan Otto I the Great Sunjong of the Korean Empire Michael Bates Kalvakuntla Chandrashekar Klement Gottwald Bako Sahakyan Ahmed Mahamoud Silanyo Olav V of Norway Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Konijeti Rosaiah Francis I of Austria Georgi Parvanov Wilhelm I of Germany Charles the Fat Hashim Thaçi Mariangela Bertoleoni Chen Shui-bian Mary McAleese Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
Adolf Hitler, Barack Obama and Alī ibn Abī Ṭālib are the heads of state of less number of political territories or administrative territories than Heinrich Lübke
Adolf Hitler Barack Obama Alī ibn Abī Ṭālib
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Heinrich Lübke
relation head of state
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?j ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:head_of_state resource:Heinrich_Lübke . { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?j < ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q57537
P35
Q502895 Q1048835 Q15617994
USER
And what about Letsie III of Lesotho?
(c(Q1048835)|c(Q15617994),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q57537
relation P35
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P35 resource:Q57537 . { { ?q rdf:type ontology:Q1048835 } UNION { ?q rdf:type ontology:Q15617994 } } } } . FILTER ( ?l < ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P35 ?s . ?s rdf:type ontology:Q502895 . ?o rdf:type ontology:Q1048835 } UNION { ?o property:P35 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } }
Letsie III of Lesotho
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Letsie III of Lesotho
relation head of state
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:head_of_state resource:Letsie_III_of_Lesotho . { { ?q rdf:type ontology:political_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?l < ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:head_of_state ?s . ?s rdf:type ontology:common_name . ?o rdf:type ontology:political_territorial_entity } UNION { ?o property:head_of_state ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:common_name } } GROUP BY ?s } }
[]
common name political territorial entity designation for an administrative territorial entity
Q352 Q76 Q39619
SYSTEM
Adolf Hitler, Barack Obama, Alī ibn Abī Ṭālib
Q19830768 Q310994 Q19830761 Q1428924 Q297950 Q19464383 Q214029 Q152511 Q19830715 Q152335 Q16105901 Q171977 Q152274 Q312557 Q162269 Q151667 Q167724 Q1359023 Q310775 Q157651 Q6809265 Q13631996 Q237951 Q19831439 Q78492 Q19831437 Q19831432 Q259331 Q151087 Q19810371 Q167699 Q472323 Q400961 Q38987 Q187149 Q855252 Q153688 Q19216 Q188214 Q42939 Q16849387 Q154444 Q2503364 Q2610 Q19831452 Q179858 Q34105 Q152306 Q379203 Q150642 Q122304 Q154936 Q334851 Q555531 Q57488 Q6707612 Q290786 Q773874 Q886786 Q7244117 Q502185 Q6127060 Q2646 Q76437 Q93427 Q19830746 Q76 Q3910 Q57509 Q57502 Q181261 Q157099 Q332709 Q34464 Q334923 Q235454 Q4631 Q2677 Q188409 Q562209 Q3518013 Q8467 Q2601 Q2602 Q2607 Q39619 Q29213 Q69569 Q163945 Q30487 Q223183 Q213791 Q336913 Q156502 Q511888 Q257425 Q58600 Q468847 Q173347 Q13593432 Q77233 Q160318 Q210329 Q205993 Q157068 Q57232 Q1455923 Q613051 Q6127112 Q19831185 Q19831184 Q19831183 Q157121 Q399998 Q81215 Q19831457 Q327203 Q156494 Q1982245 Q152463 Q1855372 Q212188 Q168691 Q17488307 Q273228 Q187697 Q371854 Q661663 Q19861344 Q7726 Q150620 Q313355 Q6225811 Q17582456 Q541507 Q57360 Q310000 Q2667 Q156349 Q332157 Q159585 Q450675 Q37731 Q43915 Q334111 Q19628885 Q33168 Q296054 Q360462 Q380187 Q154912 Q352 Q233984 Q314464 Q1898405 Q130834 Q57261 Q150652 Q150712 Q57634 Q19831445 Q22368 Q174662 Q65917 Q2628 Q19831449
(c(Q1048835)|c(Q15617994),P35,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q57537
relation P35
type Q1048835
type Q15617994
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P35 resource:Q57537 . { { ?q rdf:type ontology:Q1048835 } UNION { ?q rdf:type ontology:Q15617994 } } } } . FILTER ( ?l < ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P35 ?s . ?s rdf:type ontology:Q502895 . ?o rdf:type ontology:Q1048835 } UNION { ?o property:P35 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } }
Thomas Currie Patrick Hillery Jonathan Lambert Nicola Mancino R. Venkataraman John Woolley Kaarlo Juho Ståhlberg Eddie Fenech Adami Robert Ben Madison László Sólyom Paul Delprat Tokugawa Ieyasu Edvard Beneš V. V. Giri Jefferson Davis Ferdinand I of Bulgaria Guido de Marco Raul Khadjimba Jean-Claude Duvalier Gustáv Husák Mehbooba Mufti Chennamaneni Vidyasagar Rao Douglas Hyde Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Giuseppe Bertoleoni Yusof bin Ishak Jérôme Bonaparte Vít Jedlička Ugo Mifsud Bonnici Ranasinghe Premadasa Ahmad bin Yahya Tony Tan Keng Yam Umberto II of Italy Bhumibol Adulyadej Umberto I of Italy Ma Ying-jeou Mary Robinson Bronisław Komorowski Jam Nizamuddin II Grand Duke Michael Alexandrovich of Russia Pietro Grasso Willi Stoph Carlo II Bertoleoni Urho Kekkonen Hosni Mubarak Carl Gustaf Emil Mannerheim Khieu Samphan Vittorio Emanuele III Nitish Kumar Arnulf of Carinthia Zail Singh Paddy Roy Bates Jakaya Kikwete Lydia Emerencia Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Andrey Vorobyov Jam Feruzudin Friedrich Ebert Karl Dönitz Archduke John of Austria King Louis I of Talossa Barack Obama Albert II Atifete Jahjaga George Abela Charles Albert of Sardinia Louis the Child Giovanni Spadolini Philip III of Spain Abu Bakr K. R. Narayanan Mohamed Morsi Wilhelm II Yevgeny Shevchuk Cesare Merzagora N. Chandrababu Naidu Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Tarja Halonen Sardar Muhammad Yaqoob Khan Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Neelam Sanjiva Reddy Emil Hácha Leonard Petrosyan Gojong of the Korean Empire Friedrich III of Germany Oswiu of Northumbria Éamon de Valera Adly Mansour Frederick III, Elector of Saxony Norodom Sihanouk Yuan Shikai William Gopallawa Lord Mountbatten Sabine Bergmann-Pohl Takakazu Ishii Robert Kocharyan Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Conrad I of Germany Wee Kim Wee Petar Stoyanov Tonino Bertoleoni Seán T. O'Kelly Antonín Novotný Ismail Shammout Louis the German Tamim bin Hamad Al Thani S. R. Nathan Victor Emmanuel II of Savoy Aleksandr Zakharchenko Amintore Fanfani François Duvalier Antonín Zápotocký Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Henry I the Fowler Alexander Ankvab John Charlton Rudge Ihor Plotnytskiy Arkadi Ghukasyan Hamad bin Khalifa Al Thani Ludvík Svoboda Paul von Hindenburg Sarvepalli Radhakrishnan Shankar Dayal Sharma Boris III of Bulgaria Francis Uthman ibn Affan Otto I the Great Sunjong of the Korean Empire Michael Bates Kalvakuntla Chandrashekar Klement Gottwald Bako Sahakyan Ahmed Mahamoud Silanyo Olav V of Norway Adolf Hitler Tsai Ing-wen Tokugawa Hidetada Konijeti Rosaiah Francis I of Austria Georgi Parvanov Wilhelm I of Germany Charles the Fat Hashim Thaçi Mariangela Bertoleoni Chen Shui-bian Mary McAleese Wilhelm Pieck Walter Ulbricht Paolo II Bertoleoni
Adolf Hitler Barack Obama Alī ibn Abī Ṭālib
action less
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Letsie III of Lesotho
relation head of state
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:head_of_state resource:Letsie_III_of_Lesotho . { { ?q rdf:type ontology:political_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?l < ?w ) . { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:head_of_state ?s . ?s rdf:type ontology:common_name . ?o rdf:type ontology:political_territorial_entity } UNION { ?o property:head_of_state ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:common_name } } GROUP BY ?s } }
[]