Simple Question (Direct)
Simple Question
Q581058
P1412
Q34770
USER
Which language does Emilio Nsue speak in ?
(Q581058,P1412,c(Q34770))
action filter_type
action find
entity Q581058
relation P1412
type Q34770
['Q581058', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q581058 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Emilio Nsue
action filter_type
action find
entity Emilio Nsue
relation languages spoken, written or signed
type language
['Emilio Nsue', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Emilio_Nsue property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q581058,P1412,c(Q34770))
action filter_type
action find
entity Q581058
relation P1412
type Q34770
Emilio Nsue speaks the [ANSWER]
['Q581058', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q581058 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Spanish
Emilio Nsue speaks the Spanish
Spanish
action filter_type
action find
entity Emilio Nsue
relation languages spoken, written or signed
type language
['Emilio Nsue', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Emilio_Nsue property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q581058
P106
Q12737077
USER
What does that person do for a living ?
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q581058
relation P106
type Q12737077
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q581058 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Emilio Nsue
action filter_type
action find
entity Emilio Nsue
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Emilio_Nsue property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q581058
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q581058 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Emilio Nsue
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Emilio_Nsue property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q484876
P106
Q502895
USER
How many people have the profession as association football player and chief executive officer ?
(c(Q502895),P106,Q937857) (c(Q502895),P106,Q484876)
action count
action intersection
action filter_type
action find_reverse
entity Q937857
relation P106
type Q502895
action filter_type
action find_reverse
entity Q484876
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q937857'] [{'concept': 'Q502895'}, 'P106', 'Q484876']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P106 resource:Q937857 . ?t rdf:type ontology:Q502895 . ?t rdf:type ontology:Q502895 . ?t property:P106 resource:Q484876 }
association football player chief executive officer
action count
action intersection
action filter_type
action find_reverse
entity association football player
relation occupation
type common name
action filter_type
action find_reverse
entity chief executive officer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'association football player'] [{'concept': 'common name'}, 'occupation', 'chief executive officer']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:occupation resource:association_football_player . ?t rdf:type ontology:common_name . ?t rdf:type ontology:common_name . ?t property:occupation resource:chief_executive_officer }
[]
common name
SYSTEM
4
Q1508795 Q6384622 Q6397220 Q11978638
(c(Q502895),P106,Q937857) (c(Q502895),P106,Q484876)
action count
action intersection
action filter_type
action find_reverse
entity Q937857
relation P106
type Q502895
action filter_type
action find_reverse
entity Q484876
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q937857'] [{'concept': 'Q502895'}, 'P106', 'Q484876']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P106 resource:Q937857 . ?t rdf:type ontology:Q502895 . ?t rdf:type ontology:Q502895 . ?t property:P106 resource:Q484876 }
Georges Bayrou Keith Lamb Kevin Payne Jo Lunder
4
action count
action intersection
action filter_type
action find_reverse
entity association football player
relation occupation
type common name
action filter_type
action find_reverse
entity chief executive officer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'association football player'] [{'concept': 'common name'}, 'occupation', 'chief executive officer']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:occupation resource:association_football_player . ?t rdf:type ontology:common_name . ?t rdf:type ontology:common_name . ?t property:occupation resource:chief_executive_officer }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652
P282
Q9779
USER
Which alphabet is the writing system used for Italian ?
(Q652,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
['Q652', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?v WHERE { resource:Q652 property:P282 ?v . ?v rdf:type ontology:Q9779 }
Italian
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Italian', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?v WHERE { resource:Italian property:writing_system ?v . ?v rdf:type ontology:alphabet }
[]
alphabet
Q550383
SYSTEM
Italian alphabet
Q550383
(Q652,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
[ANSWER] is the writing system used for Italian
['Q652', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?v WHERE { resource:Q652 property:P282 ?v . ?v rdf:type ontology:Q9779 }
Italian alphabet
Italian alphabet is the writing system used for Italian
Italian alphabet
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Italian', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?v WHERE { resource:Italian property:writing_system ?v . ?v rdf:type ontology:alphabet }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2865819
P425
Q1914636
USER
Which activity is associated with the field of occupation opera singer ?
(Q2865819,P425,c(Q1914636))
action filter_type
action find
entity Q2865819
relation P425
type Q1914636
['Q2865819', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?q WHERE { resource:Q2865819 property:P425 ?q . ?q rdf:type ontology:Q1914636 }
opera singer
action filter_type
action find
entity opera singer
relation field of this occupation
type activity
['opera singer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?q WHERE { resource:opera_singer property:field_of_this_occupation ?q . ?q rdf:type ontology:activity }
[]
activity
Q2956237
SYSTEM
lyric singing
Q2956237
(Q2865819,P425,c(Q1914636))
action filter_type
action find
entity Q2865819
relation P425
type Q1914636
The [ANSWER] is associated with the field of occupation opera singer
['Q2865819', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?q WHERE { resource:Q2865819 property:P425 ?q . ?q rdf:type ontology:Q1914636 }
lyric singing
The lyric singing is associated with the field of occupation opera singer
lyric singing
action filter_type
action find
entity opera singer
relation field of this occupation
type activity
['opera singer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?q WHERE { resource:opera_singer property:field_of_this_occupation ?q . ?q rdf:type ontology:activity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q2865819
Q15198957
USER
And which aspect of music?
(Q2865819,P425,c(Q15198957))
action filter_type
action find
entity Q2865819
relation P425
type Q15198957
['Q2865819', 'P425', {'concept': 'Q15198957'}]
SELECT DISTINCT ?s WHERE { resource:Q2865819 property:P425 ?s . ?s rdf:type ontology:Q15198957 }
opera singer
action filter_type
action find
entity opera singer
relation field of this occupation
type aspect of music
['opera singer', 'field of this occupation', {'concept': 'aspect of music'}]
SELECT DISTINCT ?s WHERE { resource:opera_singer property:field_of_this_occupation ?s . ?s rdf:type ontology:aspect_of_music }
[]
aspect of music
Q1344
SYSTEM
opera
Q1344
(Q2865819,P425,c(Q15198957))
action filter_type
action find
entity Q2865819
relation P425
type Q15198957
[ANSWER]
['Q2865819', 'P425', {'concept': 'Q15198957'}]
SELECT DISTINCT ?s WHERE { resource:Q2865819 property:P425 ?s . ?s rdf:type ontology:Q15198957 }
opera
opera
action filter_type
action find
entity opera singer
relation field of this occupation
type aspect of music
['opera singer', 'field of this occupation', {'concept': 'aspect of music'}]
SELECT DISTINCT ?s WHERE { resource:opera_singer property:field_of_this_occupation ?s . ?s rdf:type ontology:aspect_of_music }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21052414 Q484876
P17
Q1048835
USER
Which political territories do chief executive officer or Hog Point belong to ?
OR((Q484876,P17,c(Q1048835)), (Q21052414,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q484876
relation P17
action find
entity Q21052414
relation P17
type Q1048835
{'OR': [['Q484876', 'P17', {'concept': 'Q1048835'}], ['Q21052414', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . { { resource:Q484876 property:P17 ?v } UNION { resource:Q21052414 property:P17 ?v } } }
Hog Point chief executive officer
action filter_type
action union
action find
entity chief executive officer
relation country
action find
entity Hog Point
relation country
type political territorial entity
{'OR': [['chief executive officer', 'country', {'concept': 'political territorial entity'}], ['Hog Point', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . { { resource:chief_executive_officer property:country ?v } UNION { resource:Hog_Point property:country ?v } } }
[]
political territorial entity
Q781 Q183
SYSTEM
Antigua and Barbuda, Germany
Q781 Q183
OR((Q484876,P17,c(Q1048835)), (Q21052414,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q484876
relation P17
action find
entity Q21052414
relation P17
type Q1048835
Chief executive officer or Hog Point belong to the [ANSWERS]
{'OR': [['Q484876', 'P17', {'concept': 'Q1048835'}], ['Q21052414', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . { { resource:Q484876 property:P17 ?v } UNION { resource:Q21052414 property:P17 ?v } } }
Antigua and Barbuda Germany
Chief executive officer or Hog Point belong to the Antigua and Barbuda and Germany
Antigua and Barbuda Germany
action filter_type
action union
action find
entity chief executive officer
relation country
action find
entity Hog Point
relation country
type political territorial entity
{'OR': [['chief executive officer', 'country', {'concept': 'political territorial entity'}], ['Hog Point', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . { { resource:chief_executive_officer property:country ?v } UNION { resource:Hog_Point property:country ?v } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1751939
P530
Q1048835
USER
Do Colmenar del Arroyo have diplomatic relations with those ones ?
(Q1751939,P530,Q781) (Q1751939,P530,Q183)
action is_in
entity prev_answer
action find
entity Q1751939
relation P530
['Q1751939', 'P530', 'Q781'] ['Q1751939', 'P530', 'Q183']
ASK WHERE { VALUES ( ?o ) { ( resource:Q781 ) ( resource:Q183 ) } . resource:Q1751939 property:P530 ?o }
Colmenar del Arroyo
action is_in
entity prev_answer
action find
entity Colmenar del Arroyo
relation diplomatic relation
['Colmenar del Arroyo', 'diplomatic relation', 'Antigua and Barbuda'] ['Colmenar del Arroyo', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?o ) { ( resource:Antigua_and_Barbuda ) ( resource:Germany ) } . resource:Colmenar_del_Arroyo property:diplomatic_relation ?o }
[]
political territorial entity
SYSTEM
NO
(Q1751939,P530,Q781) (Q1751939,P530,Q183)
action is_in
entity prev_answer
action find
entity Q1751939
relation P530
[ANSWER]
['Q1751939', 'P530', 'Q781'] ['Q1751939', 'P530', 'Q183']
ASK WHERE { VALUES ( ?o ) { ( resource:Q781 ) ( resource:Q183 ) } . resource:Q1751939 property:P530 ?o }
No
action is_in
entity prev_answer
action find
entity Colmenar del Arroyo
relation diplomatic relation
['Colmenar del Arroyo', 'diplomatic relation', 'Antigua and Barbuda'] ['Colmenar del Arroyo', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?o ) { ( resource:Antigua_and_Barbuda ) ( resource:Germany ) } . resource:Colmenar_del_Arroyo property:diplomatic_relation ?o }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6099704 Q183
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are not the countries of citizenship of Kerem Görsev ?
AND((Q183,P530,c(Q15617994)), NOT((Q6099704,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q6099704
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q6099704', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?h WHERE { FILTER NOT EXISTS { resource:Q6099704 property:P27 ?h } . resource:Q183 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
Kerem Görsev Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Kerem Görsev
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Kerem Görsev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?h WHERE { FILTER NOT EXISTS { resource:Kerem_Görsev property:country_of_citizenship ?h } . resource:Germany property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1030 Q219 Q34 Q1005 Q423 Q1041 Q810 Q142 Q222 Q1016
SYSTEM
Some of them are Namibia, Bulgaria, Sweden, Gambia, North Korea, Senegal, Jordan, France, Albania, Libya
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q6099704,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q6099704
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with Germany and are not the countries of citizenship of Kerem Görsev
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q6099704', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?h WHERE { FILTER NOT EXISTS { resource:Q6099704 property:P27 ?h } . resource:Q183 property:P530 ?h . ?h rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Namibia, Bulgaria, Sweden, Gambia, North Korea, Senegal, Jordan, France, Albania and Libya hold diplomatic relationship with Germany and are not the countries of citizenship of Kerem Görsev
Namibia Bulgaria Sweden Gambia North Korea Senegal Jordan France Albania Libya
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Kerem Görsev
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Kerem Görsev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?h WHERE { FILTER NOT EXISTS { resource:Kerem_Görsev property:country_of_citizenship ?h } . resource:Germany property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1804893
P530
Q1048835
USER
Do Lagoa dos Patos, Minas Gerais have diplomatic relations with those administrative territories ?
(Q1804893,P530,Q1030) (Q1804893,P530,Q219) (Q1804893,P530,Q34) (Q1804893,P530,Q1005) (Q1804893,P530,Q423) (Q1804893,P530,Q1041) (Q1804893,P530,Q810) (Q1804893,P530,Q142) (Q1804893,P530,Q222) (Q1804893,P530,Q1016)
action is_in
entity prev_answer
action find
entity Q1804893
relation P530
['Q1804893', 'P530', 'Q1030'] ['Q1804893', 'P530', 'Q219'] ['Q1804893', 'P530', 'Q34'] ['Q1804893', 'P530', 'Q1005'] ['Q1804893', 'P530', 'Q423'] ['Q1804893', 'P530', 'Q1041'] ['Q1804893', 'P530', 'Q810'] ['Q1804893', 'P530', 'Q142'] ['Q1804893', 'P530', 'Q222'] ['Q1804893', 'P530', 'Q1016']
ASK WHERE { resource:Q1804893 property:P530 ?l . VALUES ( ?l ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
Lagoa dos Patos, Minas Gerais
action is_in
entity prev_answer
action find
entity Lagoa dos Patos, Minas Gerais
relation diplomatic relation
['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Namibia'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Bulgaria'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Sweden'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Gambia'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'North Korea'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Senegal'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Jordan'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'France'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Albania'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Libya']
ASK WHERE { resource:Lagoa_dos_Patos,_Minas_Gerais property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q1804893,P530,Q1030) (Q1804893,P530,Q219) (Q1804893,P530,Q34) (Q1804893,P530,Q1005) (Q1804893,P530,Q423) (Q1804893,P530,Q1041) (Q1804893,P530,Q810) (Q1804893,P530,Q142) (Q1804893,P530,Q222) (Q1804893,P530,Q1016)
action is_in
entity prev_answer
action find
entity Q1804893
relation P530
[ANSWER]
['Q1804893', 'P530', 'Q1030'] ['Q1804893', 'P530', 'Q219'] ['Q1804893', 'P530', 'Q34'] ['Q1804893', 'P530', 'Q1005'] ['Q1804893', 'P530', 'Q423'] ['Q1804893', 'P530', 'Q1041'] ['Q1804893', 'P530', 'Q810'] ['Q1804893', 'P530', 'Q142'] ['Q1804893', 'P530', 'Q222'] ['Q1804893', 'P530', 'Q1016']
ASK WHERE { resource:Q1804893 property:P530 ?l . VALUES ( ?l ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Lagoa dos Patos, Minas Gerais
relation diplomatic relation
['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Namibia'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Bulgaria'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Sweden'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Gambia'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'North Korea'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Senegal'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Jordan'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'France'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Albania'] ['Lagoa dos Patos, Minas Gerais', 'diplomatic relation', 'Libya']
ASK WHERE { resource:Lagoa_dos_Patos,_Minas_Gerais property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2569341 Q21052414
P17
Q1048835
USER
Which political territories do Hog Point or Wiesbüttgraben belong to ?
OR((Q21052414,P17,c(Q1048835)), (Q2569341,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q21052414
relation P17
action find
entity Q2569341
relation P17
type Q1048835
{'OR': [['Q21052414', 'P17', {'concept': 'Q1048835'}], ['Q2569341', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { ?e property:P17 ?p . VALUES ( ?e ) { ( resource:Q21052414 ) ( resource:Q2569341 ) } } . ?p rdf:type ontology:Q1048835 }
Wiesbüttgraben Hog Point
action filter_type
action union
action find
entity Hog Point
relation country
action find
entity Wiesbüttgraben
relation country
type political territorial entity
{'OR': [['Hog Point', 'country', {'concept': 'political territorial entity'}], ['Wiesbüttgraben', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?e property:country ?p . VALUES ( ?e ) { ( resource:Hog_Point ) ( resource:Wiesbüttgraben ) } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q781 Q183
SYSTEM
Antigua and Barbuda, Germany
Q781 Q183
OR((Q21052414,P17,c(Q1048835)), (Q2569341,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q21052414
relation P17
action find
entity Q2569341
relation P17
type Q1048835
Hog Point or Wiesbüttgraben belong to the [ANSWERS]
{'OR': [['Q21052414', 'P17', {'concept': 'Q1048835'}], ['Q2569341', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { ?e property:P17 ?p . VALUES ( ?e ) { ( resource:Q21052414 ) ( resource:Q2569341 ) } } . ?p rdf:type ontology:Q1048835 }
Antigua and Barbuda Germany
Hog Point or Wiesbüttgraben belong to the Antigua and Barbuda and Germany
Antigua and Barbuda Germany
action filter_type
action union
action find
entity Hog Point
relation country
action find
entity Wiesbüttgraben
relation country
type political territorial entity
{'OR': [['Hog Point', 'country', {'concept': 'political territorial entity'}], ['Wiesbüttgraben', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?e property:country ?p . VALUES ( ?e ) { ( resource:Hog_Point ) ( resource:Wiesbüttgraben ) } } . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q1048835 Q56061 Q515
USER
How many political territories have atmost 3 administrative territories or cities as their capital ?
(c(Q56061)|c(Q515),P1376,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
value 3
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { FILTER ( ?r <= 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q515 ) } } GROUP BY ?c } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
value 3
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { FILTER ( ?r <= 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } } GROUP BY ?c } }
[]
political territorial entity administrative territorial entity city
SYSTEM
654
Q7915647 Q7130037 Q132418 Q132410 Q13881 Q13882 Q13885 Q13884 Q13887 Q6318040 Q13889 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q6317672 Q3891 Q3899 Q3321945 Q2175 Q938891 Q10298683 Q2271 Q849807 Q48060 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13900 Q13902 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q43448 Q170390 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q8170 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q168651 Q3312907 Q3312902 Q173407 Q8517 Q2702993 Q3741 Q165956 Q2223 Q6949621 Q133083 Q22880 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q13786 Q13785 Q9676 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10547 Q10469 Q2485101 Q7290462 Q10462 Q1334322 Q10466 Q10465 Q628370 Q104891 Q4863230 Q1890 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q664 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q12741 Q6339 Q5082 Q3312493 Q3824385 Q3678587 Q2967 Q5065 Q5067 Q5061 Q5062 Q6317167 Q5068 Q13737 Q408 Q2096228 Q13730 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q7932 Q13861 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q2140 Q539231 Q13827 Q13826 Q13825 Q34617 Q13829 Q2698844 Q383734 Q953068 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q170036 Q9648 Q5926575 Q7686343 Q3125978 Q5262649 Q192959 Q3321924 Q5455586 Q8566 Q6319759 Q13857 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q757 Q13772 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6318695 Q6308 Q632108 Q5096392 Q6301 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q7890 Q2917 Q7896 Q1399432 Q933179 Q5945 Q3916 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q3826003 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q48079 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q5093 Q18288148 Q5095 Q5096 Q3653113 Q23635 Q6321909 Q671742 Q6317899 Q450521 Q2621992 Q5075 Q3824597 Q834261 Q3557 Q5078 Q193619 Q13740 Q2632922 Q4804007 Q13744 Q5925410 Q1893486 Q3313278 Q2898 Q48094 Q5051137 Q48098 Q201162 Q168856 Q192697 Q178269 Q2772 Q13874 Q7928 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q188373 Q2486455 Q48046 Q5048959 Q3826128 Q7414539 Q2379199 Q2101298 Q1823 Q1769672 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q7421013 Q3825413 Q189974 Q193295 Q2594990 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q8195 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2110 Q48072 Q2718510 Q3586 Q18221 Q192184 Q13892 Q13893 Q13891 Q2875944 Q13895 Q13899 Q5444794 Q593806 Q3906 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q201697 Q505220 Q7827062 Q1866 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q13809 Q178084 Q2697268 Q13860 Q13807 Q13806 Q170672 Q240441 Q1230021 Q183 Q24174 Q10440 Q933576 Q49655 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q5657086 Q2697641 Q309460 Q571947 Q48089 Q7919 Q7917 Q7916 Q7914 Q7912 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q3540 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q10526 Q191091 Q10480 Q3321868 Q10483 Q10485 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q48057 Q211793 Q48054 Q6013498 Q211795 Q6328 Q6319125 Q3312431 Q10557 Q10554 Q10555 Q2909 Q2640062 Q862584 Q2902 Q10559 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q56061)|c(Q515),P1376,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
value 3
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { FILTER ( ?r <= 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q515 ) } } GROUP BY ?c } }
Vargas Guerra District Panao District Northern Cape Mpumalanga Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Paita District Surigao del Norte Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Ayabaca District Kalimantan Tengah Kalimantan Timur Acarí District Riau Province San Miguel District Huacrachuco South Sumatra Western Highlands Province Gera District San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga del Sur Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory County of Oldenburg Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Tübingen Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Landgraviate of Hesse-Kassel Checca District Coya District Ternopil Oblast Main-Tauber Haquira District Special Region of Yogyakarta North West Kepulauan Riau Máncora District Gauteng Electoral Palatinate Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Cebu Cavite Isle of Man Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Lower Franconia Main-Spessart County of Chiny Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Bengkulu Province Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District New Zealand Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara Tambopata North Sulawesi Province Basilan Australia Tornquist Aurora Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Darmstadt Government Region Mountain Province Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla North Sumatra Province Ambo District Kalinga Isabela Iloilo Saint Pierre and Miquelon La Union Chimbote District Iquitos District South-West Africa Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Kiev Oblast Falkland Islands Huaytará District Tarma District Bali Jauja District Minsk Region Arequipa Fitzcarrald Alzey-Worms Sicaya District Misamis Occidental Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Saint Vincent and the Grenadines Capiz Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Pimentel Leipzig Lincoln Partido Chiclayo District Nordsachsen Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Kassel Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Kalimantan Barat Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chucuito District Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Leipzig District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Maluku Province Metropolitan City of Florence Papua West Papua Kingdom of Syunik Bermuda Río Tambo District General Pueyrredón Moyobamba District Magdeburg Government Region Villarino South East Sulawesi Province Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Batanes Chancay District Ascope District Batangas Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Potsdam District Catacaos Rostock District Amazonas Region Chernivtsi Oblast South Moravian Region Ivano-Frankivsk Oblast West Sumatra Rizal Kassel  Government Region Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Värmland County Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region South Bohemia Region Manantay Cottbus Casitas Huancabamba District San José de Sisa District politics of Edinburgh Tandil Aceh La Sotonera Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Saposoa District Pausa District Jõgeva County Hradec Králové Region Dominion of New Zealand Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Breisgau-Hochschwarzwald Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Lampung Province Karl-Marx-Stadt District Abancay District East Java Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tarlac Tawi-Tawi Surigao del Sur Omate District Zambales Zamboanga del Norte Fernando Lores District Llata District Kalimantan Selatan North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Leimebamba District Huancavelica Region Torres Causana District Bangka–Belitung Islands Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Eastern Samar Ilkhanate Chavín de Huantar District Misamis Oriental Dinagat Islands Davao Oriental Dnipropetrovsk Oblast General Alvarado Partido Nieva District Germany Dresden Government Region Coburg Santa Cruz District Schellenberg Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Manú Pamparomas District County of Hainaut Bautzen Neubrandenburg District Odenwaldkreis Kreis Bergstraße Darmstadt-Dieburg Groß-Gerau Offenbach Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Banten Province Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Rosenheim Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Regen Deggendorf Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region Frankfurt (Oder) San Martín Region Erfurt Inambari Lima Region Mittelsachsen Pacasmayo District Cajamarca Swabia Upper Franconia Upper Palatinate Vorpommern-Rügen District Aramango District Enga Province Mecklenburgische Seenplatte District Lower Bavaria Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
654
action count
action atmost
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
value 3
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { FILTER ( ?r <= 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } } GROUP BY ?c } }
[]