Simple Question (Direct)
Simple Question
Q762930
P19
Q486972
USER
Which human settlement is the place of birth of August Malotki von Trzebiatowski ?
(Q762930,P19,c(Q486972))
action filter_type
action find
entity Q762930
relation P19
type Q486972
['Q762930', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { resource:Q762930 property:P19 ?l . ?l rdf:type ontology:Q486972 }
August Malotki von Trzebiatowski
action filter_type
action find
entity August Malotki von Trzebiatowski
relation place of birth
type human settlement
['August Malotki von Trzebiatowski', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { resource:August_Malotki_von_Trzebiatowski property:place_of_birth ?l . ?l rdf:type ontology:human_settlement }
[]
human settlement
Q1792
SYSTEM
Gdańsk
Q1792
(Q762930,P19,c(Q486972))
action filter_type
action find
entity Q762930
relation P19
type Q486972
[ANSWER] is the place of birth of August Malotki von Trzebiatowski
['Q762930', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { resource:Q762930 property:P19 ?l . ?l rdf:type ontology:Q486972 }
Gdańsk
Gdańsk is the place of birth of August Malotki von Trzebiatowski
Gdańsk
action filter_type
action find
entity August Malotki von Trzebiatowski
relation place of birth
type human settlement
['August Malotki von Trzebiatowski', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { resource:August_Malotki_von_Trzebiatowski property:place_of_birth ?l . ?l rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1792
P237
Q17335294
USER
What is the ensign for that human settlement ?
(Q1792,P237,c(Q17335294))
action filter_type
action find
entity Q1792
relation P237
type Q17335294
['Q1792', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?b WHERE { resource:Q1792 property:P237 ?b . ?b rdf:type ontology:Q17335294 }
Gdańsk
action filter_type
action find
entity Gdańsk
relation coat of arms
type flag or coat of arms
['Gdańsk', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?b WHERE { resource:Gdańsk property:coat_of_arms ?b . ?b rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1625043
SYSTEM
coat of arms of Gdańsk
Q1625043
(Q1792,P237,c(Q17335294))
action filter_type
action find
entity Q1792
relation P237
type Q17335294
The ensign for that human settlement is the [ANSWER]
['Q1792', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?b WHERE { resource:Q1792 property:P237 ?b . ?b rdf:type ontology:Q17335294 }
coat of arms of Gdańsk
The ensign for that human settlement is the coat of arms of Gdańsk
coat of arms of Gdańsk
action filter_type
action find
entity Gdańsk
relation coat of arms
type flag or coat of arms
['Gdańsk', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?b WHERE { resource:Gdańsk property:coat_of_arms ?b . ?b rdf:type ontology:flag_or_coat_of_arms }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1625043 Q40900
P17
Q15617994
USER
Is that coat of arms situated in Germignaga ?
(Q1625043,P17,Q40900)
action is_in
entity Q40900
action find
entity Q1625043
relation P17
['Q1625043', 'P17', 'Q40900']
ASK WHERE { resource:Q1625043 property:P17 resource:Q40900 }
coat of arms of Gdańsk Germignaga
action is_in
entity Germignaga
action find
entity coat of arms of Gdańsk
relation country
['coat of arms of Gdańsk', 'country', 'Germignaga']
ASK WHERE { resource:coat_of_arms_of_Gdańsk property:country resource:Germignaga }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1625043,P17,Q40900)
action is_in
entity Q40900
action find
entity Q1625043
relation P17
[ANSWER]
['Q1625043', 'P17', 'Q40900']
ASK WHERE { resource:Q1625043 property:P17 resource:Q40900 }
No
action is_in
entity Germignaga
action find
entity coat of arms of Gdańsk
relation country
['coat of arms of Gdańsk', 'country', 'Germignaga']
ASK WHERE { resource:coat_of_arms_of_Gdańsk property:country resource:Germignaga }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1792 Q20601928 Q6812204
P190
Q56061
USER
Is Gdańsk sister town of Three Crosses and Melewa ?
(Q1792,P190,Q20601928) (Q1792,P190,Q6812204)
action is_in
entity Q1792
action intersection
action find_reverse
entity Q20601928
relation P190
action find_reverse
entity Q6812204
relation P190
['Q1792', 'P190', 'Q20601928'] ['Q1792', 'P190', 'Q6812204']
ASK WHERE { resource:Q1792 property:P190 resource:Q20601928 . resource:Q1792 property:P190 resource:Q6812204 }
Gdańsk Three Crosses Melewa
action is_in
entity Gdańsk
action intersection
action find_reverse
entity Three Crosses
relation sister city
action find_reverse
entity Melewa
relation sister city
['Gdańsk', 'sister city', 'Three Crosses'] ['Gdańsk', 'sister city', 'Melewa']
ASK WHERE { resource:Gdańsk property:sister_city resource:Three_Crosses . resource:Gdańsk property:sister_city resource:Melewa }
[]
administrative territorial entity
SYSTEM
NO
(Q1792,P190,Q20601928) (Q1792,P190,Q6812204)
action is_in
entity Q1792
action intersection
action find_reverse
entity Q20601928
relation P190
action find_reverse
entity Q6812204
relation P190
[ANSWER]
['Q1792', 'P190', 'Q20601928'] ['Q1792', 'P190', 'Q6812204']
ASK WHERE { resource:Q1792 property:P190 resource:Q20601928 . resource:Q1792 property:P190 resource:Q6812204 }
No
action is_in
entity Gdańsk
action intersection
action find_reverse
entity Three Crosses
relation sister city
action find_reverse
entity Melewa
relation sister city
['Gdańsk', 'sister city', 'Three Crosses'] ['Gdańsk', 'sister city', 'Melewa']
ASK WHERE { resource:Gdańsk property:sister_city resource:Three_Crosses . resource:Gdańsk property:sister_city resource:Melewa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1625043 Q36
P17
Q15617994
USER
Is coat of arms of Gdańsk a part of Poland ?
(Q1625043,P17,Q36)
action is_in
entity Q36
action find
entity Q1625043
relation P17
['Q1625043', 'P17', 'Q36']
ASK WHERE { resource:Q1625043 property:P17 resource:Q36 }
coat of arms of Gdańsk Poland
action is_in
entity Poland
action find
entity coat of arms of Gdańsk
relation country
['coat of arms of Gdańsk', 'country', 'Poland']
ASK WHERE { resource:coat_of_arms_of_Gdańsk property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1625043,P17,Q36)
action is_in
entity Q36
action find
entity Q1625043
relation P17
[ANSWER]
['Q1625043', 'P17', 'Q36']
ASK WHERE { resource:Q1625043 property:P17 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity coat of arms of Gdańsk
relation country
['coat of arms of Gdańsk', 'country', 'Poland']
ASK WHERE { resource:coat_of_arms_of_Gdańsk property:country resource:Poland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P463
Q43229 Q874405
USER
How many organizations or social groups were Poland a member of ?
(Q36,P463,c(Q43229)) (Q36,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q36
relation P463
type Q43229
action filter_type
action find
entity Q36
relation P463
type Q874405
['Q36', 'P463', {'concept': 'Q43229'}] ['Q36', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o rdf:type ontology:Q43229 . resource:Q36 property:P463 ?o } UNION { ?o rdf:type ontology:Q874405 . resource:Q36 property:P463 ?o } }
Poland
action count
action union
action filter_type
action find
entity Poland
relation member of
type organization
action filter_type
action find
entity Poland
relation member of
type social group
['Poland', 'member of', {'concept': 'organization'}] ['Poland', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o rdf:type ontology:organization . resource:Poland property:member_of ?o } UNION { ?o rdf:type ontology:social_group . resource:Poland property:member_of ?o } }
[]
organization social group
SYSTEM
11
Q191384 Q177773 Q41550 Q8908 Q656801 Q376150 Q782942 Q7817 Q7809 Q7825 Q827525
(Q36,P463,c(Q43229)) (Q36,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q36
relation P463
type Q43229
action filter_type
action find
entity Q36
relation P463
type Q874405
[ANSWER]
['Q36', 'P463', {'concept': 'Q43229'}] ['Q36', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o rdf:type ontology:Q43229 . resource:Q36 property:P463 ?o } UNION { ?o rdf:type ontology:Q874405 . resource:Q36 property:P463 ?o } }
International Bank for Reconstruction and Development World Intellectual Property Organization Organisation for Economic Co-operation and Development Council of Europe International Finance Corporation International Telecommunication Union Australia Group World Health Organization United Nations Educational, Scientific and Cultural Organization World Trade Organization International Development Association
11
action count
action union
action filter_type
action find
entity Poland
relation member of
type organization
action filter_type
action find
entity Poland
relation member of
type social group
['Poland', 'member of', {'concept': 'organization'}] ['Poland', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { ?o rdf:type ontology:organization . resource:Poland property:member_of ?o } UNION { ?o rdf:type ontology:social_group . resource:Poland property:member_of ?o } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1088207 Q6812204
P17
Q15617994
USER
Which administrative territories are Melewa or Piazza della Libertà present in ?
OR((Q6812204,P17,c(Q15617994)), (Q1088207,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6812204
relation P17
action find
entity Q1088207
relation P17
type Q15617994
{'OR': [['Q6812204', 'P17', {'concept': 'Q15617994'}], ['Q1088207', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q6812204 property:P17 ?g } UNION { resource:Q1088207 property:P17 ?g } } }
Piazza della Libertà Melewa
action filter_type
action union
action find
entity Melewa
relation country
action find
entity Piazza della Libertà
relation country
type designation for an administrative territorial entity
{'OR': [['Melewa', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Piazza della Libertà', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Melewa property:country ?g } UNION { resource:Piazza_della_Libertà property:country ?g } } }
[]
designation for an administrative territorial entity
Q38 Q114
SYSTEM
Italy, Kenya
Q38 Q114
OR((Q6812204,P17,c(Q15617994)), (Q1088207,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6812204
relation P17
action find
entity Q1088207
relation P17
type Q15617994
Melewa or Piazza della Libertà are in [ANSWERS]
{'OR': [['Q6812204', 'P17', {'concept': 'Q15617994'}], ['Q1088207', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q6812204 property:P17 ?g } UNION { resource:Q1088207 property:P17 ?g } } }
Italy Kenya
Melewa or Piazza della Libertà are in Italy and Kenya
Italy Kenya
action filter_type
action union
action find
entity Melewa
relation country
action find
entity Piazza della Libertà
relation country
type designation for an administrative territorial entity
{'OR': [['Melewa', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Piazza della Libertà', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Melewa property:country ?g } UNION { resource:Piazza_della_Libertà property:country ?g } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6488772 Q1625043
P17
Q15617994
USER
Which administrative territories are coat of arms of Gdańsk or Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery a part of ?
OR((Q1625043,P17,c(Q15617994)), (Q6488772,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1625043
relation P17
action find
entity Q6488772
relation P17
type Q15617994
{'OR': [['Q1625043', 'P17', {'concept': 'Q15617994'}], ['Q6488772', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Q6488772 ) ( resource:Q1625043 ) } . ?a property:P17 ?o } . ?o rdf:type ontology:Q15617994 }
Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery coat of arms of Gdańsk
action filter_type
action union
action find
entity coat of arms of Gdańsk
relation country
action find
entity Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery
relation country
type designation for an administrative territorial entity
{'OR': [['coat of arms of Gdańsk', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Larch_Wood_(Railway_Cutting)_Commonwealth_War_Graves_Commission_Cemetery ) ( resource:coat_of_arms_of_Gdańsk ) } . ?a property:country ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q36
SYSTEM
Belgium, Poland
Q31 Q36
OR((Q1625043,P17,c(Q15617994)), (Q6488772,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1625043
relation P17
action find
entity Q6488772
relation P17
type Q15617994
In [ANSWERS] are coat of arms of Gdańsk or Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery a part of
{'OR': [['Q1625043', 'P17', {'concept': 'Q15617994'}], ['Q6488772', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Q6488772 ) ( resource:Q1625043 ) } . ?a property:P17 ?o } . ?o rdf:type ontology:Q15617994 }
Belgium Poland
In Belgium and Poland are coat of arms of Gdańsk or Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery a part of
Belgium Poland
action filter_type
action union
action find
entity coat of arms of Gdańsk
relation country
action find
entity Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery
relation country
type designation for an administrative territorial entity
{'OR': [['coat of arms of Gdańsk', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Larch Wood (Railway Cutting) Commonwealth War Graves Commission Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?a ) { ( resource:Larch_Wood_(Railway_Cutting)_Commonwealth_War_Graves_Commission_Cemetery ) ( resource:coat_of_arms_of_Gdańsk ) } . ?a property:country ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atleast 15 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?e ) WHERE { ?p property:P530 ?z . ?p rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?e >= 15 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?e ) WHERE { ?p property:diplomatic_relation ?z . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?e >= 15 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
12
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q114 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?e ) WHERE { ?p property:P530 ?z . ?p rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?e >= 15 ) }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Kenya Zambia
12
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?e ) WHERE { ?p property:diplomatic_relation ?z . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?e >= 15 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with approximately 2 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 2
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?l ) WHERE { ?w property:P530 ?g . ?w rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?l = 2 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?l ) WHERE { ?w property:diplomatic_relation ?g . ?w rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?l = 2 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?l ) WHERE { ?w property:P530 ?g . ?w rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?l = 2 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?l ) WHERE { ?w property:diplomatic_relation ?g . ?w rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?l = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q151885 Q712378 Q17335294
USER
Which coats of arms demonstrate min number of concepts or organs ?
(c(Q17335294),P180,c(Q151885)|c(Q712378))
action argmin
action union
action find_tuple_counts
relation P180
type Q17335294
type Q151885
action find_tuple_counts
relation P180
type Q17335294
type Q712378
[{'concept': 'Q17335294'}, 'P180', [{'concept': 'Q151885'}, {'concept': 'Q712378'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?m WHERE { VALUES ( ?d ) { ( ontology:Q712378 ) ( ontology:Q151885 ) } . ?c rdf:type ?d } GROUP BY ?m } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q151885 ) ( ontology:Q712378 ) } } GROUP BY ?p } } }
action argmin
action union
action find_tuple_counts
relation depicts
type flag or coat of arms
type concept
action find_tuple_counts
relation depicts
type flag or coat of arms
type organ
[{'concept': 'flag or coat of arms'}, 'depicts', [{'concept': 'concept'}, {'concept': 'organ'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?m WHERE { VALUES ( ?d ) { ( ontology:organ ) ( ontology:concept ) } . ?c rdf:type ?d } GROUP BY ?m } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:concept ) ( ontology:organ ) } } GROUP BY ?p } } }
[]
concept organ flag or coat of arms
Q15883808 Q21099940 Q19829281
SYSTEM
coat of arms of Ulestraten, coat of arms of Oirsbeek, coat of arms of Ouddorp
Q22672031 Q19829249 Q27043672 Q27687538 Q18033274 Q18033275 Q19829200 Q21076133 Q18033270 Q19829242 Q19905136 Q18033448 Q22350506 Q22294510 Q19829258 Q1839543 Q20992306 Q21030481 Q896470 Q21100242 Q17747411 Q22668573 Q3449950 Q22227162 Q20089573 Q20083908 Q34494 Q14517565 Q20821992 Q27587078 Q15910445 Q2442459 Q2693505 Q2616930 Q22197276 Q18033244 Q19829256 Q24347379 Q20830775 Q18033248 Q21099940 Q20644811 Q21028170 Q21065704 Q2548624 Q19829303 Q18923027 Q19829240 Q18033397 Q20992308 Q20011187 Q15943791 Q1882506 Q16070279 Q19851115 Q16070375 Q20085265 Q18088321 Q19829236 Q2332442 Q25809828 Q27158736 Q14624058 Q2794188 Q15883817 Q15883711 Q19829204 Q19829308 Q16070293 Q15883823 Q15883822 Q19829267 Q15883824 Q15883827 Q19829264 Q4475786 Q27016845 Q2217645 Q22122243 Q22133764 Q21112383 Q27043691 Q877603 Q21029053 Q17496790 Q18033363 Q19829270 Q17048181 Q22675054 Q2481794 Q19829271 Q21069095 Q16070268 Q20992671 Q2159815 Q27270015 Q18033392 Q20743182 Q20631470 Q26220677 Q21004690 Q14517564 Q15883689 Q19720852 Q15883702 Q21076933 Q20812698 Q27269818 Q2133401 Q13375962 Q27652703 Q20991162 Q27686189 Q23306918 Q18033264 Q22674969 Q4017779 Q19840667 Q19829272 Q18033306 Q20088706 Q1813884 Q819691 Q20069864 Q21069152 Q19819952 Q24038641 Q1004161 Q27158707 Q19829232 Q19630939 Q21099849 Q10728131 Q27270038 Q27270005 Q27643083 Q22671289 Q20771742 Q20631490 Q18435338 Q21079518 Q15883673 Q20088705 Q27430498 Q4136249 Q7406024 Q27443117 Q2361119 Q2265085 Q1859114 Q2899138 Q19984116 Q19984115 Q14924229 Q19829194 Q19829197 Q20069872 Q2981712 Q26696178 Q15883808 Q3100968 Q16467054 Q19829227 Q2584616 Q2138407 Q19829209 Q27539061 Q20819074 Q14754153 Q19829289 Q9289537 Q20743162 Q27016848 Q15991913 Q20732591 Q19829281 Q20088704 Q18033253 Q20631481 Q2068228 Q1927446 Q20113606 Q14517560 Q22282619 Q19915227 Q16801448 Q1843110 Q484823 Q27016844 Q20680155 Q18033325 Q20031997 Q21088458 Q14517653 Q19829193 Q17493159 Q20821395 Q19829212 Q19829213 Q20631469 Q15883682 Q19829214 Q668988 Q19829219 Q20985198 Q13138551 Q21857194 Q26213332 Q15883696 Q16070398 Q17561010 Q15883518 Q15883698 Q17265251 Q19829296 Q18033282 Q21113151 Q27271500 Q20736265 Q20988152 Q19829263 Q2541882 Q18286857 Q2357910 Q22671521 Q17492773 Q2601036 Q20989123 Q20083722 Q20743104 Q20989086 Q20827592 Q26212353 Q20644830 Q17264901 Q27244672 Q20656457 Q19829222 Q19829221 Q2063837 Q20010894 Q20827590 Q2340874 Q20644802 Q20010895 Q27094309 Q21002279 Q2112008 Q21596887 Q20731416 Q17747409 Q20743150 Q18589349 Q19829261 Q21076961 Q20171269 Q13138543 Q19829241 Q22231186 Q19829238 Q19829239 Q834419 Q20010892 Q18033265 Q16467065 Q18033267 Q21069060 Q19829234 Q15883707 Q2361898 Q19829237 Q20080565 Q21000739 Q1686721 Q18746602 Q20893741 Q17264918 Q2899775 Q19630925 Q20644742 Q24383229 Q22671268 Q21075691 Q22116233 Q16070354 Q5456874 Q27043719 Q26904742 Q14517558 Q21006214 Q2503824 Q2248565 Q16801260 Q819737
(c(Q17335294),P180,c(Q151885)|c(Q712378))
action argmin
action union
action find_tuple_counts
relation P180
type Q17335294
type Q151885
action find_tuple_counts
relation P180
type Q17335294
type Q712378
[ANSWERS] demonstrate min number of concepts or organs
[{'concept': 'Q17335294'}, 'P180', [{'concept': 'Q151885'}, {'concept': 'Q712378'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?m WHERE { VALUES ( ?d ) { ( ontology:Q712378 ) ( ontology:Q151885 ) } . ?c rdf:type ?d } GROUP BY ?m } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q151885 ) ( ontology:Q712378 ) } } GROUP BY ?p } } }
flag of Reusel-De Mierden coat of arms of Hoek first coat of arms of Beverwijk first coat of arms of Voorst coat of arms of Bussum coat of arms of Cromstrijen coat of arms of Bergschenhoek coat of arms of Arlon coat of arms of Brakel coat of arms of Heerjansdam coat of arms of Wormerveer coat of arms of Zoelen coat of arms of Bierbeek Flag of Eersel coat of arms of Langerak coat of arms of Abcoude-Baambrugge coat of arms of Cuijk en Sint Agatha coat of arms of Grevenbicht coat of arms of Brabant coat of arms of Oud-Vroenhoven coat of arms of Appeltern flag of Boxtel flag of Arcen en Velden flag of Roosendaal coat of arms of Gaasterlân-Sleat Coat of arms of Zuilen flag of Victoria coat of arms of Bronckhorst coat of arms of Krabbendijke first coat of arms of Leiden coat of arms of Albrandswaard coat of arms of Enkhuizen coat of arms of Alkemade flag of South Holland Flag of Bladel coat of arms of Abbenbroek coat of arms of Kijfhoek flag of Heerenveen coat of arms of Wissekerke second coat of arms of Anloo coat of arms of Oirsbeek coat of arms of Vleuten-De Meern coat of arms of Horst coat of arms of Heer coat of arms of Abcoude-Proostdij coat of arms of Tienhoven coat of arms of Heel coat of arms of Heenvliet coat of arms of Roosendaal coat of arms of Roggel en Neer coat of arms of Aduard coat of arms of Barendrecht flag of Flevoland coat of arms of Bernisse coat of arms of Spaarndam coat of arms of Mill en Sint Hubert coat of arms of Baflo flag of Almere coat of arms of Haastrecht coat of arms of Schardam coat of arms of Eeklo second coat of arms of Beers Olympic flag second coat of arms of Emmen second coat of arms of Voorst coat of arms of Eygelshoven coat of arms of Bleiswijk coat of arms of Vlaardingerambacht coat of arms of Capelle aan den IJssel coat of arms of Wessem coat of arms of Wehl coat of arms of Monster coat of arms of West Maas en Waal coat of arms of Wijlre coat of arms of Loosduinen coat of arms of Deventer coat of arms of Stad Vollenhove coat of arms of Almere flag of Bergen op Zoom Flag of Asten coat of arms of Oud-Valkenburg second coat of arms of Beverwijk flag of the Armenian Soviet Socialist Republic coat of arms of Heel en Panheel coat of arms of Bemelen coat of arms of Menterwolde coat of arms of Nieuw-Helvoet coat of arms of Amstelveen coat of arms of Dilbeek coat of arms of Noorder-Koggenland coat of arms of Nieuw-Lekkerland coat of arms of Aarschot coat of arms of Abtsregt coat of arms of Merkelbeek coat of arms of Edam-Volendam White Cross coat of arms of Raalte coat of arms of Zuidzande coat of arms of Ambt Almelo coat of arms of Beerse coat of arms of Jabeek coat of arms of Brielle coat of arms of Bodegraven-Reeuwijk coat of arms of Pernis coat of arms of Culemborg coat of arms of Beegden coat of arms of Breskens Nail & Gear flag of Limburg coat of arms of Achtkarspelen first coat of arms of Anloo coat of arms of Vierlingsbeek first coat of arms of Emmen flag of De Marne coat of arms of Biggekerke coat of arms of Diest coat of arms of Zaanstad coat of arms of Akersloot coat of arms of Nieuwe-Tonge coat of arms of Genemuden coat of arms of Beerta coat of arms of Gendringen flag of Berlin coat of arms of Bladel en Netersel coat of arms of Braine-l'Alleud coat of arms of Charlois coat of arms of Berg en Dal flag of Friesland first coat of arms of Beers coat of arms of Goudswaard coat of arms of Rijnsaterwoude coat of arms of Schinveld Coat of arms of the municipality of Östersund H.I. Logo Club & Claws first coat of arms of Elburg flag of Waalwijk coat of arms of 's-Gravenpolder coat of arms of Poederoijen coat of arms of Kesteren coat of arms of Bocholtz coat of arms of Alblasserdam coat of arms of Baarderadeel Coat of arms of Herentals Coat of arms of Volgograd Oblast Coat of arms of Yukon Coat of arms of Herenthout coat of arms of Bonaire flag of Drenthe coat of arms of Dokkum Queen's Personal Flag for New Zealand coat of arms of Aalst coat of arms of Hoogkerk coat of arms of Aarlanderveen coat of arms of Alphen coat of arms of Avereest coat of arms of Nieuwolda Flag of Paraná coat of arms of Kalmthout coat of arms of Ulestraten coat of arms of Waterland coat of arms of Cuijk coat of arms of Giessendam flag of Zeeland coat of arms of Sint Anthonis coat of arms of Boskoop Coat of arms of Hove coat of arms of Oost-Souburg coat of arms of Waalwijk coat of arms of Rijnsburg coat of arms of Leiden coat of arms of Cadzand coat of arms of Vollenhove coat of arms of Borsele coat of arms of Hooge en Lage Zwaluwe coat of arms of Ouddorp coat of arms of Aengwirden coat of arms of Bedum coat of arms of Gameren coat of arms of Zeevang coat of arms of Wormerland coat of arms of Brederwiede coat of arms of Beemster flag of Cuijk flag of De Friese Meren coat of arms of Aalsmeer coat of arms of Hoorn Emblem of Afghanistan coat of arms of Ambt Vollenhove coat of arms of 's Gravenmoer coat of arms of Haren coat of arms of Adorp coat of arms of Cadier en Keer coat of arms of Wissenkerke coat of arms of Abbekerk coat of arms of De Marne coat of arms of Maarheeze coat of arms of Brouwershaven coat of arms of Cillaarshoek coat of arms of Aalst coat of arms of Arkel coat of arms of De Friese Meren Pahonia coat of arms of Driebergen-Rijsenburg coat of arms of Roosendaal en Nispen coat of arms of Ameland coat of arms of Schaerbeek coat of arms of Boom coat of arms of Brummen coat of arms of Reusel-De Mierden coat of arms of Elst flag of Vollenhove coat of arms of Bunschoten coat of arms of Vrouwenpolder coat of arms of Sint Pieter coat of arms of De Mijl coat of arms of Ottersum Coat of arms of Edegem coat of arms of Eversdijk coat of arms of Kethel en Spaland coat of arms of Lexmond coat of arms of Heerenveen coat of arms of Ghent Flag of Volgograd Oblast flag of Sint Anthonis coat of arms of Beusichem coat of arms of Beets coat of arms of Roggel coat of arms of Hoogezand coat of arms of Schoondijke coat of arms of Munstergeleen coat of arms of 's-Heer Arendskerke coat of arms of Herselt coat of arms of Haarzuilens coat of arms of Venray Coat of arms of Brecht coat of arms of Westbroek coat of arms of Echteld coat of arms of Dubbeldam coat of arms of Ilpendam coat of arms of Alem, Maren en Kessel coat of arms of 's-Heer Abtskerke coat of arms of Barradeel coat of arms of Oudenrijn coat of arms of 't Zandt coat of arms of Borssele coat of arms of Meerleo coat of arms of Medemblik flag of Menterwolde coat of arms of Leersum coat of arms of Hoevelaken coat of arms of Retranchement coat of arms of Zaandam coat of arms of Leidschendam coat of arms of Mheer coat of arms of Zuid-Polsbroek coat of arms of Boarnsterhim coat of arms of Heer Oudelands Ambacht Flag of Cranendonck coat of arms of Hardinxveld coat of arms of Hazerswoude flag of Bonaire coat of arms of Baardwijk coat of arms of Blaricum coat of arms of Boxtel coat of arms of Borger-Odoorn coat of arms of Grathem coat of arms of Groot-Ammers second coat of arms of Elburg coat of arms of Anna Paulowna coat of arms of Hagestein coat of arms of Noordbroek coat of arms of Meijel Coat of arms of Pope Benedict XVI coat of arms of Denekamp coat of arms of Oploo, Sint Anthonis en Ledeacker coat of arms of Bergen Australian Civil Aviation Ensign coat of arms of Papekop coat of arms of Achttienhoven flag of Achtkarspelen flag of Werkendam coat of arms of Broeksittard Flag of Aalburg coat of arms of Korendijk Flag of the Governor-General of New Zealand third coat of arms of Beverwijk coat of arms of Dessel coat of arms of Apeldoorn coat of arms of Bingelrade coat of arms of Sint Maarten coat of arms of 's-Heerenberg Coat of arms of Asten coat of arms of Berlin
Coat of arms of Ulestraten, coat of arms of Oirsbeek and coat of arms of Ouddorp demonstrate min number of concepts or organs
coat of arms of Ulestraten coat of arms of Oirsbeek coat of arms of Ouddorp
action argmin
action union
action find_tuple_counts
relation depicts
type flag or coat of arms
type concept
action find_tuple_counts
relation depicts
type flag or coat of arms
type organ
[{'concept': 'flag or coat of arms'}, 'depicts', [{'concept': 'concept'}, {'concept': 'organ'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?m WHERE { VALUES ( ?d ) { ( ontology:organ ) ( ontology:concept ) } . ?c rdf:type ?d } GROUP BY ?m } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?p WHERE { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:concept ) ( ontology:organ ) } } GROUP BY ?p } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that coat of arms a part of ?
(Q19829281,P17,c(Q15617994))
['Q19829281', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19829281 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['coat of arms of Ouddorp', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:coat_of_arms_of_Ouddorp property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q15883808
SYSTEM
Did you mean coat of arms of Ulestraten ?
(Q15883808,P17,c(Q15617994)) (Q21099940,P17,c(Q15617994)) (Q19829281,P17,c(Q15617994))
[ANSWER]
['Q15883808', 'P17', {'concept': 'Q15617994'}] ['Q21099940', 'P17', {'concept': 'Q15617994'}] ['Q19829281', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19829281 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean coat of arms of Ulestraten ?
coat of arms of Ulestraten
['coat of arms of Ulestraten', 'country', {'concept': 'designation for an administrative territorial entity'}] ['coat of arms of Oirsbeek', 'country', {'concept': 'designation for an administrative territorial entity'}] ['coat of arms of Ouddorp', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:coat_of_arms_of_Ouddorp property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant coat of arms of Ouddorp. Could you tell me the answer for that?
(Q19829281,P17,c(Q15617994))
Q19829281
['Q19829281', 'P17', {'concept': 'Q15617994'}]
['coat of arms of Ouddorp', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q55
(Q19829281,P17,c(Q15617994))
[ANSWER]
['Q19829281', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19829281 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Netherlands
1
['coat of arms of Ouddorp', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:coat_of_arms_of_Ouddorp property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P237
Q17335294 Q15617994
USER
How many administrative territories are atmost 1 coat of arms the coat of arms for ?
(c(Q15617994),P237,c(Q17335294))
action count
action atmost
action find_tuple_counts
relation P237
type Q15617994
type Q17335294
value 1
[{'concept': 'Q15617994'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?d ) WHERE { ?i property:P237 ?c . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q17335294 } GROUP BY ?i } }
action count
action atmost
action find_tuple_counts
relation coat of arms
type designation for an administrative territorial entity
type flag or coat of arms
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?d ) WHERE { ?i property:coat_of_arms ?c . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?i } }
[]
flag or coat of arms designation for an administrative territorial entity
SYSTEM
205
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q684030 Q163012 Q414 Q142 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q842 Q37 Q511365 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q1066728 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q790 Q826 Q822 Q241 Q817 Q244 Q546335 Q1019 Q3471823 Q813 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q1093 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q29 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q2007 Q184 Q1101 Q1029 Q1028 Q736 Q786 Q331886 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q242 Q550719 Q912 Q15982 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q32 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q129003 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q2023 Q1011 Q945 Q678 Q3105 Q1039 Q672 Q176 Q298 Q863 Q822360 Q869 Q953
(c(Q15617994),P237,c(Q17335294))
action count
action atmost
action find_tuple_counts
relation P237
type Q15617994
type Q17335294
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?d ) WHERE { ?i property:P237 ?c . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q17335294 } GROUP BY ?i } }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Principality of Serbia Pankow Argentina France Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Oman Lithuania Arvika Municipality Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Babinavichy Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Haiti Maldives Lebanon Cuba Kuwait Barbados Langenaltheim Madagascar Sandelingen Ambacht Kyrgyzstan Finland Brunei Belgium 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 Limburg San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Spain Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Northwest Territories Belarus North Brabant Mozambique Morocco Ecuador Dominican Republic Absberg Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Belize Alesheim Mali Wernigerode Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Luxembourg Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan French Southern and Antarctic Lands Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Nunavut Cape Verde Togo Tonga Vosges Sao Tomé and Príncipe Tuvalu Quebec Chile Tajikistan Varacevičy Thailand Zambia
205
action count
action atmost
action find_tuple_counts
relation coat of arms
type designation for an administrative territorial entity
type flag or coat of arms
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?d ) WHERE { ?i property:coat_of_arms ?c . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?i } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P237
Q17335294 Q502895
USER
Which people have min number of coats of arms as coat of arms ?
(c(Q502895),P237,c(Q17335294))
action argmin
action find_tuple_counts
relation P237
type Q502895
type Q17335294
[{'concept': 'Q502895'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?f ) WHERE { ?y property:P237 ?v . ?y rdf:type ontology:Q502895 . ?v rdf:type ontology:Q17335294 } GROUP BY ?y } . FILTER ( ?f = ?q ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?h ) WHERE { ?k property:P237 ?w . ?w rdf:type ontology:Q17335294 . ?k rdf:type ontology:Q502895 } GROUP BY ?k } } }
action argmin
action find_tuple_counts
relation coat of arms
type common name
type flag or coat of arms
[{'concept': 'common name'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?f ) WHERE { ?y property:coat_of_arms ?v . ?y rdf:type ontology:common_name . ?v rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?y } . FILTER ( ?f = ?q ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?h ) WHERE { ?k property:coat_of_arms ?w . ?w rdf:type ontology:flag_or_coat_of_arms . ?k rdf:type ontology:common_name } GROUP BY ?k } } }
[]
flag or coat of arms common name
Q1687972 Q2663707 Q2607550
SYSTEM
Jerzy Dominik Lubomirski, Stanislovas Kęsgaila, Aleksander Michał Sapieha
Q2663707 Q153612 Q23070171 Q11725020 Q17611291 Q22994246 Q2607550 Q11730955 Q23069732 Q23069733 Q3918144 Q22094617 Q16454194 Q2599807 Q5289293 Q3920683 Q3920681 Q9342236 Q16453745 Q12673683 Q2607497 Q23069700 Q2982824 Q23070207 Q20817283 Q11711231 Q9156444 Q4101567 Q3920420 Q3919834 Q16457050 Q12670129 Q12650693 Q20817300 Q26481 Q23069891 Q12664781 Q2976564 Q23069949 Q16476860 Q12677701 Q435732 Q12670134 Q596431 Q9146103 Q20897563 Q4767540 Q3647004 Q4776148 Q16443700 Q9341532 Q16453488 Q7599094 Q712444 Q9381784 Q23070022 Q20736095 Q21073319 Q2984134 Q11766000 Q13417981 Q14917061 Q12654508 Q23069873 Q16473363 Q3917954 Q3917892 Q20817292 Q23069883 Q23069723 Q1687972 Q20748950 Q3646827
(c(Q502895),P237,c(Q17335294))
action argmin
action find_tuple_counts
relation P237
type Q502895
type Q17335294
[ANSWERS] have min number of coats of arms as coat of arms
[{'concept': 'Q502895'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?f ) WHERE { ?y property:P237 ?v . ?y rdf:type ontology:Q502895 . ?v rdf:type ontology:Q17335294 } GROUP BY ?y } . FILTER ( ?f = ?q ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?h ) WHERE { ?k property:P237 ?w . ?w rdf:type ontology:Q17335294 . ?k rdf:type ontology:Q502895 } GROUP BY ?k } } }
Stanislovas Kęsgaila Ivan-Yanush Ostrozky Henryk Tyszkiewicz Jerzy Marcin Lubomirski Franciszek Ferdynand Lubomirski Karolina Wróblewska Aleksander Michał Sapieha Józef Michał Karp Ewa Anna Tyszkiewicz Jerzy Tyszkiewicz Jonas Karolis Bialozoras Juozapas Marija Tiškevičius Juozapas Steponas Tiškevičius Anna Alojza Ostrogska Eustachy Karp Rumbaudas Valimantaitis Jaunius Valimantaitis Stanisław Kieżgajło Jonas Stanislovaitis Kęsgaila Stanislovas Tiškevičius Logoiskis Jan Moniwidowicz Anna Zofia Lubomirska Albertas Manvydas Teresa Tyszkiewicz Franciszek Wróblewski Ignacy Karp Antoni Amilkar Kosiński Jerzy Białłozor Franciszek Sapieha Mykolas Mingaila Kristupas Marija Tiškevičius Logoiskis Pranciškus Felicijonas Benediktas Jurgis Karpis Benediktas Jokūbas Ignacijus Povilas Chrizostomas Petras Karpis Bazyli Wróblewski Peter Dorohostajski Jerzy Tyszkiewicz Mauricijus Pranciškus Karpis Mykolas Kęsgaila Józef Tadeusz Tyszkiewicz Vladislovas Tiškevičius Vincentas Tomas Tiškevičius Logoiskis Beata Tyszkiewicz Pranciškus Karpis Mykolas Kęsgaila the Younger Aleksander Tyszkiewicz Łukasz Wróblewski Anna Teresa Ossolińska Kazimierz Białłozor Antoni Benedykt Lubomirski Andrius Tiškevičius Stanisław Antoni Tyszkiewicz Jonas Antanas Tiškevičius Stanislovas Kęsgaila Konstanty Ostrogski Władysław Dorohostajski Irena Tyszkiewicz Józef Tyszkiewicz Ludwik Wróblewski Jonas Kęsgaila Magdalena Agnieszka Sapieżyna Stanisław Ciołek Mikalojus Dorohostaiskis Felicijonas Karpis Klementyna Wróblewska Steponas Jonas Tiškevičius Stanisław Białłozor Stanisław Białłozor Eustachy Wróblewski Henryk Tyszkiewicz Łucja Franciszka Tyszkiewicz Jerzy Dominik Lubomirski Antoni Wróblewski Krzysztof Dorohostajski
Jerzy Dominik Lubomirski, Stanislovas Kęsgaila and Aleksander Michał Sapieha have min number of coats of arms as coat of arms
Jerzy Dominik Lubomirski Stanislovas Kęsgaila Aleksander Michał Sapieha
action argmin
action find_tuple_counts
relation coat of arms
type common name
type flag or coat of arms
[{'concept': 'common name'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?f ) WHERE { ?y property:coat_of_arms ?v . ?y rdf:type ontology:common_name . ?v rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?y } . FILTER ( ?f = ?q ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?h ) WHERE { ?k property:coat_of_arms ?w . ?w rdf:type ontology:flag_or_coat_of_arms . ?k rdf:type ontology:common_name } GROUP BY ?k } } }
[]