Simple Question (Direct)
Simple Question
Q21979694
P47
Q20667921
USER
Which french administrative divisions are adjacent to Éole-en-Beauce ?
(Q21979694,P47,c(Q20667921))
action filter_type
action find
entity Q21979694
relation P47
type Q20667921
['Q21979694', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q21979694 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Éole-en-Beauce
action filter_type
action find
entity Éole-en-Beauce
relation shares border with
type type of french administrative division
['Éole-en-Beauce', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Éole-en-Beauce property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q21294399 Q1137660 Q1072397
SYSTEM
Les Villages-Vovéens, Ymonville, Germignonville
Q1072195 Q1072397 Q746057 Q1072738 Q21294399 Q1075314 Q1137660
(Q21979694,P47,c(Q20667921))
action filter_type
action find
entity Q21979694
relation P47
type Q20667921
[ANSWERS] are adjacent to Éole-en-Beauce
['Q21979694', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q21979694 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Fontenay-sur-Conie Germignonville Prasville Fains-la-Folie Les Villages-Vovéens Baignolet Ymonville
Les Villages-Vovéens, Ymonville and Germignonville are adjacent to Éole-en-Beauce
Les Villages-Vovéens Ymonville Germignonville
action filter_type
action find
entity Éole-en-Beauce
relation shares border with
type type of french administrative division
['Éole-en-Beauce', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Éole-en-Beauce property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21979694
P17
Q15617994
USER
Which administrative territory is Éole-en-Beauce a part of ?
(Q21979694,P17,c(Q15617994))
action filter_type
action find
entity Q21979694
relation P17
type Q15617994
['Q21979694', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q21979694 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Éole-en-Beauce
action filter_type
action find
entity Éole-en-Beauce
relation country
type designation for an administrative territorial entity
['Éole-en-Beauce', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Éole-en-Beauce property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q21979694,P17,c(Q15617994))
action filter_type
action find
entity Q21979694
relation P17
type Q15617994
[ANSWER] is Éole-en-Beauce a part of
['Q21979694', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q21979694 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
France
France is Éole-en-Beauce a part of
France
action filter_type
action find
entity Éole-en-Beauce
relation country
type designation for an administrative territorial entity
['Éole-en-Beauce', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Éole-en-Beauce property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q52638 Q21979694
P47 P17
Q15617994
USER
Which administrative territories are Éole-en-Beauce present in or share border with Pietrapertosa ?
OR((Q21979694,P17,c(Q15617994)), (Q52638,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q21979694
relation P17
action find
entity Q52638
relation P47
type Q15617994
{'OR': [['Q21979694', 'P17', {'concept': 'Q15617994'}], ['Q52638', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q21979694 property:P17 ?b } UNION { resource:Q52638 property:P47 ?b } } . ?b rdf:type ontology:Q15617994 }
Pietrapertosa Éole-en-Beauce
action filter_type
action union
action find
entity Éole-en-Beauce
relation country
action find
entity Pietrapertosa
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Éole-en-Beauce', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pietrapertosa', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Éole-en-Beauce property:country ?b } UNION { resource:Pietrapertosa property:shares_border_with ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q52588 Q52554 Q52562 Q52275 Q52512 Q52290 Q52282
SYSTEM
France, Laurenzana, Castelmezzano, Corleto Perticara, Accettura, Albano di Lucania, Gorgoglione, Cirigliano
Q142 Q52588 Q52554 Q52562 Q52275 Q52512 Q52290 Q52282
OR((Q21979694,P17,c(Q15617994)), (Q52638,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q21979694
relation P17
action find
entity Q52638
relation P47
type Q15617994
[ANSWERS] are Éole-en-Beauce present in or share border with Pietrapertosa
{'OR': [['Q21979694', 'P17', {'concept': 'Q15617994'}], ['Q52638', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q21979694 property:P17 ?b } UNION { resource:Q52638 property:P47 ?b } } . ?b rdf:type ontology:Q15617994 }
France Laurenzana Castelmezzano Corleto Perticara Accettura Albano di Lucania Gorgoglione Cirigliano
France, Laurenzana, Castelmezzano, Corleto Perticara, Accettura, Albano di Lucania, Gorgoglione and Cirigliano are Éole-en-Beauce present in or share border with Pietrapertosa
France Laurenzana Castelmezzano Corleto Perticara Accettura Albano di Lucania Gorgoglione Cirigliano
action filter_type
action union
action find
entity Éole-en-Beauce
relation country
action find
entity Pietrapertosa
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Éole-en-Beauce', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pietrapertosa', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Éole-en-Beauce property:country ?b } UNION { resource:Pietrapertosa property:shares_border_with ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:P530 ?r . ?p rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?p } } . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?y ) WHERE { ?j property:P530 ?o . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?y = ?q ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:diplomatic_relation ?r . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } } . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?y ) WHERE { ?j property:diplomatic_relation ?o . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?y = ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:P530 ?r . ?p rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?p } } . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?y ) WHERE { ?j property:P530 ?o . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?y = ?q ) }
Italy
Italy have diplomatic relations with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?c ) WHERE { ?p property:diplomatic_relation ?r . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } } . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?y ) WHERE { ?j property:diplomatic_relation ?o . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?y = ?q ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q881 Q3044727
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Vietnam and Guadeloupe ?
(Q38,P530,Q881) (Q38,P530,Q3044727)
action is_in
entity Q38
action intersection
action find_reverse
entity Q881
relation P530
action find_reverse
entity Q3044727
relation P530
['Q38', 'P530', 'Q881'] ['Q38', 'P530', 'Q3044727']
ASK WHERE { resource:Q38 property:P530 resource:Q881 . resource:Q38 property:P530 resource:Q3044727 }
Italy Vietnam Guadeloupe
action is_in
entity Italy
action intersection
action find_reverse
entity Vietnam
relation diplomatic relation
action find_reverse
entity Guadeloupe
relation diplomatic relation
['Italy', 'diplomatic relation', 'Vietnam'] ['Italy', 'diplomatic relation', 'Guadeloupe']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Vietnam . resource:Italy property:diplomatic_relation resource:Guadeloupe }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q38,P530,Q881) (Q38,P530,Q3044727)
action is_in
entity Q38
action intersection
action find_reverse
entity Q881
relation P530
action find_reverse
entity Q3044727
relation P530
[ANSWER]
['Q38', 'P530', 'Q881'] ['Q38', 'P530', 'Q3044727']
ASK WHERE { resource:Q38 property:P530 resource:Q881 . resource:Q38 property:P530 resource:Q3044727 }
YES and NO respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Vietnam
relation diplomatic relation
action find_reverse
entity Guadeloupe
relation diplomatic relation
['Italy', 'diplomatic relation', 'Vietnam'] ['Italy', 'diplomatic relation', 'Guadeloupe']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Vietnam . resource:Italy property:diplomatic_relation resource:Guadeloupe }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P35
Q502895
USER
Who are the chiefs of state of Italy ?
action filter_type
action find
entity Q38
relation P35
type Q502895
SELECT DISTINCT ?o WHERE { resource:Q38 property:P35 ?o . ?o rdf:type ontology:Q502895 }
Italy
action filter_type
action find
entity Italy
relation head of state
type common name
SELECT DISTINCT ?o WHERE { resource:Italy property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1224 Q3956186 Q1242
SYSTEM
Carlo Azeglio Ciampi, Sergio Mattarella, Luigi Einaudi
Q1224 Q1245 Q3956186 Q1241 Q1240 Q1242 Q1238 Q153832 Q1228 Q1230 Q1233 Q1235 Q1220
action filter_type
action find
entity Q38
relation P35
type Q502895
The chiefs of state of Italy are [ANSWERS]
SELECT DISTINCT ?o WHERE { resource:Q38 property:P35 ?o . ?o rdf:type ontology:Q502895 }
Carlo Azeglio Ciampi Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Sandro Pertini Giovanni Leone Giorgio Napolitano
The chiefs of state of Italy are Carlo Azeglio Ciampi, Sergio Mattarella and Luigi Einaudi
Carlo Azeglio Ciampi Sergio Mattarella Luigi Einaudi
action filter_type
action find
entity Italy
relation head of state
type common name
SELECT DISTINCT ?o WHERE { resource:Italy property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P194
Q1752346
USER
Which assembly is the legislative body for Italy ?
(Q38,P194,c(Q1752346))
action filter_type
action find
entity Q38
relation P194
type Q1752346
['Q38', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?n WHERE { resource:Q38 property:P194 ?n . ?n rdf:type ontology:Q1752346 }
Italy
action filter_type
action find
entity Italy
relation legislative body
type assembly
['Italy', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?n WHERE { resource:Italy property:legislative_body ?n . ?n rdf:type ontology:assembly }
[]
assembly
Q1117578
SYSTEM
Italian Parliament
Q1117578
(Q38,P194,c(Q1752346))
action filter_type
action find
entity Q38
relation P194
type Q1752346
[ANSWER] is the legislative body for Italy
['Q38', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?n WHERE { resource:Q38 property:P194 ?n . ?n rdf:type ontology:Q1752346 }
Italian Parliament
Italian Parliament is the legislative body for Italy
Italian Parliament
action filter_type
action find
entity Italy
relation legislative body
type assembly
['Italy', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?n WHERE { resource:Italy property:legislative_body ?n . ?n rdf:type ontology:assembly }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1741
P194
Q1752346 Q56061
USER
Which administrative territories have approximately the same number of assemblies as their representative body as Vienna ?
(c(Q56061),P194,c(Q1752346))
action approx
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q1741
relation P194
type Q56061
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?m ) WHERE { ?z property:P194 ?j . ?z rdf:type ontology:Q56061 . ?j rdf:type ontology:Q1752346 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:Q56061 . resource:Q1741 property:P194 ?u } } . FILTER ( ?m = ?y ) }
Vienna
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Vienna
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?m ) WHERE { ?z property:legislative_body ?j . ?z rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:assembly } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Vienna property:legislative_body ?u } } . FILTER ( ?m = ?y ) }
[]
assembly administrative territorial entity
Q1085 Q458 Q90
SYSTEM
Prague, European Union, Paris
Q33613 Q1867 Q43070 Q90 Q3032154 Q54119 Q37133 Q458 Q329984 Q1022 Q1027659 Q340 Q181557 Q157260 Q1842 Q4093 Q1341 Q179313 Q4264 Q10686 Q891 Q157134 Q1741 Q1489 Q1085 Q1957 Q7172 Q526224 Q1874 Q14935613 Q61 Q172438 Q237 Q11703 Q26 Q163584 Q7159 Q5727 Q62
(c(Q56061),P194,c(Q1752346))
action approx
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q1741
relation P194
type Q56061
[ANSWERS] have approximately the same number of assemblies as their representative body as Vienna
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?m ) WHERE { ?z property:P194 ?j . ?z rdf:type ontology:Q56061 . ?j rdf:type ontology:Q1752346 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:Q56061 . resource:Q1741 property:P194 ?u } } . FILTER ( ?m = ?y ) }
Kramatorsk Taipei Donetsk Paris electoral district of New South Wales San Pedro Mariupol European Union Úbeda Stuttgart Strabane Montreal Kaohsiung City Horlivka Luxembourg Glasgow Tolyatti Alderney Mercosur Belfast Nizhny Novgorod Makiivka Vienna Mexico City Prague Vologda Arab League Blackheath Odessa Gormanston Washington, D.C. Peterborough Vatican City United States Virgin Islands Northern Ireland Derry African Union La Rioja San Francisco
Prague, European Union and Paris have approximately the same number of assemblies as their representative body as Vienna
Prague European Union Paris
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Vienna
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?j ) AS ?m ) WHERE { ?z property:legislative_body ?j . ?z rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:assembly } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Vienna property:legislative_body ?u } } . FILTER ( ?m = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35775
P194
Q1752346 Q56061
USER
And what about Boise?
(c(Q56061),P194,c(Q1752346))
action approx
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q35775
relation P194
type Q56061
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?p ) WHERE { ?h property:P194 ?x . ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1752346 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q56061 . resource:Q35775 property:P194 ?o } } . FILTER ( ?p = ?b ) }
Boise
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Boise
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?p ) WHERE { ?h property:legislative_body ?x . ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:assembly } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Boise property:legislative_body ?o } } . FILTER ( ?p = ?b ) }
[]
assembly administrative territorial entity
Q72 Q649 Q64
SYSTEM
Zürich, Moscow, Berlin
Q16555 Q623589 Q34183 Q649 Q126195 Q49256 Q100 Q1297 Q12439 Q266510 Q5083 Q23556 Q5689 Q34218 Q13896 Q37320 Q35775 Q1930 Q172 Q42308 Q334 Q5092 Q72 Q41262 Q16556 Q64 Q65 Q60 Q16557
(c(Q56061),P194,c(Q1752346))
action approx
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q35775
relation P194
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?p ) WHERE { ?h property:P194 ?x . ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1752346 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q56061 . resource:Q35775 property:P194 ?o } } . FILTER ( ?p = ?b ) }
Houston Kingdom of Slavonia Barrie Moscow Plymouth Colony Bakersfield Boston Chicago Detroit Triptis Seattle Atlanta Åland Islands Burlington Markgröningen Cleveland Boise Ottawa Toronto Kharkiv Singapore Baltimore Zürich Nottingham Phoenix Berlin Los Angeles New York City Dallas
Zürich Moscow Berlin
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Boise
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?p ) WHERE { ?h property:legislative_body ?x . ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:assembly } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Boise property:legislative_body ?o } } . FILTER ( ?p = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q12737077 Q14660
USER
Which administrative territories come under the jurisdiction of min number of occupations or flags ?
(c(Q12737077)|c(Q14660),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
[[{'concept': 'Q12737077'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q12737077 ) ( ontology:Q14660 ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:P1001 ?a . ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q14660 } UNION { ?i property:P1001 ?a . ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q12737077 } } GROUP BY ?a } } }
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
[[{'concept': 'occupation'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:occupation ) ( ontology:flag ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:flag } UNION { ?i property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:occupation } } GROUP BY ?a } } }
[]
designation for an administrative territorial entity occupation flag
Q158095 Q2107 Q2871
SYSTEM
Charlottenburg-Wilmersdorf, Wuppertal, Hagen
Q707 Q706679 Q2765 Q163012 Q22273061 Q2871 Q24764 Q2742 Q443815 Q50198 Q187035 Q22274206 Q3097 Q158893 Q2942 Q11340 Q11343 Q1142326 Q2899 Q2758 Q4712 Q155019 Q3389 Q163966 Q769680 Q3068 Q11323 Q1093 Q119284 Q3403547 Q2667658 Q3462133 Q2838 Q752 Q22274534 Q11337 Q11331 Q12642 Q154547 Q1216 Q12753 Q2805 Q2107 Q1438 Q2380910 Q11301 Q2904 Q158095 Q770 Q772 Q158083 Q1243 Q72449 Q12549 Q22273285 Q129003 Q33788 Q1267638 Q329609 Q2938 Q1231
(c(Q12737077)|c(Q14660),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
[ANSWERS] come under the jurisdiction of min number of occupations or flags
[[{'concept': 'Q12737077'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q12737077 ) ( ontology:Q14660 ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:P1001 ?a . ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q14660 } UNION { ?i property:P1001 ?a . ?a rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q12737077 } } GROUP BY ?a } } }
Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Hagen municipality of the Philippines Münster Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Remscheid Friedrichshain-Kreuzberg Solingen Sprockhövel Wetter (Ruhr) Seine Mülheim an der Ruhr Mönchengladbach Duchy of Burgundy Duchy of Lorraine Finistère Mitte Bornholm Loire-Atlantique Breckerfeld Limburg Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Shushary, Saint Petersburg Saxe-Coburg and Gotha Oberhausen Groningen Duchy of Elbeuf Herdecke Gevelsberg Morbihan duchy Piedmont Seine-et-Marne Krefeld Wuppertal Campania Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Friesland Drenthe Spandau Veneto Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands New Caledonia Beloostrov Lichtenberg Leverkusen Kosovo Region
Charlottenburg-Wilmersdorf, Wuppertal and Hagen come under the jurisdiction of min number of occupations or flags
Charlottenburg-Wilmersdorf Wuppertal Hagen
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
[[{'concept': 'occupation'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:occupation ) ( ontology:flag ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?n ) AS ?m ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?n ) WHERE { { ?i property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:flag } UNION { ?i property:applies_to_jurisdiction ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:occupation } } GROUP BY ?a } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?u property:P530 ?d . ?u rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:P530 ?z . ?q rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?q } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?u property:diplomatic_relation ?d . ?u rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } } }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?u property:P530 ?d . ?u rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:P530 ?z . ?q rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?q } } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea have diplomatic relations with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?g ) WHERE { ?u property:diplomatic_relation ?d . ?u rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?g = ?r ) . { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with min number of political territories ?
(c(Q15617994),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?i ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?z ) WHERE { ?g property:P530 ?l . ?l rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?z = ?u ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?i ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?z ) WHERE { ?g property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?z = ?u ) }
[]
political territorial entity designation for an administrative territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWERS] have tactful political relations with min number of political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?i ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?z ) WHERE { ?g property:P530 ?l . ?l rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?z = ?u ) }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
Yemen, Syria and Oman have tactful political relations with min number of political territories
Yemen Syria Oman
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?i ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?b } } . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?z ) WHERE { ?g property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?z = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q977
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as Djibouti ?
(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 Q977
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?u property:P530 ?g . ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?a = ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q977 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Djibouti
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 Djibouti
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 ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?u property:diplomatic_relation ?g . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?a = ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Djibouti property:diplomatic_relation ?f . ?f 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 Q977
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?u property:P530 ?g . ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?a = ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q977 property:P530 ?f . ?f 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 Djibouti
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 ( ?u ) AS ?e ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?a ) WHERE { ?u property:diplomatic_relation ?g . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?a = ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Djibouti property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q20
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately the same number of administrative territories as Norway ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?t } } . FILTER ( ?e = ?k ) }
Norway
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 Norway
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?t } } . FILTER ( ?e = ?k ) }
[]
designation for an administrative 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))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[ANSWERS] have tactful political relations with approximately the same number of administrative territories as Norway
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?t } } . FILTER ( ?e = ?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 approximately the same number of administrative territories as Norway
Netherlands Poland People's Republic of China
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 Norway
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?e ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?t } } . FILTER ( ?e = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q683
P530
Q15617994 Q15617994
USER
And also tell me about Samoa?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q683
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?f property:P530 ?n } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q683 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?v ) }
Samoa
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 Samoa
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?n } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Samoa property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?v ) }
[]
designation for an administrative 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 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 approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q683
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?f property:P530 ?n } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q683 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?v ) }
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 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 People's Republic of China
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 Samoa
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?b ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?n } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Samoa property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?v ) }
[]