Simple Question (Direct)
Simple Question
Q3246169
P106
Q12737077
USER
What does Satoshi Okura do for a living ?
(Q3246169,P106,c(Q12737077))
action filter_type
action find
entity Q3246169
relation P106
type Q12737077
['Q3246169', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q3246169 property:P106 ?h }
Satoshi Okura
action filter_type
action find
entity Satoshi Okura
relation occupation
type occupation
['Satoshi Okura', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Satoshi_Okura property:occupation ?h }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3246169,P106,c(Q12737077))
action filter_type
action find
entity Q3246169
relation P106
type Q12737077
[ANSWER] Satoshi Okura does for a living
['Q3246169', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q3246169 property:P106 ?h }
association football player
Association football player Satoshi Okura does for a living
association football player
action filter_type
action find
entity Satoshi Okura
relation occupation
type occupation
['Satoshi Okura', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Satoshi_Okura property:occupation ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3246169
P641
Q349
USER
What did Satoshi Okura participate in ?
(Q3246169,P641,c(Q349))
action filter_type
action find
entity Q3246169
relation P641
type Q349
['Q3246169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q3246169 property:P641 ?k }
Satoshi Okura
action filter_type
action find
entity Satoshi Okura
relation sport
type sport
['Satoshi Okura', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Satoshi_Okura property:sport ?k }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3246169,P641,c(Q349))
action filter_type
action find
entity Q3246169
relation P641
type Q349
Satoshi Okura participated in [ANSWER]
['Q3246169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q3246169 property:P641 ?k }
association football
Satoshi Okura participated in association football
association football
action filter_type
action find
entity Satoshi Okura
relation sport
type sport
['Satoshi Okura', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Satoshi_Okura property:sport ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7372938 Q3246169
P27
Q15617994
USER
Which administrative territories are the native countriesof Satoshi Okura or Roy Henry Gover ?
OR((Q3246169,P27,c(Q15617994)), (Q7372938,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3246169
relation P27
action find
entity Q7372938
relation P27
type Q15617994
{'OR': [['Q3246169', 'P27', {'concept': 'Q15617994'}], ['Q7372938', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?t property:P27 ?j . VALUES ( ?t ) { ( resource:Q3246169 ) ( resource:Q7372938 ) } } . ?j rdf:type ontology:Q15617994 }
Roy Henry Gover Satoshi Okura
action filter_type
action union
action find
entity Satoshi Okura
relation country of citizenship
action find
entity Roy Henry Gover
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Satoshi Okura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roy Henry Gover', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?t property:country_of_citizenship ?j . VALUES ( ?t ) { ( resource:Satoshi_Okura ) ( resource:Roy_Henry_Gover ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q3246169,P27,c(Q15617994)), (Q7372938,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3246169
relation P27
action find
entity Q7372938
relation P27
type Q15617994
[ANSWERS] are the native countriesof Satoshi Okura or Roy Henry Gover
{'OR': [['Q3246169', 'P27', {'concept': 'Q15617994'}], ['Q7372938', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?t property:P27 ?j . VALUES ( ?t ) { ( resource:Q3246169 ) ( resource:Q7372938 ) } } . ?j rdf:type ontology:Q15617994 }
Japan United Kingdom
Japan and United Kingdom are the native countriesof Satoshi Okura or Roy Henry Gover
Japan United Kingdom
action filter_type
action union
action find
entity Satoshi Okura
relation country of citizenship
action find
entity Roy Henry Gover
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Satoshi Okura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roy Henry Gover', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?t property:country_of_citizenship ?j . VALUES ( ?t ) { ( resource:Satoshi_Okura ) ( resource:Roy_Henry_Gover ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q5589178
USER
How many administrative territories and regimes have a shared border with that administrative territory ?
(Q17,P47,c(Q15617994)) (Q17,P47,c(Q5589178)) (Q17,P47,c(Q15617994)) (Q17,P47,c(Q5589178)) (Q145,P47,c(Q15617994)) (Q145,P47,c(Q5589178))
['Q17', 'P47', {'concept': 'Q15617994'}] ['Q17', 'P47', {'concept': 'Q5589178'}] ['Q17', 'P47', {'concept': 'Q15617994'}] ['Q17', 'P47', {'concept': 'Q5589178'}] ['Q145', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q1407064 property:P47 ?z } UNION { resource:Q1407064 property:P47 ?y } UNION { resource:Q1407064 property:P47 ?z } UNION { resource:Q1407064 property:P47 ?y } UNION { resource:Q225249 property:P47 ?z } UNION { resource:Q225249 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q5589178 }
['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'shares border with', {'concept': 'regime'}] ['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'shares border with', {'concept': 'regime'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Japan property:shares_border_with ?z } UNION { resource:Japan property:shares_border_with ?y } UNION { resource:Japan property:shares_border_with ?z } UNION { resource:Japan property:shares_border_with ?y } UNION { resource:United_Kingdom property:shares_border_with ?z } UNION { resource:United_Kingdom property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:regime }
[]
designation for an administrative territorial entity regime
Quantitative|Count|Mult. entity type|Clarification
Q17
SYSTEM
Did you mean Japan ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q1407064 property:P47 ?z } UNION { resource:Q1407064 property:P47 ?y } UNION { resource:Q1407064 property:P47 ?z } UNION { resource:Q1407064 property:P47 ?y } UNION { resource:Q225249 property:P47 ?z } UNION { resource:Q225249 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q5589178 }
Did you mean Japan ?
Japan
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Japan property:shares_border_with ?z } UNION { resource:Japan property:shares_border_with ?y } UNION { resource:Japan property:shares_border_with ?z } UNION { resource:Japan property:shares_border_with ?y } UNION { resource:United_Kingdom property:shares_border_with ?z } UNION { resource:United_Kingdom property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:regime }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q17,P47,c(Q15617994)) (Q17,P47,c(Q5589178)) (Q17,P47,c(Q15617994)) (Q17,P47,c(Q5589178)) (Q145,P47,c(Q15617994)) (Q145,P47,c(Q5589178))
['Q17', 'P47', {'concept': 'Q15617994'}] ['Q17', 'P47', {'concept': 'Q5589178'}] ['Q17', 'P47', {'concept': 'Q15617994'}] ['Q17', 'P47', {'concept': 'Q5589178'}] ['Q145', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q5589178'}]
['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'shares border with', {'concept': 'regime'}] ['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'shares border with', {'concept': 'regime'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'regime'}]
[]
SYSTEM
4 administrative territories and 1 regimes
Q865 Q148 Q884 Q159 Q423
(Q17,P47,c(Q15617994)) (Q17,P47,c(Q5589178)) (Q17,P47,c(Q15617994)) (Q17,P47,c(Q5589178)) (Q145,P47,c(Q15617994)) (Q145,P47,c(Q5589178))
[ANSWER]
['Q17', 'P47', {'concept': 'Q15617994'}] ['Q17', 'P47', {'concept': 'Q5589178'}] ['Q17', 'P47', {'concept': 'Q15617994'}] ['Q17', 'P47', {'concept': 'Q5589178'}] ['Q145', 'P47', {'concept': 'Q15617994'}] ['Q145', 'P47', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q1407064 property:P47 ?z } UNION { resource:Q1407064 property:P47 ?y } UNION { resource:Q1407064 property:P47 ?z } UNION { resource:Q1407064 property:P47 ?y } UNION { resource:Q225249 property:P47 ?z } UNION { resource:Q225249 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q5589178 }
Taiwan People's Republic of China South Korea Russia North Korea
4 administrative territories and 1 regimes
['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'shares border with', {'concept': 'regime'}] ['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'shares border with', {'concept': 'regime'}] ['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'shares border with', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Japan property:shares_border_with ?z } UNION { resource:Japan property:shares_border_with ?y } UNION { resource:Japan property:shares_border_with ?z } UNION { resource:Japan property:shares_border_with ?y } UNION { resource:United_Kingdom property:shares_border_with ?z } UNION { resource:United_Kingdom property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:regime }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P291
Q2031291
USER
Which release has that administrative territory as its release location ?
action filter_type
action find_reverse
entity Q17
relation P291
type Q2031291
SELECT DISTINCT ?x WHERE { ?x property:P291 resource:Q17 . ?x rdf:type ontology:Q2031291 }
Japan
action filter_type
action find_reverse
entity Japan
relation place of publication
type release
SELECT DISTINCT ?x WHERE { ?x property:place_of_publication resource:Japan . ?x rdf:type ontology:release }
[]
release
Q16643362
SYSTEM
In Depth
Q16643362
action filter_type
action find_reverse
entity Q17
relation P291
type Q2031291
[ANSWER] has that administrative territory as its release location
SELECT DISTINCT ?x WHERE { ?x property:P291 resource:Q17 . ?x rdf:type ontology:Q2031291 }
In Depth
In Depth has that administrative territory as its release location
In Depth
action filter_type
action find_reverse
entity Japan
relation place of publication
type release
SELECT DISTINCT ?x WHERE { ?x property:place_of_publication resource:Japan . ?x rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16643362
P175
Q215380
USER
Which band was performed by that release ?
(Q16643362,P175,c(Q215380))
action filter_type
action find
entity Q16643362
relation P175
type Q215380
['Q16643362', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?r WHERE { resource:Q16643362 property:P175 ?r . ?r rdf:type ontology:Q215380 }
In Depth
action filter_type
action find
entity In Depth
relation performer
type band
['In Depth', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?r WHERE { resource:In_Depth property:performer ?r . ?r rdf:type ontology:band }
[]
band
Q485625
SYSTEM
Pet Shop Boys
Q485625
(Q16643362,P175,c(Q215380))
action filter_type
action find
entity Q16643362
relation P175
type Q215380
[ANSWER] was performed by that release
['Q16643362', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?r WHERE { resource:Q16643362 property:P175 ?r . ?r rdf:type ontology:Q215380 }
Pet Shop Boys
Pet Shop Boys was performed by that release
Pet Shop Boys
action filter_type
action find
entity In Depth
relation performer
type band
['In Depth', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?r WHERE { resource:In_Depth property:performer ?r . ?r rdf:type ontology:band }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories did that band originate ?
(Q485625,P495,c(Q15617994))
action count
action filter_type
action find
entity Q485625
relation P495
type Q15617994
['Q485625', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q485625 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Pet Shop Boys
relation country of origin
type designation for an administrative territorial entity
['Pet Shop Boys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Pet_Shop_Boys property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q485625,P495,c(Q15617994))
action count
action filter_type
action find
entity Q485625
relation P495
type Q15617994
[ANSWER]
['Q485625', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q485625 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Pet Shop Boys
relation country of origin
type designation for an administrative territorial entity
['Pet Shop Boys', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Pet_Shop_Boys property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q968
P138
Q15617994 Q56061 Q874405
USER
Which administrative territories are lesser number of administrative territories or social groups named after than Warburg ?
(c(Q56061)|c(Q874405),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q968
relation P138
type Q56061
type Q874405
[[{'concept': 'Q56061'}, {'concept': 'Q874405'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?f WHERE { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q874405 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P138 resource:Q968 . { { ?i rdf:type ontology:Q874405 } UNION { ?i rdf:type ontology:Q56061 } } } } . FILTER ( ?p < ?b ) }
Warburg
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find_reverse
entity Warburg
relation named after
type administrative territorial entity
type social group
[[{'concept': 'administrative territorial entity'}, {'concept': 'social group'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?f WHERE { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:social_group ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:named_after resource:Warburg . { { ?i rdf:type ontology:social_group } UNION { ?i rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?p < ?b ) }
[]
designation for an administrative territorial entity administrative territorial entity social group
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q38 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 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 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 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 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 Q47578 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(Q56061)|c(Q874405),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q968
relation P138
type Q56061
type Q874405
[ANSWERS] are lesser number of administrative territories or social groups named after than Warburg
[[{'concept': 'Q56061'}, {'concept': 'Q874405'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?f WHERE { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q874405 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P138 resource:Q968 . { { ?i rdf:type ontology:Q874405 } UNION { ?i rdf:type ontology:Q56061 } } } } . FILTER ( ?p < ?b ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin 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 Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Italy 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 Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela 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 Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France 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 Guatemala Robecco d'Oglio Bad Köstritz 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 Vittorio Veneto 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
Italy, Brazil and United States of America are lesser number of administrative territories or social groups named after than Warburg
Italy Brazil United States of America
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find_reverse
entity Warburg
relation named after
type administrative territorial entity
type social group
[[{'concept': 'administrative territorial entity'}, {'concept': 'social group'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?f WHERE { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:social_group ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:named_after resource:Warburg . { { ?i rdf:type ontology:social_group } UNION { ?i rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?p < ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q55
P138
Q15617994 Q56061 Q874405
USER
And what about Netherlands?
(c(Q56061)|c(Q874405),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q55
relation P138
type Q56061
type Q874405
[[{'concept': 'Q56061'}, {'concept': 'Q874405'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?t WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q874405 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P138 resource:Q55 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q874405 } } } } . FILTER ( ?i < ?l ) }
Netherlands
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation named after
type administrative territorial entity
type social group
[[{'concept': 'administrative territorial entity'}, {'concept': 'social group'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?t WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:social_group ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:named_after resource:Netherlands . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:social_group } } } } . FILTER ( ?i < ?l ) }
[]
designation for an administrative territorial entity administrative territorial entity social group
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q82670 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q186538 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q298 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q700831 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q38 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 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q674852 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 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 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 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 Q47578 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(Q56061)|c(Q874405),P138,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q55
relation P138
type Q56061
type Q874405
[ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q874405'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?t WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:Q56061 ) ( ontology:Q874405 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P138 resource:Q55 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q874405 } } } } . FILTER ( ?i < ?l ) }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Fiesole Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Arzachena Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Fehrbellin 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 Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Sögel Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Italy 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 Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Dätgen Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela 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 Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France 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 Guatemala Robecco d'Oglio Bad Köstritz 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 Vittorio Veneto 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
Italy Brazil United States of America
action less
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation named after
type administrative territorial entity
type social group
[[{'concept': 'administrative territorial entity'}, {'concept': 'social group'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?t WHERE { ?c rdf:type ?z . VALUES ( ?z ) { ( ontology:administrative_territorial_entity ) ( ontology:social_group ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:named_after resource:Netherlands . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:social_group } } } } . FILTER ( ?i < ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with atmost 13 administrative territories or political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 13
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?t <= 13 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { { ?k property:P530 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } UNION { ?k property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } }
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?t <= 13 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { { ?k property:diplomatic_relation ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } UNION { ?k property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
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)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 13
[ANSWERS] have tactful political relations with atmost 13 administrative territories or political territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?t <= 13 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { { ?k property:P530 ?n . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } UNION { ?k property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } }
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
Netherlands, Poland and People's Republic of China have tactful political relations with atmost 13 administrative territories or political territories
Netherlands Poland People's Republic of China
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?t <= 13 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?t ) WHERE { { ?k property:diplomatic_relation ?n . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } UNION { ?k property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } }
[]