Simple Question (Direct)
Simple Question
Q7178863
P166
Q4189293
USER
Which title was received by Petro Buts ?
(Q7178863,P166,c(Q4189293))
action filter_type
action find
entity Q7178863
relation P166
type Q4189293
['Q7178863', 'P166', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q7178863 property:P166 ?z . ?z rdf:type ontology:Q4189293 }
Petro Buts
action filter_type
action find
entity Petro Buts
relation award received
type title
['Petro Buts', 'award received', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Petro_Buts property:award_received ?z . ?z rdf:type ontology:title }
[]
title
Q1803234
SYSTEM
Master of Sport of the USSR
Q1803234
(Q7178863,P166,c(Q4189293))
action filter_type
action find
entity Q7178863
relation P166
type Q4189293
[ANSWER] was received by Petro Buts
['Q7178863', 'P166', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q7178863 property:P166 ?z . ?z rdf:type ontology:Q4189293 }
Master of Sport of the USSR
Master of Sport of the USSR was received by Petro Buts
Master of Sport of the USSR
action filter_type
action find
entity Petro Buts
relation award received
type title
['Petro Buts', 'award received', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Petro_Buts property:award_received ?z . ?z rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7178863
P19
Q13220204
USER
Which administrative country subdivision is the birthplace of that person ?
(Q1803234,P19,c(Q13220204))
action filter_type
action find
entity Q7178863
relation P19
type Q13220204
['Q1803234', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q7178863 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Petro Buts
action filter_type
action find
entity Petro Buts
relation place of birth
type second-level administrative country subdivision
['Master of Sport of the USSR', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Petro_Buts property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q157137
SYSTEM
Kryvyi Rih
Q157137
(Q1803234,P19,c(Q13220204))
action filter_type
action find
entity Q7178863
relation P19
type Q13220204
[ANSWER] is the birthplace of that person
['Q1803234', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q7178863 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Kryvyi Rih
Kryvyi Rih is the birthplace of that person
Kryvyi Rih
action filter_type
action find
entity Petro Buts
relation place of birth
type second-level administrative country subdivision
['Master of Sport of the USSR', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Petro_Buts property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q515
USER
How many administrative territories and cities are the sister cities of that administrative country subdivision ?
(Q157137,P190,c(Q56061)) (Q157137,P190,c(Q515)) (Q157137,P190,c(Q56061)) (Q157137,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q157137
relation P190
type Q56061
action filter_type
action find
entity Q157137
relation P190
type Q515
['Q157137', 'P190', {'concept': 'Q56061'}] ['Q157137', 'P190', {'concept': 'Q515'}] ['Q157137', 'P190', {'concept': 'Q56061'}] ['Q157137', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q56061 ) ( ontology:Q515 ) } }
action count
action union
action filter_type
action find
entity Kryvyi Rih
relation sister city
type administrative territorial entity
action filter_type
action find
entity Kryvyi Rih
relation sister city
type city
['Kryvyi Rih', 'sister city', {'concept': 'administrative territorial entity'}] ['Kryvyi Rih', 'sister city', {'concept': 'city'}] ['Kryvyi Rih', 'sister city', {'concept': 'administrative territorial entity'}] ['Kryvyi Rih', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } }
[]
administrative territorial entity city
SYSTEM
1 administrative territories and 1 cities
Q58570 Q98967
(Q157137,P190,c(Q56061)) (Q157137,P190,c(Q515)) (Q157137,P190,c(Q56061)) (Q157137,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q157137
relation P190
type Q56061
action filter_type
action find
entity Q157137
relation P190
type Q515
[ANSWER]
['Q157137', 'P190', {'concept': 'Q56061'}] ['Q157137', 'P190', {'concept': 'Q515'}] ['Q157137', 'P190', {'concept': 'Q56061'}] ['Q157137', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q56061 ) ( ontology:Q515 ) } }
Handan Nizhny Tagil
1 administrative territories and 1 cities
action count
action union
action filter_type
action find
entity Kryvyi Rih
relation sister city
type administrative territorial entity
action filter_type
action find
entity Kryvyi Rih
relation sister city
type city
['Kryvyi Rih', 'sister city', {'concept': 'administrative territorial entity'}] ['Kryvyi Rih', 'sister city', {'concept': 'city'}] ['Kryvyi Rih', 'sister city', {'concept': 'administrative territorial entity'}] ['Kryvyi Rih', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q157137
P237
Q17335294
USER
Which coat of arms serves as the ensign for Kryvyi Rih ?
(Q157137,P237,c(Q17335294))
action filter_type
action find
entity Q157137
relation P237
type Q17335294
['Q157137', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?n WHERE { resource:Q157137 property:P237 ?n . ?n rdf:type ontology:Q17335294 }
Kryvyi Rih
action filter_type
action find
entity Kryvyi Rih
relation coat of arms
type flag or coat of arms
['Kryvyi Rih', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?n WHERE { resource:Kryvyi_Rih property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q12095358
SYSTEM
Symbols of Kryvyi Rih
Q12095358
(Q157137,P237,c(Q17335294))
action filter_type
action find
entity Q157137
relation P237
type Q17335294
Union [ANSWER] serves as the ensign for Kryvyi Rih
['Q157137', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?n WHERE { resource:Q157137 property:P237 ?n . ?n rdf:type ontology:Q17335294 }
Symbols of Kryvyi Rih
Union Symbols of Kryvyi Rih serves as the ensign for Kryvyi Rih
Symbols of Kryvyi Rih
action filter_type
action find
entity Kryvyi Rih
relation coat of arms
type flag or coat of arms
['Kryvyi Rih', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?n WHERE { resource:Kryvyi_Rih property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q157137
P47
Q1267632
USER
Which raions of Ukraine are next to the border of Kryvyi Rih ?
(c(Q1267632),P47,Q157137)
action filter_type
action find
entity Q157137
relation P47
type Q1267632
[{'concept': 'Q1267632'}, 'P47', 'Q157137']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1267632 . resource:Q157137 property:P47 ?f }
Kryvyi Rih
action filter_type
action find
entity Kryvyi Rih
relation shares border with
type raion of Ukraine
[{'concept': 'raion of Ukraine'}, 'shares border with', 'Kryvyi Rih']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:raion_of_Ukraine . resource:Kryvyi_Rih property:shares_border_with ?f }
[]
raion of Ukraine
Q2639710 Q2634118
SYSTEM
Shyroke Raion, Kryvyi Rih Raion
Q2639710 Q2634118
(c(Q1267632),P47,Q157137)
action filter_type
action find
entity Q157137
relation P47
type Q1267632
[ANSWERS] are next to the border of Kryvyi Rih
[{'concept': 'Q1267632'}, 'P47', 'Q157137']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1267632 . resource:Q157137 property:P47 ?f }
Shyroke Raion Kryvyi Rih Raion
Shyroke Raion and Kryvyi Rih Raion are next to the border of Kryvyi Rih
Shyroke Raion Kryvyi Rih Raion
action filter_type
action find
entity Kryvyi Rih
relation shares border with
type raion of Ukraine
[{'concept': 'raion of Ukraine'}, 'shares border with', 'Kryvyi Rih']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:raion_of_Ukraine . resource:Kryvyi_Rih property:shares_border_with ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2634118
P17
Q15617994
USER
Which administrative territory is Kryvyi Rih Raion a part of ?
(Q2634118,P17,c(Q15617994))
action filter_type
action find
entity Q2634118
relation P17
type Q15617994
['Q2634118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2634118 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Kryvyi Rih Raion
action filter_type
action find
entity Kryvyi Rih Raion
relation country
type designation for an administrative territorial entity
['Kryvyi Rih Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Kryvyi_Rih_Raion property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q2634118,P17,c(Q15617994))
action filter_type
action find
entity Q2634118
relation P17
type Q15617994
[ANSWER] is Kryvyi Rih Raion a part of
['Q2634118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2634118 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Ukraine
Ukraine is Kryvyi Rih Raion a part of
Ukraine
action filter_type
action find
entity Kryvyi Rih Raion
relation country
type designation for an administrative territorial entity
['Kryvyi Rih Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Kryvyi_Rih_Raion property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P237
Q17335294 Q13220204 Q502895
USER
Which coats of arms serve as the ensign for min number of administrative country subdivisions and people ?
(c(Q13220204)|c(Q502895),P237,c(Q17335294))
action argmin
action union
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q13220204
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q502895
[[{'concept': 'Q13220204'}, {'concept': 'Q502895'}], 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?b WHERE { { ?b rdf:type ontology:Q17335294 . ?k rdf:type ontology:Q13220204 . ?k property:P237 ?b } UNION { ?k property:P237 ?b . ?b rdf:type ontology:Q17335294 . ?k rdf:type ontology:Q502895 } } GROUP BY ?b } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) ?r WHERE { { ?v property:P237 ?r . ?r rdf:type ontology:Q17335294 . ?v rdf:type ontology:Q13220204 } UNION { ?v property:P237 ?r . ?r rdf:type ontology:Q17335294 . ?v rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?i = ?h ) }
action argmin
action union
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type common name
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'common name'}], 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?b WHERE { { ?b rdf:type ontology:flag_or_coat_of_arms . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?k property:coat_of_arms ?b } UNION { ?k property:coat_of_arms ?b . ?b rdf:type ontology:flag_or_coat_of_arms . ?k rdf:type ontology:common_name } } GROUP BY ?b } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) ?r WHERE { { ?v property:coat_of_arms ?r . ?r rdf:type ontology:flag_or_coat_of_arms . ?v rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?v property:coat_of_arms ?r . ?r rdf:type ontology:flag_or_coat_of_arms . ?v rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?i = ?h ) }
[]
flag or coat of arms second-level administrative country subdivision common name
Q21099940 Q19829281 Q21113151
SYSTEM
coat of arms of Oirsbeek, coat of arms of Ouddorp, coat of arms of Ottersum
Q4136541 Q207285 Q4136822 Q5837917 Q18033274 Q20656565 Q18033270 Q207288 Q8319454 Q1513781 Q18696169 Q4703970 Q20754645 Q4136945 Q20671685 Q21079233 Q20789639 Q20750662 Q14517569 Q577609 Q5838379 Q21002279 Q21069060 Q20830775 Q21076133 Q14622369 Q20669244 Q8169140 Q819737 Q20069872 Q20738919 Q5138473 Q18662569 Q877598 Q2332442 Q20653750 Q20818850 Q15883711 Q20812684 Q20678653 Q2749382 Q887774 Q22350506 Q4136166 Q11874662 Q20735012 Q20081269 Q3395846 Q21069095 Q20992671 Q19630925 Q20670214 Q20743182 Q20734787 Q20734786 Q2079384 Q8777940 Q19720852 Q1047973 Q20653051 Q2120340 Q1970618 Q20754690 Q19829270 Q19829271 Q19829272 Q20658405 Q1813884 Q20658406 Q20732543 Q1985462 Q21026844 Q20732547 Q20732549 Q8654681 Q20740270 Q20740378 Q324151 Q459364 Q20631490 Q4318393 Q8236392 Q5456768 Q2950261 Q209248 Q8308433 Q18033333 Q19829193 Q17747411 Q20890677 Q20821403 Q5138586 Q8520868 Q203378 Q19829200 Q630095 Q19829209 Q2120343 Q20894781 Q2595598 Q527935 Q27158707 Q20644792 Q11882680 Q1127162 Q462479 Q20822375 Q8234776 Q484823 Q11893573 Q599191 Q8445125 Q4136218 Q1849542 Q470548 Q20887411 Q20887551 Q15099585 Q3646754 Q5257005 Q21857194 Q20747016 Q20894871 Q20830786 Q21014616 Q9666055 Q20736265 Q8445625 Q20665715 Q17492773 Q863808 Q20989123 Q8237026 Q7375053 Q20989086 Q20962394 Q21079518 Q1811572 Q20758161 Q19630939 Q20667622 Q2622409 Q2303935 Q4136762 Q2622402 Q18286857 Q8778040 Q1625043 Q20817426 Q1496305 Q20950453 Q2332353 Q2361898 Q1193590 Q19921780 Q20979049 Q20732240 Q171869 Q6946379 Q20644802 Q2393137 Q562066 Q20900855 Q1857884 Q830341 Q7191896 Q8173644 Q2120230 Q19829227 Q20826684 Q8268341 Q19829241 Q19829240 Q19829242 Q2031129 Q20740249 Q14555030 Q8520226 Q5838160 Q3082962 Q3973043 Q731539 Q5138477 Q21838014 Q1947763 Q18033244 Q18033248 Q22350510 Q5138474 Q555025 Q20821455 Q20871490 Q20740421 Q1511867 Q3456408 Q21280611 Q20652706 Q20811312 Q27158736 Q20732551 Q8453401 Q2425038 Q20991215 Q20743104 Q5138442 Q14517593 Q20746961 Q22675054 Q2366769 Q5138566 Q4354504 Q20738923 Q478816 Q271203 Q2603254 Q2120196 Q5138492 Q19840667 Q5838040 Q4136174 Q1985178 Q2415503 Q20826657 Q10728131 Q4136374 Q20671653 Q8312537 Q20820537 Q5838299 Q271210 Q2485641 Q1479737 Q2361119 Q19984116 Q19984115 Q20658392 Q3083694 Q18435338 Q20658410 Q2665727 Q20732556 Q21036656 Q20886605 Q8346965 Q2261177 Q2858209 Q20826650 Q20665470 Q2455765 Q8113524 Q20631481 Q20671154 Q659441 Q18033325 Q20031997 Q1048000 Q2072501 Q11709161 Q19840535 Q329186 Q19829215 Q8158483 Q19829219 Q2601036 Q20669000 Q22968193 Q4136857 Q318966 Q3303528 Q167927 Q10859268 Q44783 Q1984579 Q20895691 Q20656468 Q20083722 Q20656461 Q20827592 Q5138528 Q2750915 Q2120382 Q5138488 Q20697010 Q2984477 Q20746723 Q20738805 Q27094309 Q1115582 Q2477971 Q20704271 Q20655790 Q274170 Q8272334 Q20859968 Q19829204 Q2304688 Q4136707 Q14517557 Q18667880 Q874791 Q2120333 Q8346292 Q2120336 Q874798 Q8143315 Q1439286 Q663048 Q20871297 Q20748411 Q19905136 Q1519928 Q18058862 Q19829249 Q1839543 Q7385493 Q896470 Q209213 Q1757668 Q8308816 Q2014433 Q20872981 Q20755871 Q20741300 Q20871619 Q20894982 Q21113151 Q21099940 Q2548624 Q8345558 Q17561010 Q546307 Q10858722 Q3013624 Q15943791 Q547665 Q8777837 Q5838073 Q20812698 Q2239645 Q3014227 Q19829278 Q1209595 Q1933354 Q11864066 Q8113232 Q4136391 Q20859839 Q2217645 Q19945660 Q20085265 Q170556 Q21112383 Q2002612 Q20746722 Q18033335 Q17048181 Q8163774 Q470580 Q3775707 Q19829244 Q20978976 Q20890261 Q20871750 Q20991162 Q22674969 Q8228590 Q20088706 Q2617984 Q20656431 Q5838403 Q537879 Q5138451 Q9289402 Q20895072 Q562152 Q20771742 Q15883677 Q15883671 Q20886514 Q15883673 Q8317425 Q269821 Q20747740 Q4136249 Q20080565 Q2120182 Q21030481 Q20979016 Q19986529 Q8453053 Q8161049 Q8255035 Q459549 Q207526 Q44521 Q20738716 Q9289537 Q4136749 Q8163157 Q4136743 Q4136740 Q2286189 Q1925366 Q14916451 Q668988 Q2120209 Q20748428 Q8777972 Q4354749 Q20665396 Q14594667 Q9289743 Q19829263 Q20791327 Q22968795 Q8444639 Q174944 Q18972049 Q19829221 Q18667838 Q4136844 Q8520569 Q425903 Q20732242 Q20746168 Q663063 Q15883818 Q8175252 Q8317844 Q20019287 Q2063837 Q8521560 Q18033264 Q20888750 Q2906168 Q2993947 Q18662611 Q2300278 Q20738871 Q20754657 Q572331 Q20754651 Q20010895 Q8113762 Q1118289 Q20732238 Q4136442 Q2626218 Q20655953 Q4136650 Q8171626 Q5138571 Q2551092 Q3015247 Q1668239 Q1047993 Q8174996 Q8444854 Q20011187 Q20859995 Q5138465 Q5138548 Q2120329 Q17747409 Q2120321 Q8241591 Q15303063 Q1956155 Q20665385 Q11869086 Q11920163 Q20814408 Q4136465 Q964743 Q13030429 Q20731012 Q19851115 Q20743234 Q20871347 Q321755 Q20821985 Q2120214 Q2120350 Q8778074 Q2120354 Q20892479 Q19829238 Q15883823 Q15883822 Q19829267 Q19829264 Q15883828 Q128544 Q8452632 Q8316784 Q20985102 Q2024202 Q8228475 Q8172897 Q207354 Q2245505 Q20819077 Q427048 Q21069152 Q8460182 Q20650948 Q2764050 Q2621989 Q1938052 Q19819952 Q1515327 Q20979487 Q20667714 Q21099849 Q2429158 Q9666035 Q20644830 Q20732273 Q21076933 Q2341276 Q21000739 Q15883821 Q470555 Q14924229 Q547909 Q20822440 Q19945529 Q21028170 Q11709347 Q8312709 Q20884958 Q506318 Q22675076 Q1047952 Q8445958 Q19829289 Q2366781 Q15883682 Q2076504 Q19829281 Q20088704 Q20658393 Q19829282 Q20871578 Q9666043 Q8160448 Q16801448 Q21088458 Q20755918 Q8778106 Q20817503 Q4136350 Q23636336 Q4136671 Q4136652 Q18667869 Q20871679 Q5138431 Q18033282 Q2120314 Q21004690 Q5138449 Q8171278 Q201168 Q4136756 Q2120318 Q21075691 Q8317118 Q20656457 Q20950460 Q1973713 Q5138556 Q20811283 Q20731021 Q20646309 Q2340874 Q316866 Q20818663 Q10713248 Q660672 Q2120221 Q20895483 Q209234 Q2120225 Q20650118 Q8165629 Q19829232 Q19829234 Q16070268 Q19829236 Q19829237 Q204949 Q16271875 Q478239 Q19829261 Q5838323 Q10526834 Q21006214 Q2503824
(c(Q13220204)|c(Q502895),P237,c(Q17335294))
action argmin
action union
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q13220204
action find_reverse_tuple_counts
relation P237
type Q17335294
type Q502895
The [ANSWERS] serve as the ensign for min number of administrative country subdivisions and people
[[{'concept': 'Q13220204'}, {'concept': 'Q502895'}], 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?b WHERE { { ?b rdf:type ontology:Q17335294 . ?k rdf:type ontology:Q13220204 . ?k property:P237 ?b } UNION { ?k property:P237 ?b . ?b rdf:type ontology:Q17335294 . ?k rdf:type ontology:Q502895 } } GROUP BY ?b } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) ?r WHERE { { ?v property:P237 ?r . ?r rdf:type ontology:Q17335294 . ?v rdf:type ontology:Q13220204 } UNION { ?v property:P237 ?r . ?r rdf:type ontology:Q17335294 . ?v rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?i = ?h ) }
coat of arms of Mariupol Coat of arms of Oman coat of arms of Tambov Oblast Coat of arms of Cangas de Morrazo coat of arms of Bussum coat of arms of Vreeswijk coat of arms of Brakel Coat of Arms of Mali Coat of arms of Gmina Radków coat of arms of Catalonia coat of arms of Montblanc Coat of arms of Gothenburg coat of arms of Driewegen coat of arms of Yaroslavl Oblast coat of arms of Kockengen coat of arms of Borgharen coat of arms of Leende coat of arms of Oosterland coat of arms of Flevoland emblem of the Kazakh Soviet Socialist Republic Coat of arms of Valladolid coat of arms of Meerleo coat of arms of Grathem coat of arms of Wissekerke coat of arms of Arlon Botkyrka municipal coat of arms coat of arms of Doorn Coat of arms of Gmina Bolków coat of arms of Berlin coat of arms of Nieuwolda coat of arms of Bath Coat of arms of Lleida coat of arms of Uusikaupunki emblem of the Latvian Soviet Socialist Republic coat of arms of Schardam coat of arms of Willige Langerak coat of arms of Haamstede coat of arms of Eygelshoven coat of arms of Hoofdplaat coat of arms of Geldrop coat of arms of Assen Coat of arms of Quebec City coat of arms of Bierbeek Coat of arms of Astrakhan Coat of arms of Lappajärvi coat of arms of Breukelen coat of arms of Nieuwkuijk Coat of arms of Oviedo coat of arms of Aarschot coat of arms of Merkelbeek coat of arms of Papekop coat of arms of Geffen coat of arms of Zuidzande coat of arms of Reusel coat of arms of Maarssen Coat of arms of Moscow Coat of arms of Huelva coat of arms of Pernis emblem of the Azerbaijan Soviet Socialist Republic coat of arms of Darthuizen Coat of arms of Eura coat of arms of Tomsk Oblast coat of arms of Duivendijke coat of arms of Nieuw-Helvoet coat of arms of Nieuw-Lekkerland coat of arms of Nieuwe-Tonge coat of arms of Hoenkoop coat of arms of Gendringen coat of arms of Gassel coat of arms of Loosdrecht coat of arms of Tver Oblast coat of arms of Houthem coat of arms of Loenersloot coat of arms of Herpt Herb Lubania coat of arms of Klaaskinderenkerke coat of arms of Nieuwerkerke Coat of arms of Saxony-Anhalt Seal of the Marshall Islands coat of arms of Poederoijen coat of arms of The Hague Coat of arms of Bielawa Flag of Lima coat of arms of Groningen Emblem of Mozambique Coat of arms of Gmina Nowogrodziec Coat of arms of Hengelo coat of arms of Abbekerk coat of arms of Appeltern coat of arms of Oeffelt coat of arms of Sint Jansteen Coat of arms of the Western Cape Coat of arms of Gmina Sobótka Emblem of Brunei coat of arms of Bergschenhoek Coat of arms of Prague coat of arms of Boskoop Coat of arms of Evijärvi coat of arms of Wanroij coat of arms of Callantsoog emblem of the Kirghiz Soviet Socialist Republic first coat of arms of Beers coat of arms of Benschop coat of arms of Mikkeli Coat of arms of Castile and León Aq Bars coat of arms of Meeuwen Coat of arms of Pieszyce Emblem of Afghanistan Simo Coat of Arms emblem of the Tajik Soviet Socialist Republic Coat of arms of Boguszów-Gorce Coat of arms of Bryansk Oblast Coat of arms of the Valencian Community Coat of arms of Bremen coat of arms of Waarde coat of arms of Serooskerke Coat of arms of the municipality of Rättvik, Sweden Dąb coat of arms Denhof coat of arms coat of arms of Schaerbeek coat of arms of Westdorpe coat of arms of Oudenbosch coat of arms of 's-Heerenhoek coat of arms of Keerbergen Coat of arms of Recife coat of arms of Eversdijk Coat of arms of Gmina Mieroszów coat of arms of Colmar-Berg coat of arms of Beusichem emblem of the Lithuanian Soviet Socialist Republic coat of arms of Roggel Coat of arms of Łódź Voivodeship Royal coat of arms of Great Britain coat of arms of Munstergeleen coat of arms of Sprang coat of arms of Bocholtz Coat of arms of Galicia coat of arms of Looperskapelle coat of arms of Rijnsaterwoude coat of arms of Jutphaas Emblem of Tuva coat of arms of Zeeland coat of arms of Sevastopol Coat of arms of the Udmurt Republic coat of arms of Ghent Coat of arms of Sant Joanet coat of arms of Gdańsk coat of arms of Nieuwerkerk Coat of arms of the city of Bamberg coat of arms of Capelle Coat of arms of Poltava Oblast coat of arms of Anna Paulowna Coat of arms of the Republic of Karelia coat of arms of Veenhuizen coat of arms of Grobbendonk coat of arms of Snelrewaard coat of arms of India Łódź coat of arms coat of arms of Oudenrijn Coat of arms of Bashkortostan Coat of arms of Schleswig-Holstein coat of arms of Wijk en Aalburg coat of arms of Almelo Stockholm coat of arms Coat of Arms of Hong Kong Coat of arms of Gmina Żmigród Coat of arms of Aura coat of arms of Giessendam coat of arms of Kleverskerke Coat of arms of Bolesławiec coat of arms of Heer Oudelands Ambacht coat of arms of Heenvliet coat of arms of Heerjansdam coat of arms of Utrecht coat of arms of Brijdorpe Coat of arms of Hudiksvall Municipality Coat of arms of Gmina Kobierzyce Coat of arms of Móstoles Coat of arms of Öland Coat of arms of Naples Coat of arms of Dresden Coat of arms of Moncton coat of arms of Sint-Agatha-Berchem Coat of arms of Federal District coat of arms of Abbenbroek second coat of arms of Anloo coat of arms of Boortmeerbeek Coat of arms of Maastricht Coat of arms of Rhineland-Palatinate coat of arms of Stavenisse coat of arms of Hoogelande coat of arms of Kerkwerve Coat of arms of the Northwest Territories Coat of arms of Pamplona Coat of arms of Forest coat of arms of Esch coat of arms of Overslag second coat of arms of Beers coat of arms of Hoeven Coat of arms of Masovian Voivodeship coat of arms of Tula Oblast coat of arms of Standdaarbuiten coat of arms of Schoondijke Coat of arms of Edmonton coat of arms of Overijssel coat of arms of Zoutelande coat of arms of Dilbeek Coat of arms of the Republic of Adygea Coat of arms of the Lublin Voivodeship Coat of arms of Jakobstad coat of arms of Rilland Seal of Palau Seal of Madagascar Coat of arms of Kalmykia Coat of arms of Alajärvi Coat of arms of Peterborough, Ontario coat of arms of Akersloot Coat of arms of Granada (Spain) Coat of arms of Bar coat of arms of Sakhalin Oblast Coat of arms of the Republic of Ingushetia coat of arms of Oudelande Coat of arms of the municipality of Östersund coat of arms of Ivanovo Oblast coat of arms of Kamerik Coat of arms of Nowa Ruda coat of arms of Sittard coat of arms of Santiago de Compostela Coat of arms of Liberia coat of arms of Lelystad coat of arms of Riga coat of arms of Bonaire coat of arms of Aalst coat of arms of Hoogkerk coat of arms of Vreeland Stockholm county coat of arms coat of arms of Kesteren coat of arms of Maarn coat of arms of Drenthe coat of arms of Ruwiel coat of arms of Grubbenvorst coat of arms of Ellewoutsdijk Coat of arms of Lesser Poland Voivodeship coat of arms of South Holland Coat of arms of Sax coat of arms of Nistelrode coat of arms of Jaarsveld coat of arms of Andijk Coat of arms of Piechowice coat of arms of Gameren Coat of arms of Woluwe-Saint-Lambert Coat of arms of Rotterdam coat of arms of Haren coat of arms of Adorp emblem of the Uzbek Soviet Socialist Republic coat of arms of North Holland Coat of arms of Bydgoszcz Wapen van Kortenhoef Coat of arms of Hesse coat of arms of De Lier Coat of arms of Szklarska Poręba coat of arms of Driebergen-Rijsenburg coat of arms of Beets coat of arms of Maarsseveen coat of arms of Glabbeek coat of arms of Ulyanovsk Oblast Emblem of Yemen Symbols of Tirana Coat of arms of Fiji West Java coat of arms Coat of arms of Libya coat of arms of Sverdlovsk Oblast coat of arms of Prinsenbeek coat of arms of Vinkeveen coat of arms of Hoogezand coat of arms of Waverveen coat of arms of 's-Heer Arendskerke Coat of arms of Toledo Coat of arms of Valencia Coat of arms of Föglö Coat of arms of Nowy Sącz coat of arms of Halsteren coat of arms of Tallinn coat of arms of Ossenisse coat of arms of Westenschouwen coat of arms of Borssele Coat of arms of Cluj-Napoca Coat of arms of the Komi Republic coat of arms of Haps coat of arms of Nigtevecht Emblem of Papua New Guinea Coat of arms of Wałbrzych coat of arms of Roosteren coat of arms of Bleiswijk Coat of arms of Aragon coat of arms of Pskov Oblast coat of arms of Antwerp Coat of arms of Siikajoki emblem of the Armenian Soviet Socialist Republic Coat of arms of Espoo Coat of arms of Chojnów Coat of arms of Eurajoki emblem of the Estonian Soviet Socialist Republic Coat of arms of Lower Silesian Voivodeship Coat of arms of Buenos Aires Coat of arms of Baden-Württemberg coat of arms of Ovezande coat of arms of Bommenede coat of arms of Wormerveer Coat of arms of Ceuta Coats of arms of Donetsk People's Republic coat of arms of Hoek coat of arms of Abcoude-Baambrugge Seal of Yerevan coat of arms of Brabant Arms of the Democratic Republic of the Congo Coat of arms of Wrocław Coat of arms of Gmina Warta Bolesławiecka Coat of arms of Haarlem coat of arms of Berlaar coat of arms of Hengstdijk coat of arms of Vogelwaarde coat of arms of Oud-Vossemeer coat of arms of Oudheusden coat of arms of Ottersum coat of arms of Oirsbeek coat of arms of Abcoude-Proostdij Coat of arms of Gmina Prochowice coat of arms of Elst emblem of the Georgian Soviet Socialist Republic coat of arms of South Sumatra coat of arms of Dalarna coat of arms of Barendrecht Coat of arms of Brandenburg Coat of Arms of Barcelona Coat of arms of Jaén coat of arms of Breskens coat of arms of Gelderland Ångermanland coat-of-arms coat of arms of Rockanje Coat of arms of Crimea coat of arms of Zwolle coat of arms of Hämeenlinna Coat of arms of Kowary Coat of arms of Kaliningrad coat of arms of Noordgouwe coat of arms of Almere Coat of arms of Oudorp coat of arms of Baflo Imperial Seal of Japan coat of arms of Oud-Valkenburg Coat of arms of Navarre coat of arms of Koewacht coat of arms of Hindeloopen coat of arms of Amstelveen Coat of arms of Gmina Góra Coat of arms of Mecklenburg-Vorpommern Coat of arms of Madrid coat of arms of Heinenoord coat of arms of Sambeek coat of arms of Waspik coat of arms of Bruinisse coat of arms of Vierlingsbeek coat of arms of Diest Coat of arms of Gmina Dzierżoniów coat of arms of Beerta Coat of arms of the Jewish Autonomous Oblast coat of arms of Cothen Coat of arms of Zamora emblem of the Moldavian Soviet Socialist Republic Coat of arms of Havana Coat of arms of Katowice coat of arms of Princenhage Coat of arms of Saxony coat of arms of 's-Gravenpolder coat of arms of  Amersfoort coat of arms of Aagtekerke coat of arms of Nieuw- en Sint Joosland coat of arms of Alblasserdam Coat of arms of Kudowa-Zdrój Seal of Mauritania coat of arms of Dreischor Coat of arms of Volgograd Oblast coat of arms of Noordbroek Coat of arms of Akaa coat of arms of Grevenbicht coat of arms of Putte coat of arms of Alem Coat of arms of Gmina Wołów Coat of arms of Gmina Lubawka Coat of arms of Greater Poland Voivodeship Seal of the Federated States of Micronesia Coat of arms of Guatemala Emblem of Jerusalem coat of arms of Burgh coat of arms of Leiden coat of arms of Samara Oblast Coat of arms of Legnica coat of arms of Ryazan Oblast coat of arms of Rostov Oblast Coat of arms of Arnhem coat of arms of Paris coat of arms of Båstad Pahonia Coat of arms of Alavieska coat of arms of Bloois Coat of arms of Lugo Coat of arms of Pernambuco coat of arms of Tienhoven Coat of arms of Carcaixent Coat of arms of Ostrava coat of arms of Lexmond coat of arms of Liempde coat of arms of Halle Coat of arms of Szczawno-Zdrój Coat of arms of Basque Country Coat of arms of Mozhga coat of arms of Dubbeldam coat of arms of Hämeenkyrö coat of arms of Tyumen Oblast Coat of arms of Gmina Kąty Wrocławskie Coat of arms of Canary Islands coat of arms of Heeswijk coat of arms of Zuiddorpe Coat of arms of Bavaria coat of arms of Wageningen Coat of arms of Piława Górna Coat of arms of Gmina Stronie Śląskie coat of arms of Linden coat of arms of Ilpendam Coat of arms of Gmina Siechnice coat of arms of Biggekerke coat of arms of Zeeland Coat of arms of Evere Coat of Arms of Saint Petersburg Coat of arms of Oulu Coat of arms of Andalusia coat of arms of Wemeldinge coat of arms of Ellemeet Saxon Steed coat of arms of Elkerzee coat of arms of 't Zandt Coat of arms of Karpacz Coat of arms of the Community of Madrid coat of arms of Linschoten Coat of arms of Kola Coat of arms of the Republic of Buryatia coat of arms of Escharen Coat of arms of Omsk Oblast Coat of arms of Gmina Trzebnica Coat of arms of the Pomeranian Voivodeship coat of arms of Limburg coat of arms of Gotland Coat of arms of Nunavut emblem of the Byelorussian Soviet Socialist Republic Coat of arms of Dzierżoniów Coat of arms of Jedlina-Zdrój coat of arms of Aduard coat of arms of Kloetinge Coat of arms of Kłodzko Coat of arms of the BBC Coat of arms of Enontekiö coat of arms of Hoevelaken Coat of arms of Enonkoski Lwówek coat of arms Coat of arms of Acre Coat of arms of Skopje coat of arms of Harmelen coat of arms of Kajaani Coat of Arms of Palafrugell coat of arms of Lieshout Coat of arms of Kotor Coat of arms of Vilnius coat of arms of Vidzy coat of arms of Hedikhuizen coat of arms of Spaarndam coat of arms of Heille coat of arms of Zaamslag Coat of arms of Greenland coat of arms of Valkenisse Coat of arms of Alavus Coat of arms of Finström Coat of Arms of Tierra del Fuego (Argentina) Coat of arms of Forssa coat of arms of Oerle coat of arms of Hardinxveld coat of arms of Wessem coat of arms of Wehl coat of arms of Monster coat of arms of Loosduinen coat of arms of Wijnandsrade Emblem of the Association of Southeast Asian Nations Coat of arms of Gmina Brzeg Dolny Coat of arms of the municipality Kłodzko coat of arms of Rijsbergen Coat of arms of Kharkiv Coat of arms of Gmina Niemcza Coat of arms of Gmina Oborniki Śląskie Emblem of Bhutan coat of arms of Utrecht coat of arms of West-Souburg Coat of arms of Quebec coat of arms of Braine-l'Alleud Coat of arms of Gmina Zbąszyń coat of arms of Noord-Polsbroek coat of arms of Groningen Coat of arms of the Chechen Republic Coat of Arms of Iraqi Kurdistan coat of arms of Charlois Coat of arms of Melilla coat of arms of Vrijhoeve-Capelle coat of arms of Stoutenburg coat of arms of Schinveld Coat of arms of Novosibirsk Oblast Coat of arms of Amapá coat of arms of Haarzuilens coat of arms of Helvoirt coat of arms of Beegden Coat of arms of Podgorica coat of arms of Meijel coat of arms of Warnsveld Coat of arms of North Rhine-Westphalia coat of arms of Aarlanderveen emblem of the Ukrainian Soviet Socialist Republic coat of arms of Scherpenisse Coat of arms of Driebergen coat of arms of Horst coat of arms of Szczecin Coat of arms of Polanica-Zdrój coat of arms of Nieuwlande Coat of arms of Saarland coat of arms of Drogenbos emblem of the Turkmen Soviet Socialist Republic Coat of arms of Gmina Głuszyca coat of arms of Rijnsburg Coat of arms of Dagestan coat of arms of Arkel coat of arms of Helsinki coat of arms of Ouddorp coat of arms of Aengwirden coat of arms of Fijnaart en Heijningen coat of arms of Oude-Tonge coat of arms of Kattendijke Coat of arms of Amazonas Coat of arms of Kamienna Góra coat of arms of Aalsmeer coat of arms of Cadier en Keer coat of arms of Stoppeldijk Coat of arms of Vivero coat of arms of Sirjansland Coat of arms of Zaporizhzhya coat of arms of Sint-Genesius-Rode coat of arms of Penza Oblast coat of arms of Oryol Oblast Coat of arms of Kimitoön coat of arms of Graauw en Langendam Coat of arms of Coquitlam coat of arms of De Mijl Coat of arms of Brändö coat of arms of Jabeek Coat of arms of Głogów Coat of arms of Gmina Prusice Coat of Arms of Pakistan coat of arms of Saratov Oblast Coat of arms of Eckerö coat of arms of Broeksittard Coat of arms of Duszniki-Zdrój coat of arms of Westbroek coat of arms of Sprang-Capelle Coat of arms of Curaçao Coat of arms of the Department of Bolívar coat of arms of Lierop coat of arms of Langbroek coat of arms of Polsbroek coat of arms of Barradeel Coat of arms of Cologne coat of arms of Luyksgestel coat of arms of Vaasa National Emblem of Somaliland Coat of arms of Asikkala coat of arms of Westerhoven National seal of the Union of the Comoros Coat of arms of Askola coat of arms of Terborg Coat of arms of Jawor coat of arms of Goudswaard coat of arms of Groot-Ammers coat of arms of Abtsregt coat of arms of Haastrecht coat of arms of Hagestein Coat of arms of Tunisia coat of arms of Aldansky district Coat of arms of Thuringia coat of arms of Leidschendam Coat of Arms of Soria Huddinge municipality Coat of Arms coat of arms of Bingelrade coat of arms of Sint Maarten
The coat of arms of Oirsbeek, coat of arms of Ouddorp and coat of arms of Ottersum serve as the ensign for min number of administrative country subdivisions and people
coat of arms of Oirsbeek coat of arms of Ouddorp coat of arms of Ottersum
action argmin
action union
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation coat of arms
type flag or coat of arms
type common name
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'common name'}], 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?b WHERE { { ?b rdf:type ontology:flag_or_coat_of_arms . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?k property:coat_of_arms ?b } UNION { ?k property:coat_of_arms ?b . ?b rdf:type ontology:flag_or_coat_of_arms . ?k rdf:type ontology:common_name } } GROUP BY ?b } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) ?r WHERE { { ?v property:coat_of_arms ?r . ?r rdf:type ontology:flag_or_coat_of_arms . ?v rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?v property:coat_of_arms ?r . ?r rdf:type ontology:flag_or_coat_of_arms . ?v rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?i = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q869321 Q21099940
P17
Q15617994
USER
Which administrative territories are coat of arms of Oirsbeek or Roman Catholic Diocese of Gubbio located in ?
OR((Q21099940,P17,c(Q15617994)), (Q869321,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21099940
relation P17
action find
entity Q869321
relation P17
type Q15617994
{'OR': [['Q21099940', 'P17', {'concept': 'Q15617994'}], ['Q869321', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q869321 property:P17 ?p } UNION { resource:Q21099940 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Roman Catholic Diocese of Gubbio coat of arms of Oirsbeek
action filter_type
action union
action find
entity coat of arms of Oirsbeek
relation country
action find
entity Roman Catholic Diocese of Gubbio
relation country
type designation for an administrative territorial entity
{'OR': [['coat of arms of Oirsbeek', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Roman Catholic Diocese of Gubbio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Roman_Catholic_Diocese_of_Gubbio property:country ?p } UNION { resource:coat_of_arms_of_Oirsbeek property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q21099940,P17,c(Q15617994)), (Q869321,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21099940
relation P17
action find
entity Q869321
relation P17
type Q15617994
[ANSWERS] are coat of arms of Oirsbeek or Roman Catholic Diocese of Gubbio located in
{'OR': [['Q21099940', 'P17', {'concept': 'Q15617994'}], ['Q869321', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q869321 property:P17 ?p } UNION { resource:Q21099940 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Italy Netherlands
Italy and Netherlands are coat of arms of Oirsbeek or Roman Catholic Diocese of Gubbio located in
Italy Netherlands
action filter_type
action union
action find
entity coat of arms of Oirsbeek
relation country
action find
entity Roman Catholic Diocese of Gubbio
relation country
type designation for an administrative territorial entity
{'OR': [['coat of arms of Oirsbeek', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Roman Catholic Diocese of Gubbio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Roman_Catholic_Diocese_of_Gubbio property:country ?p } UNION { resource:coat_of_arms_of_Oirsbeek property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q3099911 Q163740
USER
How many scientific instruments and nonprofit organizations are that administrative territory a country of origin of ?
(c(Q3099911),P495,Q55) (c(Q163740),P495,Q55) (c(Q3099911),P495,Q38) (c(Q163740),P495,Q38) (c(Q3099911),P495,Q55) (c(Q163740),P495,Q55)
[{'concept': 'Q3099911'}, 'P495', 'Q55'] [{'concept': 'Q163740'}, 'P495', 'Q55'] [{'concept': 'Q3099911'}, 'P495', 'Q38'] [{'concept': 'Q163740'}, 'P495', 'Q38'] [{'concept': 'Q3099911'}, 'P495', 'Q55'] [{'concept': 'Q163740'}, 'P495', 'Q55']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q22442862 } UNION { ?y property:P495 resource:Q22442862 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q22442862 } UNION { ?y property:P495 resource:Q22442862 } } . ?z rdf:type ontology:Q3099911 . ?y rdf:type ontology:Q163740 }
[{'concept': 'scientific instrument'}, 'country of origin', 'Netherlands'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Netherlands'] [{'concept': 'scientific instrument'}, 'country of origin', 'Italy'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Italy'] [{'concept': 'scientific instrument'}, 'country of origin', 'Netherlands'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Netherlands } UNION { ?y property:country_of_origin resource:Netherlands } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Netherlands } UNION { ?y property:country_of_origin resource:Netherlands } } . ?z rdf:type ontology:scientific_instrument . ?y rdf:type ontology:nonprofit_organization }
[]
scientific instrument nonprofit organization
Quantitative|Count|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q22442862 } UNION { ?y property:P495 resource:Q22442862 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q22442862 } UNION { ?y property:P495 resource:Q22442862 } } . ?z rdf:type ontology:Q3099911 . ?y rdf:type ontology:Q163740 }
Did you mean Italy ?
Italy
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Netherlands } UNION { ?y property:country_of_origin resource:Netherlands } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Netherlands } UNION { ?y property:country_of_origin resource:Netherlands } } . ?z rdf:type ontology:scientific_instrument . ?y rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(c(Q3099911),P495,Q55) (c(Q163740),P495,Q55) (c(Q3099911),P495,Q38) (c(Q163740),P495,Q38) (c(Q3099911),P495,Q55) (c(Q163740),P495,Q55)
Q55
[{'concept': 'Q3099911'}, 'P495', 'Q55'] [{'concept': 'Q163740'}, 'P495', 'Q55'] [{'concept': 'Q3099911'}, 'P495', 'Q38'] [{'concept': 'Q163740'}, 'P495', 'Q38'] [{'concept': 'Q3099911'}, 'P495', 'Q55'] [{'concept': 'Q163740'}, 'P495', 'Q55']
[{'concept': 'scientific instrument'}, 'country of origin', 'Netherlands'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Netherlands'] [{'concept': 'scientific instrument'}, 'country of origin', 'Italy'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Italy'] [{'concept': 'scientific instrument'}, 'country of origin', 'Netherlands'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Netherlands']
[]
SYSTEM
1 scientific instruments and 2 nonprofit organizations
Q2514841 Q1798028 Q2406378
(c(Q3099911),P495,Q55) (c(Q163740),P495,Q55) (c(Q3099911),P495,Q38) (c(Q163740),P495,Q38) (c(Q3099911),P495,Q55) (c(Q163740),P495,Q55)
[ANSWER]
[{'concept': 'Q3099911'}, 'P495', 'Q55'] [{'concept': 'Q163740'}, 'P495', 'Q55'] [{'concept': 'Q3099911'}, 'P495', 'Q38'] [{'concept': 'Q163740'}, 'P495', 'Q38'] [{'concept': 'Q3099911'}, 'P495', 'Q55'] [{'concept': 'Q163740'}, 'P495', 'Q55']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q22442862 } UNION { ?y property:P495 resource:Q22442862 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q22442862 } UNION { ?y property:P495 resource:Q22442862 } } . ?z rdf:type ontology:Q3099911 . ?y rdf:type ontology:Q163740 }
Evangelische Omroep LETGS Wikimedia Netherlands
1 scientific instruments and 2 nonprofit organizations
[{'concept': 'scientific instrument'}, 'country of origin', 'Netherlands'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Netherlands'] [{'concept': 'scientific instrument'}, 'country of origin', 'Italy'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Italy'] [{'concept': 'scientific instrument'}, 'country of origin', 'Netherlands'] [{'concept': 'nonprofit organization'}, 'country of origin', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Netherlands } UNION { ?y property:country_of_origin resource:Netherlands } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Netherlands } UNION { ?y property:country_of_origin resource:Netherlands } } . ?z rdf:type ontology:scientific_instrument . ?y rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q157137
P206
Q355304
USER
Which watercourses are situated close to Kryvyi Rih ?
(Q157137,P206,c(Q355304))
action filter_type
action find
entity Q157137
relation P206
type Q355304
['Q157137', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q157137 property:P206 ?q . ?q rdf:type ontology:Q355304 }
Kryvyi Rih
action filter_type
action find
entity Kryvyi Rih
relation located next to body of water
type watercourse
['Kryvyi Rih', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Kryvyi_Rih property:located_next_to_body_of_water ?q . ?q rdf:type ontology:watercourse }
[]
watercourse
Q1633893 Q1331959
SYSTEM
Saksahan, Inhulets River
Q1633893 Q1331959
(Q157137,P206,c(Q355304))
action filter_type
action find
entity Q157137
relation P206
type Q355304
[ANSWERS] are situated close to Kryvyi Rih
['Q157137', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q157137 property:P206 ?q . ?q rdf:type ontology:Q355304 }
Saksahan Inhulets River
Saksahan and Inhulets River are situated close to Kryvyi Rih
Saksahan Inhulets River
action filter_type
action find
entity Kryvyi Rih
relation located next to body of water
type watercourse
['Kryvyi Rih', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Kryvyi_Rih property:located_next_to_body_of_water ?q . ?q rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q42049
Q355304
USER
And what about Balmoral Castle?
(Q42049,P206,c(Q355304))
action filter_type
action find
entity Q42049
relation P206
type Q355304
['Q42049', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q42049 property:P206 ?s . ?s rdf:type ontology:Q355304 }
Balmoral Castle
action filter_type
action find
entity Balmoral Castle
relation located next to body of water
type watercourse
['Balmoral Castle', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Balmoral_Castle property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]
watercourse
Q964949
SYSTEM
River Dee
Q964949
(Q42049,P206,c(Q355304))
action filter_type
action find
entity Q42049
relation P206
type Q355304
[ANSWER]
['Q42049', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q42049 property:P206 ?s . ?s rdf:type ontology:Q355304 }
River Dee
River Dee
action filter_type
action find
entity Balmoral Castle
relation located next to body of water
type watercourse
['Balmoral Castle', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Balmoral_Castle property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]