Simple Question (Direct)
Simple Question
Q2902043
P1412
Q25295
USER
Which language family is Tova Sanhadray capable of writing ?
(Q2902043,P1412,c(Q25295))
action filter_type
action find
entity Q2902043
relation P1412
type Q25295
['Q2902043', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?b WHERE { resource:Q2902043 property:P1412 ?b . ?b rdf:type ontology:Q25295 }
Tova Sanhadray
action filter_type
action find
entity Tova Sanhadray
relation languages spoken, written or signed
type language family
['Tova Sanhadray', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?b WHERE { resource:Tova_Sanhadray property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language_family }
[]
language family
Q9288
SYSTEM
Hebrew
Q9288
(Q2902043,P1412,c(Q25295))
action filter_type
action find
entity Q2902043
relation P1412
type Q25295
[ANSWER] is Tova Sanhadray capable of writing
['Q2902043', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?b WHERE { resource:Q2902043 property:P1412 ?b . ?b rdf:type ontology:Q25295 }
Hebrew
Hebrew is Tova Sanhadray capable of writing
Hebrew
action filter_type
action find
entity Tova Sanhadray
relation languages spoken, written or signed
type language family
['Tova Sanhadray', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?b WHERE { resource:Tova_Sanhadray property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language_family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2902043
P20
Q15617994
USER
Which administrative territory is the place of death of Tova Sanhadray ?
(Q2902043,P20,c(Q15617994))
action filter_type
action find
entity Q2902043
relation P20
type Q15617994
['Q2902043', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2902043 property:P20 ?r . ?r rdf:type ontology:Q15617994 }
Tova Sanhadray
action filter_type
action find
entity Tova Sanhadray
relation place of death
type designation for an administrative territorial entity
['Tova Sanhadray', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Tova_Sanhadray property:place_of_death ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q2902043,P20,c(Q15617994))
action filter_type
action find
entity Q2902043
relation P20
type Q15617994
[ANSWER] is the place of death of Tova Sanhadray
['Q2902043', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2902043 property:P20 ?r . ?r rdf:type ontology:Q15617994 }
Israel
Israel is the place of death of Tova Sanhadray
Israel
action filter_type
action find
entity Tova Sanhadray
relation place of death
type designation for an administrative territorial entity
['Tova Sanhadray', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Tova_Sanhadray property:place_of_death ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7377153
Q15617994
USER
And what about Rudolf Boeckmann?
(Q7377153,P20,c(Q15617994))
action filter_type
action find
entity Q7377153
relation P20
type Q15617994
['Q7377153', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q7377153 property:P20 ?l }
Rudolf Boeckmann
action filter_type
action find
entity Rudolf Boeckmann
relation place of death
type designation for an administrative territorial entity
['Rudolf Boeckmann', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rudolf_Boeckmann property:place_of_death ?l }
[]
designation for an administrative territorial entity
Q191
SYSTEM
Estonia
Q191
(Q7377153,P20,c(Q15617994))
action filter_type
action find
entity Q7377153
relation P20
type Q15617994
[ANSWER]
['Q7377153', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q7377153 property:P20 ?l }
Estonia
Estonia
action filter_type
action find
entity Rudolf Boeckmann
relation place of death
type designation for an administrative territorial entity
['Rudolf Boeckmann', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rudolf_Boeckmann property:place_of_death ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q191 Q408
P530
Q1048835
USER
Does Australia hold diplomatic relationship with Estonia ?
(Q191,P530,Q408)
action is_in
entity Q408
action find
entity Q191
relation P530
['Q191', 'P530', 'Q408']
ASK WHERE { resource:Q191 property:P530 resource:Q408 }
Estonia Australia
action is_in
entity Australia
action find
entity Estonia
relation diplomatic relation
['Estonia', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Estonia property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q191,P530,Q408)
action is_in
entity Q408
action find
entity Q191
relation P530
[ANSWER]
['Q191', 'P530', 'Q408']
ASK WHERE { resource:Q191 property:P530 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Estonia
relation diplomatic relation
['Estonia', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Estonia property:diplomatic_relation resource:Australia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q191
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Estonia ?
(Q191,P530,c(Q15617994))
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
['Q191', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q191 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
Estonia
action count
action filter_type
action find
entity Estonia
relation diplomatic relation
type designation for an administrative territorial entity
['Estonia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Estonia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q191,P530,c(Q15617994))
action count
action filter_type
action find
entity Q191
relation P530
type Q15617994
[ANSWER]
['Q191', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q191 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Estonia
relation diplomatic relation
type designation for an administrative territorial entity
['Estonia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Estonia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q17
P530
Q15617994
USER
And what about Japan?
(Q17,P530,c(Q15617994))
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
['Q17', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q17 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Japan
action count
action filter_type
action find
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Japan property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
11
Q227 Q142 Q711 Q884 Q159 Q801 Q145 Q155 Q30 Q869 Q38
(Q17,P530,c(Q15617994))
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
[ANSWER]
['Q17', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q17 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Azerbaijan France Mongolia South Korea Russia Israel United Kingdom Brazil United States of America Thailand Italy
11
action count
action filter_type
action find
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Japan property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q213
Q15617994
USER
And also tell me about Czech Republic?
(Q213,P530,c(Q15617994))
action count
action filter_type
action find
entity Q213
relation P530
type Q15617994
['Q213', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q213 property:P530 ?l . ?l rdf:type ontology:Q15617994 }
Czech Republic
action count
action filter_type
action find
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
['Czech Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Czech_Republic property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
(Q213,P530,c(Q15617994))
action count
action filter_type
action find
entity Q213
relation P530
type Q15617994
[ANSWER]
['Q213', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q213 property:P530 ?l . ?l rdf:type ontology:Q15617994 }
4
action count
action filter_type
action find
entity Czech Republic
relation diplomatic relation
type designation for an administrative territorial entity
['Czech Republic', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Czech_Republic property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8061105 Q2902043
P27
Q15617994
USER
Which administrative territories are Tova Sanhadray or Yumi Kida an inhabitant of ?
OR((Q2902043,P27,c(Q15617994)), (Q8061105,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2902043
relation P27
action find
entity Q8061105
relation P27
type Q15617994
{'OR': [['Q2902043', 'P27', {'concept': 'Q15617994'}], ['Q8061105', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Q8061105 ) ( resource:Q2902043 ) } . ?r property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Yumi Kida Tova Sanhadray
action filter_type
action union
action find
entity Tova Sanhadray
relation country of citizenship
action find
entity Yumi Kida
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tova Sanhadray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yumi Kida', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Yumi_Kida ) ( resource:Tova_Sanhadray ) } . ?r property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q801
SYSTEM
Japan, Israel
Q17 Q801
OR((Q2902043,P27,c(Q15617994)), (Q8061105,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2902043
relation P27
action find
entity Q8061105
relation P27
type Q15617994
[ANSWERS] are Tova Sanhadray or Yumi Kida an inhabitant of
{'OR': [['Q2902043', 'P27', {'concept': 'Q15617994'}], ['Q8061105', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Q8061105 ) ( resource:Q2902043 ) } . ?r property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Japan Israel
Japan and Israel are Tova Sanhadray or Yumi Kida an inhabitant of
Japan Israel
action filter_type
action union
action find
entity Tova Sanhadray
relation country of citizenship
action find
entity Yumi Kida
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tova Sanhadray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yumi Kida', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Yumi_Kida ) ( resource:Tova_Sanhadray ) } . ?r property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8061105
P1344
Q2312410
USER
Which sport discipline did Yumi Kida  take part in ?
(Q17,P1344,c(Q2312410)) (Q801,P1344,c(Q2312410))
action filter_type
action find
entity Q8061105
relation P1344
type Q2312410
['Q17', 'P1344', {'concept': 'Q2312410'}] ['Q801', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?q WHERE { resource:Q8061105 property:P1344 ?q . ?q rdf:type ontology:Q2312410 }
Yumi Kida
action filter_type
action find
entity Yumi Kida
relation participant of
type sport discipline
['Japan', 'participant of', {'concept': 'sport discipline'}] ['Israel', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?q WHERE { resource:Yumi_Kida property:participant_of ?q . ?q rdf:type ontology:sport_discipline }
[]
sport discipline
Q8022145
SYSTEM
swimming at the 2016 Summer Olympics
Q8022145
(Q17,P1344,c(Q2312410)) (Q801,P1344,c(Q2312410))
action filter_type
action find
entity Q8061105
relation P1344
type Q2312410
Part In [ANSWER] Yumi Kida took in
['Q17', 'P1344', {'concept': 'Q2312410'}] ['Q801', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?q WHERE { resource:Q8061105 property:P1344 ?q . ?q rdf:type ontology:Q2312410 }
swimming at the 2016 Summer Olympics
Part In swimming at the 2016 Summer Olympics Yumi Kida took in
swimming at the 2016 Summer Olympics
action filter_type
action find
entity Yumi Kida
relation participant of
type sport discipline
['Japan', 'participant of', {'concept': 'sport discipline'}] ['Israel', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?q WHERE { resource:Yumi_Kida property:participant_of ?q . ?q rdf:type ontology:sport_discipline }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q166142 Q2342494
USER
Which administrative territories are atleast 103 applications and collectables set in ?
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 103
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 } UNION { ?t property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?d } . FILTER ( ?f >= 103 ) }
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 103
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application } UNION { ?t property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:collectable } } GROUP BY ?d } . FILTER ( ?f >= 103 ) }
[]
designation for an administrative territorial entity application collectable
Q668 Q142 Q17
SYSTEM
India, France, Japan
Q668 Q142 Q17
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 103
[ANSWERS] are atleast 103 applications and collectables set in
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 } UNION { ?t property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?d } . FILTER ( ?f >= 103 ) }
India France Japan
India, France and Japan are atleast 103 applications and collectables set in
India France Japan
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 103
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application } UNION { ?t property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:collectable } } GROUP BY ?d } . FILTER ( ?f >= 103 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?j ) WHERE { ?t property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?h property:P530 ?m . ?h rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?z = ?w ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?j ) WHERE { ?t property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?h property:diplomatic_relation ?m . ?h rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?z = ?w ) }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] are known to have diplomatic connections with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?j ) WHERE { ?t property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?h property:P530 ?m . ?h rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?z = ?w ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea are known to have diplomatic connections with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?j ) WHERE { ?t property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?z ) WHERE { ?h property:diplomatic_relation ?m . ?h rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?z = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with around 1 political territory ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?l = 1 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?l = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWERS] have diplomatic associations with around 1 political territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?l = 1 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, People's Republic of China and Belarus have diplomatic associations with around 1 political territory
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?l ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?l = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories were approximately the same number of fictional locations inspired by as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|Count over More/Less|Single entity type|Clarification
Q55
SYSTEM
Did you mean Netherlands ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Netherlands ?
Netherlands
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
9
Q142 Q159 Q424 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
France Russia Cambodia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
9
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q229
P85
Q484692 Q7725634 Q15617994
USER
Which administrative territories have an anthem named approximately the same number of hymns and literary works as Cyprus ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q229
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?v WHERE { { ?v property:P85 ?l . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q484692 } UNION { ?v property:P85 ?l . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7725634 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q229 property:P85 ?w . { { ?w rdf:type ontology:Q484692 } UNION { ?w rdf:type ontology:Q7725634 } } } } . FILTER ( ?a = ?d ) }
Cyprus
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Cyprus
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?v WHERE { { ?v property:anthem ?l . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:hymn } UNION { ?v property:anthem ?l . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:literary_work } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Cyprus property:anthem ?w . { { ?w rdf:type ontology:hymn } UNION { ?w rdf:type ontology:literary_work } } } } . FILTER ( ?a = ?d ) }
[]
hymn literary work designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q229
relation P85
type Q484692
type Q7725634
[ANSWERS] have an anthem named approximately the same number of hymns and literary works as Cyprus
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?v WHERE { { ?v property:P85 ?l . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q484692 } UNION { ?v property:P85 ?l . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7725634 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q229 property:P85 ?w . { { ?w rdf:type ontology:Q484692 } UNION { ?w rdf:type ontology:Q7725634 } } } } . FILTER ( ?a = ?d ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
Italy, Brazil and United States of America have an anthem named approximately the same number of hymns and literary works as Cyprus
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Cyprus
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?v WHERE { { ?v property:anthem ?l . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:hymn } UNION { ?v property:anthem ?l . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:literary_work } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Cyprus property:anthem ?w . { { ?w rdf:type ontology:hymn } UNION { ?w rdf:type ontology:literary_work } } } } . FILTER ( ?a = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q686
P85
Q484692 Q7725634 Q15617994
USER
And what about Vanuatu?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q686
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?l WHERE { { ?l property:P85 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q484692 } UNION { ?l property:P85 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q686 property:P85 ?m . { { ?m rdf:type ontology:Q7725634 } UNION { ?m rdf:type ontology:Q484692 } } } } . FILTER ( ?z = ?k ) }
Vanuatu
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Vanuatu
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?l WHERE { { ?l property:anthem ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:hymn } UNION { ?l property:anthem ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:literary_work } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Vanuatu property:anthem ?m . { { ?m rdf:type ontology:literary_work } UNION { ?m rdf:type ontology:hymn } } } } . FILTER ( ?z = ?k ) }
[]
hymn literary work designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q686
relation P85
type Q484692
type Q7725634
[ANSWERS]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?l WHERE { { ?l property:P85 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q484692 } UNION { ?l property:P85 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q7725634 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q686 property:P85 ?m . { { ?m rdf:type ontology:Q7725634 } UNION { ?m rdf:type ontology:Q484692 } } } } . FILTER ( ?z = ?k ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Vanuatu
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?l WHERE { { ?l property:anthem ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:hymn } UNION { ?l property:anthem ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:literary_work } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Vanuatu property:anthem ?m . { { ?m rdf:type ontology:literary_work } UNION { ?m rdf:type ontology:hymn } } } } . FILTER ( ?z = ?k ) }
[]