Simple Question (Direct)
Simple Question
Q66773
P27
Q1048835
USER
Which political territory is Otto Fickeisen a civilian of ?
(Q66773,P27,c(Q1048835))
action filter_type
action find
entity Q66773
relation P27
type Q1048835
['Q66773', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q66773 property:P27 ?s }
Otto Fickeisen
action filter_type
action find
entity Otto Fickeisen
relation country of citizenship
type political territorial entity
['Otto Fickeisen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Otto_Fickeisen property:country_of_citizenship ?s }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q66773,P27,c(Q1048835))
action filter_type
action find
entity Q66773
relation P27
type Q1048835
[ANSWER] is Otto Fickeisen a civilian of
['Q66773', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q66773 property:P27 ?s }
Germany
Germany is Otto Fickeisen a civilian of
Germany
action filter_type
action find
entity Otto Fickeisen
relation country of citizenship
type political territorial entity
['Otto Fickeisen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Otto_Fickeisen property:country_of_citizenship ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P710
Q484652
USER
Which international organization did that political territory participate in ?
(c(Q484652),P710,Q183)
action filter_type
action find_reverse
entity Q183
relation P710
type Q484652
[{'concept': 'Q484652'}, 'P710', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q183 . ?g rdf:type ontology:Q484652 }
Germany
action filter_type
action find_reverse
entity Germany
relation participant
type international organization
[{'concept': 'international organization'}, 'participant', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Germany . ?g rdf:type ontology:international_organization }
[]
international organization
Q10287157
SYSTEM
G6
Q10287157
(c(Q484652),P710,Q183)
action filter_type
action find_reverse
entity Q183
relation P710
type Q484652
That political territory participated in [ANSWER]
[{'concept': 'Q484652'}, 'P710', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q183 . ?g rdf:type ontology:Q484652 }
G6
That political territory participated in G6
G6
action filter_type
action find_reverse
entity Germany
relation participant
type international organization
[{'concept': 'international organization'}, 'participant', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Germany . ?g rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P85
Q7725634
USER
What is the anthem for that political territory ?
(Q10287157,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
['Q10287157', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { resource:Q183 property:P85 ?k . ?k rdf:type ontology:Q7725634 }
Germany
action filter_type
action find
entity Germany
relation anthem
type literary work
['G6', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { resource:Germany property:anthem ?k . ?k rdf:type ontology:literary_work }
[]
literary work
Q44042
SYSTEM
Das Lied der Deutschen
Q44042
(Q10287157,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
The anthem for that political territory is [ANSWER]
['Q10287157', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { resource:Q183 property:P85 ?k . ?k rdf:type ontology:Q7725634 }
Das Lied der Deutschen
The anthem for that political territory is Das Lied der Deutschen
Das Lied der Deutschen
action filter_type
action find
entity Germany
relation anthem
type literary work
['G6', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { resource:Germany property:anthem ?k . ?k rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q44042 Q26883895 Q1623982
P17
Q1048835
USER
Is that literary work present in Pung‑ol-Sibugay and Cómpeta ?
(Q44042,P17,Q26883895) (Q44042,P17,Q1623982)
action is_in
entity Q44042
action intersection
action find_reverse
entity Q26883895
relation P17
action find_reverse
entity Q1623982
relation P17
['Q44042', 'P17', 'Q26883895'] ['Q44042', 'P17', 'Q1623982']
ASK WHERE { resource:Q44042 property:P17 resource:Q26883895 . resource:Q44042 property:P17 resource:Q1623982 }
Das Lied der Deutschen Pung‑ol-Sibugay Cómpeta
action is_in
entity Das Lied der Deutschen
action intersection
action find_reverse
entity Pung‑ol-Sibugay
relation country
action find_reverse
entity Cómpeta
relation country
['Das Lied der Deutschen', 'country', 'Pung‑ol-Sibugay'] ['Das Lied der Deutschen', 'country', 'Cómpeta']
ASK WHERE { resource:Das_Lied_der_Deutschen property:country resource:Pung‑ol-Sibugay . resource:Das_Lied_der_Deutschen property:country resource:Cómpeta }
[]
political territorial entity
SYSTEM
NO
(Q44042,P17,Q26883895) (Q44042,P17,Q1623982)
action is_in
entity Q44042
action intersection
action find_reverse
entity Q26883895
relation P17
action find_reverse
entity Q1623982
relation P17
[ANSWER]
['Q44042', 'P17', 'Q26883895'] ['Q44042', 'P17', 'Q1623982']
ASK WHERE { resource:Q44042 property:P17 resource:Q26883895 . resource:Q44042 property:P17 resource:Q1623982 }
No
action is_in
entity Das Lied der Deutschen
action intersection
action find_reverse
entity Pung‑ol-Sibugay
relation country
action find_reverse
entity Cómpeta
relation country
['Das Lied der Deutschen', 'country', 'Pung‑ol-Sibugay'] ['Das Lied der Deutschen', 'country', 'Cómpeta']
ASK WHERE { resource:Das_Lied_der_Deutschen property:country resource:Pung‑ol-Sibugay . resource:Das_Lied_der_Deutschen property:country resource:Cómpeta }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q7725634
USER
How many languages are atleast 14 literary works composed in ?
(c(Q7725634),P407,c(Q34770))
action count
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 14
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P407 ?e . ?e rdf:type ontology:Q34770 . ?x rdf:type ontology:Q7725634 } GROUP BY ?e } . FILTER ( ?d >= 14 ) }
action count
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 14
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?x rdf:type ontology:literary_work } GROUP BY ?e } . FILTER ( ?d >= 14 ) }
[]
language literary work
SYSTEM
2
Q1860 Q1321
(c(Q7725634),P407,c(Q34770))
action count
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 14
[ANSWER]
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P407 ?e . ?e rdf:type ontology:Q34770 . ?x rdf:type ontology:Q7725634 } GROUP BY ?e } . FILTER ( ?d >= 14 ) }
English Spanish
2
action count
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 14
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?x rdf:type ontology:literary_work } GROUP BY ?e } . FILTER ( ?d >= 14 ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q4512643 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany and are not the countries of citizenship of Igor Cherevchenko ?
AND((Q183,P530,c(Q15617994)), NOT((Q4512643,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q4512643
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q4512643', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Q183 property:P530 ?k . MINUS { resource:Q4512643 property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
Igor Cherevchenko Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Igor Cherevchenko
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Igor Cherevchenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Germany property:diplomatic_relation ?k . MINUS { resource:Igor_Cherevchenko property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79 Q217 Q423 Q945 Q1019 Q786 Q419 Q414 Q1045 Q148
SYSTEM
Some of them are Egypt, Republic of Moldova, North Korea, Togo, Madagascar, Dominican Republic, Peru, Argentina, Somalia, People's Republic of China
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q43 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((Q4512643,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q4512643
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Germany and are not the countries of citizenship of Igor Cherevchenko
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q4512643', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Q183 property:P530 ?k . MINUS { resource:Q4512643 property:P27 ?k } . ?k 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 Turkey 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
Egypt, Republic of Moldova, North Korea, Togo, Madagascar, Dominican Republic, Peru, Argentina, Somalia and People's Republic of China have diplomatic relationships with Germany and are not the countries of citizenship of Igor Cherevchenko
Egypt Republic of Moldova North Korea Togo Madagascar Dominican Republic Peru Argentina Somalia People's Republic of China
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Igor Cherevchenko
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Igor Cherevchenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Germany property:diplomatic_relation ?k . MINUS { resource:Igor_Cherevchenko property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories and political territories have diplomatic relationships with that administrative territory ?
(Q423,P530,c(Q15617994)) (Q423,P530,c(Q1048835)) (Q79,P530,c(Q15617994)) (Q79,P530,c(Q1048835)) (Q217,P530,c(Q15617994)) (Q217,P530,c(Q1048835)) (Q423,P530,c(Q15617994)) (Q423,P530,c(Q1048835)) (Q945,P530,c(Q15617994)) (Q945,P530,c(Q1048835)) (Q1019,P530,c(Q15617994)) (Q1019,P530,c(Q1048835)) (Q786,P530,c(Q15617994)) (Q786,P530,c(Q1048835)) (Q419,P530,c(Q15617994)) (Q419,P530,c(Q1048835)) (Q414,P530,c(Q15617994)) (Q414,P530,c(Q1048835)) (Q1045,P530,c(Q15617994)) (Q1045,P530,c(Q1048835)) (Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835))
['Q423', 'P530', {'concept': 'Q15617994'}] ['Q423', 'P530', {'concept': 'Q1048835'}] ['Q79', 'P530', {'concept': 'Q15617994'}] ['Q79', 'P530', {'concept': 'Q1048835'}] ['Q217', 'P530', {'concept': 'Q15617994'}] ['Q217', 'P530', {'concept': 'Q1048835'}] ['Q423', 'P530', {'concept': 'Q15617994'}] ['Q423', 'P530', {'concept': 'Q1048835'}] ['Q945', 'P530', {'concept': 'Q15617994'}] ['Q945', 'P530', {'concept': 'Q1048835'}] ['Q1019', 'P530', {'concept': 'Q15617994'}] ['Q1019', 'P530', {'concept': 'Q1048835'}] ['Q786', 'P530', {'concept': 'Q15617994'}] ['Q786', 'P530', {'concept': 'Q1048835'}] ['Q419', 'P530', {'concept': 'Q15617994'}] ['Q419', 'P530', {'concept': 'Q1048835'}] ['Q414', 'P530', {'concept': 'Q15617994'}] ['Q414', 'P530', {'concept': 'Q1048835'}] ['Q1045', 'P530', {'concept': 'Q15617994'}] ['Q1045', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q423 property:P530 ?z } UNION { resource:Q423 property:P530 ?y } UNION { resource:Q1249091 property:P530 ?z } UNION { resource:Q1249091 property:P530 ?y } UNION { resource:Q217 property:P530 ?z } UNION { resource:Q217 property:P530 ?y } UNION { resource:Q423 property:P530 ?z } UNION { resource:Q423 property:P530 ?y } UNION { resource:Q2204967 property:P530 ?z } UNION { resource:Q2204967 property:P530 ?y } UNION { resource:Q1847603 property:P530 ?z } UNION { resource:Q1847603 property:P530 ?y } UNION { resource:Q786 property:P530 ?z } UNION { resource:Q786 property:P530 ?y } UNION { resource:Q1758012 property:P530 ?z } UNION { resource:Q1758012 property:P530 ?y } UNION { resource:Q3622264 property:P530 ?z } UNION { resource:Q3622264 property:P530 ?y } UNION { resource:Q1045 property:P530 ?z } UNION { resource:Q1045 property:P530 ?y } UNION { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
['North Korea', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Egypt', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Egypt', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Republic of Moldova', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Republic of Moldova', 'diplomatic relation', {'concept': 'political territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Togo', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Togo', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Madagascar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Madagascar', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Peru', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Peru', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Argentina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Argentina', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Somalia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Somalia', 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:North_Korea property:diplomatic_relation ?z } UNION { resource:North_Korea property:diplomatic_relation ?y } UNION { resource:Egypt property:diplomatic_relation ?z } UNION { resource:Egypt property:diplomatic_relation ?y } UNION { resource:Republic_of_Moldova property:diplomatic_relation ?z } UNION { resource:Republic_of_Moldova property:diplomatic_relation ?y } UNION { resource:North_Korea property:diplomatic_relation ?z } UNION { resource:North_Korea property:diplomatic_relation ?y } UNION { resource:Togo property:diplomatic_relation ?z } UNION { resource:Togo property:diplomatic_relation ?y } UNION { resource:Madagascar property:diplomatic_relation ?z } UNION { resource:Madagascar property:diplomatic_relation ?y } UNION { resource:Dominican_Republic property:diplomatic_relation ?z } UNION { resource:Dominican_Republic property:diplomatic_relation ?y } UNION { resource:Peru property:diplomatic_relation ?z } UNION { resource:Peru property:diplomatic_relation ?y } UNION { resource:Argentina property:diplomatic_relation ?z } UNION { resource:Argentina property:diplomatic_relation ?y } UNION { resource:Somalia property:diplomatic_relation ?z } UNION { resource:Somalia property:diplomatic_relation ?y } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q419
SYSTEM
Did you mean Peru ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q423 property:P530 ?z } UNION { resource:Q423 property:P530 ?y } UNION { resource:Q1249091 property:P530 ?z } UNION { resource:Q1249091 property:P530 ?y } UNION { resource:Q217 property:P530 ?z } UNION { resource:Q217 property:P530 ?y } UNION { resource:Q423 property:P530 ?z } UNION { resource:Q423 property:P530 ?y } UNION { resource:Q2204967 property:P530 ?z } UNION { resource:Q2204967 property:P530 ?y } UNION { resource:Q1847603 property:P530 ?z } UNION { resource:Q1847603 property:P530 ?y } UNION { resource:Q786 property:P530 ?z } UNION { resource:Q786 property:P530 ?y } UNION { resource:Q1758012 property:P530 ?z } UNION { resource:Q1758012 property:P530 ?y } UNION { resource:Q3622264 property:P530 ?z } UNION { resource:Q3622264 property:P530 ?y } UNION { resource:Q1045 property:P530 ?z } UNION { resource:Q1045 property:P530 ?y } UNION { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean Peru ?
Peru
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:North_Korea property:diplomatic_relation ?z } UNION { resource:North_Korea property:diplomatic_relation ?y } UNION { resource:Egypt property:diplomatic_relation ?z } UNION { resource:Egypt property:diplomatic_relation ?y } UNION { resource:Republic_of_Moldova property:diplomatic_relation ?z } UNION { resource:Republic_of_Moldova property:diplomatic_relation ?y } UNION { resource:North_Korea property:diplomatic_relation ?z } UNION { resource:North_Korea property:diplomatic_relation ?y } UNION { resource:Togo property:diplomatic_relation ?z } UNION { resource:Togo property:diplomatic_relation ?y } UNION { resource:Madagascar property:diplomatic_relation ?z } UNION { resource:Madagascar property:diplomatic_relation ?y } UNION { resource:Dominican_Republic property:diplomatic_relation ?z } UNION { resource:Dominican_Republic property:diplomatic_relation ?y } UNION { resource:Peru property:diplomatic_relation ?z } UNION { resource:Peru property:diplomatic_relation ?y } UNION { resource:Argentina property:diplomatic_relation ?z } UNION { resource:Argentina property:diplomatic_relation ?y } UNION { resource:Somalia property:diplomatic_relation ?z } UNION { resource:Somalia property:diplomatic_relation ?y } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant North Korea. Could you tell me the answer for that?
(Q423,P530,c(Q15617994)) (Q423,P530,c(Q1048835)) (Q79,P530,c(Q15617994)) (Q79,P530,c(Q1048835)) (Q217,P530,c(Q15617994)) (Q217,P530,c(Q1048835)) (Q423,P530,c(Q15617994)) (Q423,P530,c(Q1048835)) (Q945,P530,c(Q15617994)) (Q945,P530,c(Q1048835)) (Q1019,P530,c(Q15617994)) (Q1019,P530,c(Q1048835)) (Q786,P530,c(Q15617994)) (Q786,P530,c(Q1048835)) (Q419,P530,c(Q15617994)) (Q419,P530,c(Q1048835)) (Q414,P530,c(Q15617994)) (Q414,P530,c(Q1048835)) (Q1045,P530,c(Q15617994)) (Q1045,P530,c(Q1048835)) (Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835))
Q423
['Q423', 'P530', {'concept': 'Q15617994'}] ['Q423', 'P530', {'concept': 'Q1048835'}] ['Q79', 'P530', {'concept': 'Q15617994'}] ['Q79', 'P530', {'concept': 'Q1048835'}] ['Q217', 'P530', {'concept': 'Q15617994'}] ['Q217', 'P530', {'concept': 'Q1048835'}] ['Q423', 'P530', {'concept': 'Q15617994'}] ['Q423', 'P530', {'concept': 'Q1048835'}] ['Q945', 'P530', {'concept': 'Q15617994'}] ['Q945', 'P530', {'concept': 'Q1048835'}] ['Q1019', 'P530', {'concept': 'Q15617994'}] ['Q1019', 'P530', {'concept': 'Q1048835'}] ['Q786', 'P530', {'concept': 'Q15617994'}] ['Q786', 'P530', {'concept': 'Q1048835'}] ['Q419', 'P530', {'concept': 'Q15617994'}] ['Q419', 'P530', {'concept': 'Q1048835'}] ['Q414', 'P530', {'concept': 'Q15617994'}] ['Q414', 'P530', {'concept': 'Q1048835'}] ['Q1045', 'P530', {'concept': 'Q15617994'}] ['Q1045', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}]
['North Korea', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Egypt', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Egypt', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Republic of Moldova', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Republic of Moldova', 'diplomatic relation', {'concept': 'political territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Togo', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Togo', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Madagascar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Madagascar', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Peru', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Peru', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Argentina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Argentina', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Somalia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Somalia', 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
2 administrative territories and 3 political territories
Q155 Q16 Q408 Q38 Q183
(Q423,P530,c(Q15617994)) (Q423,P530,c(Q1048835)) (Q79,P530,c(Q15617994)) (Q79,P530,c(Q1048835)) (Q217,P530,c(Q15617994)) (Q217,P530,c(Q1048835)) (Q423,P530,c(Q15617994)) (Q423,P530,c(Q1048835)) (Q945,P530,c(Q15617994)) (Q945,P530,c(Q1048835)) (Q1019,P530,c(Q15617994)) (Q1019,P530,c(Q1048835)) (Q786,P530,c(Q15617994)) (Q786,P530,c(Q1048835)) (Q419,P530,c(Q15617994)) (Q419,P530,c(Q1048835)) (Q414,P530,c(Q15617994)) (Q414,P530,c(Q1048835)) (Q1045,P530,c(Q15617994)) (Q1045,P530,c(Q1048835)) (Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835))
[ANSWER]
['Q423', 'P530', {'concept': 'Q15617994'}] ['Q423', 'P530', {'concept': 'Q1048835'}] ['Q79', 'P530', {'concept': 'Q15617994'}] ['Q79', 'P530', {'concept': 'Q1048835'}] ['Q217', 'P530', {'concept': 'Q15617994'}] ['Q217', 'P530', {'concept': 'Q1048835'}] ['Q423', 'P530', {'concept': 'Q15617994'}] ['Q423', 'P530', {'concept': 'Q1048835'}] ['Q945', 'P530', {'concept': 'Q15617994'}] ['Q945', 'P530', {'concept': 'Q1048835'}] ['Q1019', 'P530', {'concept': 'Q15617994'}] ['Q1019', 'P530', {'concept': 'Q1048835'}] ['Q786', 'P530', {'concept': 'Q15617994'}] ['Q786', 'P530', {'concept': 'Q1048835'}] ['Q419', 'P530', {'concept': 'Q15617994'}] ['Q419', 'P530', {'concept': 'Q1048835'}] ['Q414', 'P530', {'concept': 'Q15617994'}] ['Q414', 'P530', {'concept': 'Q1048835'}] ['Q1045', 'P530', {'concept': 'Q15617994'}] ['Q1045', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q423 property:P530 ?z } UNION { resource:Q423 property:P530 ?y } UNION { resource:Q1249091 property:P530 ?z } UNION { resource:Q1249091 property:P530 ?y } UNION { resource:Q217 property:P530 ?z } UNION { resource:Q217 property:P530 ?y } UNION { resource:Q423 property:P530 ?z } UNION { resource:Q423 property:P530 ?y } UNION { resource:Q2204967 property:P530 ?z } UNION { resource:Q2204967 property:P530 ?y } UNION { resource:Q1847603 property:P530 ?z } UNION { resource:Q1847603 property:P530 ?y } UNION { resource:Q786 property:P530 ?z } UNION { resource:Q786 property:P530 ?y } UNION { resource:Q1758012 property:P530 ?z } UNION { resource:Q1758012 property:P530 ?y } UNION { resource:Q3622264 property:P530 ?z } UNION { resource:Q3622264 property:P530 ?y } UNION { resource:Q1045 property:P530 ?z } UNION { resource:Q1045 property:P530 ?y } UNION { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Brazil Canada Australia Italy Germany
2 administrative territories and 3 political territories
['North Korea', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Egypt', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Egypt', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Republic of Moldova', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Republic of Moldova', 'diplomatic relation', {'concept': 'political territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['North Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Togo', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Togo', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Madagascar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Madagascar', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Peru', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Peru', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Argentina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Argentina', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Somalia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Somalia', 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:North_Korea property:diplomatic_relation ?z } UNION { resource:North_Korea property:diplomatic_relation ?y } UNION { resource:Egypt property:diplomatic_relation ?z } UNION { resource:Egypt property:diplomatic_relation ?y } UNION { resource:Republic_of_Moldova property:diplomatic_relation ?z } UNION { resource:Republic_of_Moldova property:diplomatic_relation ?y } UNION { resource:North_Korea property:diplomatic_relation ?z } UNION { resource:North_Korea property:diplomatic_relation ?y } UNION { resource:Togo property:diplomatic_relation ?z } UNION { resource:Togo property:diplomatic_relation ?y } UNION { resource:Madagascar property:diplomatic_relation ?z } UNION { resource:Madagascar property:diplomatic_relation ?y } UNION { resource:Dominican_Republic property:diplomatic_relation ?z } UNION { resource:Dominican_Republic property:diplomatic_relation ?y } UNION { resource:Peru property:diplomatic_relation ?z } UNION { resource:Peru property:diplomatic_relation ?y } UNION { resource:Argentina property:diplomatic_relation ?z } UNION { resource:Argentina property:diplomatic_relation ?y } UNION { resource:Somalia property:diplomatic_relation ?z } UNION { resource:Somalia property:diplomatic_relation ?y } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1948
P1001
Q15617994 Q17335294 Q35798
USER
Which administrative territories are judicially linked to greater number of coats of arms and executive branches than Manitoba ?
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q1948
relation P1001
type Q17335294
type Q35798
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?b property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q35798 } UNION { ?b property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q17335294 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1001 resource:Q1948 . { { ?u rdf:type ontology:Q17335294 } UNION { ?u rdf:type ontology:Q35798 } } } } . FILTER ( ?h > ?z ) }
Manitoba
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Manitoba
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?b property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:executive_branch } UNION { ?b property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:applies_to_jurisdiction resource:Manitoba . { { ?u rdf:type ontology:flag_or_coat_of_arms } UNION { ?u rdf:type ontology:executive_branch } } } } . FILTER ( ?h > ?z ) }
[]
designation for an administrative territorial entity flag or coat of arms executive branch
Q30 Q159 Q801
SYSTEM
United States of America, Russia, Israel
Q701 Q705 Q801 Q707 Q419 Q668 Q145 Q159 Q889 Q1974 Q1952 Q33 Q30 Q924 Q34 Q423 Q854 Q424 Q769680 Q233 Q1093 Q20 Q2667658 Q1101 Q974 Q694 Q752 Q212 Q217 Q214 Q1438 Q858 Q775 Q776 Q810 Q770 Q773 Q772 Q129003 Q176 Q33788 Q1267638
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q1948
relation P1001
type Q17335294
type Q35798
[ANSWERS] are judicially linked to greater number of coats of arms and executive branches than Manitoba
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?b property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q35798 } UNION { ?b property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q17335294 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1001 resource:Q1948 . { { ?u rdf:type ontology:Q17335294 } UNION { ?u rdf:type ontology:Q35798 } } } } . FILTER ( ?h > ?z ) }
North Holland Zeeland Israel Flevoland Peru India United Kingdom Russia Afghanistan British Columbia Nova Scotia Finland United States of America Tanzania Sweden North Korea Sri Lanka Cambodia Bornholm Malta Limburg Norway Shushary, Saint Petersburg North Brabant Democratic Republic of the Congo South Holland Groningen Ukraine Republic of Moldova Slovakia Campania Syria Gelderland Utrecht Jordan Friesland Overijssel Drenthe French Southern and Antarctic Lands Quebec New Caledonia Beloostrov
United States of America, Russia and Israel are judicially linked to greater number of coats of arms and executive branches than Manitoba
United States of America Russia Israel
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Manitoba
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?s WHERE { { ?b property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:executive_branch } UNION { ?b property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:applies_to_jurisdiction resource:Manitoba . { { ?u rdf:type ontology:flag_or_coat_of_arms } UNION { ?u rdf:type ontology:executive_branch } } } } . FILTER ( ?h > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q695
P1001
Q15617994 Q17335294 Q35798
USER
And also tell me about Palau?
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q695
relation P1001
type Q17335294
type Q35798
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?o ) WHERE { { ?h rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q17335294 . ?w property:P1001 ?h } UNION { ?w property:P1001 ?h . ?w rdf:type ontology:Q35798 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P1001 resource:Q695 . { { ?t rdf:type ontology:Q17335294 } UNION { ?t rdf:type ontology:Q35798 } } } } . FILTER ( ?o > ?n ) }
Palau
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Palau
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?o ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:flag_or_coat_of_arms . ?w property:applies_to_jurisdiction ?h } UNION { ?w property:applies_to_jurisdiction ?h . ?w rdf:type ontology:executive_branch . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:applies_to_jurisdiction resource:Palau . { { ?t rdf:type ontology:flag_or_coat_of_arms } UNION { ?t rdf:type ontology:executive_branch } } } } . FILTER ( ?o > ?n ) }
[]
designation for an administrative territorial entity flag or coat of arms executive branch
Q30 Q159 Q801
SYSTEM
United States of America, Russia, Israel
Q701 Q705 Q801 Q707 Q419 Q668 Q145 Q159 Q889 Q1974 Q1952 Q33 Q30 Q924 Q34 Q423 Q854 Q424 Q769680 Q233 Q1093 Q20 Q2667658 Q1101 Q974 Q694 Q752 Q212 Q217 Q214 Q1438 Q858 Q775 Q776 Q810 Q770 Q773 Q772 Q129003 Q176 Q33788 Q1267638
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q695
relation P1001
type Q17335294
type Q35798
[ANSWERS]
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?o ) WHERE { { ?h rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q17335294 . ?w property:P1001 ?h } UNION { ?w property:P1001 ?h . ?w rdf:type ontology:Q35798 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P1001 resource:Q695 . { { ?t rdf:type ontology:Q17335294 } UNION { ?t rdf:type ontology:Q35798 } } } } . FILTER ( ?o > ?n ) }
North Holland Zeeland Israel Flevoland Peru India United Kingdom Russia Afghanistan British Columbia Nova Scotia Finland United States of America Tanzania Sweden North Korea Sri Lanka Cambodia Bornholm Malta Limburg Norway Shushary, Saint Petersburg North Brabant Democratic Republic of the Congo South Holland Groningen Ukraine Republic of Moldova Slovakia Campania Syria Gelderland Utrecht Jordan Friesland Overijssel Drenthe French Southern and Antarctic Lands Quebec New Caledonia Beloostrov
United States of America Russia Israel
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Palau
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?o ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:flag_or_coat_of_arms . ?w property:applies_to_jurisdiction ?h } UNION { ?w property:applies_to_jurisdiction ?h . ?w rdf:type ontology:executive_branch . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:applies_to_jurisdiction resource:Palau . { { ?t rdf:type ontology:flag_or_coat_of_arms } UNION { ?t rdf:type ontology:executive_branch } } } } . FILTER ( ?o > ?n ) }
[]