Simple Question (Direct)
Simple Question
Q948721
P1344
Q15900616
USER
Which event sequences did Shea Weber take part in ?
(Q948721,P1344,c(Q15900616))
action filter_type
action find
entity Q948721
relation P1344
type Q15900616
['Q948721', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?v WHERE { resource:Q948721 property:P1344 ?v . ?v rdf:type ontology:Q15900616 }
Shea Weber
action filter_type
action find
entity Shea Weber
relation participant of
type event sequence
['Shea Weber', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?v WHERE { resource:Shea_Weber property:participant_of ?v . ?v rdf:type ontology:event_sequence }
[]
event sequence
Q9678 Q9674
SYSTEM
2014 Winter Olympics, 2010 Winter Olympics
Q9678 Q9674
(Q948721,P1344,c(Q15900616))
action filter_type
action find
entity Q948721
relation P1344
type Q15900616
Shea Weber took in part in [ANSWERS]
['Q948721', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?v WHERE { resource:Q948721 property:P1344 ?v . ?v rdf:type ontology:Q15900616 }
2014 Winter Olympics 2010 Winter Olympics
Shea Weber took in part in 2014 Winter Olympics and 2010 Winter Olympics
2014 Winter Olympics 2010 Winter Olympics
action filter_type
action find
entity Shea Weber
relation participant of
type event sequence
['Shea Weber', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?v WHERE { resource:Shea_Weber property:participant_of ?v . ?v rdf:type ontology:event_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q948721
P734
Q82799
USER
Which name is associated with that person ?
(Q9678,P734,c(Q82799)) (Q9674,P734,c(Q82799))
action filter_type
action find
entity Q948721
relation P734
type Q82799
['Q9678', 'P734', {'concept': 'Q82799'}] ['Q9674', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q948721 property:P734 ?b }
Shea Weber
action filter_type
action find
entity Shea Weber
relation family name
type name
['2014 Winter Olympics', 'family name', {'concept': 'name'}] ['2010 Winter Olympics', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Shea_Weber property:family_name ?b }
[]
name
Q1409226
SYSTEM
Weber
Q1409226
(Q9678,P734,c(Q82799)) (Q9674,P734,c(Q82799))
action filter_type
action find
entity Q948721
relation P734
type Q82799
[ANSWER] is associated with that person
['Q9678', 'P734', {'concept': 'Q82799'}] ['Q9674', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q948721 property:P734 ?b }
Weber
Weber is associated with that person
Weber
action filter_type
action find
entity Shea Weber
relation family name
type name
['2014 Winter Olympics', 'family name', {'concept': 'name'}] ['2010 Winter Olympics', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Shea_Weber property:family_name ?b }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P35
Q502895 Q15617994 Q1048835
USER
Which people are elected as the head of state of min number of administrative territories and political territories ?
(c(Q15617994)|c(Q1048835),P35,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?g WHERE { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?k rdf:type ?w } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { { ?e property:P35 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15617994 } UNION { ?e property:P35 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?d } . FILTER ( ?y = ?p ) }
action argmin
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 political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?g WHERE { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?k rdf:type ?w } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { { ?e property:head_of_state ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:head_of_state ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?d } . FILTER ( ?y = ?p ) }
[]
common name designation for an administrative territorial entity political 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(Q15617994)|c(Q1048835),P35,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
[ANSWERS] are elected as the head of state of min number of administrative territories and political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?g WHERE { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?k rdf:type ?w } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { { ?e property:P35 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15617994 } UNION { ?e property:P35 ?d . ?d rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?d } . FILTER ( ?y = ?p ) }
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 elected as the head of state of min number of administrative territories and political territories
Adolf Hitler Barack Obama Alī ibn Abī Ṭālib
action argmin
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 political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?p ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?g WHERE { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?k rdf:type ?w } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?d WHERE { { ?e property:head_of_state ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:head_of_state ?d . ?d rdf:type ontology:common_name . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?d } . FILTER ( ?y = ?p ) }
[]