Simple Question (Direct)
Simple Question
Q503094
P206
Q15324
USER
Which body of water is situated nearby Llanes ?
(Q503094,P206,c(Q15324))
action filter_type
action find
entity Q503094
relation P206
type Q15324
['Q503094', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { resource:Q503094 property:P206 ?x . ?x rdf:type ontology:Q15324 }
Llanes
action filter_type
action find
entity Llanes
relation located next to body of water
type body of water
['Llanes', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { resource:Llanes property:located_next_to_body_of_water ?x . ?x rdf:type ontology:body_of_water }
[]
body of water
Q2090594
SYSTEM
Cantabrian Sea
Q2090594
(Q503094,P206,c(Q15324))
action filter_type
action find
entity Q503094
relation P206
type Q15324
[ANSWER] is situated nearby Llanes
['Q503094', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { resource:Q503094 property:P206 ?x . ?x rdf:type ontology:Q15324 }
Cantabrian Sea
Cantabrian Sea is situated nearby Llanes
Cantabrian Sea
action filter_type
action find
entity Llanes
relation located next to body of water
type body of water
['Llanes', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { resource:Llanes property:located_next_to_body_of_water ?x . ?x rdf:type ontology:body_of_water }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2090594
P403
Q355304
USER
Which watercourses ultimately merges into that body of water ?
(c(Q355304),P403,Q2090594)
action filter_type
action find_reverse
entity Q2090594
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q2090594']
SELECT DISTINCT ?e WHERE { ?e property:P403 resource:Q2090594 . ?e rdf:type ontology:Q355304 }
Cantabrian Sea
action filter_type
action find_reverse
entity Cantabrian Sea
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Cantabrian Sea']
SELECT DISTINCT ?e WHERE { ?e property:mouth_of_the_watercourse resource:Cantabrian_Sea . ?e rdf:type ontology:watercourse }
[]
watercourse
Q14358 Q14360 Q14357
SYSTEM
Miera River, Pas, Asón River
Q204073 Q1181363 Q14358 Q2744506 Q14367 Q14360 Q3881306 Q14357
(c(Q355304),P403,Q2090594)
action filter_type
action find_reverse
entity Q2090594
relation P403
type Q355304
[ANSWERS] ultimately merge into that body of water
[{'concept': 'Q355304'}, 'P403', 'Q2090594']
SELECT DISTINCT ?e WHERE { ?e property:P403 resource:Q2090594 . ?e rdf:type ontology:Q355304 }
Urola Deba Miera River Urumea Besaya River Pas Oiartzun Asón River
Miera River, Pas and Asón River ultimately merge into that body of water
Miera River Pas Asón River
action filter_type
action find_reverse
entity Cantabrian Sea
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Cantabrian Sea']
SELECT DISTINCT ?e WHERE { ?e property:mouth_of_the_watercourse resource:Cantabrian_Sea . ?e rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14358 Q14360 Q14357
P17
Q15617994
USER
Which administrative territories are Miera River, Pas and Asón River present in ?
(Q14358,P17,c(Q15617994)) (Q14360,P17,c(Q15617994)) (Q14357,P17,c(Q15617994))
action union
action filter_type
action find
entity Q14358
relation P17
type Q15617994
action filter_type
action find
entity Q14360
relation P17
type Q15617994
action filter_type
action find
entity Q14357
relation P17
type Q15617994
['Q14358', 'P17', {'concept': 'Q15617994'}] ['Q14360', 'P17', {'concept': 'Q15617994'}] ['Q14357', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q15617994 . resource:Q14358 property:P17 ?k } UNION { resource:Q14360 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
Miera River Pas Asón River
action union
action filter_type
action find
entity Miera River
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Pas
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Asón River
relation country
type designation for an administrative territorial entity
['Miera River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pas', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Asón River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Miera_River property:country ?k } UNION { resource:Pas property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q29 Q29 Q29
SYSTEM
Spain
Q29 Q29 Q29
(Q14358,P17,c(Q15617994)) (Q14360,P17,c(Q15617994)) (Q14357,P17,c(Q15617994))
action union
action filter_type
action find
entity Q14358
relation P17
type Q15617994
action filter_type
action find
entity Q14360
relation P17
type Q15617994
action filter_type
action find
entity Q14357
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Miera River, Pas and Asón River present in
['Q14358', 'P17', {'concept': 'Q15617994'}] ['Q14360', 'P17', {'concept': 'Q15617994'}] ['Q14357', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q15617994 . resource:Q14358 property:P17 ?k } UNION { resource:Q14360 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
Spain Spain Spain
Spain, Spain and Spain are Miera River, Pas and Asón River present in
Spain Spain Spain
action union
action filter_type
action find
entity Miera River
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Pas
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Asón River
relation country
type designation for an administrative territorial entity
['Miera River', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pas', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Asón River', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Miera_River property:country ?k } UNION { resource:Pas property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14358
P30
Q2221906
USER
Where is Miera River situated ?
(Q29,P30,c(Q2221906)) (Q29,P30,c(Q2221906)) (Q29,P30,c(Q2221906))
action filter_type
action find
entity Q14358
relation P30
type Q2221906
['Q29', 'P30', {'concept': 'Q2221906'}] ['Q29', 'P30', {'concept': 'Q2221906'}] ['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q14358 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Miera River
action filter_type
action find
entity Miera River
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}] ['Spain', 'continent', {'concept': 'geographic location'}] ['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Miera_River property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q29,P30,c(Q2221906)) (Q29,P30,c(Q2221906)) (Q29,P30,c(Q2221906))
action filter_type
action find
entity Q14358
relation P30
type Q2221906
Miera River is situated in [ANSWER]
['Q29', 'P30', {'concept': 'Q2221906'}] ['Q29', 'P30', {'concept': 'Q2221906'}] ['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q14358 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Europe
Miera River is situated in Europe
Europe
action filter_type
action find
entity Miera River
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}] ['Spain', 'continent', {'concept': 'geographic location'}] ['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Miera_River property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q142
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with lesser number of administrative territories and political territories than France ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action less
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q142
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { { ?o property:P530 ?w . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } UNION { ?o property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q142 property:P530 ?z . { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?z rdf:type ?k } } } . FILTER ( ?l < ?e ) }
France
action less
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { { ?o property:diplomatic_relation ?w . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:France property:diplomatic_relation ?z . { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?k } } } . FILTER ( ?l < ?e ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action less
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q142
relation P530
type Q15617994
type Q1048835
[ANSWERS] have ambassadorial relations with lesser number of administrative territories and political territories than France
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { { ?o property:P530 ?w . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } UNION { ?o property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q142 property:P530 ?z . { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?z rdf:type ?k } } } . FILTER ( ?l < ?e ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have ambassadorial relations with lesser number of administrative territories and political territories than France
Netherlands Poland People's Republic of China
action less
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { { ?o property:diplomatic_relation ?w . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:France property:diplomatic_relation ?z . { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?k } } } . FILTER ( ?l < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q739
P530
Q15617994 Q1048835 Q15617994
USER
And also tell me about Colombia?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action less
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q739
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?p ) WHERE { { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } UNION { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q739 property:P530 ?b . { { ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q15617994 } } } } . FILTER ( ?p < ?e ) }
Colombia
action less
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Colombia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?p ) WHERE { { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } UNION { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Colombia property:diplomatic_relation ?b . { { ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?p < ?e ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q55 Q32 Q96
SYSTEM
Netherlands, Luxembourg, Mexico
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q924 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q878 Q774 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action less
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q739
relation P530
type Q15617994
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?p ) WHERE { { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } UNION { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q739 property:P530 ?b . { { ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q15617994 } } } } . FILTER ( ?p < ?e ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Tanzania Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands Luxembourg Mexico
action less
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Colombia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?p ) WHERE { { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } UNION { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Colombia property:diplomatic_relation ?b . { { ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?p < ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with atleast 21 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 21
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?g property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . FILTER ( ?i >= 21 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?g property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . FILTER ( ?i >= 21 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 21
[ANSWERS] hold diplomatic relationship with atleast 21 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?g property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . FILTER ( ?i >= 21 ) }
Germany Australia Canada
Germany, Australia and Canada hold diplomatic relationship with atleast 21 administrative territories
Germany Australia Canada
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?i ) WHERE { ?g property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . FILTER ( ?i >= 21 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408 Q16
P463
Q484652
USER
Which international organizations were those political territories a member of ?
(Q183,P463,c(Q484652)) (Q408,P463,c(Q484652)) (Q16,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
['Q183', 'P463', {'concept': 'Q484652'}] ['Q408', 'P463', {'concept': 'Q484652'}] ['Q16', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q484652 . VALUES ( ?l ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } . ?l property:P463 ?w }
Germany Australia Canada
action filter_type
action find
entity prev_answer
relation member of
type international organization
['Germany', 'member of', {'concept': 'international organization'}] ['Australia', 'member of', {'concept': 'international organization'}] ['Canada', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:international_organization . VALUES ( ?l ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } . ?l property:member_of ?w }
[]
international organization
Q81299 Q81299 Q7768
SYSTEM
ASEAN for 3rd, Organization for Security and Co-operation in Europe for 1st, 2nd
Q81299 Q188822 Q42262 Q17495 Q7184 Q7164 Q201054 Q7804 Q842490 Q789769 Q1065 Q19771 Q54129 Q566397 Q170424 Q37143 Q1043527 Q1043527 Q7768 Q7785 Q19771 Q188822 Q1065 Q81299 Q1065 Q7184 Q7785 Q188822 Q674182 Q19771 Q134102 Q37143 Q1043527
(Q183,P463,c(Q484652)) (Q408,P463,c(Q484652)) (Q16,P463,c(Q484652))
action filter_type
action find
entity prev_answer
relation P463
type Q484652
[ANSWERS]
['Q183', 'P463', {'concept': 'Q484652'}] ['Q408', 'P463', {'concept': 'Q484652'}] ['Q16', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q484652 . VALUES ( ?l ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } . ?l property:P463 ?w }
Organization for Security and Co-operation in Europe Asian Development Bank European Space Agency Universal Postal Union North Atlantic Treaty Organisation World Bank International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons Council of the Baltic Sea States United Nations G20 International Labour Organization Weimar Triangle World Meteorological Organization G8 Multilateral Investment Guarantee Agency Multilateral Investment Guarantee Agency ASEAN Commonwealth of Nations G20 Asian Development Bank United Nations Organization for Security and Co-operation in Europe United Nations North Atlantic Treaty Organisation Commonwealth of Nations Asian Development Bank Arctic Council G20 Organisation internationale de la Francophonie G8 Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, Organization for Security and Co-operation in Europe and ASEAN were those political territories a member of
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe ASEAN
action filter_type
action find
entity prev_answer
relation member of
type international organization
['Germany', 'member of', {'concept': 'international organization'}] ['Australia', 'member of', {'concept': 'international organization'}] ['Canada', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:international_organization . VALUES ( ?l ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } . ?l property:member_of ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7768
P163
Q17335294
USER
Which coat of arms is associated with that international organization ?
(Q7768,P163,c(Q17335294))
action filter_type
action find
entity Q7768
relation P163
type Q17335294
['Q7768', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?u WHERE { resource:Q7768 property:P163 ?u . ?u rdf:type ontology:Q17335294 }
ASEAN
action filter_type
action find
entity ASEAN
relation flag
type flag or coat of arms
['ASEAN', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?u WHERE { resource:ASEAN property:flag ?u . ?u rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Clarification for simple ques.
Q7768
SYSTEM
Did you mean ASEAN ?
Q81299 Q81299 Q7768
(Q81299,P163,c(Q17335294)) (Q81299,P163,c(Q17335294)) (Q7768,P163,c(Q17335294))
[ANSWER]
['Q81299', 'P163', {'concept': 'Q17335294'}] ['Q81299', 'P163', {'concept': 'Q17335294'}] ['Q7768', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?u WHERE { resource:Q7768 property:P163 ?u . ?u rdf:type ontology:Q17335294 }
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe ASEAN
Did you mean ASEAN ?
ASEAN
['Organization for Security and Co-operation in Europe', 'flag', {'concept': 'flag or coat of arms'}] ['Organization for Security and Co-operation in Europe', 'flag', {'concept': 'flag or coat of arms'}] ['ASEAN', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?u WHERE { resource:ASEAN property:flag ?u . ?u rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7768,P163,c(Q17335294))
['Q7768', 'P163', {'concept': 'Q17335294'}]
['ASEAN', 'flag', {'concept': 'flag or coat of arms'}]
[]
Q783490
SYSTEM
flag of the Association of Southeast Asian Nations
Q783490
(Q7768,P163,c(Q17335294))
action filter_type
action find
entity Q7768
relation P163
type Q17335294
The [ANSWER] is associated with that international organization
['Q7768', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?u WHERE { resource:Q7768 property:P163 ?u . ?u rdf:type ontology:Q17335294 }
flag of the Association of Southeast Asian Nations
The flag of the Association of Southeast Asian Nations is associated with that international organization
flag of the Association of Southeast Asian Nations
action filter_type
action find
entity ASEAN
relation flag
type flag or coat of arms
['ASEAN', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?u WHERE { resource:ASEAN property:flag ?u . ?u rdf:type ontology:flag_or_coat_of_arms }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P1001
Q56061 Q1048835 Q17335294
USER
How many coats of arms have jurisdiction over lesser number of administrative territories or political territories than that coat of arms ?
(c(Q17335294),P1001,c(Q56061)|c(Q1048835))
action count
action less
action union
action find_tuple_counts
relation P1001
type Q17335294
type Q56061
action find_tuple_counts
relation P1001
type Q17335294
type Q1048835
action count
action filter_multi_types
action find
entity Q783490
relation P1001
type Q56061
type Q1048835
[{'concept': 'Q17335294'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?k rdf:type ?b } GROUP BY ?i } . FILTER ( ?o < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q783490 property:P1001 ?f . { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } } } } }
action count
action less
action union
action find_tuple_counts
relation applies to jurisdiction
type flag or coat of arms
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type flag or coat of arms
type political territorial entity
action count
action filter_multi_types
action find
entity flag of the Association of Southeast Asian Nations
relation applies to jurisdiction
type administrative territorial entity
type political territorial entity
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?k rdf:type ?b } GROUP BY ?i } . FILTER ( ?o < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:flag_of_the_Association_of_Southeast_Asian_Nations property:applies_to_jurisdiction ?f . { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } }
[]
administrative territorial entity political territorial entity flag or coat of arms
SYSTEM
431
Q4487873 Q27687538 Q18033275 Q4486877 Q18033448 Q22350506 Q18517393 Q4136945 Q2635540 Q21596887 Q2635547 Q20732591 Q707471 Q14517564 Q734071 Q2456556 Q15910445 Q22330978 Q4485375 Q24347379 Q9260349 Q1888815 Q16070279 Q15962935 Q16070375 Q2415385 Q4490421 Q4490422 Q4490423 Q4490425 Q4490426 Q4490359 Q907381 Q735046 Q17265251 Q2100376 Q887774 Q2600445 Q22133764 Q1907209 Q863844 Q4486572 Q1095488 Q1048963 Q498887 Q4486771 Q20089573 Q27686189 Q12095355 Q824983 Q2301249 Q719140 Q842327 Q2470827 Q4114453 Q842322 Q2993784 Q19829303 Q2376574 Q1980010 Q19829194 Q19829197 Q22671668 Q2138407 Q20819074 Q14754153 Q1426636 Q14517560 Q699554 Q835502 Q19842378 Q20680155 Q2509336 Q14517653 Q12143494 Q17493159 Q4487638 Q25855264 Q1750603 Q783490 Q15883696 Q21014616 Q15883698 Q19829291 Q19829296 Q731163 Q1285625 Q4490544 Q19829222 Q2065775 Q828147 Q2976242 Q2250163 Q26212353 Q4487648 Q2529313 Q16070422 Q2112008 Q18589349 Q715218 Q19829254 Q2507661 Q437841 Q2993812 Q16467065 Q2559741 Q693569 Q4485526 Q4485297 Q730106 Q1048951 Q2548624 Q16070398 Q11315129 Q2308548 Q26904742 Q2632980 Q2981718 Q19829247 Q752559 Q752557 Q857778 Q2444822 Q2640436 Q1426471 Q2330297 Q924444 Q21838014 Q4486900 Q2997710 Q854894 Q22350510 Q685217 Q3633957 Q4490507 Q4490505 Q4490504 Q25809828 Q2668687 Q4136857 Q2794188 Q693701 Q27016848 Q2425038 Q27016844 Q27016845 Q3038986 Q2635320 Q877603 Q21029053 Q1922718 Q2481794 Q16070268 Q18033392 Q15883702 Q2268966 Q2635524 Q4490419 Q863855 Q20069864 Q21069152 Q843879 Q4136374 Q1184980 Q4488208 Q1479737 Q22227162 Q15883808 Q16467054 Q4487439 Q2616924 Q459788 Q72298 Q20985198 Q22668573 Q15991913 Q17424533 Q18033253 Q20671154 Q1927446 Q20113606 Q676803 Q13375962 Q19829212 Q752562 Q752566 Q19829214 Q736625 Q752569 Q2674744 Q22968193 Q5456893 Q1064696 Q15883518 Q2334348 Q20988152 Q2345639 Q1073388 Q3562401 Q20827590 Q2419293 Q2387656 Q18033355 Q2621952 Q2626006 Q21076961 Q1882506 Q1426549 Q21069095 Q20010892 Q863816 Q24038641 Q2423846 Q22338153 Q20743150 Q4487659 Q19829213 Q16070354 Q698379 Q7624391 Q4490377 Q4490371 Q16801260 Q1426588 Q27043672 Q2693505 Q21076133 Q4487474 Q22926350 Q1839543 Q23306918 Q849747 Q679119 Q3449950 Q20821992 Q19829258 Q19829256 Q13138543 Q21065704 Q2360287 Q21748773 Q2635701 Q20088705 Q695125 Q932849 Q1004161 Q18088397 Q484823 Q4475786 Q20088704 Q22122243 Q22122242 Q1091411 Q17335307 Q1346575 Q693717 Q15883689 Q2994686 Q4017779 Q818665 Q2604262 Q752837 Q1048349 Q854428 Q854882 Q4490406 Q872603 Q4490405 Q4490402 Q4490403 Q4490400 Q629857 Q2635531 Q2265085 Q4490408 Q4490409 Q4488300 Q4488304 Q4488307 Q2470334 Q26696178 Q2584616 Q4490399 Q20743162 Q460072 Q2068228 Q14515851 Q22282619 Q16736475 Q917652 Q1052731 Q22671268 Q20821395 Q14517565 Q731338 Q20631470 Q4486529 Q25839802 Q2541882 Q2643172 Q186456 Q22968795 Q20988134 Q1528478 Q17264901 Q2586114 Q752573 Q1861069 Q4490404 Q1426499 Q20171269 Q15883817 Q26834036 Q18033363 Q4136249 Q18033265 Q18033267 Q1995679 Q1063386 Q2660409 Q2709096 Q2993349 Q22330985 Q736760 Q20010894 Q14517558 Q2248565 Q2635579 Q2289616 Q2423859 Q2470376 Q22672031 Q2976226 Q18923027 Q18628331 Q4487663 Q22294510 Q2361008 Q877588 Q4488308 Q4490365 Q4490363 Q4490362 Q2616930 Q913583 Q13030429 Q20992306 Q1135849 Q20992308 Q4488240 Q19829203 Q2651997 Q16070293 Q837312 Q15883827 Q13138551 Q27043691 Q17496790 Q2357910 Q497887 Q172446 Q20893741 Q2062378 Q26220677 Q4487040 Q27269818 Q2997255 Q4487718 Q427048 Q4486667 Q2159815 Q18033306 Q19829235 Q4485721 Q2329426 Q22671289 Q20767243 Q1859114 Q19829308 Q2641161 Q2981712 Q3100968 Q4486206 Q22675076 Q2244303 Q2635874 Q15883824 Q4490418 Q1843110 Q4490410 Q862088 Q4490416 Q19915227 Q17048049 Q4490484 Q2132438 Q1144745 Q4490380 Q4490383 Q2594615 Q23636336 Q2086033 Q2467806 Q2237909 Q22671521 Q5456725 Q1426387 Q1061411 Q2340874 Q2656353 Q11721817 Q856849 Q2635764 Q22675054 Q21100242 Q20991218 Q756694 Q4490379 Q19829239 Q20988129 Q2586101 Q2133401 Q18033397 Q4490375 Q18746602 Q17264918 Q20644742 Q24383229 Q27043719 Q2424575 Q2387313
(c(Q17335294),P1001,c(Q56061)|c(Q1048835))
action count
action less
action union
action find_tuple_counts
relation P1001
type Q17335294
type Q56061
action find_tuple_counts
relation P1001
type Q17335294
type Q1048835
action count
action filter_multi_types
action find
entity Q783490
relation P1001
type Q56061
type Q1048835
[ANSWER]
[{'concept': 'Q17335294'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?k rdf:type ?b } GROUP BY ?i } . FILTER ( ?o < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q783490 property:P1001 ?f . { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } } } } }
flag of the Commonwealth first coat of arms of Voorst coat of arms of Cromstrijen Flag of Maakhir coat of arms of Zoelen coat of arms of Bierbeek Biešankovičy coat of arms coat of arms of Yaroslavl Oblast Flag of Nenets Autonomous Okrug flag of Menterwolde Flag of Yaroslavl Oblast coat of arms of Hooge en Lage Zwaluwe Flag of Bavaria coat of arms of Brielle Flag of Nebraska Flag of Amur Oblast coat of arms of Albrandswaard Flag of Deurne flag of Anjouan flag of Heerenveen flag of OPEC Flag of the Orange Free State coat of arms of Bernisse Mokrousovsky District flag coat of arms of Mill en Sint Hubert Flag of Khabarovsk Krai flag of Chukotsky rayon flag of Chulym rayon flag of Chunsky rayon flag of Chusovskoy rayon flag of Chukhloma flag of Chany rayon Flag of Khakassia Flag of Dagestan coat of arms of Vrouwenpolder Flag of Sarawak Coat of arms of Quebec City Flag of Perak Flag of Asten Ottoman flag Flag of the Azerbaijan Soviet Socialist Republic Flag of Koryak Okrug Flag of Puntland flag of the Kirghiz Soviet Socialist Republic Flag of Mayotte Flag of the Federal Territory coat of arms of Gaasterlân-Sleat first coat of arms of Emmen coat of arms of Kremenchuk Sami flag Flag of Chukotka Autonomous Okrug Flag of Serbia and Montenegro Flag of Ingushetia Flag of Sikkim Russian Navy Ensign Flag of the Udmurt Republic Flag of Stavropol Krai coat of arms of Tienhoven White-Red-White Flag Flag of Hezbollah coat of arms of Alphen coat of arms of Avereest flag of Sint-Michielsgestel coat of arms of Sint Anthonis coat of arms of Oost-Souburg coat of arms of Waalwijk flag of Östergötland coat of arms of Beemster flag of Manchukuo Flag of the Republic of Buryatia flag of Rojava coat of arms of 's Gravenmoer Grand Union Flag coat of arms of Wissenkerke flag of Kerch coat of arms of De Marne flag of Riga flag of Winsum Flag of the Jewish Autonomous Oblast flag of the Association of Southeast Asian Nations coat of arms of Brummen coat of arms of Keerbergen coat of arms of Bunschoten coat of arms of Roxenisse coat of arms of Sint Pieter Flag of Washington Australian Aboriginal Flag flag of Yaya coat of arms of Echteld Flag of the Trust Territory of the Pacific Islands Flag of Minnesota Flag of Acre flag of North Brabant coat of arms of Herselt flag of Rosaviatciya Flag of Astrakhan Oblast coat of arms of Sint-Michielsgestel coat of arms of Medemblik coat of arms of Zaandam Flag of the Mari El Republic coat of arms of Katendrecht flag of Winterswijk Flag of the Commonwealth of Independent States Flag of Krasnoyarsk Krai coat of arms of Boxtel Flag of Kamchatka Oblast Flag of New Caledonia Beloostrov flag flag of Agapovsky District Flag of Florida flag of the Georgian Soviet Socialist Republic coat of arms of Abcoude-Proostdij coat of arms of Reusel-De Mierden Flag of the Republic of Saugeais Flag of Amazonas coat of arms of Dessel flag of Penza Oblast Flag of Rio Grande do Norte coat of arms of Hodenpijl Flag of Ohio Flag of Missouri flag of Campania Flag of Zabaykalsky Krai flag of Samara Oblast flag of Scania flag of Overijssel Flag of Mato Grosso coat of arms of Sint-Agatha-Berchem Flag of Malacca flag of Oryol Oblast flag of the Estonian Soviet Socialist Republic coat of arms of Boortmeerbeek Flag of Bashkortostan Flag of the Sovereign Military Order of Malta flag of Ertil rayon Flag of Evenk Autonomous Okrug flag of Engels coat of arms of Eeklo Flag of Calgary coat of arms of Ulyanovsk Oblast second coat of arms of Emmen Flag of Saxony coat of arms of Vollenhove coat of arms of Tula Oblast coat of arms of Ambt Vollenhove coat of arms of Stad Vollenhove flag of the Kingdom of France flag of Chelyabinsk Oblast flag of the Armenian Soviet Socialist Republic coat of arms of Heel en Panheel Flag of Ceará coat of arms of Noorder-Koggenland coat of arms of Abtsregt coat of arms of Raalte coat of arms of Culemborg Flag of Omsk Oblast Flag of Sakhalin Oblast flag of Chudovsky district flag of the Moldavian Soviet Socialist Republic coat of arms of Bladel en Netersel coat of arms of Braine-l'Alleud Flag of West Virginia coat of arms of Ivanovo Oblast Flag of East Turkestan Flag of Ust-Orda Buryat Okrug coat of arms of Riga flag of Roosendaal coat of arms of Ulestraten coat of arms of Cuijk flag of Peski flag of North Holland Flag of NATO Victory Banner coat of arms of Roosendaal en Nispen flag of Boxtel coat of arms of Borsele Flag of the Federal State of Novorossiya coat of arms of Bedum Coat of arms of Woluwe-Saint-Lambert coat of arms of Wormerland coat of arms of Brederwiede Flag of Altai Krai coat of arms of Achtkarspelen coat of arms of Brouwershaven Flag of Nevada Flag of Delaware coat of arms of De Friese Meren Flag of Utah Flag of Maryland Flag of Mato Grosso do Sul coat of arms of Glabbeek flag of the Tuvan People's Republic Flag of the Collectivity of Saint Martin flag of Vollenhove Flag of Voronezh Oblast coat of arms of Kethel en Spaland Coat of arms of Alsace flag of Nazi Germany Flag of Mohéli coat of arms of 's-Heer Abtskerke flag of Belgorod Oblast Flag of Murmansk Oblast coat of arms of Loppersum Flag of Vologda Oblast Flag of Pernambuco coat of arms of Mheer flag of Flevoland flag of the Kalmar Union coat of arms of Aarschot coat of arms of Baardwijk flag of the Byelorussian Soviet Socialist Republic coat of arms of Berg en Dal Kurgan Oblast Flag Flag of Dongen coat of arms of Retranchement flag of Rospechat coat of arms of Cillaarshoek coat of arms of Korendijk flag of Schleswig-Holstein flag of the German Democratic Republic flag of Cheremkhovsky rayon flag of Chelno-Vershinsky rayon Coat of arms of Asten Flag of Kaliningrad Oblast first coat of arms of Beverwijk coat of arms of Alkemade coat of arms of Arlon Flag of Penang flag of Caithness coat of arms of Abcoude-Baambrugge flag of De Marne Flag of North Ossetia–Alania flag of canton of Zürich flag of Arcen en Velden coat of arms of Krabbendijke coat of arms of Langerak coat of arms of Kijfhoek coat of arms of Boarnsterhim coat of arms of Heer flag of Ulyanovsk Oblast coat of arms of Ganshoren Flag of Irkutsk Oblast coat of arms of Baarderadeel flag of French Southern and Antarctic Lands flag of the Turkmen Soviet Socialist Republic flag of Friesland flag of Bergen Emblem of Afghanistan coat of arms of Deventer coat of arms of Aengwirden flag of Bergen op Zoom Flag of Boxmeer flag of Navarre Flag of Kedah Navassa Island flag flag of Saarland coat of arms of Bodegraven-Reeuwijk Flag of Primorsky Krai coat of arms of Zaanstad Flag of Tristan da Cunha Flag of Minas Gerais Flag of Illinois Flag of Saint Barthélemy Flag of French Guiana flag of the Kazakh Soviet Socialist Republic flag of Chertanovo South Prince's Flag flag of Chertanovo Center flag of Chernyshkovsky rayon flag of Chernyansky rayon flag of Chernushinsky rayon Flag of the Azores Flag of Yamalo-Nenets Autonomous Okrug flag of Drenthe flag of Cheryomushki flag of Chesmensky rayon flag of Khokholsky rayon flag of Central district flag of Chagodoshchensky rayon Flag of Vladimir Oblast coat of arms of Kalmthout flag of Zeeland flag of Chernsky rayon coat of arms of Cadzand Flag of the Commonwealth of Nations coat of arms of Zeevang flag of Beemster flag of Cuijk coat of arms of Bergen op Zoom Gadsden flag flag of the Tajik Soviet Socialist Republic flag of Werkendam coat of arms of Maarheeze coat of arms of Bronckhorst Flag of Tibet coat of arms of Ambt Almelo Flag of Komi-Permyak Okrug flag of Zuidhorn coat of arms of Heerenveen flag of the Crimean Tatar people flag of Hong Kong coat of arms of Halle coat of arms of Delfzijl Flag of the Natalia Republic coat of arms of Venray flag of Gelderland Flag of Connecticut flag of Masovian Voivodeship flag of Chertanovo North flag of Vendsyssel coat of arms of Zuid-Polsbroek second coat of arms of Voorst Coat of arms of Bonheiden coat of arms of Menterwolde Coat of arms of Volgograd Oblast coat of arms of Blaricum coat of arms of Borger-Odoorn Flag of Kuban flag of the Uzbek Soviet Socialist Republic Flag of Macedonia Flag of Leinster flag of Saratov Oblast Flag of Baarle-Nassau Flag of Idaho coat of arms of Alem, Maren en Kessel coat of arms of Apeldoorn coat of arms of 's-Heerenberg Flag of Kemerovo Oblast Flag of Munster flag of Ryazan Oblast flag of Rostov Oblast flag of Reusel-De Mierden Flag of Amapá coat of arms of Heel flag of Northamptonshire flag of Rosreestr Flag of Eersel Bonnie Blue Flag flag of the Ukrainian Soviet Socialist Republic flag of Tchaykovsky rayon flag of Chebarkul rayon flag of Chastinsky rayon flag of Chaplygin rayon flag of South Holland Flags of the Confederate States of America coat of arms of Vidzy coat of arms of Cuijk en Sint Agatha Flag of Zanzibar coat of arms of Roggel en Neer Flag of the Federation of Rhodesia and Nyasaland coat of arms of Biert flag of Ivanovo Oblast coat of arms of Capelle aan den IJssel Flag of North Dakota coat of arms of Wijlre coat of arms of Ameland second coat of arms of Beverwijk coat of arms of Bemelen Flag of Volgograd Oblast Flag of Azawad flag of the United Nations coat of arms of Oploo, Sint Anthonis en Ledeacker Flag of the Republic of Serbian Krajina coat of arms of Beerse Flag of Mengjiang Nail & Gear Flag of Novosibirsk Oblast Flag of Sarajevo Coat of arms of Quebec Flag of Kremenchuk coat of arms of Edam-Volendam coat of arms of Genemuden coat of arms of Groote Lindt flag of the Weimar Republic Flag of the Federal District flag of Waalwijk wapen van Geulle coat of arms of Dokkum coat of arms of Vlaardingerambacht Flag of Perm Oblast Flag of Paraná coat of arms of Waterland Flag of Zaporozhye city coat of arms of Drogenbos Flag of Alagoas flag of Tula Oblast coat of arms of West Maas en Waal flag of Choysky rayon coat of arms of Hoorn flag of Chekhovsky rayon Flag of Adjara flag of Chishminsky rayon flag of De Friese Meren coat of arms of Woerden Flag of Shushary flag of Utrecht Flag of Easter Island flag of Cherepovetsky rayon flag of Cherlaksky rayon Flag of Livonians coat of arms of Sint-Genesius-Rode Flag of Saint Petersburg Flags of the Commonwealth of England Flag of Kuala Lumpur flag of Sint Anthonis Flag of Cúcuta Flag of Bornholm flag of the Karelo-Finnish Soviet Socialist Republic coat of arms of Barradeel Flag of the Organisation of Islamic Cooperation Flag of Sabah flag of the Lithuanian Soviet Socialist Republic Flag of Arkhangelsk Oblast coat of arms of Dilbeek coat of arms of Oud-Vroenhoven coat of arms of Tongelre Flag of Curaçao flag of Cherepanovo rayon coat of arms of Hazerswoude First coat of arms of Delfzijl flag of Groningen flag of Limburg coat of arms of Roosendaal flag of Cherdynsky rayon coat of arms of Denekamp coat of arms of Bergen coat of arms of Achttienhoven flag of Achtkarspelen third coat of arms of Beverwijk flag of Tver Oblast Flag of Magadan Oblast
431
action count
action less
action union
action find_tuple_counts
relation applies to jurisdiction
type flag or coat of arms
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type flag or coat of arms
type political territorial entity
action count
action filter_multi_types
action find
entity flag of the Association of Southeast Asian Nations
relation applies to jurisdiction
type administrative territorial entity
type political territorial entity
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?k rdf:type ?b } GROUP BY ?i } . FILTER ( ?o < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:flag_of_the_Association_of_Southeast_Asian_Nations property:applies_to_jurisdiction ?f . { ?f rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2918584
P793
Q1190554 Q17335294
USER
How many events are the significant events associated with approximately the same number of coats of arms as relocation ?
(c(Q17335294),P793,c(Q1190554))
action count
action approx
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
action count
action filter_type
action find
entity Q2918584
relation P793
type Q1190554
[{'concept': 'Q17335294'}, 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?v ) WHERE { ?y rdf:type ontology:Q1190554 . ?q rdf:type ontology:Q17335294 . ?q property:P793 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q2918584 property:P793 ?d . ?d rdf:type ontology:Q1190554 } } . FILTER ( ?v = ?n ) }
relocation
action count
action approx
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
action count
action filter_type
action find
entity relocation
relation significant event
type event
[{'concept': 'flag or coat of arms'}, 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?v ) WHERE { ?y rdf:type ontology:event . ?q rdf:type ontology:flag_or_coat_of_arms . ?q property:significant_event ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:relocation property:significant_event ?d . ?d rdf:type ontology:event } } . FILTER ( ?v = ?n ) }
[]
event flag or coat of arms
SYSTEM
155
Q131297 Q14903979 Q201692 Q7114127 Q15829638 Q718605 Q635882 Q17986818 Q234132 Q188925 Q19866992 Q24478688 Q564388 Q15980725 Q180182 Q760089 Q2424544 Q1268733 Q365640 Q166495 Q1154390 Q1294303 Q1669285 Q1363768 Q2334719 Q2237633 Q6208645 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q186284 Q173077 Q2889160 Q1121532 Q5916 Q1274566 Q280868 Q385378 Q463206 Q1886703 Q1497011 Q850529 Q18603729 Q25517452 Q649727 Q5051574 Q600016 Q2026625 Q2238935 Q7642201 Q851504 Q179057 Q2890798 Q4602925 Q19841649 Q170400 Q168983 Q4872357 Q1840806 Q254106 Q258873 Q1150070 Q8016240 Q1362364 Q2343619 Q201676 Q700569 Q533034 Q327035 Q114953 Q4159143 Q1650581 Q849653 Q688308 Q15056768 Q205512 Q28545 Q20668205 Q2918584 Q21953089 Q4872697 Q1370468 Q1818072 Q204854 Q1157021 Q218678 Q126306 Q112016 Q683635 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q35140 Q21980597 Q617922 Q473853 Q1972070 Q610000 Q171558 Q2305019 Q27550425 Q18119757 Q15089703 Q1644792 Q5678097 Q19868482 Q16686346 Q1975665 Q6200334 Q2511359 Q16717192 Q22075993 Q744913 Q851304 Q2144402 Q476300 Q490812 Q223604 Q131386 Q7884274 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q4606339 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q946054 Q464980 Q2783811 Q18511800 Q93190 Q115105 Q4870896 Q15089689 Q16328520 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q702460 Q841440 Q663405
(c(Q17335294),P793,c(Q1190554))
action count
action approx
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
action count
action filter_type
action find
entity Q2918584
relation P793
type Q1190554
[ANSWER]
[{'concept': 'Q17335294'}, 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?v ) WHERE { ?y rdf:type ontology:Q1190554 . ?q rdf:type ontology:Q17335294 . ?q property:P793 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q2918584 property:P793 ?d . ?d rdf:type ontology:Q1190554 } } . FILTER ( ?v = ?n ) }
Rwandan Genocide change of ownership Battle of Poitiers Battle of Kuuterselkä first run Martial law in Poland Battle of Black Jack imprisonment at Auschwitz concentration camp Hillsborough disaster Battles of Khalkhin Gol Obergefell v. Hodges Seznec Affair Defense of the Polish Post Office in Danzig Skirmish of Todos Santos Battle of Iwo Jima commission levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive academic tenure Edwards v Canada (Attorney General) Sack of Amorium fusion legal case Battle of Musgrove Mill Joe Biden presidential campaign, 1988 Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Polish–Soviet War Battle of Tours Battle of Loon Lake Battle of Alcácer Quibir spaceflight Battle of the Arar Battle of Gergovia construction 2001 failed shoe bomb attempt Battle of Sulci communal reorganisation Betty and Barney Hill abduction dissolution of an administrative territorial entity battle of the Tollense River Sledgehammer catastrophic failure Battle of Jargeau Battle of Chains Slighting Super Bowl XLVI halftime show Battle of Vouillé explosion Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel extension Battle of Kunersdorf conflagration Battle of Setauket delivery Crimean War Waco siege change trial maiden flight name change funeral Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala poisoning Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation Major League Baseball debut Gaza flotilla raid teaching Battle of Brouwershaven (1490) relocation militia occupation of the Malheur National Wildlife Refuge Battle of Vrbanja bridge reconstruction MV Maersk Alabama première Battle of Białołęka North African Campaign Decembrist revolt Battle of the Persian Gate Wendish Crusade Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica performance Causeway Bay Books disappearances Battle of Wytyczno school shooting Battle of Lutetia Battle of the Grebbeberg accident Battle of Curupaity academic suspension invention Major League Baseball final game Battle of Lake Regillus United States v. Hasan K. Akbar destruction date of listing Ennoblement Siege of Pelium Assault on Nijmegen date of unveiling debut as an actor aviation accidents and incidents Looted art renovation competition coming into force Greco-Italian War Battle of Alesia unexplained disappearance Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona 2006 Hamas cross-border raid Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria Burr–Hamilton duel exhibition Tarnak Farm incident split divorce Battle of Wogastisburg Battle of Dong Khe Major League Baseball initial signing trial of Oscar Pistorius Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Ministries Trial naturalization Battle of Zorndorf
155
action count
action approx
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
action count
action filter_type
action find
entity relocation
relation significant event
type event
[{'concept': 'flag or coat of arms'}, 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?v ) WHERE { ?y rdf:type ontology:event . ?q rdf:type ontology:flag_or_coat_of_arms . ?q property:significant_event ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:relocation property:significant_event ?d . ?d rdf:type ontology:event } } . FILTER ( ?v = ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P237
Q17335294 Q56061
USER
Which administrative territories have min number of coats of arms as their ensign ?
(c(Q56061),P237,c(Q17335294))
action argmin
action find_tuple_counts
relation P237
type Q56061
type Q17335294
[{'concept': 'Q56061'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?v ) { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?q ) WHERE { ?k property:P237 ?h . ?k rdf:type ontology:Q56061 . ?h rdf:type ontology:Q17335294 } GROUP BY ?k } } . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?b ) WHERE { ?r rdf:type ontology:Q56061 . ?n rdf:type ontology:Q17335294 . ?r property:P237 ?n } GROUP BY ?r } . FILTER ( ?b = ?v ) }
action argmin
action find_tuple_counts
relation coat of arms
type administrative territorial entity
type flag or coat of arms
[{'concept': 'administrative territorial entity'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?v ) { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?q ) WHERE { ?k property:coat_of_arms ?h . ?k rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?k } } . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?b ) WHERE { ?r rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:flag_or_coat_of_arms . ?r property:coat_of_arms ?n } GROUP BY ?r } . FILTER ( ?b = ?v ) }
[]
flag or coat of arms administrative territorial entity
Q2280 Q1741 Q140147
SYSTEM
Minsk, Vienna, Brest
Q938820 Q3576259 Q990130 Q81076 Q367780 Q2235 Q7436 Q8802 Q2779809 Q894 Q891 Q748533 Q12273 Q38511 Q2269794 Q6023 Q214021 Q208293 Q819387 Q2280 Q953070 Q958685 Q266841 Q939758 Q1605184 Q3159 Q159501 Q1735037 Q952374 Q1019515 Q954914 Q656988 Q8692 Q1572234 Q744679 Q491603 Q322126 Q15688 Q750424 Q15684 Q1889562 Q613701 Q241475 Q12013374 Q216790 Q16069768 Q1001927 Q48329 Q9816 Q8378 Q26430 Q99151 Q935847 Q37013 Q1010188 Q259636 Q3025870 Q849934 Q520162 Q3030263 Q642696 Q3183251 Q334 Q6016 Q2778652 Q6157 Q12411 Q162615 Q543800 Q9580 Q3323 Q954812 Q10509 Q912952 Q134686 Q744704 Q2684 Q103717 Q502425 Q105413 Q3290407 Q956621 Q903595 Q186237 Q14328 Q990548 Q9911 Q763111 Q207294 Q954178 Q1615373 Q5992 Q2861 Q261024 Q425799 Q15468 Q196374 Q207753 Q987981 Q210987 Q214777 Q316211 Q2621918 Q208287 Q207999 Q1840 Q278743 Q15092 Q807901 Q3630 Q372075 Q8851 Q2754237 Q102217 Q1017129 Q984858 Q40840 Q141697 Q237 Q162279 Q1025748 Q734175 Q738777 Q145638 Q1741 Q690882 Q172608 Q690 Q73570 Q8745 Q1527795 Q622592 Q579722 Q2298676 Q19566 Q985459 Q985458 Q258447 Q2478237 Q11953 Q2690283 Q1025883 Q797495 Q200797 Q953081 Q785888 Q33345 Q1890410 Q198349 Q54898 Q915420 Q111048 Q429864 Q695425 Q2003434 Q6009 Q172 Q16515 Q1957 Q2470394 Q487786 Q939771 Q15678 Q15679 Q140147 Q175433 Q2791095 Q1025665 Q301415 Q939701 Q9832 Q2427079 Q2678 Q2893667 Q28911 Q180233 Q10305 Q14318 Q956159 Q134620 Q15095 Q959 Q781249 Q204382 Q216900 Q748513 Q154835 Q1076109 Q955474 Q608752 Q984927 Q956207 Q9867 Q26 Q956471 Q651555 Q722836 Q6172 Q175470 Q37792 Q12225 Q3500101 Q340 Q587173 Q2477587 Q664599 Q1614337 Q157134 Q244747 Q43070 Q10400 Q1183 Q955126 Q9789 Q915 Q1002717 Q104557 Q1615412 Q2582814 Q761 Q144234 Q2706319 Q181376 Q4454 Q990569 Q1415346 Q954114 Q735583 Q879406 Q143052 Q11967 Q954343 Q103789 Q2592 Q7038 Q8717 Q735133 Q1942428 Q2596991 Q2212600 Q742854 Q207891 Q237655 Q683512 Q14657 Q103255 Q2405988 Q2604194 Q2433994 Q157260 Q2797402 Q157065 Q2925960 Q735563 Q659642 Q10313 Q193367 Q727 Q954519 Q683525 Q955153 Q3646 Q485329 Q955013 Q15695 Q15088 Q633371 Q1669868 Q586 Q2659505 Q8757 Q628623 Q192155 Q3057422 Q986578 Q5449 Q9805 Q165285 Q739491 Q597156 Q958847 Q3116892 Q2504814 Q103565 Q10041 Q986409 Q956460 Q211020 Q181854 Q247128 Q939727 Q14336 Q192870 Q744167 Q82030 Q1016922 Q244692 Q8826 Q431779 Q502249 Q3025598 Q124919 Q215080 Q954421 Q127623 Q486792 Q203619 Q829851 Q446232 Q971130 Q139794 Q503862 Q286964 Q2208222 Q530309 Q990573
(c(Q56061),P237,c(Q17335294))
action argmin
action find_tuple_counts
relation P237
type Q56061
type Q17335294
[ANSWERS] have min number of coats of arms as their ensign
[{'concept': 'Q56061'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?v ) { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?q ) WHERE { ?k property:P237 ?h . ?k rdf:type ontology:Q56061 . ?h rdf:type ontology:Q17335294 } GROUP BY ?k } } . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?b ) WHERE { ?r rdf:type ontology:Q56061 . ?n rdf:type ontology:Q17335294 . ?r property:P237 ?n } GROUP BY ?r } . FILTER ( ?b = ?v ) }
Virrat Zuid-Scharwoude Hook of Holland Zierikzee Hamina Veliky Novgorod Gatchina Getafe Kats Samara Nizhny Novgorod Iisalmi Gijón Turku Zwaag Lapua Tornio Järvenpää Haapavesi Minsk Parkano Masty Miory Kalajoki Hengelo, Gelderland Kursk Muravlenko Kaskinen Outokumpu Schaesberg Krychaw Nurmes Bilbao Halshany Cadier Kitee Valkeakoski Ávila Navapolatsk Segovia Usquert Pieksämäki Lida Sint-Michielsgestel Hanko Margraten Sastamala Mariehamn Best Palencia Tilburg Ourense Viitasaari Rauma Scheemda Suonenjoki Zuidbroek Heinola Zhabinka Spaubeek Jämsä Poortvliet Singapore Kurikka Ohé en Laak Seinäjoki Pontevedra Cartagena Ylöjärvi Burgos Belgorod Horki Elche Pudasjärvi Gubkinsky Kemijärvi Vladimir Rovaniemi Horn Georgiyevsk Maren Davyd-Haradok Volendam Joensuu Santa Cruz de Tenerife Juankoski Den Helder Sijbekarspel Babruysk Novolukoml Maasbracht Kauhajoki Rostock Astravyets 's-Heer Hendrikskinderen Badalona Sovetskaya Gavan Hyvinkää Wojcieszów Salo Lohja Haapajärvi Druya Kauniainen Kuusamo Veenendaal Navahrudak Castelló de la Plana Laitila Jakarta Raisio Málaga Oude Niedorp Vitebsk Paimio Saarijärvi Tampere Izobilny Vatican City Kuopio Kaavi Arechaŭsk Iwye Kashira Vienna Sint Philipsland Neftekumsk Delft Geleen Vigo Lakhva Raahe Ossendrecht Spanbroek Simferopol Oulainen Nivala Äänekoski Yanovichi Guadalajara Nibbixwoud Dzyatlava Baarland Polotsk Orivesi Moguer Yevpatoria Kessel, North Brabant Shumerlya San Cristóbal de La Laguna Loimaa Veliky Ustyug Riihimäki Martos Aarle-Rixtel Kauhava Toronto Dobříš Vologda Voranava Orihuela Kuhmo Cáceres Badajoz Brest Novocheboksarsk Noorddijk, Groningen Eibergen Marken Orimattila Eindhoven Oudkarspel Gomel Beek en Donk Lahti Pori Zaragoza Vitoria-Gasteiz Pruzhany Jyväskylä Albacete Vladivostok Närpes Kouvola Kerava Loviisa Mogilyov Svislach Dobrush Lieksa Kannus Ivanava Sint-Oedenrode Northern Ireland Drahichyn Dzisna Ashmyany Ähtäri Novy Urengoy Sint-Truiden Murcia Deltuva Montreal Ivatsevichy Liudvinavas Nykarleby Mierlo Makiivka Tudela Donetsk Almería Puerto Rico Cherykaw Nederweert Perm Schoorl Balashikha Heythuysen Ransdorp Białystok Kanash Kwadijk Grodno Khabarovsk Kankaanpää Lyachchyzy Hlybokaye Ylivieska Biaroza Ipatovo Huesca Talachyn Arzamas Kostroma Girona Seville Ikaalinen Warffum Lubcha Graft, Netherlands Keuruu Kokkola Baranovichi Savonlinna Vyborg Alatyr Roden, Drenthe Oterleek Putte, Pays-Bas Horlivka Waardenburg Kerch Noord-Scharwoude Kaarina Kristinestad Donostia/San Sebastián Porvoo Amsterdam Syanno Varkaus Klichaw Krasnodar Ferrol Kastsyukovichy Salamanca Tarragona Raseborg Kozelets Bonn Sharkaushchyna A Coruña Braslaw Kotka Erp, Netherlands Harjavalta Yoshkar-Ola Beesel Huittinen Vawkavysk Nurmijärvi Skidzyel’ Groet Oosthuizen Angarsk Soest Kokemäki Byelaazyorsk Imatra Lappeenranta Ulvila Somero Teruel Nokia Mstsislaw Villarrobledo Mänttä-Vilppula Zwijndrecht Palma Shchuchyn Villena Wedde Kiuruvesi Machala Chashniki Vantaa Aranjuez Kemi Joutseno Petten Nieuwe Niedorp Zelenokumsk Naantali Baran De Rijp Karkkila Pyhäjärvi
Minsk, Vienna and Brest have min number of coats of arms as their ensign
Minsk Vienna Brest
action argmin
action find_tuple_counts
relation coat of arms
type administrative territorial entity
type flag or coat of arms
[{'concept': 'administrative territorial entity'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?v ) { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?q ) WHERE { ?k property:coat_of_arms ?h . ?k rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?k } } . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?b ) WHERE { ?r rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:flag_or_coat_of_arms . ?r property:coat_of_arms ?n } GROUP BY ?r } . FILTER ( ?b = ?v ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q14360
P403 P17
Q355304
USER
Which watercourses drain into Pas and are situated in Spain ?
AND((c(Q355304),P403,Q14360), (c(Q355304),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q14360
relation P403
action find_reverse
entity Q29
relation P17
type Q355304
{'AND': [[{'concept': 'Q355304'}, 'P403', 'Q14360'], [{'concept': 'Q355304'}, 'P17', 'Q29']]}
SELECT DISTINCT ?b WHERE { ?b property:P403 resource:Q14360 . ?b property:P17 resource:Q29 . ?b rdf:type ontology:Q355304 }
Spain Pas
action filter_type
action intersection
action find_reverse
entity Pas
relation mouth of the watercourse
action find_reverse
entity Spain
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Pas'], [{'concept': 'watercourse'}, 'country', 'Spain']]}
SELECT DISTINCT ?b WHERE { ?b property:mouth_of_the_watercourse resource:Pas . ?b property:country resource:Spain . ?b rdf:type ontology:watercourse }
[]
watercourse
Q6980876
SYSTEM
Pisueña
Q6980876
AND((c(Q355304),P403,Q14360), (c(Q355304),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q14360
relation P403
action find_reverse
entity Q29
relation P17
type Q355304
[ANSWER] drain into Pas and are situated in Spain
{'AND': [[{'concept': 'Q355304'}, 'P403', 'Q14360'], [{'concept': 'Q355304'}, 'P17', 'Q29']]}
SELECT DISTINCT ?b WHERE { ?b property:P403 resource:Q14360 . ?b property:P17 resource:Q29 . ?b rdf:type ontology:Q355304 }
Pisueña
Pisueña drain into Pas and are situated in Spain
Pisueña
action filter_type
action intersection
action find_reverse
entity Pas
relation mouth of the watercourse
action find_reverse
entity Spain
relation country
type watercourse
{'AND': [[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Pas'], [{'concept': 'watercourse'}, 'country', 'Spain']]}
SELECT DISTINCT ?b WHERE { ?b property:mouth_of_the_watercourse resource:Pas . ?b property:country resource:Spain . ?b rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6980876 Q29
P17
Q15617994
USER
Does that watercourse belong to Spain ?
(Q6980876,P17,Q29)
action is_in
entity Q29
action find
entity Q6980876
relation P17
['Q6980876', 'P17', 'Q29']
ASK WHERE { resource:Q6980876 property:P17 resource:Q29 }
Pisueña Spain
action is_in
entity Spain
action find
entity Pisueña
relation country
['Pisueña', 'country', 'Spain']
ASK WHERE { resource:Pisueña property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6980876,P17,Q29)
action is_in
entity Q29
action find
entity Q6980876
relation P17
[ANSWER]
['Q6980876', 'P17', 'Q29']
ASK WHERE { resource:Q6980876 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Pisueña
relation country
['Pisueña', 'country', 'Spain']
ASK WHERE { resource:Pisueña property:country resource:Spain }
[]