Simple Question (Direct)
Simple Question
Q1228731
P20
Q486972
USER
Which human settlement is the place of death of László Palóczy ?
(Q1228731,P20,c(Q486972))
action filter_type
action find
entity Q1228731
relation P20
type Q486972
['Q1228731', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q1228731 property:P20 ?z . ?z rdf:type ontology:Q486972 }
László Palóczy
action filter_type
action find
entity László Palóczy
relation place of death
type human settlement
['László Palóczy', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:László_Palóczy property:place_of_death ?z . ?z rdf:type ontology:human_settlement }
[]
human settlement
Q210205
SYSTEM
Pest
Q210205
(Q1228731,P20,c(Q486972))
action filter_type
action find
entity Q1228731
relation P20
type Q486972
[ANSWER] is the place of death of László Palóczy
['Q1228731', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q1228731 property:P20 ?z . ?z rdf:type ontology:Q486972 }
Pest
Pest is the place of death of László Palóczy
Pest
action filter_type
action find
entity László Palóczy
relation place of death
type human settlement
['László Palóczy', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:László_Palóczy property:place_of_death ?z . ?z rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1228731
P19
Q56061
USER
Which administrative territory was László Palóczy born in ?
(Q1228731,P19,c(Q56061))
action filter_type
action find
entity Q1228731
relation P19
type Q56061
['Q1228731', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q1228731 property:P19 ?q }
László Palóczy
action filter_type
action find
entity László Palóczy
relation place of birth
type administrative territorial entity
['László Palóczy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:László_Palóczy property:place_of_birth ?q }
[]
administrative territorial entity
Q102397
SYSTEM
Miskolc
Q102397
(Q1228731,P19,c(Q56061))
action filter_type
action find
entity Q1228731
relation P19
type Q56061
László Palóczy was born in [ANSWER]
['Q1228731', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q1228731 property:P19 ?q }
Miskolc
László Palóczy was born in Miskolc
Miskolc
action filter_type
action find
entity László Palóczy
relation place of birth
type administrative territorial entity
['László Palóczy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:László_Palóczy property:place_of_birth ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11963448
Q56061
USER
And how about Charles Dolan?
(Q11963448,P19,c(Q56061))
action filter_type
action find
entity Q11963448
relation P19
type Q56061
['Q11963448', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q11963448 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Charles Dolan
action filter_type
action find
entity Charles Dolan
relation place of birth
type administrative territorial entity
['Charles Dolan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Charles_Dolan property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37320
SYSTEM
Cleveland
Q37320
(Q11963448,P19,c(Q56061))
action filter_type
action find
entity Q11963448
relation P19
type Q56061
[ANSWER]
['Q11963448', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q11963448 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Cleveland
Cleveland
action filter_type
action find
entity Charles Dolan
relation place of birth
type administrative territorial entity
['Charles Dolan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Charles_Dolan property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q37320 Q3798856
P190
Q56061
USER
Is Ntfonjeni partner town of that one ?
(Q37320,P190,Q3798856)
action is_in
entity Q3798856
action find
entity Q37320
relation P190
['Q37320', 'P190', 'Q3798856']
ASK WHERE { resource:Q37320 property:P190 resource:Q3798856 }
Cleveland Ntfonjeni
action is_in
entity Ntfonjeni
action find
entity Cleveland
relation sister city
['Cleveland', 'sister city', 'Ntfonjeni']
ASK WHERE { resource:Cleveland property:sister_city resource:Ntfonjeni }
[]
administrative territorial entity
SYSTEM
NO
(Q37320,P190,Q3798856)
action is_in
entity Q3798856
action find
entity Q37320
relation P190
[ANSWER]
['Q37320', 'P190', 'Q3798856']
ASK WHERE { resource:Q37320 property:P190 resource:Q3798856 }
No
action is_in
entity Ntfonjeni
action find
entity Cleveland
relation sister city
['Cleveland', 'sister city', 'Ntfonjeni']
ASK WHERE { resource:Cleveland property:sister_city resource:Ntfonjeni }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q102397 Q1758914
P159
Q43229
USER
How many organizations have their HQ location at Miskolc or Tsuen Wan ?
(c(Q43229),P159,Q102397) (c(Q43229),P159,Q1758914)
action count
action union
action filter_type
action find_reverse
entity Q102397
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1758914
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q102397'] [{'concept': 'Q43229'}, 'P159', 'Q1758914']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P159 ?e . VALUES ( ?e ) { ( resource:Q1758914 ) ( resource:Q102397 ) } }
Miskolc Tsuen Wan
action count
action union
action filter_type
action find_reverse
entity Miskolc
relation headquarters location
type organization
action filter_type
action find_reverse
entity Tsuen Wan
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Miskolc'] [{'concept': 'organization'}, 'headquarters location', 'Tsuen Wan']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:headquarters_location ?e . VALUES ( ?e ) { ( resource:Tsuen_Wan ) ( resource:Miskolc ) } }
[]
organization
SYSTEM
2
Q1100810 Q846463
(c(Q43229),P159,Q102397) (c(Q43229),P159,Q1758914)
action count
action union
action filter_type
action find_reverse
entity Q102397
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1758914
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q102397'] [{'concept': 'Q43229'}, 'P159', 'Q1758914']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P159 ?e . VALUES ( ?e ) { ( resource:Q1758914 ) ( resource:Q102397 ) } }
Jing Gong Sundream Motion Pictures
2
action count
action union
action filter_type
action find_reverse
entity Miskolc
relation headquarters location
type organization
action filter_type
action find_reverse
entity Tsuen Wan
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Miskolc'] [{'concept': 'organization'}, 'headquarters location', 'Tsuen Wan']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:headquarters_location ?e . VALUES ( ?e ) { ( resource:Tsuen_Wan ) ( resource:Miskolc ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10707
P35
Q502895 Q15617994 Q35798
USER
Which people are the chiefs of state of less number of administrative territories and executive branches than Robert Mugabe ?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
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 Q10707
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?h rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P35 resource:Q10707 . { { ?z rdf:type ontology:Q35798 } UNION { ?z rdf:type ontology:Q15617994 } } } } . FILTER ( ?i < ?s ) }
Robert Mugabe
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 Robert Mugabe
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?h rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:head_of_state resource:Robert_Mugabe . { { ?z rdf:type ontology:executive_branch } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?i < ?s ) }
[]
common name designation for an administrative territorial entity executive branch
Q352 Q2567 Q39619
SYSTEM
Adolf Hitler, Richard von Weizsäcker, Alī ibn Abī Ṭālib
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 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 Q10707
relation P35
type Q15617994
type Q35798
[ANSWERS] are the chiefs of state of less number of administrative territories and executive branches than Robert Mugabe
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?h rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P35 resource:Q10707 . { { ?z rdf:type ontology:Q35798 } UNION { ?z rdf:type ontology:Q15617994 } } } } . FILTER ( ?i < ?s ) }
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
Adolf Hitler, Richard von Weizsäcker and Alī ibn Abī Ṭālib are the chiefs of state of less number of administrative territories and executive branches than Robert Mugabe
Adolf Hitler Richard von Weizsäcker Alī ibn Abī Ṭālib
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 Robert Mugabe
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?i ) WHERE { VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?h rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:head_of_state resource:Robert_Mugabe . { { ?z rdf:type ontology:executive_branch } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?i < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q57452
P35
Q502895 Q15617994 Q35798
USER
And how about François Bozizé?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
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 Q57452
relation P35
type Q15617994
type Q35798
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?a WHERE { { ?h rdf:type ontology:Q35798 . ?a rdf:type ontology:Q502895 . ?h property:P35 ?a } UNION { ?h property:P35 ?a . ?a rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P35 resource:Q57452 . { { ?g rdf:type ontology:Q35798 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?w < ?v ) }
François Bozizé
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 François Bozizé
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 ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?a WHERE { { ?h rdf:type ontology:executive_branch . ?a rdf:type ontology:common_name . ?h property:head_of_state ?a } UNION { ?h property:head_of_state ?a . ?a rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:head_of_state resource:François_Bozizé . { { ?g rdf:type ontology:executive_branch } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?w < ?v ) }
[]
common name designation for an administrative territorial entity executive branch
Q352 Q2567 Q39619
SYSTEM
Adolf Hitler, Richard von Weizsäcker, Alī ibn Abī Ṭālib
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 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 Q57452
relation P35
type Q15617994
type Q35798
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?a WHERE { { ?h rdf:type ontology:Q35798 . ?a rdf:type ontology:Q502895 . ?h property:P35 ?a } UNION { ?h property:P35 ?a . ?a rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P35 resource:Q57452 . { { ?g rdf:type ontology:Q35798 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?w < ?v ) }
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
Adolf Hitler Richard von Weizsäcker Alī ibn Abī Ṭālib
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 François Bozizé
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 ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) ?a WHERE { { ?h rdf:type ontology:executive_branch . ?a rdf:type ontology:common_name . ?h property:head_of_state ?a } UNION { ?h property:head_of_state ?a . ?a rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:head_of_state resource:François_Bozizé . { { ?g rdf:type ontology:executive_branch } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?w < ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have around 2 people or holidays as their patron saint ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?f WHERE { { ?f property:P417 ?l . ?l rdf:type ontology:Q502895 . ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q56061 . ?l rdf:type ontology:Q1445650 . ?f property:P417 ?l } } GROUP BY ?f } . FILTER ( ?j = 2 ) }
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?f WHERE { { ?f property:patron_saint ?l . ?l rdf:type ontology:common_name . ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:holiday . ?f property:patron_saint ?l } } GROUP BY ?f } . FILTER ( ?j = 2 ) }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[ANSWERS] have around 2 people or holidays as their patron saint
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?f WHERE { { ?f property:P417 ?l . ?l rdf:type ontology:Q502895 . ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q56061 . ?l rdf:type ontology:Q1445650 . ?f property:P417 ?l } } GROUP BY ?f } . FILTER ( ?j = 2 ) }
Brinzio Rome
Brinzio and Rome have around 2 people or holidays as their patron saint
Brinzio Rome
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?f WHERE { { ?f property:patron_saint ?l . ?l rdf:type ontology:common_name . ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:holiday . ?f property:patron_saint ?l } } GROUP BY ?f } . FILTER ( ?j = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q286242 Q11963448
P112
Q43229
USER
Which organizations were established by Charles Dolan or Émile Nagant ?
OR((c(Q43229),P112,Q11963448), (c(Q43229),P112,Q286242))
action filter_type
action union
action find_reverse
entity Q11963448
relation P112
action find_reverse
entity Q286242
relation P112
type Q43229
{'OR': [[{'concept': 'Q43229'}, 'P112', 'Q11963448'], [{'concept': 'Q43229'}, 'P112', 'Q286242']]}
SELECT DISTINCT ?p WHERE { { ?p property:P112 ?k . VALUES ( ?k ) { ( resource:Q11963448 ) ( resource:Q286242 ) } } . ?p rdf:type ontology:Q43229 }
Émile Nagant Charles Dolan
action filter_type
action union
action find_reverse
entity Charles Dolan
relation founder
action find_reverse
entity Émile Nagant
relation founder
type organization
{'OR': [[{'concept': 'organization'}, 'founder', 'Charles Dolan'], [{'concept': 'organization'}, 'founder', 'Émile Nagant']]}
SELECT DISTINCT ?p WHERE { { ?p property:founder ?k . VALUES ( ?k ) { ( resource:Charles_Dolan ) ( resource:Émile_Nagant ) } } . ?p rdf:type ontology:organization }
[]
organization
Q644289 Q423317
SYSTEM
Cablevision, Nagant
Q644289 Q423317
OR((c(Q43229),P112,Q11963448), (c(Q43229),P112,Q286242))
action filter_type
action union
action find_reverse
entity Q11963448
relation P112
action find_reverse
entity Q286242
relation P112
type Q43229
[ANSWERS] were established by Charles Dolan or Émile Nagant
{'OR': [[{'concept': 'Q43229'}, 'P112', 'Q11963448'], [{'concept': 'Q43229'}, 'P112', 'Q286242']]}
SELECT DISTINCT ?p WHERE { { ?p property:P112 ?k . VALUES ( ?k ) { ( resource:Q11963448 ) ( resource:Q286242 ) } } . ?p rdf:type ontology:Q43229 }
Cablevision Nagant
Cablevision and Nagant were established by Charles Dolan or Émile Nagant
Cablevision Nagant
action filter_type
action union
action find_reverse
entity Charles Dolan
relation founder
action find_reverse
entity Émile Nagant
relation founder
type organization
{'OR': [[{'concept': 'organization'}, 'founder', 'Charles Dolan'], [{'concept': 'organization'}, 'founder', 'Émile Nagant']]}
SELECT DISTINCT ?p WHERE { { ?p property:founder ?k . VALUES ( ?k ) { ( resource:Charles_Dolan ) ( resource:Émile_Nagant ) } } . ?p rdf:type ontology:organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1425537
P137
Q43229 Q62447
USER
Which aerodromes are the administrator of around the same number of organizations as Djerba–Zarzis International Airport ?
(c(Q62447),P137,c(Q43229))
action approx
action find_tuple_counts
relation P137
type Q62447
type Q43229
action count
action filter_type
action find
entity Q1425537
relation P137
type Q62447
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?u ) WHERE { ?s property:P137 ?m . ?s rdf:type ontology:Q62447 . ?m rdf:type ontology:Q43229 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q1425537 property:P137 ?r . ?r rdf:type ontology:Q62447 } } . FILTER ( ?u = ?b ) }
Djerba–Zarzis International Airport
action approx
action find_tuple_counts
relation operator
type aerodrome
type organization
action count
action filter_type
action find
entity Djerba–Zarzis International Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?u ) WHERE { ?s property:operator ?m . ?s rdf:type ontology:aerodrome . ?m rdf:type ontology:organization } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Djerba–Zarzis_International_Airport property:operator ?r . ?r rdf:type ontology:aerodrome } } . FILTER ( ?u = ?b ) }
[]
organization aerodrome
Q6744357 Q254039 Q143224
SYSTEM
Malmen Airbase, Lappeenranta Airport, Jyväskylä Airport
Q10546669 Q1345361 Q955757 Q656993 Q1344758 Q2559952 Q1432361 Q196087 Q2788843 Q4352578 Q4894757 Q76269 Q9001 Q1425566 Q1430731 Q821984 Q286872 Q29863 Q1324587 Q1951782 Q2886464 Q2886452 Q2886466 Q289972 Q2627988 Q4087670 Q4810181 Q1413172 Q10682089 Q666704 Q10540702 Q10438216 Q12700144 Q1837190 Q652505 Q4651418 Q2886488 Q531178 Q10587493 Q3497722 Q1031590 Q10484117 Q1466205 Q2090101 Q667001 Q7285421 Q973283 Q2886499 Q10518493 Q269294 Q1323139 Q1710539 Q844281 Q10500698 Q662933 Q18214071 Q1433183 Q528578 Q19356191 Q215327 Q849314 Q1130612 Q1083424 Q2886439 Q477677 Q2763148 Q1431173 Q4357886 Q837270 Q1420053 Q865475 Q1425537 Q1432445 Q7275617 Q1432282 Q1432440 Q2386868 Q530071 Q1431809 Q932514 Q3887266 Q4347508 Q1655907 Q7928149 Q8049558 Q2886509 Q12700166 Q2886500 Q1338960 Q505572 Q850269 Q2886504 Q2886505 Q504382 Q268457 Q1431971 Q1883124 Q1627015 Q662434 Q1310370 Q627080 Q690894 Q1431740 Q8995 Q598817 Q7275708 Q1432146 Q771340 Q31580 Q7969202 Q3504948 Q1141214 Q1656030 Q4350300 Q1332829 Q61066 Q938047 Q10426742 Q10726517 Q702035 Q2886512 Q254039 Q20987524 Q598197 Q18666272 Q39164 Q6744357 Q1431631 Q1322467 Q210559 Q623452 Q466786 Q466835 Q1126306 Q18214069 Q429304 Q18214087 Q7433291 Q1430885 Q2673008 Q10516453 Q630645 Q1657287 Q10516024 Q1432525 Q584102 Q62143 Q3609556 Q9650446 Q502670 Q2985800 Q849366 Q12700153 Q1416280 Q178021 Q1142219 Q537950 Q18214060 Q940576 Q18214066 Q18214064 Q2242841 Q1130231 Q143224 Q1751264 Q153592 Q19828268 Q1432006 Q319654 Q2672950 Q430490 Q800126 Q6868051 Q1421504 Q20455825 Q2413018 Q3504365 Q263652 Q10711148 Q10430524 Q10542635 Q10697797 Q3314457 Q223416 Q5135044 Q1431349 Q182789 Q1432038 Q739238 Q10531819 Q5398131 Q483223 Q3017076 Q12694367 Q7359257 Q16502674 Q738719 Q1430865 Q2902141 Q2628568 Q5316185 Q18214062 Q1131604 Q635361 Q1061846 Q1836133 Q19826685 Q1431737 Q1411192 Q19406831 Q615917 Q1431549 Q177397 Q17542 Q127958 Q973830 Q954725 Q2886483 Q854130 Q729886 Q3914124 Q2886471 Q2886476 Q10658636 Q2886449 Q59633 Q3312807 Q2886478 Q370924 Q10510856 Q1347310 Q285198
(c(Q62447),P137,c(Q43229))
action approx
action find_tuple_counts
relation P137
type Q62447
type Q43229
action count
action filter_type
action find
entity Q1425537
relation P137
type Q62447
[ANSWERS] are the administrator of around the same number of organizations as Djerba–Zarzis International Airport
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?u ) WHERE { ?s property:P137 ?m . ?s rdf:type ontology:Q62447 . ?m rdf:type ontology:Q43229 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q1425537 property:P137 ?r . ?r rdf:type ontology:Q62447 } } . FILTER ( ?u = ?b ) }
Knislinge Airbase Cork Airport RAAF Base Amberley Palma de Mallorca Airport San Pablo Airport Alderney Airport Abruzzo Airport Kokkola-Pietarsaari Airport Bantayan Airport Aavahelukka Airfield Berry Airfield Oslo Airport, Fornebu Isle of Man Airport Portland International Airport Adisucipto International Airport Tenerife South Airport Mikkeli Airport Stockholm Bromma Airport Burgas Airport Aguenar–Hadj Bey Akhamok Airport Luxeuil Air Base Évreux-Fauville Air Base Reims-Champagne Air Base Geneva International Airport Halli Airport Eastern Sierra Regional Airport Kalajoki Airfield Kemi-Tornio Airport Strängnäs-Malmby Airbase Monastir Habib Bourguiba International Airport Jokkmokk Airbase Byholma Airbase Farila Airbase Chabua Air Force Station Detroit Metropolitan Wayne County Airport AFB Makhado Nouméa Air Base Honolulu International Airport Moholm Airbase Sembawang Air Base Mariehamn Airport Eneryda Airbase Trivandrum International Airport Greater Natal International Airport Faro Airport Raja Bhoj Airport Kuopio Airport Djibouti Air Base Hasslösa Airbase Saint Helena Airport Rovaniemi Airport Kubbe Airbase Gothenburg City Airport Fällfors Airbase Enontekiö Airport Nancy-Essey Air Base Vardø Airport, Svartnes Van Nuys Airport Abu al-Duhur Military Airbase Helsinki Airport Alicante Airport Gran Canaria Airport Incirlik Air Base Toulouse-Francazal Air Base Boryspil International Airport Lakselv Airport, Banak Dabolim Airport Ahmosuo Airfield Raadi Airfield RAF Brize Norton Santos Dumont Airport Djerba–Zarzis International Airport Pori Airport RAF Syerston Pajala Airport Port Columbus International Airport Avord Air Base Kuusamo Airport Butzweilerhof Tenerife North Airport Bundaberg Airport Ylivieska Airfield Dr. Luis María Argaña International Airport Vidsel Air Base Yarrawonga Airport Rochefort Air Base Kosta Airbase Cayenne Air Base Orléans Air Base Coimbatore Airport Ivalo Airport Tours Air Base Ambérieu-en-Bugey Air Base Adnan Menderes Airport Sodankylä Airfield Luleå Airport Shek Kong Airfield Lubbock Preston Smith International Airport Helsinki-Malmi Airport Varkaus Airport Dombarovsky Málaga Airport Kiruna Airport Guernsey Airport Bob Hope Airport RAF Wyton Nashville International Airport William P. Hobby Airport Faisalabad International Airport Wards Airfield Paya Lebar Air Base Tunis–Carthage International Airport Ben Guerir Air Base Pudasjärvi Airfield Soewondo Air Force Base Tribhuvan International Airport Ämari Air Base Airbase 90 Åmsele Airbase Tainan Airport Salon-de-Provence Air Base Lappeenranta Airport Baranovichi Airbase Bilbao Airport Ngerengere Air Force Base Bodø Airport Malmen Airbase Juanda International Airport Vaasa Airport Oslo Airport Houari Boumediene Airport Newark Liberty International Airport Washington Dulles International Airport Tampere-Pirkkala Airport Aix-Les-Milles Air Base Marrakesh Menara Airport Fort Lamy Air Base Schwimmer Airfield Atlantic City International Airport Lokpriya Gopinath Bordoloi International Airport Hallviken Airport Falcone–Borsellino Airport Bellingham International Airport Hagshult Airbase Pune Airport Shannon Airport Göviken Heliport Kymi Airfield Anápolis Airbase Chennai International Airport Gilgit Airport Smolensk North Airport Heden Airbase Agadir–Al Massira Airport Dublin Airport Jorge Chávez International Airport General Mitchell International Airport Châteauroux Air Base Thule Air Base Lyon-Bron Air Base Tours Air Base Tengah Air Base Turku Airport Jyväskylä Airport RAAF Base Townsville King Abdulaziz International Airport Joint Base Langley–Eustis Sultan Hasanuddin International Airport LaGuardia Airport Jizan Regional Airport Esenboğa International Airport Bagram Airfield Minneapolis–Saint Paul Joint Air Reserve Station Pittsburgh International Airport Manises Airport Tromsø Airport Kumlinge Airfield Sultan Aji Muhammad Sulaiman Airport Uråsa Airbase Björka proving grounds Kalixfors Airbase Tierp Airbase Altamira Airport Orly Airport Narsarsuaq Air Base Fuerteventura Airport Vadsø Airport Metz-Nancy-Lorraine Airport Kajaani Airport Hässleholm Airfield Eskilstuna Airport Gimhae International Airport Naval Air Station Jacksonville Pathankot AB Airport Rogers Airfield Björkvik Airbase Paris–Le Bourget Airport Lanzarote Airport Balalae Airport Kauhava Airfield Durand Airfield Romilly Air Base Oulu Airport Fort Lauderdale–Hollywood International Airport Ngurah Rai International Airport Changi Air Base Lille-Wambrechies Air Base Kirkenes Airport, Høybuktmoen Julius Nyerere International Airport Niamey Air Base Gällivare Airport Ibiza Airport Area 51 Dubbo City Airport Thessaloniki International Airport Cazaux Air Base Savonlinna Airport La Réunion Air Detachment Cape Town International Airport Trondheim Airport Hailuoto Airfield Istres Air Base Solenzara Air Base Råda Airbase Creil Air Base Svalbard Airport São José dos Campos Airport Nancy Air Base Joensuu Airport Gunnarn Airbase Kittilä Airport RAF Lakenheath
Malmen Airbase, Lappeenranta Airport and Jyväskylä Airport are the administrator of around the same number of organizations as Djerba–Zarzis International Airport
Malmen Airbase Lappeenranta Airport Jyväskylä Airport
action approx
action find_tuple_counts
relation operator
type aerodrome
type organization
action count
action filter_type
action find
entity Djerba–Zarzis International Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?u ) WHERE { ?s property:operator ?m . ?s rdf:type ontology:aerodrome . ?m rdf:type ontology:organization } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Djerba–Zarzis_International_Airport property:operator ?r . ?r rdf:type ontology:aerodrome } } . FILTER ( ?u = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2672950
P137
Q43229 Q62447
USER
And how about Jizan Regional Airport?
(c(Q62447),P137,c(Q43229))
action approx
action find_tuple_counts
relation P137
type Q62447
type Q43229
action count
action filter_type
action find
entity Q2672950
relation P137
type Q62447
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?i ) WHERE { ?r rdf:type ontology:Q62447 . ?a rdf:type ontology:Q43229 . ?r property:P137 ?a } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q2672950 property:P137 ?y . ?y rdf:type ontology:Q62447 } } . FILTER ( ?i = ?g ) }
Jizan Regional Airport
action approx
action find_tuple_counts
relation operator
type aerodrome
type organization
action count
action filter_type
action find
entity Jizan Regional Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?i ) WHERE { ?r rdf:type ontology:aerodrome . ?a rdf:type ontology:organization . ?r property:operator ?a } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Jizan_Regional_Airport property:operator ?y . ?y rdf:type ontology:aerodrome } } . FILTER ( ?i = ?g ) }
[]
organization aerodrome
Q6744357 Q254039 Q143224
SYSTEM
Malmen Airbase, Lappeenranta Airport, Jyväskylä Airport
Q10546669 Q1345361 Q955757 Q656993 Q1344758 Q2559952 Q1432361 Q196087 Q2788843 Q4352578 Q4894757 Q76269 Q9001 Q1425566 Q1430731 Q821984 Q286872 Q29863 Q1324587 Q1951782 Q2886464 Q2886452 Q2886466 Q289972 Q2627988 Q4087670 Q4810181 Q1413172 Q10682089 Q666704 Q10540702 Q10438216 Q12700144 Q1837190 Q652505 Q4651418 Q2886488 Q531178 Q10587493 Q3497722 Q1031590 Q10484117 Q1466205 Q2090101 Q667001 Q7285421 Q973283 Q2886499 Q10518493 Q269294 Q1323139 Q1710539 Q844281 Q10500698 Q662933 Q18214071 Q1433183 Q528578 Q19356191 Q215327 Q849314 Q1130612 Q1083424 Q2886439 Q477677 Q2763148 Q1431173 Q4357886 Q837270 Q1420053 Q865475 Q1425537 Q1432445 Q7275617 Q1432282 Q1432440 Q2386868 Q530071 Q1431809 Q932514 Q3887266 Q4347508 Q1655907 Q7928149 Q8049558 Q2886509 Q12700166 Q2886500 Q1338960 Q505572 Q850269 Q2886504 Q2886505 Q504382 Q268457 Q1431971 Q1883124 Q1627015 Q662434 Q1310370 Q627080 Q690894 Q1431740 Q8995 Q598817 Q7275708 Q1432146 Q771340 Q31580 Q7969202 Q3504948 Q1141214 Q1656030 Q4350300 Q1332829 Q61066 Q938047 Q10426742 Q10726517 Q702035 Q2886512 Q254039 Q20987524 Q598197 Q18666272 Q39164 Q6744357 Q1431631 Q1322467 Q210559 Q623452 Q466786 Q466835 Q1126306 Q18214069 Q429304 Q18214087 Q7433291 Q1430885 Q2673008 Q10516453 Q630645 Q1657287 Q10516024 Q1432525 Q584102 Q62143 Q3609556 Q9650446 Q502670 Q2985800 Q849366 Q12700153 Q1416280 Q178021 Q1142219 Q537950 Q18214060 Q940576 Q18214066 Q18214064 Q2242841 Q1130231 Q143224 Q1751264 Q153592 Q19828268 Q1432006 Q319654 Q2672950 Q430490 Q800126 Q6868051 Q1421504 Q20455825 Q2413018 Q3504365 Q263652 Q10711148 Q10430524 Q10542635 Q10697797 Q3314457 Q223416 Q5135044 Q1431349 Q182789 Q1432038 Q739238 Q10531819 Q5398131 Q483223 Q3017076 Q12694367 Q7359257 Q16502674 Q738719 Q1430865 Q2902141 Q2628568 Q5316185 Q18214062 Q1131604 Q635361 Q1061846 Q1836133 Q19826685 Q1431737 Q1411192 Q19406831 Q615917 Q1431549 Q177397 Q17542 Q127958 Q973830 Q954725 Q2886483 Q854130 Q729886 Q3914124 Q2886471 Q2886476 Q10658636 Q2886449 Q59633 Q3312807 Q2886478 Q370924 Q10510856 Q1347310 Q285198
(c(Q62447),P137,c(Q43229))
action approx
action find_tuple_counts
relation P137
type Q62447
type Q43229
action count
action filter_type
action find
entity Q2672950
relation P137
type Q62447
[ANSWERS]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?i ) WHERE { ?r rdf:type ontology:Q62447 . ?a rdf:type ontology:Q43229 . ?r property:P137 ?a } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q2672950 property:P137 ?y . ?y rdf:type ontology:Q62447 } } . FILTER ( ?i = ?g ) }
Knislinge Airbase Cork Airport RAAF Base Amberley Palma de Mallorca Airport San Pablo Airport Alderney Airport Abruzzo Airport Kokkola-Pietarsaari Airport Bantayan Airport Aavahelukka Airfield Berry Airfield Oslo Airport, Fornebu Isle of Man Airport Portland International Airport Adisucipto International Airport Tenerife South Airport Mikkeli Airport Stockholm Bromma Airport Burgas Airport Aguenar–Hadj Bey Akhamok Airport Luxeuil Air Base Évreux-Fauville Air Base Reims-Champagne Air Base Geneva International Airport Halli Airport Eastern Sierra Regional Airport Kalajoki Airfield Kemi-Tornio Airport Strängnäs-Malmby Airbase Monastir Habib Bourguiba International Airport Jokkmokk Airbase Byholma Airbase Farila Airbase Chabua Air Force Station Detroit Metropolitan Wayne County Airport AFB Makhado Nouméa Air Base Honolulu International Airport Moholm Airbase Sembawang Air Base Mariehamn Airport Eneryda Airbase Trivandrum International Airport Greater Natal International Airport Faro Airport Raja Bhoj Airport Kuopio Airport Djibouti Air Base Hasslösa Airbase Saint Helena Airport Rovaniemi Airport Kubbe Airbase Gothenburg City Airport Fällfors Airbase Enontekiö Airport Nancy-Essey Air Base Vardø Airport, Svartnes Van Nuys Airport Abu al-Duhur Military Airbase Helsinki Airport Alicante Airport Gran Canaria Airport Incirlik Air Base Toulouse-Francazal Air Base Boryspil International Airport Lakselv Airport, Banak Dabolim Airport Ahmosuo Airfield Raadi Airfield RAF Brize Norton Santos Dumont Airport Djerba–Zarzis International Airport Pori Airport RAF Syerston Pajala Airport Port Columbus International Airport Avord Air Base Kuusamo Airport Butzweilerhof Tenerife North Airport Bundaberg Airport Ylivieska Airfield Dr. Luis María Argaña International Airport Vidsel Air Base Yarrawonga Airport Rochefort Air Base Kosta Airbase Cayenne Air Base Orléans Air Base Coimbatore Airport Ivalo Airport Tours Air Base Ambérieu-en-Bugey Air Base Adnan Menderes Airport Sodankylä Airfield Luleå Airport Shek Kong Airfield Lubbock Preston Smith International Airport Helsinki-Malmi Airport Varkaus Airport Dombarovsky Málaga Airport Kiruna Airport Guernsey Airport Bob Hope Airport RAF Wyton Nashville International Airport William P. Hobby Airport Faisalabad International Airport Wards Airfield Paya Lebar Air Base Tunis–Carthage International Airport Ben Guerir Air Base Pudasjärvi Airfield Soewondo Air Force Base Tribhuvan International Airport Ämari Air Base Airbase 90 Åmsele Airbase Tainan Airport Salon-de-Provence Air Base Lappeenranta Airport Baranovichi Airbase Bilbao Airport Ngerengere Air Force Base Bodø Airport Malmen Airbase Juanda International Airport Vaasa Airport Oslo Airport Houari Boumediene Airport Newark Liberty International Airport Washington Dulles International Airport Tampere-Pirkkala Airport Aix-Les-Milles Air Base Marrakesh Menara Airport Fort Lamy Air Base Schwimmer Airfield Atlantic City International Airport Lokpriya Gopinath Bordoloi International Airport Hallviken Airport Falcone–Borsellino Airport Bellingham International Airport Hagshult Airbase Pune Airport Shannon Airport Göviken Heliport Kymi Airfield Anápolis Airbase Chennai International Airport Gilgit Airport Smolensk North Airport Heden Airbase Agadir–Al Massira Airport Dublin Airport Jorge Chávez International Airport General Mitchell International Airport Châteauroux Air Base Thule Air Base Lyon-Bron Air Base Tours Air Base Tengah Air Base Turku Airport Jyväskylä Airport RAAF Base Townsville King Abdulaziz International Airport Joint Base Langley–Eustis Sultan Hasanuddin International Airport LaGuardia Airport Jizan Regional Airport Esenboğa International Airport Bagram Airfield Minneapolis–Saint Paul Joint Air Reserve Station Pittsburgh International Airport Manises Airport Tromsø Airport Kumlinge Airfield Sultan Aji Muhammad Sulaiman Airport Uråsa Airbase Björka proving grounds Kalixfors Airbase Tierp Airbase Altamira Airport Orly Airport Narsarsuaq Air Base Fuerteventura Airport Vadsø Airport Metz-Nancy-Lorraine Airport Kajaani Airport Hässleholm Airfield Eskilstuna Airport Gimhae International Airport Naval Air Station Jacksonville Pathankot AB Airport Rogers Airfield Björkvik Airbase Paris–Le Bourget Airport Lanzarote Airport Balalae Airport Kauhava Airfield Durand Airfield Romilly Air Base Oulu Airport Fort Lauderdale–Hollywood International Airport Ngurah Rai International Airport Changi Air Base Lille-Wambrechies Air Base Kirkenes Airport, Høybuktmoen Julius Nyerere International Airport Niamey Air Base Gällivare Airport Ibiza Airport Area 51 Dubbo City Airport Thessaloniki International Airport Cazaux Air Base Savonlinna Airport La Réunion Air Detachment Cape Town International Airport Trondheim Airport Hailuoto Airfield Istres Air Base Solenzara Air Base Råda Airbase Creil Air Base Svalbard Airport São José dos Campos Airport Nancy Air Base Joensuu Airport Gunnarn Airbase Kittilä Airport RAF Lakenheath
Malmen Airbase Lappeenranta Airport Jyväskylä Airport
action approx
action find_tuple_counts
relation operator
type aerodrome
type organization
action count
action filter_type
action find
entity Jizan Regional Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?i ) WHERE { ?r rdf:type ontology:aerodrome . ?a rdf:type ontology:organization . ?r property:operator ?a } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Jizan_Regional_Airport property:operator ?y . ?y rdf:type ontology:aerodrome } } . FILTER ( ?i = ?g ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P113
Q62447 Q1269299
USER
Which aerodromes act as a hub for more number of business organizations than that aerodrome ?
(c(Q1269299),P113,c(Q62447))
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ?y WHERE { ?z property:Q4811588 ?y . ?z rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q62447 }
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ?y WHERE { ?z property:airline_hub ?y . ?z rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:aerodrome }
[]
aerodrome type of business entity
Comparative|More/Less|Single entity type|Clarification
Q6744357
SYSTEM
Did you mean Malmen Airbase ?
(c(Q1269299),P113,c(Q62447))
[ANSWER]
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ?y WHERE { ?z property:Q4811588 ?y . ?z rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q62447 }
Did you mean Malmen Airbase ?
Malmen Airbase
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ?y WHERE { ?z property:airline_hub ?y . ?z rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:aerodrome }
[]
Comparative Reasoning (All)
USER
No, I meant Lappeenranta Airport. Could you tell me the answer for that?
(c(Q1269299),P113,c(Q62447))
Q254039
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
[]
Q8694 Q178021
SYSTEM
Manchester Airport, Dublin Airport
Q8694 Q178021
(c(Q1269299),P113,c(Q62447))
[ANSWERS] act as a hub for more number of business organizations than that aerodrome
[{'concept': 'Q1269299'}, 'P113', {'concept': 'Q62447'}]
SELECT DISTINCT ?y WHERE { ?z property:Q4811588 ?y . ?z rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q62447 }
Manchester Airport Dublin Airport
Manchester Airport and Dublin Airport act as a hub for more number of business organizations than that aerodrome
Manchester Airport Dublin Airport
[{'concept': 'type of business entity'}, 'airline hub', {'concept': 'aerodrome'}]
SELECT DISTINCT ?y WHERE { ?z property:airline_hub ?y . ?z rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P1376
Q3024240
USER
Which former country has Rome as its capital ?
(Q220,P1376,c(Q3024240))
action filter_type
action find
entity Q220
relation P1376
type Q3024240
['Q220', 'P1376', {'concept': 'Q3024240'}]
SELECT DISTINCT ?t WHERE { resource:Q220 property:P1376 ?t . ?t rdf:type ontology:Q3024240 }
Rome
action filter_type
action find
entity Rome
relation capital of
type former country
['Rome', 'capital of', {'concept': 'former country'}]
SELECT DISTINCT ?t WHERE { resource:Rome property:capital_of ?t . ?t rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q220,P1376,c(Q3024240))
action filter_type
action find
entity Q220
relation P1376
type Q3024240
[ANSWER] has Rome as its capital
['Q220', 'P1376', {'concept': 'Q3024240'}]
SELECT DISTINCT ?t WHERE { resource:Q220 property:P1376 ?t . ?t rdf:type ontology:Q3024240 }
Roman Empire
Roman Empire has Rome as its capital
Roman Empire
action filter_type
action find
entity Rome
relation capital of
type former country
['Rome', 'capital of', {'concept': 'former country'}]
SELECT DISTINCT ?t WHERE { resource:Rome property:capital_of ?t . ?t rdf:type ontology:former_country }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q220
Q15617994
USER
And which administrative territory?
(Q220,P1376,c(Q15617994))
action filter_type
action find
entity Q220
relation P1376
type Q15617994
['Q220', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q220 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
Rome
action filter_type
action find
entity Rome
relation capital of
type designation for an administrative territorial entity
['Rome', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Rome property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q1282 Q1558632
SYSTEM
Italy, Lazio, Rome
Q1282 Q1558632 Q3528124 Q38
(Q220,P1376,c(Q15617994))
action filter_type
action find
entity Q220
relation P1376
type Q15617994
[ANSWERS]
['Q220', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q220 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
Lazio Rome Tibre Italy
Italy Lazio Rome
action filter_type
action find
entity Rome
relation capital of
type designation for an administrative territorial entity
['Rome', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Rome property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q79
P180
Q15617994 Q2342494 Q3305213
USER
How many administrative territories are depicted in less number of collectables or paintings than Egypt ?
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q79
relation P180
type Q2342494
type Q3305213
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?n rdf:type ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P180 resource:Q79 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q3305213 } } } } . FILTER ( ?a < ?z ) }
Egypt
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Egypt
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:painting ) ( ontology:collectable ) } . ?n rdf:type ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:depicts resource:Egypt . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:painting } } } } . FILTER ( ?a < ?z ) }
[]
designation for an administrative territorial entity collectable painting
SYSTEM
80
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q1016 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q79
relation P180
type Q2342494
type Q3305213
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:Q3305213 ) ( ontology:Q2342494 ) } . ?n rdf:type ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P180 resource:Q79 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q3305213 } } } } . FILTER ( ?a < ?z ) }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Libya Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
80
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Egypt
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?a ) WHERE { VALUES ( ?j ) { ( ontology:painting ) ( ontology:collectable ) } . ?n rdf:type ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:depicts resource:Egypt . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:painting } } } } . FILTER ( ?a < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1011
P180
Q15617994 Q2342494 Q3305213
USER
And also tell me about Cape Verde?
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1011
relation P180
type Q2342494
type Q3305213
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P180 resource:Q1011 . { { ?y rdf:type ontology:Q2342494 } UNION { ?y rdf:type ontology:Q3305213 } } } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P180 ?q . ?l rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q3305213 . ?l property:P180 ?q } } GROUP BY ?q } }
Cape Verde
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Cape Verde
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:depicts resource:Cape_Verde . { { ?y rdf:type ontology:collectable } UNION { ?y rdf:type ontology:painting } } } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:depicts ?q . ?l rdf:type ontology:collectable . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:painting . ?l property:depicts ?q } } GROUP BY ?q } }
[]
designation for an administrative territorial entity collectable painting
SYSTEM
80
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q1016 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1011
relation P180
type Q2342494
type Q3305213
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P180 resource:Q1011 . { { ?y rdf:type ontology:Q2342494 } UNION { ?y rdf:type ontology:Q3305213 } } } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P180 ?q . ?l rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q3305213 . ?l property:P180 ?q } } GROUP BY ?q } }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Libya Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
80
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action count
action filter_multi_types
action find_reverse
entity Cape Verde
relation depicts
type collectable
type painting
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:depicts resource:Cape_Verde . { { ?y rdf:type ontology:collectable } UNION { ?y rdf:type ontology:painting } } } } . FILTER ( ?k < ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:depicts ?q . ?l rdf:type ontology:collectable . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:painting . ?l property:depicts ?q } } GROUP BY ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q6671777 Q9332 Q62447
USER
Which aerodromes mainly plays the role of a max number of structures or behaviors ?
(c(Q62447),P366,c(Q6671777)|c(Q9332))
action argmax
action union
action find_tuple_counts
relation P366
type Q62447
type Q6671777
action find_tuple_counts
relation P366
type Q62447
type Q9332
[{'concept': 'Q62447'}, 'P366', [{'concept': 'Q6671777'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:Q6671777 ) ( ontology:Q9332 ) } . ?u rdf:type ?v } GROUP BY ?q } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?j ) { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { { ?h property:P366 ?t . ?h rdf:type ontology:Q62447 . ?t rdf:type ontology:Q9332 } UNION { ?h property:P366 ?t . ?h rdf:type ontology:Q62447 . ?t rdf:type ontology:Q6671777 } } GROUP BY ?h } } }
action argmax
action union
action find_tuple_counts
relation use
type aerodrome
type structure
action find_tuple_counts
relation use
type aerodrome
type behavior
[{'concept': 'aerodrome'}, 'use', [{'concept': 'structure'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:structure ) ( ontology:behavior ) } . ?u rdf:type ?v } GROUP BY ?q } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?j ) { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { { ?h property:use ?t . ?h rdf:type ontology:aerodrome . ?t rdf:type ontology:behavior } UNION { ?h property:use ?t . ?h rdf:type ontology:aerodrome . ?t rdf:type ontology:structure } } GROUP BY ?h } } }
[]
structure behavior aerodrome
Q2721107 Q738719 Q1431257
SYSTEM
Tambacounda Airport, Paris–Le Bourget Airport, Enrique Olaya Herrera Airport
Q2721107 Q738719 Q1431257
(c(Q62447),P366,c(Q6671777)|c(Q9332))
action argmax
action union
action find_tuple_counts
relation P366
type Q62447
type Q6671777
action find_tuple_counts
relation P366
type Q62447
type Q9332
[ANSWERS] mainly play the role of a max number of structures or behaviors
[{'concept': 'Q62447'}, 'P366', [{'concept': 'Q6671777'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:Q6671777 ) ( ontology:Q9332 ) } . ?u rdf:type ?v } GROUP BY ?q } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?j ) { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { { ?h property:P366 ?t . ?h rdf:type ontology:Q62447 . ?t rdf:type ontology:Q9332 } UNION { ?h property:P366 ?t . ?h rdf:type ontology:Q62447 . ?t rdf:type ontology:Q6671777 } } GROUP BY ?h } } }
Tambacounda Airport Paris–Le Bourget Airport Enrique Olaya Herrera Airport
Tambacounda Airport, Paris–Le Bourget Airport and Enrique Olaya Herrera Airport mainly play the role of a max number of structures or behaviors
Tambacounda Airport Paris–Le Bourget Airport Enrique Olaya Herrera Airport
action argmax
action union
action find_tuple_counts
relation use
type aerodrome
type structure
action find_tuple_counts
relation use
type aerodrome
type behavior
[{'concept': 'aerodrome'}, 'use', [{'concept': 'structure'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:structure ) ( ontology:behavior ) } . ?u rdf:type ?v } GROUP BY ?q } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ( MAX ( ?n ) AS ?j ) { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?n ) WHERE { { ?h property:use ?t . ?h rdf:type ontology:aerodrome . ?t rdf:type ontology:behavior } UNION { ?h property:use ?t . ?h rdf:type ontology:aerodrome . ?t rdf:type ontology:structure } } GROUP BY ?h } } }
[]