Simple Question (Direct)
Simple Question
Q1691051
P106
Q12737077
USER
Which occupation is the profession of Jochen Berg ?
(Q1691051,P106,c(Q12737077))
action filter_type
action find
entity Q1691051
relation P106
type Q12737077
['Q1691051', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1691051 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Jochen Berg
action filter_type
action find
entity Jochen Berg
relation occupation
type occupation
['Jochen Berg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Jochen_Berg property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q1691051,P106,c(Q12737077))
action filter_type
action find
entity Q1691051
relation P106
type Q12737077
The [ANSWER] is the profession of Jochen Berg
['Q1691051', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1691051 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
writer
The writer is the profession of Jochen Berg
writer
action filter_type
action find
entity Jochen Berg
relation occupation
type occupation
['Jochen Berg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Jochen_Berg property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1691051
P19
Q15617994
USER
Which administrative territory is the place of birth of that person ?
(Q36180,P19,c(Q15617994))
action filter_type
action find
entity Q1691051
relation P19
type Q15617994
['Q36180', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q1691051 property:P19 ?y }
Jochen Berg
action filter_type
action find
entity Jochen Berg
relation place of birth
type designation for an administrative territorial entity
['writer', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jochen_Berg property:place_of_birth ?y }
[]
designation for an administrative territorial entity
Q517311
SYSTEM
Bleicherode
Q517311
(Q36180,P19,c(Q15617994))
action filter_type
action find
entity Q1691051
relation P19
type Q15617994
[ANSWER] is the place of birth of that person
['Q36180', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q1691051 property:P19 ?y }
Bleicherode
Bleicherode is the place of birth of that person
Bleicherode
action filter_type
action find
entity Jochen Berg
relation place of birth
type designation for an administrative territorial entity
['writer', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jochen_Berg property:place_of_birth ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3287937
P166
Q618779
USER
What was won by Marc Desaché ?
(Q3287937,P166,c(Q618779))
action filter_type
action find
entity Q3287937
relation P166
type Q618779
['Q3287937', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q3287937 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Marc Desaché
action filter_type
action find
entity Marc Desaché
relation award received
type award
['Marc Desaché', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Marc_Desaché property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q3287937,P166,c(Q618779))
action filter_type
action find
entity Q3287937
relation P166
type Q618779
De [ANSWER] was won by Marc Desaché
['Q3287937', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q3287937 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
De Croix de guerre 1914–1918 was won by Marc Desaché
Croix de guerre 1914–1918
action filter_type
action find
entity Marc Desaché
relation award received
type award
['Marc Desaché', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Marc_Desaché property:award_received ?e . ?e rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1691051
P21
Q290
USER
What is the sex of Jochen Berg ?
(Q1691051,P21,c(Q290))
action filter_type
action find
entity Q1691051
relation P21
type Q290
['Q1691051', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1691051 property:P21 ?q . ?q rdf:type ontology:Q290 }
Jochen Berg
action filter_type
action find
entity Jochen Berg
relation gender
type sex
['Jochen Berg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Jochen_Berg property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1691051,P21,c(Q290))
action filter_type
action find
entity Q1691051
relation P21
type Q290
The sex of Jochen Berg is the [ANSWER]
['Q1691051', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1691051 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Jochen Berg is the male
male
action filter_type
action find
entity Jochen Berg
relation gender
type sex
['Jochen Berg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Jochen_Berg property:gender ?q . ?q rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6271638 Q3287937
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Marc Desaché or Jon Stinchcomb ?
OR((Q3287937,P27,c(Q15617994)), (Q6271638,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3287937
relation P27
action find
entity Q6271638
relation P27
type Q15617994
{'OR': [['Q3287937', 'P27', {'concept': 'Q15617994'}], ['Q6271638', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q6271638 property:P27 ?h } UNION { resource:Q3287937 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Jon Stinchcomb Marc Desaché
action filter_type
action union
action find
entity Marc Desaché
relation country of citizenship
action find
entity Jon Stinchcomb
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marc Desaché', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jon Stinchcomb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Jon_Stinchcomb property:country_of_citizenship ?h } UNION { resource:Marc_Desaché property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q3287937,P27,c(Q15617994)), (Q6271638,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3287937
relation P27
action find
entity Q6271638
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Marc Desaché or Jon Stinchcomb
{'OR': [['Q3287937', 'P27', {'concept': 'Q15617994'}], ['Q6271638', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q6271638 property:P27 ?h } UNION { resource:Q3287937 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
France United States of America
France and United States of America are the countries of citizenship of Marc Desaché or Jon Stinchcomb
France United States of America
action filter_type
action union
action find
entity Marc Desaché
relation country of citizenship
action find
entity Jon Stinchcomb
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marc Desaché', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jon Stinchcomb', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Jon_Stinchcomb property:country_of_citizenship ?h } UNION { resource:Marc_Desaché property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q222
P138
Q15617994 Q811979 Q271669
USER
Which administrative territories are namesakes of lesser number of architectural structures or landforms than Albania ?
(c(Q811979)|c(Q271669),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q811979
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q222
relation P138
type Q811979
type Q271669
[[{'concept': 'Q811979'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { { ?g rdf:type ontology:Q811979 } UNION { ?g rdf:type ontology:Q271669 } } . ?g property:P138 resource:Q222 } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:P138 ?f . ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q811979 } UNION { ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q271669 . ?z property:P138 ?f } } GROUP BY ?f } }
Albania
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type architectural structure
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find_reverse
entity Albania
relation named after
type architectural structure
type landform
[[{'concept': 'architectural structure'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { { ?g rdf:type ontology:architectural_structure } UNION { ?g rdf:type ontology:landform } } . ?g property:named_after resource:Albania } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:named_after ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:architectural_structure } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:landform . ?z property:named_after ?f } } GROUP BY ?f } }
[]
designation for an administrative territorial entity architectural structure landform
Q159 Q55 Q36
SYSTEM
Russia, Netherlands, Poland
Q572949 Q103408 Q81077 Q414 Q1799797 Q55 Q2871 Q40806 Q157598 Q224139 Q3898 Q159 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q100125 Q730 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q184 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q519157 Q3266 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q32 Q31 Q37 Q36 Q34 Q39 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q391167 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q46130 Q512943 Q192917 Q94979 Q39395 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q221 Q229 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q42245 Q4431 Q770 Q131633 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q16104 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q811979)|c(Q271669),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q811979
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q222
relation P138
type Q811979
type Q271669
[ANSWERS] are namesakes of lesser number of architectural structures or landforms than Albania
[[{'concept': 'Q811979'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { { ?g rdf:type ontology:Q811979 } UNION { ?g rdf:type ontology:Q271669 } } . ?g property:P138 resource:Q222 } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:P138 ?f . ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q811979 } UNION { ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q271669 . ?z property:P138 ?f } } GROUP BY ?f } }
Solnhofen Adro Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Calcio, Lombardy Suriname Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Belarus Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Templin Charente Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Luxembourg Belgium Lithuania Poland Sweden Switzerland Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Ozieri Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Rhône Sailauf Erice Pianoro Sovico Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Republic of Macedonia Cyprus Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Robecco d'Oglio Bad Köstritz Friesland Hallstatt Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Ahrensburg Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Russia, Netherlands and Poland are namesakes of lesser number of architectural structures or landforms than Albania
Russia Netherlands Poland
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type architectural structure
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
action count
action filter_multi_types
action find_reverse
entity Albania
relation named after
type architectural structure
type landform
[[{'concept': 'architectural structure'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { { ?g rdf:type ontology:architectural_structure } UNION { ?g rdf:type ontology:landform } } . ?g property:named_after resource:Albania } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:named_after ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:architectural_structure } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:landform . ?z property:named_after ?f } } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?e property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?t ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?m ) WHERE { ?i rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 . ?i property:P530 ?k } GROUP BY ?i } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?e property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?t ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?m ) WHERE { ?i rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?k } GROUP BY ?i } } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?e property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?t ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?m ) WHERE { ?i rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 . ?i property:P530 ?k } GROUP BY ?i } } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?e property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?t ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?m ) WHERE { ?i rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?k } GROUP BY ?i } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17351822
P17
Q1292279
USER
Are Papua New Guinea–Solomon Islands border present in those political territories ?
(Q17351822,P17,Q685) (Q17351822,P17,Q691)
action is_in
entity prev_answer
action find
entity Q17351822
relation P17
['Q17351822', 'P17', 'Q685'] ['Q17351822', 'P17', 'Q691']
ASK WHERE { resource:Q17351822 property:P17 ?e . VALUES ( ?e ) { ( resource:Q685 ) ( resource:Q691 ) } }
Papua New Guinea–Solomon Islands border
action is_in
entity prev_answer
action find
entity Papua New Guinea–Solomon Islands border
relation country
['Papua New Guinea–Solomon Islands border', 'country', 'Solomon Islands'] ['Papua New Guinea–Solomon Islands border', 'country', 'Papua New Guinea']
ASK WHERE { resource:Papua_New_Guinea–Solomon_Islands_border property:country ?e . VALUES ( ?e ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]
political border
SYSTEM
YES
(Q17351822,P17,Q685) (Q17351822,P17,Q691)
action is_in
entity prev_answer
action find
entity Q17351822
relation P17
[ANSWER]
['Q17351822', 'P17', 'Q685'] ['Q17351822', 'P17', 'Q691']
ASK WHERE { resource:Q17351822 property:P17 ?e . VALUES ( ?e ) { ( resource:Q685 ) ( resource:Q691 ) } }
Yes
action is_in
entity prev_answer
action find
entity Papua New Guinea–Solomon Islands border
relation country
['Papua New Guinea–Solomon Islands border', 'country', 'Solomon Islands'] ['Papua New Guinea–Solomon Islands border', 'country', 'Papua New Guinea']
ASK WHERE { resource:Papua_New_Guinea–Solomon_Islands_border property:country ?e . VALUES ( ?e ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q691 Q408
P47
Q1048835
USER
Is Australia bordered by Papua New Guinea ?
(Q691,P47,Q408)
action is_in
entity Q408
action find
entity Q691
relation P47
['Q691', 'P47', 'Q408']
ASK WHERE { resource:Q691 property:P47 resource:Q408 }
Papua New Guinea Australia
action is_in
entity Australia
action find
entity Papua New Guinea
relation shares border with
['Papua New Guinea', 'shares border with', 'Australia']
ASK WHERE { resource:Papua_New_Guinea property:shares_border_with resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q691,P47,Q408)
action is_in
entity Q408
action find
entity Q691
relation P47
[ANSWER]
['Q691', 'P47', 'Q408']
ASK WHERE { resource:Q691 property:P47 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Papua New Guinea
relation shares border with
['Papua New Guinea', 'shares border with', 'Australia']
ASK WHERE { resource:Papua_New_Guinea property:shares_border_with resource:Australia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with atmost 2 political territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?d property:P530 ?e } GROUP BY ?e } . FILTER ( ?f <= 2 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?e } GROUP BY ?e } . FILTER ( ?f <= 2 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
132
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?d property:P530 ?e } GROUP BY ?e } . FILTER ( ?f <= 2 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
132
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?e } GROUP BY ?e } . FILTER ( ?f <= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with exactly 1 political territory ?
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?q property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?c = 1 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?q property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q948
SYSTEM
Luxembourg, Cape Verde, Tunisia
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWERS] have ambassadorial relations with exactly 1 political territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?q property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?c = 1 ) }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg, Cape Verde and Tunisia have ambassadorial relations with exactly 1 political territory
Luxembourg Cape Verde Tunisia
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?q property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q25136429 Q159
P530 P495
Q15617994
USER
Which administrative territories have diplomatic relationships with Russia and are not the countries of origin of Danger Street ?
AND((Q159,P530,c(Q15617994)), NOT((Q25136429,P495,c(Q15617994))))
action filter_type
action difference
action find
entity Q159
relation P530
action find
entity Q25136429
relation P495
type Q15617994
{'AND': [['Q159', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q25136429', 'P495', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q159 property:P530 ?a . FILTER NOT EXISTS { resource:Q25136429 property:P495 ?a } . ?a rdf:type ontology:Q15617994 }
Danger Street Russia
action filter_type
action difference
action find
entity Russia
relation diplomatic relation
action find
entity Danger Street
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Danger Street', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Russia property:diplomatic_relation ?a . FILTER NOT EXISTS { resource:Danger_Street property:country_of_origin ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1011 Q711 Q717 Q17 Q801 Q38 Q414 Q155 Q142 Q805
SYSTEM
Some of them are Cape Verde, Mongolia, Venezuela, Japan, Israel, Italy, Argentina, Brazil, France, Yemen
Q142 Q805 Q79 Q717 Q43 Q801 Q155 Q148 Q1011 Q241 Q17 Q881 Q953 Q668 Q403 Q38 Q414 Q711
AND((Q159,P530,c(Q15617994)), NOT((Q25136429,P495,c(Q15617994))))
action filter_type
action difference
action find
entity Q159
relation P530
action find
entity Q25136429
relation P495
type Q15617994
[ANSWERS] have diplomatic relationships with Russia and are not the countries of origin of Danger Street
{'AND': [['Q159', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q25136429', 'P495', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q159 property:P530 ?a . FILTER NOT EXISTS { resource:Q25136429 property:P495 ?a } . ?a rdf:type ontology:Q15617994 }
France Yemen Egypt Venezuela Turkey Israel Brazil People's Republic of China Cape Verde Cuba Japan Vietnam Zambia India Serbia Italy Argentina Mongolia
Cape Verde, Mongolia, Venezuela, Japan, Israel, Italy, Argentina, Brazil, France and Yemen have diplomatic relationships with Russia and are not the countries of origin of Danger Street
Cape Verde Mongolia Venezuela Japan Israel Italy Argentina Brazil France Yemen
action filter_type
action difference
action find
entity Russia
relation diplomatic relation
action find
entity Danger Street
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Danger Street', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Russia property:diplomatic_relation ?a . FILTER NOT EXISTS { resource:Danger_Street property:country_of_origin ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q215
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of administrative territories as Slovenia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q215
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { ?g property:P530 ?i . ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q215 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Slovenia
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { ?g property:diplomatic_relation ?i . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Slovenia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q215
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { ?g property:P530 ?i . ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q215 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?h ) WHERE { ?g property:diplomatic_relation ?i . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Slovenia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q213
P530
Q15617994 Q15617994
USER
And also tell me about Czech Republic?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q213
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?i ) WHERE { ?z property:P530 ?b . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q213 property:P530 ?o } } . FILTER ( ?i = ?j ) }
Czech Republic
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?i ) WHERE { ?z property:diplomatic_relation ?b . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Czech_Republic property:diplomatic_relation ?o } } . FILTER ( ?i = ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
149
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q213
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?i ) WHERE { ?z property:P530 ?b . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q213 property:P530 ?o } } . FILTER ( ?i = ?j ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
149
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?i ) WHERE { ?z property:diplomatic_relation ?b . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Czech_Republic property:diplomatic_relation ?o } } . FILTER ( ?i = ?j ) }
[]