Simple Question (Direct)
Simple Question
Q16603543
P9
Q502895
USER
Who are the sisters of Zhending ?
(Q16603543,P9,c(Q502895))
action filter_type
action find
entity Q16603543
relation P9
type Q502895
['Q16603543', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q16603543 property:P9 ?b . ?b rdf:type ontology:Q502895 }
Zhending
action filter_type
action find
entity Zhending
relation sister
type common name
['Zhending', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Zhending property:sister ?b . ?b rdf:type ontology:common_name }
[]
common name
Q711427 Q11669188 Q11060429
SYSTEM
Princess Pingyang, Gaomi, Changle
Q11152626 Q10905008 Q15955551 Q16603624 Q11496708 Q10878912 Q11669188 Q15951700 Q11111831 Q711427 Q10946662 Q10877398 Q11060429 Q11064905 Q16603689 Q16603582 Q10908057 Q16603735
(Q16603543,P9,c(Q502895))
action filter_type
action find
entity Q16603543
relation P9
type Q502895
The sisters of Zhending are named [ANSWERS]
['Q16603543', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q16603543 property:P9 ?b . ?b rdf:type ontology:Q502895 }
Li Chengxia​ Qian​jin Hengyang Xiang​yang Fangling Jiu​jiang Gaomi Wanchun Gui​yang Princess Pingyang Anping Danyang Changle Luling Changsha Linhai Nanchang Guantao
The sisters of Zhending are named Princess Pingyang, Gaomi and Changle
Princess Pingyang Gaomi Changle
action filter_type
action find
entity Zhending
relation sister
type common name
['Zhending', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Zhending property:sister ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711427
P21
Q290
USER
What is the sex of Princess Pingyang ?
(Q711427,P21,c(Q290))
action filter_type
action find
entity Q711427
relation P21
type Q290
['Q711427', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q711427 property:P21 ?w . ?w rdf:type ontology:Q290 }
Princess Pingyang
action filter_type
action find
entity Princess Pingyang
relation gender
type sex
['Princess Pingyang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Princess_Pingyang property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q711427,P21,c(Q290))
action filter_type
action find
entity Q711427
relation P21
type Q290
The sex of Princess Pingyang is the [ANSWER]
['Q711427', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q711427 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
The sex of Princess Pingyang is the female
female
action filter_type
action find
entity Princess Pingyang
relation gender
type sex
['Princess Pingyang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Princess_Pingyang property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16106098
Q290
USER
And also tell me about Sophia Yilma?
(Q16106098,P21,c(Q290))
action filter_type
action find
entity Q16106098
relation P21
type Q290
['Q16106098', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q16106098 property:P21 ?u . ?u rdf:type ontology:Q290 }
Sophia Yilma
action filter_type
action find
entity Sophia Yilma
relation gender
type sex
['Sophia Yilma', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Sophia_Yilma property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16106098,P21,c(Q290))
action filter_type
action find
entity Q16106098
relation P21
type Q290
[ANSWER]
['Q16106098', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q16106098 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Sophia Yilma
relation gender
type sex
['Sophia Yilma', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Sophia_Yilma property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16106098
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q16106098
relation P27
type Q15617994
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q16106098 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Sophia Yilma
action filter_type
action find
entity Sophia Yilma
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sophia_Yilma property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q115
SYSTEM
Ethiopia
Q115
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q16106098
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q16106098 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Ethiopia
The Ethiopia is that person a civilian of
Ethiopia
action filter_type
action find
entity Sophia Yilma
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sophia_Yilma property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16106098
P19
Q515
USER
Which city is the birthplace of that person ?
(Q115,P19,c(Q515))
action filter_type
action find
entity Q16106098
relation P19
type Q515
['Q115', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q16106098 property:P19 ?d . ?d rdf:type ontology:Q515 }
Sophia Yilma
action filter_type
action find
entity Sophia Yilma
relation place of birth
type city
['Ethiopia', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Sophia_Yilma property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
city
Q3624
SYSTEM
Addis Ababa
Q3624
(Q115,P19,c(Q515))
action filter_type
action find
entity Q16106098
relation P19
type Q515
[ANSWER] is the birthplace of that person
['Q115', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q16106098 property:P19 ?d . ?d rdf:type ontology:Q515 }
Addis Ababa
Addis Ababa is the birthplace of that person
Addis Ababa
action filter_type
action find
entity Sophia Yilma
relation place of birth
type city
['Ethiopia', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Sophia_Yilma property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3624
P276
Q18608583
USER
What is located at that city ?
(c(Q18608583),P276,Q3624)
action filter_type
action find_reverse
entity Q3624
relation P276
type Q18608583
[{'concept': 'Q18608583'}, 'P276', 'Q3624']
SELECT DISTINCT ?o WHERE { ?o property:P276 resource:Q3624 . ?o rdf:type ontology:Q18608583 }
Addis Ababa
action filter_type
action find_reverse
entity Addis Ababa
relation location
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'location', 'Addis Ababa']
SELECT DISTINCT ?o WHERE { ?o property:location resource:Addis_Ababa . ?o rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q27335568
SYSTEM
2016 Ethiopia International Badminton Championships
Q27335568
(c(Q18608583),P276,Q3624)
action filter_type
action find_reverse
entity Q3624
relation P276
type Q18608583
[ANSWER] is located at that city
[{'concept': 'Q18608583'}, 'P276', 'Q3624']
SELECT DISTINCT ?o WHERE { ?o property:P276 resource:Q3624 . ?o rdf:type ontology:Q18608583 }
2016 Ethiopia International Badminton Championships
2016 Ethiopia International Badminton Championships is located at that city
2016 Ethiopia International Badminton Championships
action filter_type
action find_reverse
entity Addis Ababa
relation location
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'location', 'Addis Ababa']
SELECT DISTINCT ?o WHERE { ?o property:location resource:Addis_Ababa . ?o rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3624
P190
Q56061
USER
Which administrative territories are twin cities of that city ?
(Q27335568,P190,c(Q56061))
action filter_type
action find
entity Q3624
relation P190
type Q56061
['Q27335568', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3624 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Addis Ababa
action filter_type
action find
entity Addis Ababa
relation sister city
type administrative territorial entity
['2016 Ethiopia International Badminton Championships', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Addis_Ababa property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956 Q62 Q1754
SYSTEM
Beijing, San Francisco, Stockholm
Q1754 Q33935 Q41843 Q34647 Q956 Q42148 Q1963 Q4115712 Q61 Q62 Q192225
(Q27335568,P190,c(Q56061))
action filter_type
action find
entity Q3624
relation P190
type Q56061
[ANSWERS] are twin cities of that city
['Q27335568', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3624 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Stockholm Tel Aviv Beersheba Johannesburg Beijing Chuncheon Khartoum Kaunas Washington, D.C. San Francisco Netanya
Beijing, San Francisco and Stockholm are twin cities of that city
Beijing San Francisco Stockholm
action filter_type
action find
entity Addis Ababa
relation sister city
type administrative territorial entity
['2016 Ethiopia International Badminton Championships', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Addis_Ababa property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3624 Q613120
P47
Q20667921
USER
How many french administrative divisions share border with Addis Ababa or Romans ?
(Q3624,P47,c(Q20667921)) (Q613120,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q3624
relation P47
type Q20667921
action filter_type
action find
entity Q613120
relation P47
type Q20667921
['Q3624', 'P47', {'concept': 'Q20667921'}] ['Q613120', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { resource:Q3624 property:P47 ?o . ?o rdf:type ontology:Q20667921 } UNION { ?o rdf:type ontology:Q20667921 . resource:Q613120 property:P47 ?o } }
Addis Ababa Romans
action count
action union
action filter_type
action find
entity Addis Ababa
relation shares border with
type type of french administrative division
action filter_type
action find
entity Romans
relation shares border with
type type of french administrative division
['Addis Ababa', 'shares border with', {'concept': 'type of french administrative division'}] ['Romans', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { resource:Addis_Ababa property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?o rdf:type ontology:type_of_french_administrative_division . resource:Romans property:shares_border_with ?o } }
[]
type of french administrative division
SYSTEM
7
Q540001 Q838362 Q853402 Q845837 Q601328 Q208439 Q596467
(Q3624,P47,c(Q20667921)) (Q613120,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q3624
relation P47
type Q20667921
action filter_type
action find
entity Q613120
relation P47
type Q20667921
[ANSWER]
['Q3624', 'P47', {'concept': 'Q20667921'}] ['Q613120', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { resource:Q3624 property:P47 ?o . ?o rdf:type ontology:Q20667921 } UNION { ?o rdf:type ontology:Q20667921 . resource:Q613120 property:P47 ?o } }
Neuville-les-Dames La Chapelle-du-Châtelard Saint-André-le-Bouchoux Sandrans Saint-Georges-sur-Renon Châtillon-sur-Chalaronne Condeissiat
7
action count
action union
action filter_type
action find
entity Addis Ababa
relation shares border with
type type of french administrative division
action filter_type
action find
entity Romans
relation shares border with
type type of french administrative division
['Addis Ababa', 'shares border with', {'concept': 'type of french administrative division'}] ['Romans', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { resource:Addis_Ababa property:shares_border_with ?o . ?o rdf:type ontology:type_of_french_administrative_division } UNION { ?o rdf:type ontology:type_of_french_administrative_division . resource:Romans property:shares_border_with ?o } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3624
P6
Q502895
USER
Which person has that city as its head of government ?
action filter_type
action find
entity Q3624
relation P6
type Q502895
SELECT DISTINCT ?c WHERE { resource:Q3624 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Addis Ababa
action filter_type
action find
entity Addis Ababa
relation head of government
type common name
SELECT DISTINCT ?c WHERE { resource:Addis_Ababa property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q16728581
SYSTEM
Diriba Kuma
Q16728581
action filter_type
action find
entity Q3624
relation P6
type Q502895
[ANSWER] has that city as its head of government
SELECT DISTINCT ?c WHERE { resource:Q3624 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Diriba Kuma
Diriba Kuma has that city as its head of government
Diriba Kuma
action filter_type
action find
entity Addis Ababa
relation head of government
type common name
SELECT DISTINCT ?c WHERE { resource:Addis_Ababa property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q425415
P159
Q515 Q43229 Q895526
USER
Which cities are the head office for lesser number of organizations or authority organs located than Panzhihua ?
(c(Q43229)|c(Q895526),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q43229
action find_reverse_tuple_counts
relation P159
type Q515
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q425415
relation P159
type Q43229
type Q895526
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P159 ?t . ?t rdf:type ontology:Q515 . ?h rdf:type ontology:Q43229 } UNION { ?h property:P159 ?t . ?h rdf:type ontology:Q895526 . ?t rdf:type ontology:Q515 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } . ?z property:P159 resource:Q425415 } } . FILTER ( ?y < ?d ) }
Panzhihua
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type organization
action find_reverse_tuple_counts
relation headquarters location
type city
type authority organ
action count
action filter_multi_types
action find_reverse
entity Panzhihua
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:headquarters_location ?t . ?t rdf:type ontology:city . ?h rdf:type ontology:organization } UNION { ?h property:headquarters_location ?t . ?h rdf:type ontology:authority_organ . ?t rdf:type ontology:city } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:organization ) ( ontology:authority_organ ) } } . ?z property:headquarters_location resource:Panzhihua } } . FILTER ( ?y < ?d ) }
[]
city organization authority organ
Q42622 Q270704 Q1000073
SYSTEM
Suzhou, Třebíč, Pelhřimov
Q386691 Q944051 Q496702 Q643878 Q10124 Q213278 Q873835 Q3974 Q34412 Q703158 Q835227 Q849439 Q1000069 Q852018 Q318047 Q1000060 Q460835 Q60037 Q278877 Q857256 Q217432 Q827041 Q86536 Q860647 Q686775 Q4024 Q732851 Q499493 Q840888 Q10393 Q25282 Q609350 Q664895 Q41283 Q27860 Q3806 Q42651 Q209785 Q360326 Q838652 Q68862 Q695895 Q646818 Q335444 Q385982 Q52607 Q766168 Q774952 Q2427117 Q392692 Q59173 Q273880 Q320943 Q734416 Q861246 Q985465 Q14932 Q71266 Q846338 Q816728 Q696777 Q58570 Q1009095 Q653389 Q1019083 Q41474 Q853821 Q57951 Q59100 Q637913 Q734520 Q653372 Q169127 Q622620 Q696388 Q3994 Q1000029 Q1017251 Q74957 Q653446 Q8131 Q362959 Q210493 Q3214 Q83786 Q505208 Q605256 Q374477 Q181276 Q220445 Q330409 Q317834 Q192271 Q58710 Q719 Q375651 Q69060 Q75961 Q3069 Q592065 Q3104 Q394453 Q175197 Q216077 Q321778 Q461020 Q507846 Q375097 Q695930 Q5088 Q178878 Q390413 Q203027 Q331577 Q4348183 Q179608 Q213263 Q425492 Q851411 Q607625 Q13630 Q57719 Q496072 Q198370 Q73073 Q1000073 Q12245 Q117676 Q16959 Q386635 Q194087 Q291745 Q629849 Q986070 Q4346 Q515573 Q8854 Q838660 Q243859 Q8247 Q694308 Q646805 Q182378 Q188082 Q1889017 Q161176 Q460829 Q167668 Q270704 Q167109 Q2509609 Q459787 Q15734 Q209683 Q163888 Q207030 Q207408 Q877941 Q316841 Q873583 Q237699 Q1757191 Q1209 Q3904 Q330007 Q1936067 Q615138 Q373101 Q14819 Q5285 Q14182 Q75026 Q104036 Q693237 Q72990 Q7568 Q44244 Q92324 Q657642 Q1000033 Q694317 Q502486 Q56759 Q641491 Q7027 Q57931 Q426130 Q606212 Q155975 Q242108 Q3915 Q75110 Q460812 Q665097 Q174461 Q385591 Q1017806 Q17182 Q124375 Q2180 Q392624 Q75203 Q239597 Q850332 Q861621 Q177149 Q389562 Q850344 Q62723 Q496319 Q820496 Q646834 Q427557 Q844138 Q423371 Q820725 Q3004 Q2092152 Q740853 Q645567 Q207876 Q384926 Q860659 Q385779 Q518992 Q373564 Q137271 Q1010158 Q1473 Q658058 Q1852569 Q1478 Q824009 Q817965 Q3958 Q3955 Q6829 Q8156 Q14440 Q404599 Q42007 Q1379299 Q1856 Q497341 Q844052 Q916156 Q4007 Q242874 Q694154 Q492366 Q696407 Q58210 Q214942 Q838672 Q374511 Q4174 Q847565 Q386651 Q317847 Q1826 Q47916 Q80484 Q58576 Q328605 Q71247 Q75336 Q326956 Q243293 Q571051 Q3046 Q594275 Q368929 Q372791 Q463171 Q502407 Q170454 Q211243 Q210661 Q736897 Q496080 Q217698 Q386322 Q207311 Q3852 Q485581 Q485583 Q869027 Q206872 Q390792 Q5972 Q1643 Q1645 Q329996 Q11443 Q855059 Q7033 Q57906 Q11444 Q3866 Q34405 Q496405 Q1723 Q208863 Q427265 Q470369 Q2209 Q2200 Q533241 Q1013864 Q999916 Q42622 Q633996 Q72778 Q360235 Q183584 Q187136 Q5869 Q508591 Q570937 Q328651 Q830411 Q1019675 Q851680 Q740863 Q75091 Q634022 Q189823 Q242882 Q40626 Q242885 Q146317 Q825166 Q502209 Q5784 Q273798 Q187821 Q270814 Q20921 Q107401 Q57944 Q986082 Q189761 Q189769 Q57948 Q236197 Q954569 Q57866 Q2880 Q184998 Q5217 Q696643 Q269634 Q285488 Q819603 Q851155 Q210628 Q158523 Q168648 Q850676 Q551658 Q20073 Q990352 Q3936 Q3931 Q3933 Q3200 Q696412 Q1205932 Q823927 Q386661 Q1019956 Q386668 Q25475 Q523956 Q328619 Q786762 Q4060 Q71339 Q542154 Q733979 Q508670 Q857285 Q1000101 Q842923 Q92277 Q59132 Q873596 Q329754 Q721163 Q390817 Q187812 Q125604 Q1088790
(c(Q43229)|c(Q895526),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q43229
action find_reverse_tuple_counts
relation P159
type Q515
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q425415
relation P159
type Q43229
type Q895526
[ANSWERS] are the head office for lesser number of organizations or authority organs located than Panzhihua
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P159 ?t . ?t rdf:type ontology:Q515 . ?h rdf:type ontology:Q43229 } UNION { ?h property:P159 ?t . ?h rdf:type ontology:Q895526 . ?t rdf:type ontology:Q515 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } } . ?z property:P159 resource:Q425415 } } . FILTER ( ?y < ?d ) }
Niiza City Horní Jiřetín Goshogawara Settsu Cilegon Kodaira Tomioka Landshut Foshan Velké Meziříčí Ineu Kopřivnice Lovosice Izumisano Narashino Humpolec Marugame Zalaegerszeg Český Těšín Hasuda Port Harcourt Beroun Komae City Seki Fuchū Frankfurt (Oder) Mioveni Seto Ina Bogor Danang Kawanishi Uherský Brod Gwangju Jayapura Tübingen Wuxi Ichikawa Tongling Nakano Longyan Urasoe Towada Itami Herend Mar del Plata Nagykáta Matsubara Mníšek pod Brdy Šumperk Huizhou Beppu Matsudo Tsuruoka Nagaokakyō Rakovník Langen (Hessen) Yichang Suwa Kyōtanabe Nisshin Handan Otrokovice Nobeoka Napajedla Kingstown Mizunami Marienberg Shantou Tōgane Isehara Higashihiroshima Chitila Tōkai Toyooka Kempten Kraslice Nová Paka Anshan Tsuchiura Palembang Xinyu Yantai Cottbus Shimla Ouarzazate Shimada Ashikaga Szolnok Kuching Ústí nad Orlicí Kokubunji City Guiyang Langfang Saginaw Valašské Meziříčí Xining Biñan Bottrop Ginowan Koblenz Žďár nad Sázavou Kunovice Jiujiang Hodonín Imabari Sebiș Tiszaújváros Hirakawa Durgapur Békéscsaba Tomakomai Tsu Abrud Athkatla Nanning Tama City Luzhou Imizu Tamási Olbia Xuzhou Fujinomiya Zibo Yuncheng Pelhřimov Stanley Viseu Ürümqi Hikone Hirosaki Ílhavo Hatvan Chrudim Waren (Müritz) Hanzhong Las Piñas Chino Abiko Biratnagar Habikino Nanto Putrajaya Český Krumlov Mandaue Fukushima Matsusaka Liepāja Třebíč Eger Sunchales Iloilo City Izumi Tokoname Ageo Ziyang Vác Echizen Karlovo Kashiwara Aizuwakamatsu Krásná Lípa Free Hanseatic City of Bremen Mbabane Kunitachi City Smržovka Soběslav Rizhao Freiberg Tarlac Banjarmasin Fushun Ventspils Chitose Jincheng Yogyakarta Santa Fe Tonghua Villány Lanškroun Chōshi Mobara Olongapo Kakamigahara Straubing Taizhou Mianyang Fremantle Kutná Hora Otaru Antananarivo Dandong Naruto Minoh Ranchi Ōmura Nové Sedlo Parañaque Hódmezővásárhely Malolos Štětí Liaoyang Neratovice Tagawa Nankoku Obihiro Inazawa Sakado General Trias Kashihara Kōnan Asaka Ya'an Ryūgasaki Ștei Nayoro Ingolstadt Velešín Szigetszentmiklós Törökbálint Yamaguchi Ōgaki Gyōda Tendō Călan Liaocheng Kota Kinabalu Letohrad Davao City Wakō City Týnec nad Sázavou Caloocan Sayama Ikeda Neubrandenburg Weimar Speyer Bandar Lampung Iquique Luohe Szombathely Smyrna Malaybalay Xianyang Nakatsugawa Ghimbav Rosenheim Koganei City Moriguchi Norden Hakusan Jinhua Kazincbarcika Okaya Oyama Emden Hanyū City Iwata Inagi Tagbilaran Lucknow Patna Xingtai Iizuka Jingzhou Chaoyang Uji Sekondi-Takoradi Tsubame Pforzheim General Santos Jindřichův Hradec Jining Handa Kiyosu Agartala Yinchuan Musashino Hatsukaichi Kadoma Weifang Ōtawara Suzuka Worms Aveiro Anan Tsurugashima Ajka Kanuma Medan Taguig Cagayan de Oro Ōdate Kediri Sakaide Nordhausen Yangzhou Madiun Dodoma Jingdezhen Qujing Batangas City Hachiōji City Yibin Kolín Roxas Tuguegarao Shimotsuma Hluk Vysoké Mýto Suzhou Kameoka Taiyuan Ma'anshan Lanzhou Luoyang Lhasa Police nad Metují Ordos City Yachiyo Körmend Nové Město nad Metují Kazo Česká Lípa Benxi Kiryū Haikou Nishi-Tōkyō City Tacloban Mitaka City Veszprém Izumo Hōfu Lhokseumawe Narita Tatabánya Ishinomaki Daejeon Sivas Annaberg-Buchholz Litvínov Szekszárd Salgótarján Aue Hino City Vyškov Yancheng Hamm Kaposvár Bacolod Kashiba Tachikawa City Iligan Munakata Kasai Machida City Ehingen Sopron Blansko Vila Nova de Famalicão Hohenstein-Ernstthal Kizugawa Bamberg Brandenburg an der Havel Celle Salzgitter Izumi Takizawa Higashine Fujisawa Moravské Budějovice Daitō Batumi Auerbach in der Oberpfalz Noda Hroznětín Hürth Xiaogan Koronadal Eniwa Chișineu-Criș Kitamoto Vlašim Pomáz Jilin City Jiangmen Niimi Kiyose City Itō Ichinoseki Dunaújváros Găești Zsámbék
Suzhou, Třebíč and Pelhřimov are the head office for lesser number of organizations or authority organs located than Panzhihua
Suzhou Třebíč Pelhřimov
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type organization
action find_reverse_tuple_counts
relation headquarters location
type city
type authority organ
action count
action filter_multi_types
action find_reverse
entity Panzhihua
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:headquarters_location ?t . ?t rdf:type ontology:city . ?h rdf:type ontology:organization } UNION { ?h property:headquarters_location ?t . ?h rdf:type ontology:authority_organ . ?t rdf:type ontology:city } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:organization ) ( ontology:authority_organ ) } } . ?z property:headquarters_location resource:Panzhihua } } . FILTER ( ?y < ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7033
P159
Q515 Q43229 Q895526
USER
And how about Nordhausen?
(c(Q43229)|c(Q895526),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q43229
action find_reverse_tuple_counts
relation P159
type Q515
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q7033
relation P159
type Q43229
type Q895526
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?x WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?p rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P159 resource:Q7033 . { { ?a rdf:type ontology:Q895526 } UNION { ?a rdf:type ontology:Q43229 } } } } . FILTER ( ?v < ?r ) }
Nordhausen
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type organization
action find_reverse_tuple_counts
relation headquarters location
type city
type authority organ
action count
action filter_multi_types
action find_reverse
entity Nordhausen
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?x WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?p rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:headquarters_location resource:Nordhausen . { { ?a rdf:type ontology:authority_organ } UNION { ?a rdf:type ontology:organization } } } } . FILTER ( ?v < ?r ) }
[]
city organization authority organ
Q270704 Q25475 Q146317
SYSTEM
Třebíč, Batumi, Veszprém
Q213278 Q835227 Q318047 Q60037 Q609350 Q27860 Q209785 Q766168 Q2427117 Q273880 Q14932 Q653389 Q853821 Q637913 Q696388 Q1017251 Q8131 Q83786 Q505208 Q374477 Q181276 Q317834 Q192271 Q592065 Q216077 Q507846 Q178878 Q390413 Q4348183 Q179608 Q213263 Q13630 Q386635 Q4346 Q838660 Q243859 Q8247 Q646805 Q188082 Q460829 Q270704 Q167109 Q15734 Q207408 Q316841 Q237699 Q1209 Q330007 Q1936067 Q5285 Q693237 Q72990 Q657642 Q641491 Q665097 Q385591 Q124375 Q2180 Q850332 Q389562 Q850344 Q62723 Q820496 Q646834 Q427557 Q844138 Q820725 Q645567 Q658058 Q824009 Q3955 Q6829 Q8156 Q14440 Q42007 Q1379299 Q1856 Q497341 Q242874 Q326956 Q368929 Q210661 Q386322 Q3866 Q496405 Q183584 Q5869 Q508591 Q830411 Q75091 Q146317 Q502209 Q273798 Q187821 Q270814 Q57944 Q189761 Q189769 Q184998 Q696643 Q819603 Q158523 Q168648 Q3931 Q696412 Q1205932 Q823927 Q386661 Q1019956 Q25475 Q786762 Q542154 Q733979 Q508670 Q842923 Q92277 Q59132 Q329754 Q721163 Q390817 Q187812 Q1088790
(c(Q43229)|c(Q895526),P159,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q43229
action find_reverse_tuple_counts
relation P159
type Q515
type Q895526
action count
action filter_multi_types
action find_reverse
entity Q7033
relation P159
type Q43229
type Q895526
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?x WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q895526 ) } . ?p rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:P159 resource:Q7033 . { { ?a rdf:type ontology:Q895526 } UNION { ?a rdf:type ontology:Q43229 } } } } . FILTER ( ?v < ?r ) }
Kodaira Ineu Narashino Zalaegerszeg Kawanishi Jayapura Ichikawa Nagykáta Mníšek pod Brdy Beppu Langen (Hessen) Nobeoka Mizunami Tōgane Toyooka Nová Paka Palembang Shimla Ouarzazate Ashikaga Szolnok Kokubunji City Guiyang Ginowan Jiujiang Sebiș Békéscsaba Tomakomai Athkatla Nanning Tama City Olbia Hikone Waren (Müritz) Chino Abiko Biratnagar Nanto Český Krumlov Matsusaka Třebíč Eger Izumi Vác Karlovo Aizuwakamatsu Free Hanseatic City of Bremen Kunitachi City Smržovka Tarlac Chitose Jincheng Villány Kakamigahara Minoh Ōmura Hódmezővásárhely Malolos Tagawa Inazawa Sakado General Trias Kōnan Asaka Ya'an Ryūgasaki Nayoro Törökbálint Wakō City Sayama Weimar Speyer Bandar Lampung Iquique Szombathely Smyrna Malaybalay Xianyang Koganei City Uji Jindřichův Hradec Musashino Ōtawara Dodoma Qujing Lanzhou Lhasa Police nad Metují Körmend Benxi Veszprém Hōfu Narita Tatabánya Ishinomaki Annaberg-Buchholz Szekszárd Salgótarján Kaposvár Kashiba Munakata Ehingen Sopron Brandenburg an der Havel Izumi Takizawa Higashine Fujisawa Moravské Budějovice Batumi Hroznětín Koronadal Eniwa Chișineu-Criș Pomáz Jilin City Jiangmen Kiyose City Itō Ichinoseki Dunaújváros Zsámbék
Třebíč Batumi Veszprém
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type organization
action find_reverse_tuple_counts
relation headquarters location
type city
type authority organ
action count
action filter_multi_types
action find_reverse
entity Nordhausen
relation headquarters location
type organization
type authority organ
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?x WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:authority_organ ) } . ?p rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a property:headquarters_location resource:Nordhausen . { { ?a rdf:type ontology:authority_organ } UNION { ?a rdf:type ontology:organization } } } } . FILTER ( ?v < ?r ) }
[]