Simple Question (Direct)
Simple Question
Q5688289
P27
Q15617994
USER
Which administrative territory is the native country of Haziq Zikri Elias ?
(Q5688289,P27,c(Q15617994))
action filter_type
action find
entity Q5688289
relation P27
type Q15617994
['Q5688289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5688289 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Haziq Zikri Elias
action filter_type
action find
entity Haziq Zikri Elias
relation country of citizenship
type designation for an administrative territorial entity
['Haziq Zikri Elias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Haziq_Zikri_Elias property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833
SYSTEM
Malaysia
Q833
(Q5688289,P27,c(Q15617994))
action filter_type
action find
entity Q5688289
relation P27
type Q15617994
[ANSWER] is the native country of Haziq Zikri Elias
['Q5688289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5688289 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Malaysia
Malaysia is the native country of Haziq Zikri Elias
Malaysia
action filter_type
action find
entity Haziq Zikri Elias
relation country of citizenship
type designation for an administrative territorial entity
['Haziq Zikri Elias', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Haziq_Zikri_Elias property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q833
P551
Q502895
USER
Which person lives in that administrative territory ?
(c(Q502895),P551,Q833)
action filter_type
action find_reverse
entity Q833
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q833']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q833 . ?q rdf:type ontology:Q502895 }
Malaysia
action filter_type
action find_reverse
entity Malaysia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Malaysia']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Malaysia . ?q rdf:type ontology:common_name }
[]
common name
Q18387951
SYSTEM
Cyril E. S. Perera
Q18387951
(c(Q502895),P551,Q833)
action filter_type
action find_reverse
entity Q833
relation P551
type Q502895
[ANSWER] lives in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q833']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q833 . ?q rdf:type ontology:Q502895 }
Cyril E. S. Perera
Cyril E. S. Perera lives in that administrative territory
Cyril E. S. Perera
action filter_type
action find_reverse
entity Malaysia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Malaysia']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Malaysia . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q853176 Q833
P36
Q515
USER
Which cities are known as the capital of Malaysia or Füzesabony  District ?
OR((Q833,P36,c(Q515)), (Q853176,P36,c(Q515)))
action filter_type
action union
action find
entity Q833
relation P36
action find
entity Q853176
relation P36
type Q515
{'OR': [['Q833', 'P36', {'concept': 'Q515'}], ['Q853176', 'P36', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { ?f property:P36 ?x . VALUES ( ?f ) { ( resource:Q853176 ) ( resource:Q833 ) } } . ?x rdf:type ontology:Q515 }
Füzesabony  District Malaysia
action filter_type
action union
action find
entity Malaysia
relation capital
action find
entity Füzesabony  District
relation capital
type city
{'OR': [['Malaysia', 'capital', {'concept': 'city'}], ['Füzesabony  District', 'capital', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { ?f property:capital ?x . VALUES ( ?f ) { ( resource:Füzesabony__District ) ( resource:Malaysia ) } } . ?x rdf:type ontology:city }
[]
city
Q911642 Q1865
SYSTEM
Füzesabony, Kuala Lumpur
Q911642 Q1865
OR((Q833,P36,c(Q515)), (Q853176,P36,c(Q515)))
action filter_type
action union
action find
entity Q833
relation P36
action find
entity Q853176
relation P36
type Q515
[ANSWERS] are known as the capital of Malaysia or Füzesabony District
{'OR': [['Q833', 'P36', {'concept': 'Q515'}], ['Q853176', 'P36', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { ?f property:P36 ?x . VALUES ( ?f ) { ( resource:Q853176 ) ( resource:Q833 ) } } . ?x rdf:type ontology:Q515 }
Füzesabony Kuala Lumpur
Füzesabony and Kuala Lumpur are known as the capital of Malaysia or Füzesabony District
Füzesabony Kuala Lumpur
action filter_type
action union
action find
entity Malaysia
relation capital
action find
entity Füzesabony  District
relation capital
type city
{'OR': [['Malaysia', 'capital', {'concept': 'city'}], ['Füzesabony  District', 'capital', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { ?f property:capital ?x . VALUES ( ?f ) { ( resource:Füzesabony__District ) ( resource:Malaysia ) } } . ?x rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
How many cities are sister town of exactly 4 cities ?
(c(Q515),P190,c(Q515))
action count
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 4
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { ?w property:P190 ?n . ?w rdf:type ontology:Q515 . ?n rdf:type ontology:Q515 } GROUP BY ?w } . FILTER ( ?q = 4 ) }
action count
action equal
action find_tuple_counts
relation sister city
type city
type city
value 4
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { ?w property:sister_city ?n . ?w rdf:type ontology:city . ?n rdf:type ontology:city } GROUP BY ?w } . FILTER ( ?q = 4 ) }
[]
city city
SYSTEM
7
Q20934 Q57958 Q23482 Q837157 Q9005 Q839796 Q456
(c(Q515),P190,c(Q515))
action count
action equal
action find_tuple_counts
relation P190
type Q515
type Q515
value 4
[ANSWER]
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { ?w property:P190 ?n . ?w rdf:type ontology:Q515 . ?n rdf:type ontology:Q515 } GROUP BY ?w } . FILTER ( ?q = 4 ) }
Incheon Zhenjiang Marseille Covasna Brussels Borsec Lyon
7
action count
action equal
action find_tuple_counts
relation sister city
type city
type city
value 4
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { ?w property:sister_city ?n . ?w rdf:type ontology:city . ?n rdf:type ontology:city } GROUP BY ?w } . FILTER ( ?q = 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q12737077 Q22676587 Q15617994
USER
Which administrative territories have min number of occupations or monarchic systems as the form of government ?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action argmin
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { { ?a property:P122 ?f . ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q12737077 } UNION { ?a property:P122 ?f . ?f rdf:type ontology:Q22676587 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?x ) WHERE { { ?n property:P122 ?e . ?n rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q12737077 } UNION { ?n property:P122 ?e . ?e rdf:type ontology:Q22676587 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?x = ?b ) }
action argmin
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { { ?a property:basic_form_of_government ?f . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:occupation } UNION { ?a property:basic_form_of_government ?f . ?f rdf:type ontology:monarchic_system . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?x ) WHERE { { ?n property:basic_form_of_government ?e . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:occupation } UNION { ?n property:basic_form_of_government ?e . ?e rdf:type ontology:monarchic_system . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?x = ?b ) }
[]
occupation monarchic system designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action argmin
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
[ANSWERS] have min number of occupations or monarchic systems as the form of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { { ?a property:P122 ?f . ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q12737077 } UNION { ?a property:P122 ?f . ?f rdf:type ontology:Q22676587 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?x ) WHERE { { ?n property:P122 ?e . ?n rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q12737077 } UNION { ?n property:P122 ?e . ?e rdf:type ontology:Q22676587 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?x = ?b ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have min number of occupations or monarchic systems as the form of government
Italy Brazil United States of America
action argmin
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { { ?a property:basic_form_of_government ?f . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:occupation } UNION { ?a property:basic_form_of_government ?f . ?f rdf:type ontology:monarchic_system . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?x ) WHERE { { ?n property:basic_form_of_government ?e . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:occupation } UNION { ?n property:basic_form_of_government ?e . ?e rdf:type ontology:monarchic_system . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?x = ?b ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P172
Q502895
USER
Which people have Italy, Brazil and United States of America as his/her ethnicity ?
(c(Q502895),P172,Q38) (c(Q502895),P172,Q155) (c(Q502895),P172,Q30)
action union
action filter_type
action find_reverse
entity Q38
relation P172
type Q502895
action filter_type
action find_reverse
entity Q155
relation P172
type Q502895
action filter_type
action find_reverse
entity Q30
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q38'] [{'concept': 'Q502895'}, 'P172', 'Q155'] [{'concept': 'Q502895'}, 'P172', 'Q30']
SELECT DISTINCT ?e WHERE { VALUES ( ?v ) { ( resource:Q155 ) ( resource:Q38 ) } . ?e property:P172 ?v }
Italy Brazil United States of America
action union
action filter_type
action find_reverse
entity Italy
relation ethnic group
type common name
action filter_type
action find_reverse
entity Brazil
relation ethnic group
type common name
action filter_type
action find_reverse
entity United States of America
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Italy'] [{'concept': 'common name'}, 'ethnic group', 'Brazil'] [{'concept': 'common name'}, 'ethnic group', 'United States of America']
SELECT DISTINCT ?e WHERE { VALUES ( ?v ) { ( resource:Brazil ) ( resource:Italy ) } . ?e property:ethnic_group ?v }
[]
common name
Q312614 Q1617040 Q1339445
SYSTEM
Alessandro Petacchi, Heywood Broun, Rolf Saxon
Q1387658 Q312614 Q5096249 Q30865 Q6794903 Q6789001 Q4648425 Q2352411 Q6248626 Q6498788 Q1752858 Q7827487 Q702510 Q6532530 Q4881771 Q7166358 Q7928107 Q4515626 Q5371265 Q7558698 Q6286945 Q1309248 Q1617040 Q5550870 Q6451062 Q460312 Q1121923 Q5497389 Q6229442 Q881282 Q1120176 Q1282481 Q4411969 Q1339445 Q467925
(c(Q502895),P172,Q38) (c(Q502895),P172,Q155) (c(Q502895),P172,Q30)
action union
action filter_type
action find_reverse
entity Q38
relation P172
type Q502895
action filter_type
action find_reverse
entity Q155
relation P172
type Q502895
action filter_type
action find_reverse
entity Q30
relation P172
type Q502895
[ANSWERS] have Italy, Brazil and United States of America as his/her ethnicity
[{'concept': 'Q502895'}, 'P172', 'Q38'] [{'concept': 'Q502895'}, 'P172', 'Q155'] [{'concept': 'Q502895'}, 'P172', 'Q30']
SELECT DISTINCT ?e WHERE { VALUES ( ?v ) { ( resource:Q155 ) ( resource:Q38 ) } . ?e property:P172 ?v }
Francesco D'Macho Alessandro Petacchi Chicken John Eike Batista Max Jones Matt Majors A. T. Mann Jason Ridge John Michael Ferrari Laura Chang Eric Ries Tory Mason Jennifer 8. Lee Jenny Lawson Bela Hubbard Pepper Jay Vidkid Timo C. J. Chivers Emil Guillermo Solomon Lee Van Meter, Jr. Joseph Sexton Ray Dragon Heywood Broun Gerit Quealy Kyle Bradford Matthew Rush Don Yenko Frederick Blantford Bate John Dillard Blake Riley Ricky Sinz Jake Deckard Bruce Seven Rolf Saxon Desireé Cousteau
Alessandro Petacchi, Heywood Broun and Rolf Saxon have Italy, Brazil and United States of America as his/her ethnicity
Alessandro Petacchi Heywood Broun Rolf Saxon
action union
action filter_type
action find_reverse
entity Italy
relation ethnic group
type common name
action filter_type
action find_reverse
entity Brazil
relation ethnic group
type common name
action filter_type
action find_reverse
entity United States of America
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Italy'] [{'concept': 'common name'}, 'ethnic group', 'Brazil'] [{'concept': 'common name'}, 'ethnic group', 'United States of America']
SELECT DISTINCT ?e WHERE { VALUES ( ?v ) { ( resource:Brazil ) ( resource:Italy ) } . ?e property:ethnic_group ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1865
P355
Q43229
USER
Which organization is Kuala Lumpur the subsidiary of ?
(c(Q43229),P355,Q1865)
action filter_type
action find_reverse
entity Q1865
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q1865']
SELECT DISTINCT ?c WHERE { ?c property:P355 resource:Q1865 . ?c rdf:type ontology:Q43229 }
Kuala Lumpur
action filter_type
action find_reverse
entity Kuala Lumpur
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Kuala Lumpur']
SELECT DISTINCT ?c WHERE { ?c property:subsidiary resource:Kuala_Lumpur . ?c rdf:type ontology:organization }
[]
organization
Q17142365
SYSTEM
Infobip
Q17142365
(c(Q43229),P355,Q1865)
action filter_type
action find_reverse
entity Q1865
relation P355
type Q43229
[ANSWER] is Kuala Lumpur the subsidiary of
[{'concept': 'Q43229'}, 'P355', 'Q1865']
SELECT DISTINCT ?c WHERE { ?c property:P355 resource:Q1865 . ?c rdf:type ontology:Q43229 }
Infobip
Infobip is Kuala Lumpur the subsidiary of
Infobip
action filter_type
action find_reverse
entity Kuala Lumpur
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Kuala Lumpur']
SELECT DISTINCT ?c WHERE { ?c property:subsidiary resource:Kuala_Lumpur . ?c rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1865
P276
Q167170
USER
Which multi-sport events are located at that city ?
(c(Q167170),P276,Q17142365)
action filter_type
action find_reverse
entity Q1865
relation P276
type Q167170
[{'concept': 'Q167170'}, 'P276', 'Q17142365']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q1865 . ?k rdf:type ontology:Q167170 }
Kuala Lumpur
action filter_type
action find_reverse
entity Kuala Lumpur
relation location
type multi-sport event
[{'concept': 'multi-sport event'}, 'location', 'Infobip']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Kuala_Lumpur . ?k rdf:type ontology:multi-sport_event }
[]
multi-sport event
Q389084 Q965250 Q4630350
SYSTEM
1977 Southeast Asian Games, 2001 Southeast Asian Games, 2017 Southeast Asian Games
Q389084 Q965250 Q4630350 Q1317796 Q1370007
(c(Q167170),P276,Q17142365)
action filter_type
action find_reverse
entity Q1865
relation P276
type Q167170
[ANSWERS] are located at that city
[{'concept': 'Q167170'}, 'P276', 'Q17142365']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q1865 . ?k rdf:type ontology:Q167170 }
1977 Southeast Asian Games 2001 Southeast Asian Games 2017 Southeast Asian Games 1971 Southeast Asian Peninsular Games 1989 Southeast Asian Games
1977 Southeast Asian Games, 2001 Southeast Asian Games and 2017 Southeast Asian Games are located at that city
1977 Southeast Asian Games 2001 Southeast Asian Games 2017 Southeast Asian Games
action filter_type
action find_reverse
entity Kuala Lumpur
relation location
type multi-sport event
[{'concept': 'multi-sport event'}, 'location', 'Infobip']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Kuala_Lumpur . ?k rdf:type ontology:multi-sport_event }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7578
P36
Q515 Q1048835 Q7275
USER
How many cities are the capitals of lesser number of political territories and states than Jambi ?
(c(Q1048835)|c(Q7275),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q7578
relation P36
type Q1048835
type Q7275
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?q rdf:type ?b } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { { ?h rdf:type ontology:Q1048835 } UNION { ?h rdf:type ontology:Q7275 } } . ?h property:P36 resource:Q7578 } } . FILTER ( ?d < ?l ) }
Jambi
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type state
action count
action filter_multi_types
action find_reverse
entity Jambi
relation capital
type political territorial entity
type state
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?q rdf:type ?b } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { { ?h rdf:type ontology:political_territorial_entity } UNION { ?h rdf:type ontology:state } } . ?h property:capital resource:Jambi } } . FILTER ( ?d < ?l ) }
[]
city political territorial entity state
SYSTEM
430
Q384403 Q373542 Q780731 Q843001 Q843006 Q843009 Q392692 Q861296 Q637647 Q240026 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q379030 Q496667 Q240504 Q281371 Q258884 Q320950 Q8254 Q43199 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q932806 Q377834 Q295367 Q653389 Q851097 Q861292 Q917888 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q14424 Q304803 Q853744 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q834567 Q851675 Q3744 Q842908 Q23482 Q505208 Q911530 Q181276 Q3692 Q847546 Q330409 Q847543 Q854956 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q602976 Q793405 Q375097 Q911558 Q629471 Q209766 Q178878 Q5316658 Q203027 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q843018 Q1000091 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q117676 Q16959 Q650015 Q30340 Q225257 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q235 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q288413 Q167668 Q4469 Q1519 Q270704 Q167109 Q478038 Q734378 Q585630 Q855529 Q7248 Q207408 Q1107569 Q316841 Q6602 Q602042 Q237699 Q207406 Q7856199 Q3947359 Q325164 Q305640 Q3307925 Q740810 Q193721 Q861221 Q911667 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q3861 Q43433 Q846652 Q3859 Q155975 Q674311 Q3915 Q719051 Q863747 Q841125 Q954596 Q487439 Q174461 Q385591 Q124375 Q954611 Q854940 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q208471 Q2337 Q633789 Q8158 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q911628 Q632146 Q52564 Q4905 Q207876 Q188082 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q680743 Q3852 Q564234 Q488990 Q668318 Q6829 Q260522 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q890122 Q855016 Q3787 Q855011 Q513417 Q480421 Q823907 Q7070 Q642031 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1822 Q1533 Q200077 Q47916 Q3183016 Q328601 Q2410422 Q191097 Q2526233 Q946769 Q846351 Q739304 Q789233 Q819103 Q368929 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q193719 Q170454 Q545923 Q211243 Q841603 Q656603 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q485581 Q755698 Q390796 Q271917 Q1008737 Q79535 Q1720 Q1721 Q390798 Q3904 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q843014 Q604516 Q3768 Q732300 Q789510 Q470369 Q1863 Q2203 Q430207 Q756273 Q188247 Q23768 Q206872 Q737634 Q1355 Q146363 Q3167 Q208818 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q250733 Q146317 Q693264 Q5781 Q6582 Q187821 Q502205 Q203344 Q1686 Q3355306 Q189761 Q189769 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q727383 Q2061 Q184998 Q854965 Q456 Q755701 Q267894 Q679224 Q168648 Q843043 Q850676 Q36063 Q7003 Q3931 Q3751 Q3616 Q42666 Q3612 Q933638 Q25475 Q18575 Q613813 Q375862 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q911642 Q187284 Q158245 Q284480 Q632080 Q207309 Q187812
(c(Q1048835)|c(Q7275),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q7578
relation P36
type Q1048835
type Q7275
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?q rdf:type ?b } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { { ?h rdf:type ontology:Q1048835 } UNION { ?h rdf:type ontology:Q7275 } } . ?h property:P36 resource:Q7578 } } . FILTER ( ?d < ?l ) }
Litoměřice Szigetvár Szeghalom Csorna Nagykálló Marcali Šumperk Nōgata Pásztó Jászapáti Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Zalaszentgrót Muroran Makó Jászberény Bélapátfalva Trutnov Dharan Omaha Nagykáta Kunhegyes Gyula Nagykőrös Zirc Érd Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Polgárdi Szentes Nagyatád Nobeoka Iiyama Hitoyoshi Vinaròs Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Nagykanizsa Mezőcsát Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Bonyhád Takahashi Castro Gyál Marseille Ouarzazate Hajdúhadház Szolnok Riyadh Saiki Ústí nad Orlicí Katsuyama Ibrány Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Klatovy Berettyóújfalu Tiszaújváros Putnok Kiskunmajsa Saga Békéscsaba Durjaya Tsu Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Kunszentmiklós Rychnov nad Kněžnou Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Viseu Ürümqi Pannonhalma Zhengzhou Rupea Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Monaco Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Tapolca Liepāja Talca Abu Dhabi Třebíč Eger Kiskunfélegyháza Yonezawa Yanagawa Kistelek Bukittinggi Vác Kerma Karlovo Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Turquoise Mountain San Ignacio Kayes Abashiri Mianwali City Békés Tábor Nakatsu Elek Miami Sellye Mátészalka Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Doha Chandigarh Cigánd Kigali Kutná Hora Kisvárda Antananarivo Artsyz Uda Tsuyama Havlíčkův Brod Oral Ranchi Ōmura Hódmezővásárhely Jeseník Dabas Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Kaifeng Smolensk Dombóvár Metro, Indonesia Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Český Krumlov Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Balatonfüred Worms Annaka Kostanay Sárospatak Speyer Bácsalmás Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Hanoi Edmonton Kiskunhalas Bolhrad Csurgó Abuja Heves Vsetín Abony HigashiMatsuyama Eisenach Gárdony Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Baguio Caracas Morioka Lucknow Ungaran Hirado San Marcos, Costa Rica Tachov Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Berezivka Jindřichův Hradec Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Cheb Agartala Tatarbunary Yinchuan Tiszakécske Jičín Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Aveiro Svitavy Orosháza Kushiro Semily Fort Smith Mainz Wiesbaden Szentendre Mbabane Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Arica Komló Karcag Sarkad Las Vegas Ajka Rozdilna Bangalore Most Siegen Fuchū Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Wa Veszprém Iwamizawa Langsa Carcassonne Tatabánya Nemuro Baja Butuan Fukuchiyama Szekszárd Salgótarján Strakonice Hagi Vyškov Santiago Karatsu Xining Sokolov Yellowknife Kaposvár Lenti Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Sárvár Blansko Vecsés Dijon Brandenburg an der Havel Praia Tehran Shaoxing Antofagasta Mezőkövesd Batumi Tucson Kőszeg Nyíradony Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Náchod Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Füzesabony Hurghada Písek Bóly Tét Tokushima Dunaújváros
430
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type state
action count
action filter_multi_types
action find_reverse
entity Jambi
relation capital
type political territorial entity
type state
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?q rdf:type ?b } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { { ?h rdf:type ontology:political_territorial_entity } UNION { ?h rdf:type ontology:state } } . ?h property:capital resource:Jambi } } . FILTER ( ?d < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3042
P36
Q515 Q1048835 Q7275
USER
And how about Offenbach am Main?
(c(Q1048835)|c(Q7275),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q3042
relation P36
type Q1048835
type Q7275
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?z rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P36 resource:Q3042 . { { ?h rdf:type ontology:Q1048835 } UNION { ?h rdf:type ontology:Q7275 } } } } . FILTER ( ?f < ?j ) }
Offenbach am Main
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type state
action count
action filter_multi_types
action find_reverse
entity Offenbach am Main
relation capital
type political territorial entity
type state
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?z rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:capital resource:Offenbach_am_Main . { { ?h rdf:type ontology:political_territorial_entity } UNION { ?h rdf:type ontology:state } } } } . FILTER ( ?f < ?j ) }
[]
city political territorial entity state
SYSTEM
430
Q384403 Q373542 Q780731 Q843001 Q843006 Q843009 Q392692 Q861296 Q637647 Q240026 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q379030 Q496667 Q240504 Q281371 Q258884 Q320950 Q8254 Q43199 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q932806 Q377834 Q295367 Q653389 Q851097 Q861292 Q917888 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q14424 Q304803 Q853744 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q834567 Q851675 Q3744 Q842908 Q23482 Q505208 Q911530 Q181276 Q3692 Q847546 Q330409 Q847543 Q854956 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q602976 Q793405 Q375097 Q911558 Q629471 Q209766 Q178878 Q5316658 Q203027 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q843018 Q1000091 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q117676 Q16959 Q650015 Q30340 Q225257 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q235 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q288413 Q167668 Q4469 Q1519 Q270704 Q167109 Q478038 Q734378 Q585630 Q855529 Q7248 Q207408 Q1107569 Q316841 Q6602 Q602042 Q237699 Q207406 Q7856199 Q3947359 Q325164 Q305640 Q3307925 Q740810 Q193721 Q861221 Q911667 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q3861 Q43433 Q846652 Q3859 Q155975 Q674311 Q3915 Q719051 Q863747 Q841125 Q954596 Q487439 Q174461 Q385591 Q124375 Q954611 Q854940 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q208471 Q2337 Q633789 Q8158 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q911628 Q632146 Q52564 Q4905 Q207876 Q188082 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q680743 Q3852 Q564234 Q488990 Q668318 Q6829 Q260522 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q890122 Q855016 Q3787 Q855011 Q513417 Q480421 Q823907 Q7070 Q642031 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1822 Q1533 Q200077 Q47916 Q3183016 Q328601 Q2410422 Q191097 Q2526233 Q946769 Q846351 Q739304 Q789233 Q819103 Q368929 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q193719 Q170454 Q545923 Q211243 Q841603 Q656603 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q485581 Q755698 Q390796 Q271917 Q1008737 Q79535 Q1720 Q1721 Q390798 Q3904 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q843014 Q604516 Q3768 Q732300 Q789510 Q470369 Q1863 Q2203 Q430207 Q756273 Q188247 Q23768 Q206872 Q737634 Q1355 Q146363 Q3167 Q208818 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q250733 Q146317 Q693264 Q5781 Q6582 Q187821 Q502205 Q203344 Q1686 Q3355306 Q189761 Q189769 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q727383 Q2061 Q184998 Q854965 Q456 Q755701 Q267894 Q679224 Q168648 Q843043 Q850676 Q36063 Q7003 Q3931 Q3751 Q3616 Q42666 Q3612 Q933638 Q25475 Q18575 Q613813 Q375862 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q911642 Q187284 Q158245 Q284480 Q632080 Q207309 Q187812
(c(Q1048835)|c(Q7275),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q3042
relation P36
type Q1048835
type Q7275
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?z rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P36 resource:Q3042 . { { ?h rdf:type ontology:Q1048835 } UNION { ?h rdf:type ontology:Q7275 } } } } . FILTER ( ?f < ?j ) }
Litoměřice Szigetvár Szeghalom Csorna Nagykálló Marcali Šumperk Nōgata Pásztó Jászapáti Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Zalaszentgrót Muroran Makó Jászberény Bélapátfalva Trutnov Dharan Omaha Nagykáta Kunhegyes Gyula Nagykőrös Zirc Érd Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Polgárdi Szentes Nagyatád Nobeoka Iiyama Hitoyoshi Vinaròs Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Nagykanizsa Mezőcsát Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Bonyhád Takahashi Castro Gyál Marseille Ouarzazate Hajdúhadház Szolnok Riyadh Saiki Ústí nad Orlicí Katsuyama Ibrány Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Klatovy Berettyóújfalu Tiszaújváros Putnok Kiskunmajsa Saga Békéscsaba Durjaya Tsu Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Kunszentmiklós Rychnov nad Kněžnou Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Viseu Ürümqi Pannonhalma Zhengzhou Rupea Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Monaco Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Tapolca Liepāja Talca Abu Dhabi Třebíč Eger Kiskunfélegyháza Yonezawa Yanagawa Kistelek Bukittinggi Vác Kerma Karlovo Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Turquoise Mountain San Ignacio Kayes Abashiri Mianwali City Békés Tábor Nakatsu Elek Miami Sellye Mátészalka Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Doha Chandigarh Cigánd Kigali Kutná Hora Kisvárda Antananarivo Artsyz Uda Tsuyama Havlíčkův Brod Oral Ranchi Ōmura Hódmezővásárhely Jeseník Dabas Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Kaifeng Smolensk Dombóvár Metro, Indonesia Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Český Krumlov Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Balatonfüred Worms Annaka Kostanay Sárospatak Speyer Bácsalmás Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Hanoi Edmonton Kiskunhalas Bolhrad Csurgó Abuja Heves Vsetín Abony HigashiMatsuyama Eisenach Gárdony Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Baguio Caracas Morioka Lucknow Ungaran Hirado San Marcos, Costa Rica Tachov Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Berezivka Jindřichův Hradec Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Cheb Agartala Tatarbunary Yinchuan Tiszakécske Jičín Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Aveiro Svitavy Orosháza Kushiro Semily Fort Smith Mainz Wiesbaden Szentendre Mbabane Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Arica Komló Karcag Sarkad Las Vegas Ajka Rozdilna Bangalore Most Siegen Fuchū Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Wa Veszprém Iwamizawa Langsa Carcassonne Tatabánya Nemuro Baja Butuan Fukuchiyama Szekszárd Salgótarján Strakonice Hagi Vyškov Santiago Karatsu Xining Sokolov Yellowknife Kaposvár Lenti Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Sárvár Blansko Vecsés Dijon Brandenburg an der Havel Praia Tehran Shaoxing Antofagasta Mezőkövesd Batumi Tucson Kőszeg Nyíradony Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Náchod Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Füzesabony Hurghada Písek Bóly Tét Tokushima Dunaújváros
430
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type state
action count
action filter_multi_types
action find_reverse
entity Offenbach am Main
relation capital
type political territorial entity
type state
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?z rdf:type ?p } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:capital resource:Offenbach_am_Main . { { ?h rdf:type ontology:political_territorial_entity } UNION { ?h rdf:type ontology:state } } } } . FILTER ( ?f < ?j ) }
[]