Simple Question (Direct)
Simple Question
Q2517534
P27
Q15617994
USER
Which administrative territory is the native country of Terry Glaze ?
(Q2517534,P27,c(Q15617994))
action filter_type
action find
entity Q2517534
relation P27
type Q15617994
['Q2517534', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2517534 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Terry Glaze
action filter_type
action find
entity Terry Glaze
relation country of citizenship
type designation for an administrative territorial entity
['Terry Glaze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Terry_Glaze property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2517534,P27,c(Q15617994))
action filter_type
action find
entity Q2517534
relation P27
type Q15617994
[ANSWER]
['Q2517534', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2517534 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Terry Glaze
relation country of citizenship
type designation for an administrative territorial entity
['Terry Glaze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Terry_Glaze property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2517534
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q2517534
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q2517534 property:P19 ?w }
Terry Glaze
action filter_type
action find
entity Terry Glaze
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Terry_Glaze property:place_of_birth ?w }
[]
administrative territorial entity
Q16567
SYSTEM
Columbus
Q16567
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q2517534
relation P19
type Q56061
[ANSWER]
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q2517534 property:P19 ?w }
Columbus
Columbus
action filter_type
action find
entity Terry Glaze
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Terry_Glaze property:place_of_birth ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16567 Q14918880
P190
Q56061
USER
Is Dulkiniškė twin city of Columbus ?
(Q16567,P190,Q14918880)
action is_in
entity Q14918880
action find
entity Q16567
relation P190
['Q16567', 'P190', 'Q14918880']
ASK WHERE { resource:Q16567 property:P190 resource:Q14918880 }
Columbus Dulkiniškė
action is_in
entity Dulkiniškė
action find
entity Columbus
relation sister city
['Columbus', 'sister city', 'Dulkiniškė']
ASK WHERE { resource:Columbus property:sister_city resource:Dulkiniškė }
[]
administrative territorial entity
SYSTEM
NO
(Q16567,P190,Q14918880)
action is_in
entity Q14918880
action find
entity Q16567
relation P190
[ANSWER]
['Q16567', 'P190', 'Q14918880']
ASK WHERE { resource:Q16567 property:P190 resource:Q14918880 }
No
action is_in
entity Dulkiniškė
action find
entity Columbus
relation sister city
['Columbus', 'sister city', 'Dulkiniškė']
ASK WHERE { resource:Columbus property:sister_city resource:Dulkiniškė }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q264716
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have adopted greater number of holidays or people as their patron saint than Carzano ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q264716
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q264716 property:P417 ?z . { { ?z rdf:type ontology:Q1445650 } UNION { ?z rdf:type ontology:Q502895 } } } } . FILTER ( ?g > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { { ?c rdf:type ontology:Q56061 . ?k rdf:type ontology:Q1445650 . ?c property:P417 ?k } UNION { ?k rdf:type ontology:Q502895 . ?c rdf:type ontology:Q56061 . ?c property:P417 ?k } } GROUP BY ?c } }
Carzano
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Carzano
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Carzano property:patron_saint ?z . { { ?z rdf:type ontology:holiday } UNION { ?z rdf:type ontology:common_name } } } } . FILTER ( ?g > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { { ?c rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:holiday . ?c property:patron_saint ?k } UNION { ?k rdf:type ontology:common_name . ?c rdf:type ontology:administrative_territorial_entity . ?c property:patron_saint ?k } } GROUP BY ?c } }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q220 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q264716
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Q264716 property:P417 ?z . { { ?z rdf:type ontology:Q1445650 } UNION { ?z rdf:type ontology:Q502895 } } } } . FILTER ( ?g > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { { ?c rdf:type ontology:Q56061 . ?k rdf:type ontology:Q1445650 . ?c property:P417 ?k } UNION { ?k rdf:type ontology:Q502895 . ?c rdf:type ontology:Q56061 . ?c property:P417 ?k } } GROUP BY ?c } }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Brolo Kastritsa Platres Altrei Molista Mölten Rome Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow Madrid Milan
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Carzano
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { resource:Carzano property:patron_saint ?z . { { ?z rdf:type ontology:holiday } UNION { ?z rdf:type ontology:common_name } } } } . FILTER ( ?g > ?x ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?g ) WHERE { { ?c rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:holiday . ?c property:patron_saint ?k } UNION { ?k rdf:type ontology:common_name . ?c rdf:type ontology:administrative_territorial_entity . ?c property:patron_saint ?k } } GROUP BY ?c } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q42007 Q16567
P190
Q56061
USER
Which administrative territories are sister towns of Columbus or Szombathely ?
OR((Q16567,P190,c(Q56061)), (Q42007,P190,c(Q56061)))
action filter_type
action union
action find
entity Q16567
relation P190
action find
entity Q42007
relation P190
type Q56061
{'OR': [['Q16567', 'P190', {'concept': 'Q56061'}], ['Q42007', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?o ) { ( resource:Q16567 ) ( resource:Q42007 ) } . ?o property:P190 ?f } . ?f rdf:type ontology:Q56061 }
Szombathely Columbus
action filter_type
action union
action find
entity Columbus
relation sister city
action find
entity Szombathely
relation sister city
type administrative territorial entity
{'OR': [['Columbus', 'sister city', {'concept': 'administrative territorial entity'}], ['Szombathely', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?o ) { ( resource:Columbus ) ( resource:Szombathely ) } . ?o property:sister_city ?f } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13362 Q27119 Q8717 Q1449 Q192807 Q5449 Q1070 Q25331 Q152491 Q182059
SYSTEM
Some of them are Ferrara, Kolding, Seville, Genoa, Ramat Gan, Yoshkar-Ola, Ahmedabad, Odense, Herzliya, Kumasi
Q13362 Q152491 Q181854 Q1070 Q8717 Q5449 Q27119 Q25331 Q182059 Q1449 Q192807
OR((Q16567,P190,c(Q56061)), (Q42007,P190,c(Q56061)))
action filter_type
action union
action find
entity Q16567
relation P190
action find
entity Q42007
relation P190
type Q56061
[ANSWERS]
{'OR': [['Q16567', 'P190', {'concept': 'Q56061'}], ['Q42007', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?o ) { ( resource:Q16567 ) ( resource:Q42007 ) } . ?o property:P190 ?f } . ?f rdf:type ontology:Q56061 }
Ferrara Herzliya Lappeenranta Ahmedabad Seville Yoshkar-Ola Kolding Odense Kumasi Genoa Ramat Gan
Ferrara Kolding Seville Genoa Ramat Gan Yoshkar-Ola Ahmedabad Odense Herzliya Kumasi
action filter_type
action union
action find
entity Columbus
relation sister city
action find
entity Szombathely
relation sister city
type administrative territorial entity
{'OR': [['Columbus', 'sister city', {'concept': 'administrative territorial entity'}], ['Szombathely', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?o ) { ( resource:Columbus ) ( resource:Szombathely ) } . ?o property:sister_city ?f } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q212 Q42007
P190 P17
Q13220204
USER
Which administrative country subdivisions are partner town of Szombathely and are located in Ukraine ?
AND((c(Q13220204),P190,Q42007), (c(Q13220204),P17,Q212))
action filter_type
action intersection
action find_reverse
entity Q42007
relation P190
action find_reverse
entity Q212
relation P17
type Q13220204
{'AND': [[{'concept': 'Q13220204'}, 'P190', 'Q42007'], [{'concept': 'Q13220204'}, 'P17', 'Q212']]}
SELECT DISTINCT ?d WHERE { ?d property:P190 resource:Q42007 . ?d property:P17 resource:Q212 . ?d rdf:type ontology:Q13220204 }
Ukraine Szombathely
action filter_type
action intersection
action find_reverse
entity Szombathely
relation sister city
action find_reverse
entity Ukraine
relation country
type second-level administrative country subdivision
{'AND': [[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Szombathely'], [{'concept': 'second-level administrative country subdivision'}, 'country', 'Ukraine']]}
SELECT DISTINCT ?d WHERE { ?d property:sister_city resource:Szombathely . ?d property:country resource:Ukraine . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q156711
SYSTEM
Uzhhorod
Q156711
AND((c(Q13220204),P190,Q42007), (c(Q13220204),P17,Q212))
action filter_type
action intersection
action find_reverse
entity Q42007
relation P190
action find_reverse
entity Q212
relation P17
type Q13220204
[ANSWER]
{'AND': [[{'concept': 'Q13220204'}, 'P190', 'Q42007'], [{'concept': 'Q13220204'}, 'P17', 'Q212']]}
SELECT DISTINCT ?d WHERE { ?d property:P190 resource:Q42007 . ?d property:P17 resource:Q212 . ?d rdf:type ontology:Q13220204 }
Uzhhorod
Uzhhorod
action filter_type
action intersection
action find_reverse
entity Szombathely
relation sister city
action find_reverse
entity Ukraine
relation country
type second-level administrative country subdivision
{'AND': [[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Szombathely'], [{'concept': 'second-level administrative country subdivision'}, 'country', 'Ukraine']]}
SELECT DISTINCT ?d WHERE { ?d property:sister_city resource:Szombathely . ?d property:country resource:Ukraine . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative country subdivision ?
(c(Q502895),P19,Q156711)
action count
action filter_type
action find_reverse
entity Q156711
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q156711']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P19 resource:Q156711 . ?b rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Uzhhorod
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Uzhhorod']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:place_of_birth resource:Uzhhorod . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
94
Q16522927 Q750714 Q375884 Q15264758 Q515970 Q19817932 Q18327578 Q4535366 Q8059430 Q905319 Q18059404 Q669798 Q3032004 Q1314660 Q2044047 Q18693010 Q11836336 Q12028580 Q12109356 Q4131032 Q24820014 Q1973323 Q1420647 Q15505433 Q17612394 Q958020 Q10554038 Q2033987 Q14402118 Q19578161 Q214515 Q16522234 Q12161725 Q4480290 Q510210 Q15268457 Q13537158 Q16520140 Q16520143 Q1233354 Q6710749 Q1111552 Q16699663 Q12026412 Q12172081 Q10857763 Q6297974 Q1667630 Q13425968 Q4330799 Q4110530 Q990593 Q1535059 Q692559 Q482066 Q854866 Q2069171 Q15246753 Q12050913 Q6647923 Q2899306 Q864143 Q12120223 Q46140 Q504203 Q12044773 Q12015608 Q896998 Q255986 Q18127756 Q10861269 Q4232297 Q7792398 Q2498827 Q12027574 Q21714495 Q1095975 Q15061081 Q1036030 Q7154538 Q1302968 Q1049773 Q3832329 Q21096159 Q20436245 Q1242223 Q1166456 Q12034228 Q16519971 Q4053738 Q12170807 Q936513 Q1002904 Q1226041
(c(Q502895),P19,Q156711)
action count
action filter_type
action find_reverse
entity Q156711
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q156711']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P19 resource:Q156711 . ?b rdf:type ontology:Q502895 }
Zoltán Szengetovszkij Sandor Zicherman Balla D. Károly Bertalan Végh András Bodnár Mór Preusz Vladimír Brehovszký Ernest Yust Yozef Ormeny Shlomo Ganzfried Henri Adam-Braun Serhiy Ratushniak Juraj Demeč György Sándor Oleksandr Nad' Ernő Seidler Dušan Vančura Karel Vaš Serhiy Kvit András Havasi Sándor Jenei Nestor Shufrych Márk Vedres Borbála Szalai Anatoliy Herey Mykhaylo Kopolovets Vyacheslav Churko Matviy Bobal László Fedák László Vadnay Lisa Fittko Károly Oláh Dezső Tóth János Fábián Vladimir Koman Sándor Málec Anton Hajduk Zoltán Györffy Zoltán Györffy László Pesovnik László Schäffer Arnold Kiss Dezső Zádor Josef Mráz Zoryan Shkiryak Zdeněk Zuska Jozsef Krocsko Steven Geray Ladislav Schramm Volodymyr Ovsienko Yanush Wig Ferenc Erfán Josef Schaper Volodymyr Koman Endre Aczél László Bódi Mykhaylo Forkash Ferenc Kurucz Sámuel Silinger Moshe Kraus Aharon Roth Denys Rebryk Tetyana Magar Yosyf Penyak Ignác Adler Peter Áč Ferenc Szemán Jenő Janovics László Turóczi István Sándor Zoe Svobodová-Klusáková Mikhail Kopelman Thomas Mermall Vladyslav Mykulyak József Gáti Irma Seidler Mihály Tomcsányi Sergey Shinkaruk Gyula Hevesi Paul Zatkovich Barna Szénássy S. Lipschütz Lika Roman Adorján Kesselyák László Puskás Ilka Pálmay Viktor Massányi Ludvík Hanina László Gazsó Elka Annamari Chundak Yozhef Sabo Pál Forgách il vecchio Lili Ország
94
action count
action filter_type
action find_reverse
entity Uzhhorod
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Uzhhorod']
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:place_of_birth resource:Uzhhorod . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2472587 Q337567 Q56061
USER
Which administrative territories have around 1 peoples and still waterss as their namesake ?
(c(Q56061),P138,c(Q2472587)|c(Q337567))
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q2472587
action find_tuple_counts
relation P138
type Q56061
type Q337567
value 1
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?d WHERE { { ?d property:P138 ?u . ?u rdf:type ontology:Q337567 . ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q56061 . ?u rdf:type ontology:Q2472587 . ?d property:P138 ?u } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type people
action find_tuple_counts
relation named after
type administrative territorial entity
type still waters
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?d WHERE { { ?d property:named_after ?u . ?u rdf:type ontology:still_waters . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:people . ?d property:named_after ?u } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
[]
people still waters administrative territorial entity
Q83178 Q2621007 Q970482
SYSTEM
Almere, Kreva, Nacogdoches
Q83178 Q131335 Q970482 Q18682030 Q11899935 Q11870465 Q18659914 Q2294628 Q12980087 Q11901984 Q666165 Q50816 Q2621007 Q11873198 Q11901400
(c(Q56061),P138,c(Q2472587)|c(Q337567))
action approx
action union
action find_tuple_counts
relation P138
type Q56061
type Q2472587
action find_tuple_counts
relation P138
type Q56061
type Q337567
value 1
[ANSWERS]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?d WHERE { { ?d property:P138 ?u . ?u rdf:type ontology:Q337567 . ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q56061 . ?u rdf:type ontology:Q2472587 . ?d property:P138 ?u } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
Almere Sioux Falls Nacogdoches Kivijärvi Vaalajärvi Kauhajärvi Kauhajärvi Oneida Flaten Vuontisjärvi Augusta Treverorum Mississauga Kreva Kuivasjärvi Vikajärvi
Almere Kreva Nacogdoches
action approx
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type people
action find_tuple_counts
relation named after
type administrative territorial entity
type still waters
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'people'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?d WHERE { { ?d property:named_after ?u . ?u rdf:type ontology:still_waters . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:people . ?d property:named_after ?u } } GROUP BY ?d } . FILTER ( ?x = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q83178 Q273442
P237
Q17335294
USER
How many coats of arms serve as the coat of arms for Almere or Aarschot ?
(Q83178,P237,c(Q17335294)) (Q273442,P237,c(Q17335294))
action count
action union
action filter_type
action find
entity Q83178
relation P237
type Q17335294
action filter_type
action find
entity Q273442
relation P237
type Q17335294
['Q83178', 'P237', {'concept': 'Q17335294'}] ['Q273442', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Q83178 property:P237 ?n . ?n rdf:type ontology:Q17335294 } UNION { resource:Q273442 property:P237 ?n . ?n rdf:type ontology:Q17335294 } }
Almere Aarschot
action count
action union
action filter_type
action find
entity Almere
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Aarschot
relation coat of arms
type flag or coat of arms
['Almere', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Aarschot', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Almere property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms } UNION { resource:Aarschot property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms } }
[]
flag or coat of arms
SYSTEM
2
Q21069095 Q2217645
(Q83178,P237,c(Q17335294)) (Q273442,P237,c(Q17335294))
action count
action union
action filter_type
action find
entity Q83178
relation P237
type Q17335294
action filter_type
action find
entity Q273442
relation P237
type Q17335294
[ANSWER]
['Q83178', 'P237', {'concept': 'Q17335294'}] ['Q273442', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Q83178 property:P237 ?n . ?n rdf:type ontology:Q17335294 } UNION { resource:Q273442 property:P237 ?n . ?n rdf:type ontology:Q17335294 } }
coat of arms of Aarschot coat of arms of Almere
2
action count
action union
action filter_type
action find
entity Almere
relation coat of arms
type flag or coat of arms
action filter_type
action find
entity Aarschot
relation coat of arms
type flag or coat of arms
['Almere', 'coat of arms', {'concept': 'flag or coat of arms'}] ['Aarschot', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { resource:Almere property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms } UNION { resource:Aarschot property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms } }
[]