Simple Question (Direct)
Simple Question
Q998174
P21
Q290
USER
Which sex does Sergei Zemchenok possess ?
(Q998174,P21,c(Q290))
action filter_type
action find
entity Q998174
relation P21
type Q290
['Q998174', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q998174 property:P21 ?q . ?q rdf:type ontology:Q290 }
Sergei Zemchenok
action filter_type
action find
entity Sergei Zemchenok
relation gender
type sex
['Sergei Zemchenok', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Sergei_Zemchenok property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q998174,P21,c(Q290))
action filter_type
action find
entity Q998174
relation P21
type Q290
Sergei Zemchenok possesses a [ANSWER]
['Q998174', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q998174 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Sergei Zemchenok possesses a male
male
action filter_type
action find
entity Sergei Zemchenok
relation gender
type sex
['Sergei Zemchenok', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Sergei_Zemchenok property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q998174
P20
Q56061
USER
Which administrative territory is the place of death of Sergei Zemchenok ?
(Q998174,P20,c(Q56061))
action filter_type
action find
entity Q998174
relation P20
type Q56061
['Q998174', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q998174 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Sergei Zemchenok
action filter_type
action find
entity Sergei Zemchenok
relation place of death
type administrative territorial entity
['Sergei Zemchenok', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Sergei_Zemchenok property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q95449
SYSTEM
Magnitogorsk
Q95449
(Q998174,P20,c(Q56061))
action filter_type
action find
entity Q998174
relation P20
type Q56061
[ANSWER] is the place of death of Sergei Zemchenok
['Q998174', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q998174 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Magnitogorsk
Magnitogorsk is the place of death of Sergei Zemchenok
Magnitogorsk
action filter_type
action find
entity Sergei Zemchenok
relation place of death
type administrative territorial entity
['Sergei Zemchenok', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Sergei_Zemchenok property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3893154
Q56061
USER
And how about Medeiros e Albuquerque?
(Q3893154,P20,c(Q56061))
action filter_type
action find
entity Q3893154
relation P20
type Q56061
['Q3893154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3893154 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Medeiros e Albuquerque
action filter_type
action find
entity Medeiros e Albuquerque
relation place of death
type administrative territorial entity
['Medeiros e Albuquerque', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Medeiros_e_Albuquerque property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q3893154,P20,c(Q56061))
action filter_type
action find
entity Q3893154
relation P20
type Q56061
[ANSWER]
['Q3893154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3893154 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Medeiros e Albuquerque
relation place of death
type administrative territorial entity
['Medeiros e Albuquerque', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Medeiros_e_Albuquerque property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q139131 Q998174
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Sergei Zemchenok or Karim Aouadhi ?
OR((Q998174,P27,c(Q15617994)), (Q139131,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q998174
relation P27
action find
entity Q139131
relation P27
type Q15617994
{'OR': [['Q998174', 'P27', {'concept': 'Q15617994'}], ['Q139131', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?s ) { ( resource:Q139131 ) ( resource:Q998174 ) } . ?s property:P27 ?q } . ?q rdf:type ontology:Q15617994 }
Karim Aouadhi Sergei Zemchenok
action filter_type
action union
action find
entity Sergei Zemchenok
relation country of citizenship
action find
entity Karim Aouadhi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sergei Zemchenok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karim Aouadhi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?s ) { ( resource:Karim_Aouadhi ) ( resource:Sergei_Zemchenok ) } . ?s property:country_of_citizenship ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q948 Q159
SYSTEM
Tunisia, Russia
Q948 Q159
OR((Q998174,P27,c(Q15617994)), (Q139131,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q998174
relation P27
action find
entity Q139131
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Sergei Zemchenok or Karim Aouadhi
{'OR': [['Q998174', 'P27', {'concept': 'Q15617994'}], ['Q139131', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?s ) { ( resource:Q139131 ) ( resource:Q998174 ) } . ?s property:P27 ?q } . ?q rdf:type ontology:Q15617994 }
Tunisia Russia
Tunisia and Russia are the countries of citizenship of Sergei Zemchenok or Karim Aouadhi
Tunisia Russia
action filter_type
action union
action find
entity Sergei Zemchenok
relation country of citizenship
action find
entity Karim Aouadhi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sergei Zemchenok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Karim Aouadhi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?s ) { ( resource:Karim_Aouadhi ) ( resource:Sergei_Zemchenok ) } . ?s property:country_of_citizenship ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q948 Q159
P30
Q2221906
USER
Which geographic locations are those administrative territories situated in ?
(Q948,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q948', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:Q948 ) ( resource:Q159 ) } . ?h property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Tunisia Russia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Tunisia', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:Tunisia ) ( resource:Russia ) } . ?h property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q15 Q48 Q46
SYSTEM
Africa, Asia, Europe
Q15 Q46 Q5401 Q48
(Q948,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
Those administrative territories are situated in [ANSWERS]
['Q948', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:Q948 ) ( resource:Q159 ) } . ?h property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Africa Europe Eurasia Asia
Those administrative territories are situated in Africa, Asia and Europe
Africa Asia Europe
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Tunisia', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:Tunisia ) ( resource:Russia ) } . ?h property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15 Q48 Q46
P361
Q2221906
USER
Which geographic locations are those ones a component of ?
(Q15,P361,c(Q2221906)) (Q48,P361,c(Q2221906)) (Q46,P361,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P361
type Q2221906
['Q15', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}] ['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?n ) { ( resource:Q15 ) ( resource:Q46 ) ( resource:Q5401 ) } . ?i rdf:type ontology:Q2221906 . ?n property:P361 ?i }
Africa Asia Europe
action filter_type
action find
entity prev_answer
relation part of
type geographic location
['Africa', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}] ['Europe', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?n ) { ( resource:Africa ) ( resource:Europe ) ( resource:Eurasia ) } . ?i rdf:type ontology:geographic_location . ?n property:part_of ?i }
[]
geographic location
Q2035462 Q2035462 Q5401
SYSTEM
Ostfeste for 1st, 2nd, Eurasia for 3rd
Q2035462 Q2035462 Q5401 Q5401
(Q15,P361,c(Q2221906)) (Q48,P361,c(Q2221906)) (Q46,P361,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P361
type Q2221906
[ANSWERS]
['Q15', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}] ['Q46', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?n ) { ( resource:Q15 ) ( resource:Q46 ) ( resource:Q5401 ) } . ?i rdf:type ontology:Q2221906 . ?n property:P361 ?i }
Ostfeste Ostfeste Eurasia Eurasia
Ostfeste, Ostfeste and Eurasia are those ones a component of
Ostfeste Ostfeste Eurasia
action filter_type
action find
entity prev_answer
relation part of
type geographic location
['Africa', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}] ['Europe', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?n ) { ( resource:Africa ) ( resource:Europe ) ( resource:Eurasia ) } . ?i rdf:type ontology:geographic_location . ?n property:part_of ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2035462
P47
Q2221906
USER
Which geographic location does that one share a border with ?
(c(Q2221906),P47,Q2035462)
action filter_type
action find
entity Q2035462
relation P47
type Q2221906
[{'concept': 'Q2221906'}, 'P47', 'Q2035462']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q2035462 property:P47 ?b }
Ostfeste
action filter_type
action find
entity Ostfeste
relation shares border with
type geographic location
[{'concept': 'geographic location'}, 'shares border with', 'Ostfeste']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Ostfeste property:shares_border_with ?b }
[]
geographic location
Clarification for simple ques.
Q5401
SYSTEM
Did you mean Eurasia ?
Q2035462 Q2035462 Q5401
(c(Q2221906),P47,Q2035462) (c(Q2221906),P47,Q2035462) (c(Q2221906),P47,Q5401)
[ANSWER]
[{'concept': 'Q2221906'}, 'P47', 'Q2035462'] [{'concept': 'Q2221906'}, 'P47', 'Q2035462'] [{'concept': 'Q2221906'}, 'P47', 'Q5401']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q2035462 property:P47 ?b }
Ostfeste Ostfeste Eurasia
Did you mean Eurasia ?
Eurasia
[{'concept': 'geographic location'}, 'shares border with', 'Ostfeste'] [{'concept': 'geographic location'}, 'shares border with', 'Ostfeste'] [{'concept': 'geographic location'}, 'shares border with', 'Eurasia']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Ostfeste property:shares_border_with ?b }
[]
Simple Question (Coreferenced)
USER
No, I meant Ostfeste. Could you tell me the answer for that?
(c(Q2221906),P47,Q2035462)
Q2035462
[{'concept': 'Q2221906'}, 'P47', 'Q2035462']
[{'concept': 'geographic location'}, 'shares border with', 'Ostfeste']
[]
Q2565175
SYSTEM
Westfeste
Q2565175
(c(Q2221906),P47,Q2035462)
action filter_type
action find
entity Q2035462
relation P47
type Q2221906
That one shares a border with the [ANSWER]
[{'concept': 'Q2221906'}, 'P47', 'Q2035462']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2221906 . resource:Q2035462 property:P47 ?b }
Westfeste
That one shares a border with the Westfeste
Westfeste
action filter_type
action find
entity Ostfeste
relation shares border with
type geographic location
[{'concept': 'geographic location'}, 'shares border with', 'Ostfeste']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:geographic_location . resource:Ostfeste property:shares_border_with ?b }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q2221906 Q56061 Q1190554
USER
Which geographic locations are max number of administrative territories and events a part of ?
(c(Q56061)|c(Q1190554),P361,c(Q2221906))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q56061
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q1190554
[[{'concept': 'Q56061'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?z WHERE { { ?k property:P361 ?z . ?k rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2221906 } UNION { ?k property:P361 ?z . ?z rdf:type ontology:Q2221906 . ?k rdf:type ontology:Q1190554 } } GROUP BY ?z } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:Q1190554 ) ( ontology:Q56061 ) } . ?x rdf:type ?v } GROUP BY ?p } } }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type geographic location
type event
[[{'concept': 'administrative territorial entity'}, {'concept': 'event'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?z WHERE { { ?k property:part_of ?z . ?k rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:geographic_location } UNION { ?k property:part_of ?z . ?z rdf:type ontology:geographic_location . ?k rdf:type ontology:event } } GROUP BY ?z } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:event ) ( ontology:administrative_territorial_entity ) } . ?x rdf:type ?v } GROUP BY ?p } } }
[]
geographic location administrative territorial entity event
Q27561
SYSTEM
Caribbean Netherlands
Q27561
(c(Q56061)|c(Q1190554),P361,c(Q2221906))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q56061
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q1190554
Max number of administrative territories and events a part of are the [ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?z WHERE { { ?k property:P361 ?z . ?k rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2221906 } UNION { ?k property:P361 ?z . ?z rdf:type ontology:Q2221906 . ?k rdf:type ontology:Q1190554 } } GROUP BY ?z } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:Q1190554 ) ( ontology:Q56061 ) } . ?x rdf:type ?v } GROUP BY ?p } } }
Caribbean Netherlands
Max number of administrative territories and events a part of are the Caribbean Netherlands
Caribbean Netherlands
action argmax
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type geographic location
type event
[[{'concept': 'administrative territorial entity'}, {'concept': 'event'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?z WHERE { { ?k property:part_of ?z . ?k rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:geographic_location } UNION { ?k property:part_of ?z . ?z rdf:type ontology:geographic_location . ?k rdf:type ontology:event } } GROUP BY ?z } . FILTER ( ?r = ?m ) . { SELECT DISTINCT ( MAX ( ?s ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:event ) ( ontology:administrative_territorial_entity ) } . ?x rdf:type ?v } GROUP BY ?p } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27561
P17
Q15617994
USER
Which administrative territories do that geographic location belong to ?
(Q27561,P17,c(Q15617994))
action filter_type
action find
entity Q27561
relation P17
type Q15617994
['Q27561', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q27561 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Caribbean Netherlands
action filter_type
action find
entity Caribbean Netherlands
relation country
type designation for an administrative territorial entity
['Caribbean Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Caribbean_Netherlands property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q55
SYSTEM
Kingdom of the Netherlands, Netherlands
Q29999 Q55
(Q27561,P17,c(Q15617994))
action filter_type
action find
entity Q27561
relation P17
type Q15617994
That geographic location belong to the [ANSWERS]
['Q27561', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q27561 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Netherlands
That geographic location belong to the Kingdom of the Netherlands and Netherlands
Kingdom of the Netherlands Netherlands
action filter_type
action find
entity Caribbean Netherlands
relation country
type designation for an administrative territorial entity
['Caribbean Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Caribbean_Netherlands property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q772521 Q27561
P17
Q15617994
USER
Or Nemeskocs?
OR((Q27561,P17,c(Q15617994)), (Q772521,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q27561
relation P17
action find
entity Q772521
relation P17
type Q15617994
{'OR': [['Q27561', 'P17', {'concept': 'Q15617994'}], ['Q772521', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q772521 property:P17 ?g } UNION { resource:Q27561 property:P17 ?g } } }
Nemeskocs Caribbean Netherlands
action filter_type
action union
action find
entity Caribbean Netherlands
relation country
action find
entity Nemeskocs
relation country
type designation for an administrative territorial entity
{'OR': [['Caribbean Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nemeskocs', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nemeskocs property:country ?g } UNION { resource:Caribbean_Netherlands property:country ?g } } }
[]
designation for an administrative territorial entity
Q28 Q29999 Q55
SYSTEM
Hungary, Kingdom of the Netherlands, Netherlands
Q28 Q29999 Q55
OR((Q27561,P17,c(Q15617994)), (Q772521,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q27561
relation P17
action find
entity Q772521
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q27561', 'P17', {'concept': 'Q15617994'}], ['Q772521', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q772521 property:P17 ?g } UNION { resource:Q27561 property:P17 ?g } } }
Hungary Kingdom of the Netherlands Netherlands
Hungary Kingdom of the Netherlands Netherlands
action filter_type
action union
action find
entity Caribbean Netherlands
relation country
action find
entity Nemeskocs
relation country
type designation for an administrative territorial entity
{'OR': [['Caribbean Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nemeskocs', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nemeskocs property:country ?g } UNION { resource:Caribbean_Netherlands property:country ?g } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q191
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with approximately the same number of administrative territories as Estonia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?c } GROUP BY ?c } . FILTER ( ?r = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q191 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } }
Estonia
action count
action approx
action find_reverse_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 Estonia
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 ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?c } GROUP BY ?c } . FILTER ( ?r = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Estonia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?c } GROUP BY ?c } . FILTER ( ?r = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q191 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_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 Estonia
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 ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?c } GROUP BY ?c } . FILTER ( ?r = ?j ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Estonia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q117
P530
Q15617994 Q15617994
USER
And what about Ghana?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q117 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?m ) }
Ghana
action count
action approx
action find_reverse_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 Ghana
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 ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Ghana property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q117 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?m ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
action find_reverse_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 Ghana
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 ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Ghana property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with atmost 18 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 18
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?k <= 18 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?k <= 18 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
161
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 18
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?k <= 18 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
161
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 18
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?k <= 18 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with around 23 political territories or administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 23
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) ?z WHERE { { ?s property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } UNION { ?s property:P530 ?z . ?s rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?z } . FILTER ( ?p = 23 ) }
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 23
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) ?z WHERE { { ?s property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } UNION { ?s property:diplomatic_relation ?z . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?z } . FILTER ( ?p = 23 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 23
[ANSWERS] have diplomatic relations with around 23 political territories or administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) ?z WHERE { { ?s property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } UNION { ?s property:P530 ?z . ?s rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?z } . FILTER ( ?p = 23 ) }
Israel Yemen France People's Republic of China Russia United States of America
United States of America, Russia and France have diplomatic relations with around 23 political territories or administrative territories
United States of America Russia France
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 23
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) ?z WHERE { { ?s property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } UNION { ?s property:diplomatic_relation ?z . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?z } . FILTER ( ?p = 23 ) }
[]