Simple Question (Direct)
Simple Question
Q12879719
P172
Q2472587
USER
Which people does Konstantinos Triantafyllopoulos have as ethnic origin ?
(Q12879719,P172,c(Q2472587))
action filter_type
action find
entity Q12879719
relation P172
type Q2472587
['Q12879719', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q12879719 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Konstantinos Triantafyllopoulos
action filter_type
action find
entity Konstantinos Triantafyllopoulos
relation ethnic group
type people
['Konstantinos Triantafyllopoulos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Konstantinos_Triantafyllopoulos property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q12879719,P172,c(Q2472587))
action filter_type
action find
entity Q12879719
relation P172
type Q2472587
[ANSWER] Konstantinos Triantafyllopoulos has as ethnic origin
['Q12879719', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q12879719 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Greeks
Greeks Konstantinos Triantafyllopoulos has as ethnic origin
Greeks
action filter_type
action find
entity Konstantinos Triantafyllopoulos
relation ethnic group
type people
['Konstantinos Triantafyllopoulos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Konstantinos_Triantafyllopoulos property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12879719
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q539051)
action filter_type
action find_reverse
entity Q12879719
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q539051']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q12879719 . ?f rdf:type ontology:Q502895 }
Konstantinos Triantafyllopoulos
action filter_type
action find_reverse
entity Konstantinos Triantafyllopoulos
relation father
type common name
[{'concept': 'common name'}, 'father', 'Greeks']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Konstantinos_Triantafyllopoulos . ?f rdf:type ontology:common_name }
[]
common name
Q12878409
SYSTEM
Ioannis Triantafyllopoulos
Q12878409
(c(Q502895),P22,Q539051)
action filter_type
action find_reverse
entity Q12879719
relation P22
type Q502895
The offspring of that one is Prince [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q539051']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q12879719 . ?f rdf:type ontology:Q502895 }
Ioannis Triantafyllopoulos
The offspring of that one is Prince Ioannis Triantafyllopoulos
Ioannis Triantafyllopoulos
action filter_type
action find_reverse
entity Konstantinos Triantafyllopoulos
relation father
type common name
[{'concept': 'common name'}, 'father', 'Greeks']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Konstantinos_Triantafyllopoulos . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q234460 Q15416 Q502895
USER
Which people are featured in min number of texts or television programs ?
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action argmin
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } . ?p rdf:type ?y } GROUP BY ?x } } . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } } GROUP BY ?a } . FILTER ( ?r = ?m ) }
action argmin
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:text ) ( ontology:television_program ) } . ?p rdf:type ?y } GROUP BY ?x } } . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:text ) ( ontology:television_program ) } } GROUP BY ?a } . FILTER ( ?r = ?m ) }
[]
text television program common name
Q17457 Q110436 Q270438
SYSTEM
Donald Knuth, Cory Doctorow, Charles of Valois
Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q4430779 Q249381 Q232525 Q240258 Q24579400 Q7307192 Q131195 Q2426699 Q24624067 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q2451581 Q2046277 Q715713 Q24577230 Q494455 Q673959 Q185801 Q6239779 Q34428 Q2033697 Q24622402 Q20656752 Q311556 Q294192 Q19975705 Q560559 Q25885222 Q1867479 Q134646 Q879668 Q2170784 Q181538 Q24623408 Q8413 Q2600794 Q2282686 Q459606 Q437417 Q3778878 Q3774081 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q2124082 Q24625686 Q2137929 Q315276 Q3148218 Q24577318 Q515828 Q24625326 Q25858050 Q26858752 Q923021 Q24633210 Q715547 Q3745274 Q3867479 Q1446 Q1641601 Q19348839 Q2073479 Q2723049 Q1093885 Q1346246 Q2578955 Q3010053 Q1851709 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q1377025 Q2276030 Q270438 Q2711883 Q886399 Q1341779 Q326585 Q972487 Q313395 Q2304442 Q8581 Q2651263 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q24633126 Q1091513 Q3658171 Q2601106 Q4804479 Q26721185 Q2292243 Q2448083 Q633681 Q24623790 Q2296791 Q200947 Q24083251 Q1947936 Q211396 Q25923184 Q2075711 Q312311 Q2361344 Q3275910 Q169329 Q2477603 Q110436 Q23906252 Q2519772 Q879088 Q302322 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q26858995 Q2487300 Q283466 Q9441 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q26858919 Q2047062 Q1227361
(c(Q502895),P1441,c(Q234460)|c(Q15416))
action argmin
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q15416
[ANSWERS] are featured in min number of texts or television programs
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } . ?p rdf:type ?y } GROUP BY ?x } } . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } } GROUP BY ?a } . FILTER ( ?r = ?m ) }
Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Immanuel Markandeya Theodelinda Olof Björnsson Jebidiah Farnsworth Refil Constantius Chlorus Dyfnwal Moelmud Bea Hansen Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Cordelia of Britain Parikshit Salvatore Maranzano Harriet Mutesi Orville Wright Leil Mikhail Kutuzov John Hooper Philip Sisillius I Frank Fauteux Bernard C. Webber Allectus Guy of Lusignan Daniel Webster Cluff Constans II James Harcourt Jago of Britain Boniface VIII Björn Ironside Anund Uppsale Rudolf Abel Eldon Hanan Constantine the Great Erik Björnsson Locrinus Ambrosius Aurelianus Cunobeline Guglielmo Borsiere Gracianus Municeps Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Gurgustius Agilulf Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Helen Kingsleigh Sarah Katende Gorboduc George "Tiny" Myers Mandubracius Filippo Minutolo Musciatto Franzesi Caracalla Tattenai Salammbô Shaunaka Mayasura Hathi Johnny Ringo Porrex I Céleste de Chateaubriand Rud Hud Hudibras Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Bharata Archmail Charles of Valois Gurguit Barbtruc Maelgwn Gwynedd Kai Lohrasp Vortigern Buonamico Buffalmacco Authari Coel Hen Saladin Trahern Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Donald Bangs Son of Gorbonianus Phiona Mutesi Rukmi Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Björn Eriksson D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Beldgabred Magnus Maximus Elizabeth Ham Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Conrad of Montferrat Vaisampayana Cory Doctorow Caf' Francisco Sawyl Penuchel Björn at Haugi Calandrino Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Aloysius Kyazze Cunedda Roger of Lauria Gautama Buddha Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Hope Katende Marius of Britain John of Procida
Donald Knuth, Cory Doctorow and Charles of Valois are featured in min number of texts or television programs
Donald Knuth Cory Doctorow Charles of Valois
action argmin
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type television program
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'television program'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:text ) ( ontology:television_program ) } . ?p rdf:type ?y } GROUP BY ?x } } . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?r ) WHERE { ?q rdf:type ?i . VALUES ( ?i ) { ( ontology:text ) ( ontology:television_program ) } } GROUP BY ?a } . FILTER ( ?r = ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4023258 Q17457
P27
Q15617994
USER
Which administrative territories do Donald Knuth or Yuri Ichii belong to ?
OR((Q17457,P27,c(Q15617994)), (Q4023258,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17457
relation P27
action find
entity Q4023258
relation P27
type Q15617994
{'OR': [['Q17457', 'P27', {'concept': 'Q15617994'}], ['Q4023258', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?u property:P27 ?m . VALUES ( ?u ) { ( resource:Q17457 ) ( resource:Q4023258 ) } } . ?m rdf:type ontology:Q15617994 }
Yuri Ichii Donald Knuth
action filter_type
action union
action find
entity Donald Knuth
relation country of citizenship
action find
entity Yuri Ichii
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Donald Knuth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yuri Ichii', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?u property:country_of_citizenship ?m . VALUES ( ?u ) { ( resource:Donald_Knuth ) ( resource:Yuri_Ichii ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q30
SYSTEM
Japan, United States of America
Q17 Q30
OR((Q17457,P27,c(Q15617994)), (Q4023258,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17457
relation P27
action find
entity Q4023258
relation P27
type Q15617994
Donald Knuth or Yuri Ichii belong to the [ANSWERS]
{'OR': [['Q17457', 'P27', {'concept': 'Q15617994'}], ['Q4023258', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { ?u property:P27 ?m . VALUES ( ?u ) { ( resource:Q17457 ) ( resource:Q4023258 ) } } . ?m rdf:type ontology:Q15617994 }
Japan United States of America
Donald Knuth or Yuri Ichii belong to the Japan and United States of America
Japan United States of America
action filter_type
action union
action find
entity Donald Knuth
relation country of citizenship
action find
entity Yuri Ichii
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Donald Knuth', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yuri Ichii', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?u property:country_of_citizenship ?m . VALUES ( ?u ) { ( resource:Donald_Knuth ) ( resource:Yuri_Ichii ) } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q15416
USER
Which administrative territories are the origins of lesser number of literary works or television programs than that administrative territory ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity literary work television program
Comparative|More/Less|Mult. entity type|Clarification
Q17
SYSTEM
Did you mean Japan ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean Japan ?
Japan
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
Q30
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[ANSWERS] are the origins of lesser number of literary works or television programs than that administrative territory
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of lesser number of literary works or television programs than that administrative territory
Italy Brazil Georgia
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12576
P1376
Q15617994 Q20667921 Q515
USER
How many administrative territories have around the same number of french administrative divisions and cities as their capital as Lot ?
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q12576
relation P1376
type Q20667921
type Q515
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } } . ?y property:P1376 resource:Q12576 } } . FILTER ( ?o = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?r ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?m rdf:type ?r } GROUP BY ?f } }
Lot
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Lot
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } } . ?y property:capital_of resource:Lot } } . FILTER ( ?o = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?r ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?m rdf:type ?r } GROUP BY ?f } }
[]
designation for an administrative territorial entity type of french administrative division city
SYSTEM
143
Q12631 Q414 Q3368 Q3044731 Q399 Q258 Q155 Q12689 Q3377 Q3372 Q3093 Q2528268 Q12594 Q736 Q12574 Q12792 Q843 Q2007 Q12700 Q12709 Q1050 Q298 Q115 Q114 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q696651 Q3286 Q948 Q3266 Q3105 Q639100 Q33788 Q702 Q12740 Q12745 Q12779 Q833 Q12607 Q790 Q796 Q794 Q889 Q884 Q881 Q2281221 Q12694 Q12515 Q12517 Q3364 Q541095 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q1037 Q1033 Q1030 Q750 Q12736 Q12657 Q12652 Q30831 Q12556 Q878 Q46130 Q3044714 Q12816 Q1951 Q3353 Q3357 Q3184 Q711 Q717 Q2900529 Q1999970 Q155019 Q107426 Q1948 Q12661 Q27 Q225 Q222 Q47261 Q1270623 Q228 Q963 Q3125 Q3120 Q1008 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q72670 Q12563 Q426025 Q568751 Q2150573 Q12536 Q3342 Q842 Q3349 Q3083 Q3249 Q12761 Q12765 Q4712 Q924 Q928 Q851 Q12717 Q3334 Q12572 Q12576 Q12578 Q347 Q3462133 Q12679 Q17 Q3207 Q212 Q211 Q218 Q974 Q3113 Q1019 Q1011 Q12758 Q12753 Q12751 Q12564
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q12576
relation P1376
type Q20667921
type Q515
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } } . ?y property:P1376 resource:Q12576 } } . FILTER ( ?o = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?r ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?m rdf:type ?r } GROUP BY ?f } }
Meuse Argentina Essonne Guyane Armenia South Africa Brazil Pas-de-Calais Eure-et-Loir Eure Aisne Mont-Blanc Marne Ecuador Loiret Vaucluse Pakistan Northwest Territories Hautes-Pyrénées Pyrénées-Orientales Swaziland Chile Ethiopia Kenya Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Saxe-Eisenach Cher Tunisia Charente Vosges Principality of Reuss-Gera New Caledonia Federated States of Micronesia Sarthe Savoie Tarn-et-Garonne Malaysia Haute-Marne Haiti Iraq Iran Afghanistan South Korea Vietnam Principality of Orange Puy-de-Dôme Gard Gers Drôme Rhin-et-Moselle Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Rwanda Nigeria Namibia Bolivia Saône-et-Loire Nièvre Moselle Red Sea Governorate Indre-et-Loire United Arab Emirates Rhône Ouest Yonne Alberta Creuse Dordogne Ariège Mongolia Venezuela Bezirk Lothringen Upper Alsace Duchy of Lorraine Anjou Manitoba Nord Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Meurthe Andorra Botswana Hautes-Alpes Jura Côte d'Ivoire Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Batumi Oblast Landes Duchy of Savoy Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Côtes-d'Armor Ain Calvados Seine-Saint-Denis Deux-Sèvres Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Haute-Corse Haute-Loire Lot Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Allier Madagascar Cape Verde Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
143
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Lot
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } } . ?y property:capital_of resource:Lot } } . FILTER ( ?o = ?u ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?o ) WHERE { VALUES ( ?r ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?m rdf:type ?r } GROUP BY ?f } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q145
P1376
Q15617994 Q20667921 Q515
USER
And what about United Kingdom?
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q145
relation P1376
type Q20667921
type Q515
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P1376 resource:Q145 . { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?x rdf:type ?z } } } . FILTER ( ?y = ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?y ) WHERE { { ?e property:P1376 ?c . ?e rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q15617994 } UNION { ?e property:P1376 ?c . ?c rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q515 } } GROUP BY ?c } }
United Kingdom
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:capital_of resource:United_Kingdom . { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?x rdf:type ?z } } } . FILTER ( ?y = ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?y ) WHERE { { ?e property:capital_of ?c . ?e rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:capital_of ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:city } } GROUP BY ?c } }
[]
designation for an administrative territorial entity type of french administrative division city
SYSTEM
373
Q805 Q804 Q801 Q800 Q1098820 Q419 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q398 Q1465069 Q1324549 Q1979 Q159 Q1664120 Q12526 Q1974 Q2527360 Q699731 Q611074 Q2007299 Q1254171 Q220249 Q979470 Q1270648 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q1280 Q1282 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q815731 Q31074 Q31075 Q96 Q311803 Q29937 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q34020 Q541589 Q760 Q14762300 Q3528124 Q2719360 Q1243 Q945 Q731547 Q855327 Q328134 Q1237 Q701 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q1090684 Q1263830 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q290739 Q45 Q43 Q41 Q792 Q1232680 Q1452646 Q231168 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1101 Q1206596 Q3139 Q686312 Q902 Q1036 Q1032 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q2562901 Q31068 Q31067 Q31065 Q1270568 Q1773268 Q30835 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q3044651 Q3044715 Q176 Q30682 Q30683 Q2091235 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3044781 Q239502 Q712 Q710 Q3044777 Q12770 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q1508927 Q511365 Q654849 Q2038939 Q311794 Q20 Q28 Q1366860 Q148 Q598193 Q227 Q30650 Q223 Q221 Q311668 Q229 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q2921370 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q2380910 Q1438 Q686 Q30832 Q891165 Q817 Q810 Q811 Q813 Q18046648 Q819 Q29 Q617646 Q12545 Q2309262 Q863 Q2023 Q869 Q334714 Q15116736 Q142 Q685048 Q29943 Q145 Q262 Q474421 Q2009 Q12820 Q265 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2003 Q2662372 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q770 Q1856181 Q1077283 Q921 Q929 Q858 Q423 Q424 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q30797 Q1904 Q30815 Q153402 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q213 Q217 Q214 Q215 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q971 Q970 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q773 Q772 Q1014 Q1016 Q1013 Q678 Q8575586 Q672 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q145
relation P1376
type Q20667921
type Q515
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P1376 resource:Q145 . { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?x rdf:type ?z } } } . FILTER ( ?y = ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?y ) WHERE { { ?e property:P1376 ?c . ?e rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q15617994 } UNION { ?e property:P1376 ?c . ?c rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q515 } } GROUP BY ?c } }
Yemen Panama Israel Costa Rica Gênes Peru Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Bahrain Frise Uthukela District Municipality Prince Edward Island Russia Alfred Nzo District Municipality Gironde British Columbia Stura Wied Mopani District Municipality OR Tambo District Municipality Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Umbria Lazio Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Umgungundlovu District Municipality Aswan Governorate Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Niue Ems-Supérieur Saint Lucia single-tier municipality Tibre Duchy of Luxembourg Veneto Togo Lippe Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Montserrat Frances Baard District Municipality Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Sesia Portugal Turkey Greece El Salvador Ithaque Montenotte Zuyderzée Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands North Brabant Deux-Nèthes Alpes-Maritimes Duchy of Amalfi Bangladesh Uganda Niger Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen West Coast District Municipality Dakahlia Governorate Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Gharbia Governorate East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad Louverture Ozama Quebec Matrouh Governorate Beni Suef Governorate Ugu District Municipality Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Sud Kingdom of Galicia–Volhynia Fiji Kiribati Nord Somme Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Cape Winelands District Municipality Duchy of Prussia Izabal Department Méditerranée Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Norway Hungary Escaut People's Republic of China Apennins Azerbaijan New Valley Governorate Greenland Republic of Macedonia UThungulu District Municipality Cyprus Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Duchy of Zaslawye Campania Vanuatu Giza Governorate Bojanala Platinum District Municipality Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Spain Namakwa District Municipality Hérault Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Athens Jaén District France Simplon Alexandria Governorate United Kingdom Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Newfoundland and Labrador Principality of Minsk Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Central African Republic Syria North Korea Cambodia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Luxor Governorate Ontario South Sinai Governorate Roer Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Czech Republic Republic of Moldova Slovakia Slovenia Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Overijssel Drenthe Liberia Libya Lesotho Tonga Umayyad Caliphate Tuvalu Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
373
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:capital_of resource:United_Kingdom . { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?x rdf:type ?z } } } . FILTER ( ?y = ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?y ) WHERE { { ?e property:capital_of ?c . ?e rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:capital_of ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:city } } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P163
Q14660
USER
What is the name of flag associated with Brazil ?
(Q155,P163,c(Q14660))
action filter_type
action find
entity Q155
relation P163
type Q14660
['Q155', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { resource:Q155 property:P163 ?n . ?n rdf:type ontology:Q14660 }
Brazil
action filter_type
action find
entity Brazil
relation flag
type flag
['Brazil', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { resource:Brazil property:flag ?n . ?n rdf:type ontology:flag }
[]
flag
Q82194
SYSTEM
flag of Brazil
Q82194
(Q155,P163,c(Q14660))
action filter_type
action find
entity Q155
relation P163
type Q14660
The name of flag associated with Brazil is the [ANSWER]
['Q155', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { resource:Q155 property:P163 ?n . ?n rdf:type ontology:Q14660 }
flag of Brazil
The name of flag associated with Brazil is the flag of Brazil
flag of Brazil
action filter_type
action find
entity Brazil
relation flag
type flag
['Brazil', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { resource:Brazil property:flag ?n . ?n rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q82194,P30,c(Q2221906))
action filter_type
action find
entity Q155
relation P30
type Q2221906
['Q82194', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q155 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Brazil
action filter_type
action find
entity Brazil
relation continent
type geographic location
['flag of Brazil', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Brazil property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q18
SYSTEM
South America
Q18
(Q82194,P30,c(Q2221906))
action filter_type
action find
entity Q155
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q82194', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q155 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
South America
That administrative territory is situated in South America
South America
action filter_type
action find
entity Brazil
relation continent
type geographic location
['flag of Brazil', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Brazil property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q489533
P706
Q82794 Q2221906
USER
How many geographic regions are around the same number of geographic locations located on as Binn valley ?
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action count
action filter_type
action find
entity Q489533
relation P706
type Q82794
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q489533 property:P706 ?x . ?x rdf:type ontology:Q82794 } } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P706 ?b . ?b rdf:type ontology:Q82794 . ?n rdf:type ontology:Q2221906 } GROUP BY ?b } }
Binn valley
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action count
action filter_type
action find
entity Binn valley
relation located on terrain feature
type geographic region
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Binn_valley property:located_on_terrain_feature ?x . ?x rdf:type ontology:geographic_region } } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_region . ?n rdf:type ontology:geographic_location } GROUP BY ?b } }
[]
geographic region geographic location
SYSTEM
117
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q192273 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q690127 Q207388 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q1935344 Q1471257 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action count
action filter_type
action find
entity Q489533
relation P706
type Q82794
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q489533 property:P706 ?x . ?x rdf:type ontology:Q82794 } } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P706 ?b . ?b rdf:type ontology:Q82794 . ?n rdf:type ontology:Q2221906 } GROUP BY ?b } }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Karelia Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Val Müstair Siebenmühlental Bessarabia Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
117
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action count
action filter_type
action find
entity Binn valley
relation located on terrain feature
type geographic region
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Binn_valley property:located_on_terrain_feature ?x . ?x rdf:type ontology:geographic_region } } . FILTER ( ?q = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_region . ?n rdf:type ontology:geographic_location } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1138800
P706
Q82794 Q2221906
USER
And how about Pelagonia?
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action count
action filter_type
action find
entity Q1138800
relation P706
type Q82794
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P706 ?r . ?r rdf:type ontology:Q82794 . ?q rdf:type ontology:Q2221906 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1138800 property:P706 ?o . ?o rdf:type ontology:Q82794 } } . FILTER ( ?l = ?e ) }
Pelagonia
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action count
action filter_type
action find
entity Pelagonia
relation located on terrain feature
type geographic region
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:located_on_terrain_feature ?r . ?r rdf:type ontology:geographic_region . ?q rdf:type ontology:geographic_location } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Pelagonia property:located_on_terrain_feature ?o . ?o rdf:type ontology:geographic_region } } . FILTER ( ?l = ?e ) }
[]
geographic region geographic location
SYSTEM
117
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q192273 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q690127 Q207388 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q1935344 Q1471257 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q2221906),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action count
action filter_type
action find
entity Q1138800
relation P706
type Q82794
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P706 ?r . ?r rdf:type ontology:Q82794 . ?q rdf:type ontology:Q2221906 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1138800 property:P706 ?o . ?o rdf:type ontology:Q82794 } } . FILTER ( ?l = ?e ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Karelia Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Val Müstair Siebenmühlental Bessarabia Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
117
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action count
action filter_type
action find
entity Pelagonia
relation located on terrain feature
type geographic region
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:located_on_terrain_feature ?r . ?r rdf:type ontology:geographic_region . ?q rdf:type ontology:geographic_location } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Pelagonia property:located_on_terrain_feature ?o . ?o rdf:type ontology:geographic_region } } . FILTER ( ?l = ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q2221906 Q34442
USER
Which roads are located in around 1 geographic location ?
(c(Q34442),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q34442
type Q2221906
value 1
[{'concept': 'Q34442'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { ?e rdf:type ontology:Q34442 . ?n rdf:type ontology:Q2221906 . ?e property:P706 ?n } GROUP BY ?e } . FILTER ( ?o = 1 ) }
action approx
action find_tuple_counts
relation located on terrain feature
type road
type geographic location
value 1
[{'concept': 'road'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { ?e rdf:type ontology:road . ?n rdf:type ontology:geographic_location . ?e property:located_on_terrain_feature ?n } GROUP BY ?e } . FILTER ( ?o = 1 ) }
[]
geographic location road
Q2079851 Q1817015 Q2301854
SYSTEM
N61 motorway, N239 road, N242 road
Q2301854 Q1817015 Q2209418 Q2079851 Q3124626
(c(Q34442),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q34442
type Q2221906
value 1
[ANSWERS] are located in around 1 geographic location
[{'concept': 'Q34442'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { ?e rdf:type ontology:Q34442 . ?n rdf:type ontology:Q2221906 . ?e property:P706 ?n } GROUP BY ?e } . FILTER ( ?o = 1 ) }
N242 road N239 road N241 road N61 motorway N258 road
N61 motorway, N239 road and N242 road are located in around 1 geographic location
N61 motorway N239 road N242 road
action approx
action find_tuple_counts
relation located on terrain feature
type road
type geographic location
value 1
[{'concept': 'road'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { ?e rdf:type ontology:road . ?n rdf:type ontology:geographic_location . ?e property:located_on_terrain_feature ?n } GROUP BY ?e } . FILTER ( ?o = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q34442 Q811979
USER
Which architectural structures are located on around 2 roads ?
(c(Q811979),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q811979
type Q34442
value 2
[{'concept': 'Q811979'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?o property:P669 ?r . ?o rdf:type ontology:Q811979 . ?r rdf:type ontology:Q34442 } GROUP BY ?o } . FILTER ( ?k = 2 ) }
action approx
action find_tuple_counts
relation located on street
type architectural structure
type road
value 2
[{'concept': 'architectural structure'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?o property:located_on_street ?r . ?o rdf:type ontology:architectural_structure . ?r rdf:type ontology:road } GROUP BY ?o } . FILTER ( ?k = 2 ) }
[]
road architectural structure
Q1435791 Q3076130 Q3076047
SYSTEM
fontaine des Innocents, fontaine de Charonne, fontaine Molière
Q3076001 Q5818429 Q1435791 Q263189 Q3076047 Q3076130 Q7099937 Q26703953 Q15948824 Q23010234 Q3076193 Q3076291 Q17307050 Q1622771 Q3076204 Q22667219 Q1130137 Q24021129 Q2420041 Q24022449 Q26839075 Q15712158 Q2385048 Q3076089 Q3076159 Q3076018 Q3076278 Q5166190 Q12336349 Q1659270
(c(Q811979),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q811979
type Q34442
value 2
[ANSWERS] are located on around 2 roads
[{'concept': 'Q811979'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?o property:P669 ?r . ?o rdf:type ontology:Q811979 . ?r rdf:type ontology:Q34442 } GROUP BY ?o } . FILTER ( ?k = 2 ) }
fontaine Boucherat Edificio del Ministerio de Comercio fontaine des Innocents Berlin-Hermsdorf station fontaine Molière fontaine de Charonne Oratory of Caballero de Gracia Edificio Lima fontaine de la Reine 53 rue de la Faisanderie fontaine de la Croix du Trahoir fontaine du Vert bois Rijksmuseum main building Hoechst building fontaine de la Petite-Halle Building of Academy of Sciences of the Czech Republic Rudolfinum Public Fountain fontaine Maubuée Public Fountain US Embassy in Madrid Hauptstraße 31 mire du Nord fontaine Sainte-Geneviève fontaine de Paradis fontaine Cuvier fontaine du Pot-de-Fer Convent of San Plácido Soldins Stiftelse passage du Bourg-l'Abbé
Fontaine des Innocents, fontaine de Charonne and fontaine Molière are located on around 2 roads
fontaine des Innocents fontaine de Charonne fontaine Molière
action approx
action find_tuple_counts
relation located on street
type architectural structure
type road
value 2
[{'concept': 'architectural structure'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?k ) WHERE { ?o property:located_on_street ?r . ?o rdf:type ontology:architectural_structure . ?r rdf:type ontology:road } GROUP BY ?o } . FILTER ( ?k = 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19395800 Q145
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with United Kingdom and are Giulio Bonnard a civilian of ?
AND((Q145,P530,c(Q15617994)), (Q19395800,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q19395800
relation P27
type Q15617994
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q19395800', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { resource:Q145 property:P530 ?z . resource:Q19395800 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Giulio Bonnard United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Giulio Bonnard
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Giulio Bonnard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:United_Kingdom property:diplomatic_relation ?z . resource:Giulio_Bonnard property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q145,P530,c(Q15617994)), (Q19395800,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q19395800
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with United Kingdom and are Giulio Bonnard a civilian of
{'AND': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q19395800', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { resource:Q145 property:P530 ?z . resource:Q19395800 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Italy
Italy have diplomatic relationships with United Kingdom and are Giulio Bonnard a civilian of
Italy
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Giulio Bonnard
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Giulio Bonnard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { resource:United_Kingdom property:diplomatic_relation ?z . resource:Giulio_Bonnard property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q155 Q12667056
P530
Q15617994
USER
Does that administrative territory have diplomatic associations with Brazil and Nowoselskoje ?
(Q38,P530,Q155) (Q38,P530,Q12667056)
action is_in
entity Q38
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q12667056
relation P530
['Q38', 'P530', 'Q155'] ['Q38', 'P530', 'Q12667056']
ASK WHERE { resource:Q38 property:P530 resource:Q155 . resource:Q38 property:P530 resource:Q12667056 }
Italy Brazil Nowoselskoje
action is_in
entity Italy
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Nowoselskoje
relation diplomatic relation
['Italy', 'diplomatic relation', 'Brazil'] ['Italy', 'diplomatic relation', 'Nowoselskoje']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Brazil . resource:Italy property:diplomatic_relation resource:Nowoselskoje }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q38,P530,Q155) (Q38,P530,Q12667056)
action is_in
entity Q38
action intersection
action find_reverse
entity Q155
relation P530
action find_reverse
entity Q12667056
relation P530
[ANSWER]
['Q38', 'P530', 'Q155'] ['Q38', 'P530', 'Q12667056']
ASK WHERE { resource:Q38 property:P530 resource:Q155 . resource:Q38 property:P530 resource:Q12667056 }
YES and NO respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Brazil
relation diplomatic relation
action find_reverse
entity Nowoselskoje
relation diplomatic relation
['Italy', 'diplomatic relation', 'Brazil'] ['Italy', 'diplomatic relation', 'Nowoselskoje']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Brazil . resource:Italy property:diplomatic_relation resource:Nowoselskoje }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18559397 Q12879719
P39 P106
Q12737077
USER
Which occupations were the positions for which Konstantinos Triantafyllopoulos were appointed or are the job of Badru Hafidh ?
OR((Q12879719,P39,c(Q12737077)), (Q18559397,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q12879719
relation P39
action find
entity Q18559397
relation P106
type Q12737077
{'OR': [['Q12879719', 'P39', {'concept': 'Q12737077'}], ['Q18559397', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . { { resource:Q12879719 property:P39 ?v } UNION { resource:Q18559397 property:P106 ?v } } }
Badru Hafidh Konstantinos Triantafyllopoulos
action filter_type
action union
action find
entity Konstantinos Triantafyllopoulos
relation position held
action find
entity Badru Hafidh
relation occupation
type occupation
{'OR': [['Konstantinos Triantafyllopoulos', 'position held', {'concept': 'occupation'}], ['Badru Hafidh', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . { { resource:Konstantinos_Triantafyllopoulos property:position_held ?v } UNION { resource:Badru_Hafidh property:occupation ?v } } }
[]
occupation
Q19904305 Q23772807 Q23768979 Q628099 Q19860560 Q937857
SYSTEM
MInister of the National Economy of Greece, Member of the Athens Academy, President of the Academy of Athens, association football manager, Minister of Justice of Greece, association football player
Q19904305 Q23772807 Q23768979 Q628099 Q19860560 Q937857
OR((Q12879719,P39,c(Q12737077)), (Q18559397,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q12879719
relation P39
action find
entity Q18559397
relation P106
type Q12737077
[ANSWERS] were the positions for which Konstantinos Triantafyllopoulos were appointed or are the job of Badru Hafidh
{'OR': [['Q12879719', 'P39', {'concept': 'Q12737077'}], ['Q18559397', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . { { resource:Q12879719 property:P39 ?v } UNION { resource:Q18559397 property:P106 ?v } } }
MInister of the National Economy of Greece Member of the Athens Academy President of the Academy of Athens association football manager Minister of Justice of Greece association football player
MInister of the National Economy of Greece, Member of the Athens Academy, President of the Academy of Athens, association football manager, Minister of Justice of Greece and association football player were the positions for which Konstantinos Triantafyllopoulos were appointed or are the job of Badru Hafidh
MInister of the National Economy of Greece Member of the Athens Academy President of the Academy of Athens association football manager Minister of Justice of Greece association football player
action filter_type
action union
action find
entity Konstantinos Triantafyllopoulos
relation position held
action find
entity Badru Hafidh
relation occupation
type occupation
{'OR': [['Konstantinos Triantafyllopoulos', 'position held', {'concept': 'occupation'}], ['Badru Hafidh', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . { { resource:Konstantinos_Triantafyllopoulos property:position_held ?v } UNION { resource:Badru_Hafidh property:occupation ?v } } }
[]