Simple Question (Direct)
Simple Question
Q2830399
P69
Q41176
USER
Which building is Alain de Maricourt an alumni of ?
(Q2830399,P69,c(Q41176))
action filter_type
action find
entity Q2830399
relation P69
type Q41176
['Q2830399', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?h WHERE { resource:Q2830399 property:P69 ?h . ?h rdf:type ontology:Q41176 }
Alain de Maricourt
action filter_type
action find
entity Alain de Maricourt
relation educated at
type building
['Alain de Maricourt', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?h WHERE { resource:Alain_de_Maricourt property:educated_at ?h . ?h rdf:type ontology:building }
[]
building
Q2983698
SYSTEM
Collège Stanislas de Paris
Q2983698
(Q2830399,P69,c(Q41176))
action filter_type
action find
entity Q2830399
relation P69
type Q41176
[ANSWER] is Alain de Maricourt an alumni of
['Q2830399', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?h WHERE { resource:Q2830399 property:P69 ?h . ?h rdf:type ontology:Q41176 }
Collège Stanislas de Paris
Collège Stanislas de Paris is Alain de Maricourt an alumni of
Collège Stanislas de Paris
action filter_type
action find
entity Alain de Maricourt
relation educated at
type building
['Alain de Maricourt', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?h WHERE { resource:Alain_de_Maricourt property:educated_at ?h . ?h rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2830399
P20
Q20667921
USER
Which french administrative division is the place of death of that person ?
(Q2983698,P20,c(Q20667921))
action filter_type
action find
entity Q2830399
relation P20
type Q20667921
['Q2983698', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q2830399 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Alain de Maricourt
action filter_type
action find
entity Alain de Maricourt
relation place of death
type type of french administrative division
['Collège Stanislas de Paris', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Alain_de_Maricourt property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q20323
SYSTEM
Perrigny-lès-Dijon
Q20323
(Q2983698,P20,c(Q20667921))
action filter_type
action find
entity Q2830399
relation P20
type Q20667921
[ANSWER] is the place of death of that person
['Q2983698', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q2830399 property:P20 ?q . ?q rdf:type ontology:Q20667921 }
Perrigny-lès-Dijon
Perrigny-lès-Dijon is the place of death of that person
Perrigny-lès-Dijon
action filter_type
action find
entity Alain de Maricourt
relation place of death
type type of french administrative division
['Collège Stanislas de Paris', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Alain_de_Maricourt property:place_of_death ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20323 Q142
P17
Q15617994
USER
Is Perrigny-lès-Dijon situated in France ?
(Q20323,P17,Q142)
action is_in
entity Q142
action find
entity Q20323
relation P17
['Q20323', 'P17', 'Q142']
ASK WHERE { resource:Q20323 property:P17 resource:Q142 }
Perrigny-lès-Dijon France
action is_in
entity France
action find
entity Perrigny-lès-Dijon
relation country
['Perrigny-lès-Dijon', 'country', 'France']
ASK WHERE { resource:Perrigny-lès-Dijon property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q20323,P17,Q142)
action is_in
entity Q142
action find
entity Q20323
relation P17
[ANSWER]
['Q20323', 'P17', 'Q142']
ASK WHERE { resource:Q20323 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Perrigny-lès-Dijon
relation country
['Perrigny-lès-Dijon', 'country', 'France']
ASK WHERE { resource:Perrigny-lès-Dijon property:country resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3742971 Q2830399
P27
Q15617994
USER
Which administrative territories are the native countriesof Alain de Maricourt or Fernando Sánchez ?
OR((Q2830399,P27,c(Q15617994)), (Q3742971,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2830399
relation P27
action find
entity Q3742971
relation P27
type Q15617994
{'OR': [['Q2830399', 'P27', {'concept': 'Q15617994'}], ['Q3742971', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?o property:P27 ?r . VALUES ( ?o ) { ( resource:Q2830399 ) ( resource:Q3742971 ) } } . ?r rdf:type ontology:Q15617994 }
Fernando Sánchez Alain de Maricourt
action filter_type
action union
action find
entity Alain de Maricourt
relation country of citizenship
action find
entity Fernando Sánchez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alain de Maricourt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fernando Sánchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?o property:country_of_citizenship ?r . VALUES ( ?o ) { ( resource:Alain_de_Maricourt ) ( resource:Fernando_Sánchez ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q414
SYSTEM
France, Argentina
Q142 Q414
OR((Q2830399,P27,c(Q15617994)), (Q3742971,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2830399
relation P27
action find
entity Q3742971
relation P27
type Q15617994
[ANSWERS] are the native countriesof Alain de Maricourt or Fernando Sánchez
{'OR': [['Q2830399', 'P27', {'concept': 'Q15617994'}], ['Q3742971', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?o property:P27 ?r . VALUES ( ?o ) { ( resource:Q2830399 ) ( resource:Q3742971 ) } } . ?r rdf:type ontology:Q15617994 }
France Argentina
France and Argentina are the native countriesof Alain de Maricourt or Fernando Sánchez
France Argentina
action filter_type
action union
action find
entity Alain de Maricourt
relation country of citizenship
action find
entity Fernando Sánchez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alain de Maricourt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Fernando Sánchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?o property:country_of_citizenship ?r . VALUES ( ?o ) { ( resource:Alain_de_Maricourt ) ( resource:Fernando_Sánchez ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5015963
P530
Q15617994
USER
Do Cache Public Schools have diplomatic relations with those ones ?
(Q5015963,P530,Q142) (Q5015963,P530,Q414)
action is_in
entity prev_answer
action find
entity Q5015963
relation P530
['Q5015963', 'P530', 'Q142'] ['Q5015963', 'P530', 'Q414']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q414 ) } . resource:Q5015963 property:P530 ?c }
Cache Public Schools
action is_in
entity prev_answer
action find
entity Cache Public Schools
relation diplomatic relation
['Cache Public Schools', 'diplomatic relation', 'France'] ['Cache Public Schools', 'diplomatic relation', 'Argentina']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Argentina ) } . resource:Cache_Public_Schools property:diplomatic_relation ?c }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5015963,P530,Q142) (Q5015963,P530,Q414)
action is_in
entity prev_answer
action find
entity Q5015963
relation P530
[ANSWER]
['Q5015963', 'P530', 'Q142'] ['Q5015963', 'P530', 'Q414']
ASK WHERE { VALUES ( ?c ) { ( resource:Q142 ) ( resource:Q414 ) } . resource:Q5015963 property:P530 ?c }
No
action is_in
entity prev_answer
action find
entity Cache Public Schools
relation diplomatic relation
['Cache Public Schools', 'diplomatic relation', 'France'] ['Cache Public Schools', 'diplomatic relation', 'Argentina']
ASK WHERE { VALUES ( ?c ) { ( resource:France ) ( resource:Argentina ) } . resource:Cache_Public_Schools property:diplomatic_relation ?c }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4841107 Q414
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Argentina or are Badrai present in ?
OR((Q414,P530,c(Q15617994)), (Q4841107,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q414
relation P530
action find
entity Q4841107
relation P17
type Q15617994
{'OR': [['Q414', 'P530', {'concept': 'Q15617994'}], ['Q4841107', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q414 property:P530 ?e } UNION { resource:Q4841107 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Badrai Argentina
action filter_type
action union
action find
entity Argentina
relation diplomatic relation
action find
entity Badrai
relation country
type designation for an administrative territorial entity
{'OR': [['Argentina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Badrai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Argentina property:diplomatic_relation ?e } UNION { resource:Badrai property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q843 Q30 Q159 Q38
SYSTEM
Brazil, Pakistan, United States of America, Russia, Italy
Q155 Q843 Q30 Q159 Q38
OR((Q414,P530,c(Q15617994)), (Q4841107,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q414
relation P530
action find
entity Q4841107
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Argentina or are Badrai present in
{'OR': [['Q414', 'P530', {'concept': 'Q15617994'}], ['Q4841107', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q414 property:P530 ?e } UNION { resource:Q4841107 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Brazil Pakistan United States of America Russia Italy
Brazil, Pakistan, United States of America, Russia and Italy hold diplomatic relationship with Argentina or are Badrai present in
Brazil Pakistan United States of America Russia Italy
action filter_type
action union
action find
entity Argentina
relation diplomatic relation
action find
entity Badrai
relation country
type designation for an administrative territorial entity
{'OR': [['Argentina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Badrai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Argentina property:diplomatic_relation ?e } UNION { resource:Badrai property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q986
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Eritrea ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q986 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?w ) }
Eritrea
action count
action greater
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 Eritrea
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 ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Eritrea property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q986 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?w ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
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 Eritrea
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 ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Eritrea property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12007578 Q38
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Italy or are the native countriesof Trond Davidsen ?
OR((Q38,P530,c(Q15617994)), (Q12007578,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q12007578
relation P27
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q12007578', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q38 property:P530 ?q } UNION { resource:Q12007578 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Trond Davidsen Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Trond Davidsen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Trond Davidsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Italy property:diplomatic_relation ?q } UNION { resource:Trond_Davidsen property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q805 Q30 Q37 Q219 Q28 Q347 Q796 Q212 Q225
SYSTEM
Some of them are Latvia, Yemen, United States of America, Lithuania, Bulgaria, Hungary, Liechtenstein, Iraq, Ukraine, Bosnia and Herzegovina
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q12007578,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q12007578
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Italy or are the native countriesof Trond Davidsen
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q12007578', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q38 property:P530 ?q } UNION { resource:Q12007578 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Latvia, Yemen, United States of America, Lithuania, Bulgaria, Hungary, Liechtenstein, Iraq, Ukraine and Bosnia and Herzegovina have a diplomatic relationship with Italy or are the native countriesof Trond Davidsen
Latvia Yemen United States of America Lithuania Bulgaria Hungary Liechtenstein Iraq Ukraine Bosnia and Herzegovina
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Trond Davidsen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Trond Davidsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Italy property:diplomatic_relation ?q } UNION { resource:Trond_Davidsen property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 32 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?o ) WHERE { ?n property:P530 ?j . ?n rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?o = 32 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?o ) WHERE { ?n property:diplomatic_relation ?j . ?n rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?o = 32 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?o ) WHERE { ?n property:P530 ?j . ?n rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?o = 32 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?o ) WHERE { ?n property:diplomatic_relation ?j . ?n rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?o = 32 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3046382 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Italy or are Earl Hammond a civilian of ?
OR((Q38,P530,c(Q15617994)), (Q3046382,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q3046382
relation P27
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3046382', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q38 property:P530 ?g } UNION { resource:Q3046382 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Earl Hammond Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Earl Hammond
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Earl Hammond', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Italy property:diplomatic_relation ?g } UNION { resource:Earl_Hammond property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q889 Q884 Q733 Q801 Q928 Q184 Q221 Q233 Q31
SYSTEM
Some of them are Hungary, Afghanistan, South Korea, Paraguay, Israel, Philippines, Belarus, Republic of Macedonia, Malta, Belgium
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q3046382,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q3046382
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Italy or are Earl Hammond a civilian of
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3046382', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q38 property:P530 ?g } UNION { resource:Q3046382 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Hungary, Afghanistan, South Korea, Paraguay, Israel, Philippines, Belarus, Republic of Macedonia, Malta and Belgium have diplomatic relations with Italy or are Earl Hammond a civilian of
Hungary Afghanistan South Korea Paraguay Israel Philippines Belarus Republic of Macedonia Malta Belgium
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Earl Hammond
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Earl Hammond', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Italy property:diplomatic_relation ?g } UNION { resource:Earl_Hammond property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q20667921 Q15617994
USER
Which administrative territories are approximately 2 cities and french administrative divisions the capital of ?
(c(Q15617994),P36,c(Q515)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 2
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?a ) WHERE { { ?e property:P36 ?r . ?r rdf:type ontology:Q515 . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q20667921 . ?e property:P36 ?r } } GROUP BY ?e } }
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?a ) WHERE { { ?e property:capital ?r . ?r rdf:type ontology:city . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division . ?e property:capital ?r } } GROUP BY ?e } }
[]
city type of french administrative division designation for an administrative territorial entity
Q252 Q3164 Q3259
SYSTEM
Indonesia, Ardennes, Cantal
Q2998020 Q252 Q3259 Q12798 Q12730 Q3278 Q12772 Q3240 Q3164
(c(Q15617994),P36,c(Q515)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 2
[ANSWERS] are approximately 2 cities and french administrative divisions the capital of
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?a ) WHERE { { ?e property:P36 ?r . ?r rdf:type ontology:Q515 . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q20667921 . ?e property:P36 ?r } } GROUP BY ?e } }
Corse Indonesia Cantal Vendée Haute-Saône Charente-Maritime Tarn Bouches-du-Rhône Ardennes
Indonesia, Ardennes and Cantal are approximately 2 cities and french administrative divisions the capital of
Indonesia Ardennes Cantal
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?a = 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?a ) WHERE { { ?e property:capital ?r . ?r rdf:type ontology:city . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division . ?e property:capital ?r } } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q760
P1001
Q15617994 Q12737077 Q11204
USER
How many administrative territories belong to jurisdiction of around the same number of occupations and legislatures as Saint Lucia ?
(c(Q12737077)|c(Q11204),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q760
relation P1001
type Q12737077
type Q11204
[[{'concept': 'Q12737077'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q12737077 } UNION { ?y property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q11204 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P1001 resource:Q760 . { VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q11204 ) } . ?n rdf:type ?z } } } . FILTER ( ?u = ?g ) }
Saint Lucia
action count
action approx
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 legislature
action count
action filter_multi_types
action find_reverse
entity Saint Lucia
relation applies to jurisdiction
type occupation
type legislature
[[{'concept': 'occupation'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:occupation } UNION { ?y property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:legislature } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:applies_to_jurisdiction resource:Saint_Lucia . { VALUES ( ?z ) { ( ontology:occupation ) ( ontology:legislature ) } . ?n rdf:type ?z } } } . FILTER ( ?u = ?g ) }
[]
designation for an administrative territorial entity occupation legislature
SYSTEM
244
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q414 Q22273061 Q2871 Q262 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q36 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q12737077)|c(Q11204),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q760
relation P1001
type Q12737077
type Q11204
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q12737077 } UNION { ?y property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q11204 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P1001 resource:Q760 . { VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q11204 ) } . ?n rdf:type ?z } } } . FILTER ( ?u = ?g ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Argentina Duchy of Nemours Hagen Algeria Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Poland Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
244
action count
action approx
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 legislature
action count
action filter_multi_types
action find_reverse
entity Saint Lucia
relation applies to jurisdiction
type occupation
type legislature
[[{'concept': 'occupation'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:occupation } UNION { ?y property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:legislature } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:applies_to_jurisdiction resource:Saint_Lucia . { VALUES ( ?z ) { ( ontology:occupation ) ( ontology:legislature ) } . ?n rdf:type ?z } } } . FILTER ( ?u = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q953
P1001
Q15617994 Q12737077 Q11204
USER
And what about Zambia?
(c(Q12737077)|c(Q11204),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q953
relation P1001
type Q12737077
type Q11204
[[{'concept': 'Q12737077'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?t WHERE { VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q11204 ) } . ?j rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P1001 resource:Q953 . { { ?p rdf:type ontology:Q12737077 } UNION { ?p rdf:type ontology:Q11204 } } } } . FILTER ( ?m = ?l ) }
Zambia
action count
action approx
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 legislature
action count
action filter_multi_types
action find_reverse
entity Zambia
relation applies to jurisdiction
type occupation
type legislature
[[{'concept': 'occupation'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?t WHERE { VALUES ( ?k ) { ( ontology:occupation ) ( ontology:legislature ) } . ?j rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:applies_to_jurisdiction resource:Zambia . { { ?p rdf:type ontology:occupation } UNION { ?p rdf:type ontology:legislature } } } } . FILTER ( ?m = ?l ) }
[]
designation for an administrative territorial entity occupation legislature
SYSTEM
246
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q22273061 Q2871 Q262 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q36 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q12737077)|c(Q11204),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q953
relation P1001
type Q12737077
type Q11204
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?t WHERE { VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q11204 ) } . ?j rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P1001 resource:Q953 . { { ?p rdf:type ontology:Q12737077 } UNION { ?p rdf:type ontology:Q11204 } } } } . FILTER ( ?m = ?l ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina Duchy of Nemours Hagen Algeria Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Poland Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
246
action count
action approx
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 legislature
action count
action filter_multi_types
action find_reverse
entity Zambia
relation applies to jurisdiction
type occupation
type legislature
[[{'concept': 'occupation'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?t WHERE { VALUES ( ?k ) { ( ontology:occupation ) ( ontology:legislature ) } . ?j rdf:type ?k } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:applies_to_jurisdiction resource:Zambia . { { ?p rdf:type ontology:occupation } UNION { ?p rdf:type ontology:legislature } } } } . FILTER ( ?m = ?l ) }
[]