Simple Question (Direct)
Simple Question
Q190896
P20
Q515
USER
Where did Abū Ḥanīfa die ?
(Q190896,P20,c(Q515))
action filter_type
action find
entity Q190896
relation P20
type Q515
['Q190896', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q190896 property:P20 ?x . ?x rdf:type ontology:Q515 }
Abū Ḥanīfa
action filter_type
action find
entity Abū Ḥanīfa
relation place of death
type city
['Abū Ḥanīfa', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Abū_Ḥanīfa property:place_of_death ?x . ?x rdf:type ontology:city }
[]
city
Q1530
SYSTEM
Baghdad
Q1530
(Q190896,P20,c(Q515))
action filter_type
action find
entity Q190896
relation P20
type Q515
Abū Ḥanīfa died in [ANSWER]
['Q190896', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q190896 property:P20 ?x . ?x rdf:type ontology:Q515 }
Baghdad
Abū Ḥanīfa died in Baghdad
Baghdad
action filter_type
action find
entity Abū Ḥanīfa
relation place of death
type city
['Abū Ḥanīfa', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Abū_Ḥanīfa property:place_of_death ?x . ?x rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1530
P138
Q56061
USER
Which administrative territory is the eponym of that city ?
(c(Q56061),P138,Q1530)
action filter_type
action find_reverse
entity Q1530
relation P138
type Q56061
[{'concept': 'Q56061'}, 'P138', 'Q1530']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q1530 . ?h rdf:type ontology:Q56061 }
Baghdad
action filter_type
action find_reverse
entity Baghdad
relation named after
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', 'Baghdad']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Baghdad . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2879005
SYSTEM
Bagdad
Q2879005
(c(Q56061),P138,Q1530)
action filter_type
action find_reverse
entity Q1530
relation P138
type Q56061
[ANSWER] is the eponym of that city
[{'concept': 'Q56061'}, 'P138', 'Q1530']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q1530 . ?h rdf:type ontology:Q56061 }
Bagdad
Bagdad is the eponym of that city
Bagdad
action filter_type
action find_reverse
entity Baghdad
relation named after
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', 'Baghdad']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Baghdad . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1530
P17
Q15617994
USER
Which administrative territory is Baghdad a part of ?
(Q1530,P17,c(Q15617994))
action filter_type
action find
entity Q1530
relation P17
type Q15617994
['Q1530', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1530 property:P17 ?c }
Baghdad
action filter_type
action find
entity Baghdad
relation country
type designation for an administrative territorial entity
['Baghdad', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Baghdad property:country ?c }
[]
designation for an administrative territorial entity
Q796
SYSTEM
Iraq
Q796
(Q1530,P17,c(Q15617994))
action filter_type
action find
entity Q1530
relation P17
type Q15617994
[ANSWER] is Baghdad a part of
['Q1530', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1530 property:P17 ?c }
Iraq
Iraq is Baghdad a part of
Iraq
action filter_type
action find
entity Baghdad
relation country
type designation for an administrative territorial entity
['Baghdad', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Baghdad property:country ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1530
P1376
Q7275
USER
Which states have Baghdad as their county seat ?
(Q1530,P1376,c(Q7275))
action filter_type
action find
entity Q1530
relation P1376
type Q7275
['Q1530', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7275 . resource:Q1530 property:P1376 ?h }
Baghdad
action filter_type
action find
entity Baghdad
relation capital of
type state
['Baghdad', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:state . resource:Baghdad property:capital_of ?h }
[]
state
Q3041595 Q146713 Q149805
SYSTEM
Republic of Iraq, Arab Federation, Kingdom of Iraq
Q3041595 Q146713 Q149805
(Q1530,P1376,c(Q7275))
action filter_type
action find
entity Q1530
relation P1376
type Q7275
[ANSWERS] have Baghdad as their county seat
['Q1530', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7275 . resource:Q1530 property:P1376 ?h }
Republic of Iraq Arab Federation Kingdom of Iraq
Republic of Iraq, Arab Federation and Kingdom of Iraq have Baghdad as their county seat
Republic of Iraq Arab Federation Kingdom of Iraq
action filter_type
action find
entity Baghdad
relation capital of
type state
['Baghdad', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:state . resource:Baghdad property:capital_of ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q199605
Q7275
USER
And how about Guwahati?
(Q199605,P1376,c(Q7275))
action filter_type
action find
entity Q199605
relation P1376
type Q7275
['Q199605', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q199605 property:P1376 ?n . ?n rdf:type ontology:Q7275 }
Guwahati
action filter_type
action find
entity Guwahati
relation capital of
type state
['Guwahati', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Guwahati property:capital_of ?n . ?n rdf:type ontology:state }
[]
state
Q1194765
SYSTEM
Kamarupa
Q1194765
(Q199605,P1376,c(Q7275))
action filter_type
action find
entity Q199605
relation P1376
type Q7275
[ANSWER]
['Q199605', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q199605 property:P1376 ?n . ?n rdf:type ontology:Q7275 }
Kamarupa
Kamarupa
action filter_type
action find
entity Guwahati
relation capital of
type state
['Guwahati', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Guwahati property:capital_of ?n . ?n rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P122
Q1048835 Q7257 Q7275
USER
How many states have approximately the same number of political territories or ideologies as government as that state ?
(c(Q7275),P122,c(Q1048835)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action find_tuple_counts
relation P122
type Q7275
type Q7257
action count
action filter_multi_types
action find
entity Q1194765
relation P122
type Q1048835
type Q7257
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q1048835'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?g ) WHERE { { ?c property:P122 ?x . ?x rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q7275 } UNION { ?c rdf:type ontology:Q7275 . ?x rdf:type ontology:Q7257 . ?c property:P122 ?x } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q1194765 property:P122 ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1048835 ) ( ontology:Q7257 ) } } } } . FILTER ( ?g = ?j ) }
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action find_tuple_counts
relation basic form of government
type state
type ideology
action count
action filter_multi_types
action find
entity Kamarupa
relation basic form of government
type political territorial entity
type ideology
[{'concept': 'state'}, 'basic form of government', [{'concept': 'political territorial entity'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?g ) WHERE { { ?c property:basic_form_of_government ?x . ?x rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:state } UNION { ?c rdf:type ontology:state . ?x rdf:type ontology:ideology . ?c property:basic_form_of_government ?x } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Kamarupa property:basic_form_of_government ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:political_territorial_entity ) ( ontology:ideology ) } } } } . FILTER ( ?g = ?j ) }
[]
political territorial entity ideology state
SYSTEM
242
Q241748 Q211853 Q484104 Q180573 Q105092 Q210163 Q3185305 Q2340665 Q172107 Q1538311 Q152115 Q285658 Q18285930 Q2414171 Q179876 Q2475921 Q218023 Q889374 Q798431 Q3456417 Q154401 Q174193 Q965174 Q282475 Q1269234 Q889394 Q48685 Q552157 Q229411 Q201038 Q761370 Q431731 Q175881 Q1852345 Q1194329 Q533558 Q1423680 Q617218 Q2253783 Q13107370 Q986665 Q744042 Q209065 Q190513 Q10988528 Q631210 Q2308237 Q19801186 Q204920 Q1998866 Q207162 Q142417 Q834486 Q2006542 Q545205 Q131964 Q726798 Q133356 Q215530 Q150058 Q62589 Q161885 Q4461035 Q33946 Q150056 Q83572 Q11876909 Q139319 Q191077 Q234009 Q271570 Q903779 Q841364 Q558596 Q1649871 Q941881 Q1194765 Q514423 Q62623 Q870055 Q713750 Q544630 Q1057542 Q16949002 Q1789596 Q550374 Q1152126 Q44642 Q203493 Q696908 Q147909 Q555994 Q980 Q652560 Q220167 Q2980623 Q1636212 Q737040 Q112558 Q124943 Q37024 Q317078 Q503623 Q940123 Q14934927 Q137766 Q172579 Q153128 Q867782 Q877579 Q551798 Q210036 Q1277557 Q186537 Q633573 Q1483430 Q200896 Q1068408 Q623751 Q49683 Q330362 Q736936 Q8146595 Q12557 Q2456191 Q310293 Q15864 Q212439 Q844250 Q1362278 Q267584 Q303421 Q207521 Q1658411 Q153015 Q2342822 Q1078602 Q75613 Q71092 Q1479726 Q15180 Q6083755 Q698089 Q1406298 Q179293 Q28278 Q157734 Q600093 Q170072 Q7382038 Q467864 Q76236 Q209857 Q1415585 Q953432 Q1115291 Q170174 Q4843701 Q212056 Q21005050 Q175276 Q210542 Q422065 Q7318 Q42585 Q170468 Q146328 Q487829 Q2365048 Q1138904 Q956451 Q27306 Q1493843 Q1508143 Q146713 Q156038 Q30623 Q736727 Q230407 Q824489 Q157727 Q2088324 Q248572 Q189988 Q1192936 Q71747 Q615902 Q1077630 Q1322229 Q173761 Q217196 Q16624774 Q23541302 Q199442 Q154195 Q10921634 Q13706 Q498735 Q1775277 Q173082 Q680997 Q38872 Q4948 Q1152445 Q156020 Q16410 Q153660 Q1240096 Q1771831 Q70972 Q1986139 Q2145397 Q2353425 Q582861 Q1517772 Q1142179 Q12548 Q158725 Q588672 Q6412664 Q6500954 Q1083009 Q391980 Q80211 Q1054184 Q1029847 Q832554 Q1155768 Q157367 Q427941 Q1044668 Q266923 Q1061488 Q5148517 Q41304 Q752662 Q797422 Q206411 Q2184 Q2578706 Q1885093 Q149805
(c(Q7275),P122,c(Q1048835)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action find_tuple_counts
relation P122
type Q7275
type Q7257
action count
action filter_multi_types
action find
entity Q1194765
relation P122
type Q1048835
type Q7257
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q1048835'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?g ) WHERE { { ?c property:P122 ?x . ?x rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q7275 } UNION { ?c rdf:type ontology:Q7275 . ?x rdf:type ontology:Q7257 . ?c property:P122 ?x } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q1194765 property:P122 ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1048835 ) ( ontology:Q7257 ) } } } } . FILTER ( ?g = ?j ) }
Kingdom of Serbia Republic of Serbian Krajina United States Army Military Government in Korea South Vietnam Kingdom of Mercia Astrakhan Khanate Kingdom of Israel Basutoland Polish–Lithuanian Commonwealth Travancore-Cochin Duchy of Warsaw First Mexican Empire German Empire of 1848/1849 First Brazilian Republic Kingdom of England Outer Mongolia Orange Free State Warsangali Sultanate Republic of Dahomey Republic of Saint-Malo Slovak Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Kartli-Kakheti Stellaland Portuguese Mozambique Judah Nieuwe Republiek Delhi Sultanate Roman Kingdom Aro Confederacy Tanganyika Roman Republic Trucial States Nova Roma Kingdom of Croatia-Slavonia Gay and Lesbian Kingdom of the Coral Sea Islands Yamhad Kingdom of Glywysing Principality of Serbia First East Turkestan Republic Grand Duchy of Avram Kingdom of Greece Khanate of Sibir Second East Turkestan Republic Nogai Horde Ahom kingdom Liberland Crown of Aragon Czech and Slovak Federal Republic Bourbon Restoration Kingdom of Valencia Federation of South Arabia Dominion of Pakistan Transcaucasian Socialist Federative Soviet Republic Austrian Empire Tulunids Ukrainian Soviet Socialist Republic Kingdom of Ireland Travancore Union between Sweden and Norway Kingdom of Great Britain Akkadian empire Czechoslovakia Kingdom of Cochin Sikh Empire State of Brazil Russian Republic Kingdom of Yugoslavia Magadha Kingdom of Araucanía and Patagonia United Kingdom of Portugal, Brazil and the Algarves Ayutthaya Kingdom Hadiya Kingdom Kingdom of Poland Netherlands New Guinea Kamarupa Parthenopean Republic Kalmar Union Kingdom of Laos West Germany Republic of Maryland Republic of Hawaii Lordship of Brecknock Croatia in personal union with Hungary South African Republic People's Republic of the Congo Federation of Arab Republics Kingdom of Romania Kingdom of Poland Kingdom of Bulgaria Ag Qoyunlu Bavaria West Indies Federation Lydenburg Republic Kingdom of Bosnia Karabakh Khanate Islamic Courts Union Republic of Saugeais Kingdom of Egypt Serbia and Montenegro Pskov Republic Gold Coast Rustamid dynasty Murrawarri Republic Free Republic of Wendland Kingdom of Italy Independent State of Croatia Kingdom of Funan Kugelmugel Grand Duchy of Flandrensis Chechen Republic of Ichkeria Democratic Federal Yugoslavia Khanate of Kazan Kingdom of Rheged Principality of Kiev Slovak Soviet Republic Kuru Kingdom Kingdom of Bernicia Grand Duchy of Lithuania Commonwealth of England Lu Upingtonia Mongol Empire Kingdom of Seisyllwg Saar Protectorate United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland United States of Stellaland Yemen Arab Republic Kingdom of Galicia Abyssinia Kingdom of Sarawak Kingdom of Saxony West Pakistan Kingdom of Nepal Almoravid dynasty Second French Empire Federation of Malaya Soviet Union Islands of Refreshment Grand Duchy of Würzburg Serbian Empire Kingdom of Castile Provisional Government of the Republic of Korea Muscat and Oman Habsburg Spain Dutch Republic Imperial Throne People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Islamic State of Afghanistan Couto Misto Thonburi Kingdom Papal States Libyan Arab Jamahiriya Mongolian People's Republic Kingdom of Morgannwg Kingdom of León Second Brazilian Republic Sultanate of Sulu Nazi Germany Kingdom of Bohemia United Arab Republic Commonwealth of the Philippines Chagatai Khanate Adal Sultanate Kingdom of Afghanistan Kingdom of Dyfed Kingdom of Prussia Klein Vrystaat Ukrainian State Arab Federation Duchy of Courland and Semigallia Manchukuo Republic of Siena Kingdom of Israel Estado Novo Ifat Sultanate Colonial Brazil Sultanate of Maguindanao Central African Empire Kingdom of Burundi Duchy of Brittany Kingdom of Finland Septinsular Republic Enlightenment in Spain Lithuanian Soviet Socialist Republic Crown of Castile Kingdom of Nicoya Kaluga Soviet Republic Kingdom of Aragon Kingdom of Bavaria Khoshut Khanate Principality of Sealand division of Korea Dominion of India Dacia Principality of Lower Pannonia Prussia Republic of Venice Aerican Empire State of the Teutonic Order People's Republic of Hungary Italian Social Republic Hyderabad State Kruševo Republic Kingdom of France Parthian Empire Goshen (South Africa) Talossa Marinid dynasty Protectorate of South Arabia Orange River Colony Holy Roman Empire Tanganyika Territory Hammadid dynasty Realm of Stefan Dragutin Zaire Principality of Wy Free Territory of Trieste Lithuanian Soviet Socialist Republic Khmer Republic Natalia Republic Argentine Confederation Republic of Molossia Brandenburg-Prussia Islamic Emirate of Afghanistan Republic of Rose Island Kingdom of Mysore United States of Colombia Colony and Protectorate of Nigeria Weimar Republic Hafsid dynasty Republic of Upper Volta Democratic Republic of Azerbaijan Russian Soviet Federative Socialist Republic Kingdom of Ceredigion Mahra Sultanate Kingdom of Iraq
242
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action find_tuple_counts
relation basic form of government
type state
type ideology
action count
action filter_multi_types
action find
entity Kamarupa
relation basic form of government
type political territorial entity
type ideology
[{'concept': 'state'}, 'basic form of government', [{'concept': 'political territorial entity'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?g ) WHERE { { ?c property:basic_form_of_government ?x . ?x rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:state } UNION { ?c rdf:type ontology:state . ?x rdf:type ontology:ideology . ?c property:basic_form_of_government ?x } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Kamarupa property:basic_form_of_government ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:political_territorial_entity ) ( ontology:ideology ) } } } } . FILTER ( ?g = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1194765
P36
Q56061
USER
Which administrative territory is the capital of Kamarupa ?
(Q1194765,P36,c(Q56061))
action filter_type
action find
entity Q1194765
relation P36
type Q56061
['Q1194765', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1194765 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Kamarupa
action filter_type
action find
entity Kamarupa
relation capital
type administrative territorial entity
['Kamarupa', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Kamarupa property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q199605
SYSTEM
Guwahati
Q199605
(Q1194765,P36,c(Q56061))
action filter_type
action find
entity Q1194765
relation P36
type Q56061
[ANSWER] is the capital of Kamarupa
['Q1194765', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1194765 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Guwahati
Guwahati is the capital of Kamarupa
Guwahati
action filter_type
action find
entity Kamarupa
relation capital
type administrative territorial entity
['Kamarupa', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Kamarupa property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6582
P36
Q515 Q515 Q20667921
USER
How many cities are the capitals of lesser number of cities or french administrative divisions than Carcassonne ?
(c(Q515)|c(Q20667921),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q6582
relation P36
type Q515
type Q20667921
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P36 resource:Q6582 . { { ?r rdf:type ontology:Q515 } UNION { ?r rdf:type ontology:Q20667921 } } } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:P36 ?n . ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q515 } UNION { ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q20667921 . ?k property:P36 ?n } } GROUP BY ?n } }
Carcassonne
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Carcassonne
relation capital
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:capital resource:Carcassonne . { { ?r rdf:type ontology:city } UNION { ?r rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:capital ?n . ?n rdf:type ontology:city . ?k rdf:type ontology:city } UNION { ?n rdf:type ontology:city . ?k rdf:type ontology:type_of_french_administrative_division . ?k property:capital ?n } } GROUP BY ?n } }
[]
city city type of french administrative division
SYSTEM
586
Q15826 Q384403 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q392692 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q4024 Q379030 Q1711 Q496667 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q320950 Q8254 Q592338 Q43199 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q917888 Q1070920 Q174096 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q8131 Q3926 Q11462 Q834567 Q851675 Q3744 Q3214 Q842908 Q505208 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q602976 Q793405 Q665 Q375097 Q911558 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q1000091 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q183584 Q235 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q167668 Q4469 Q1519 Q8684 Q270704 Q3838 Q167109 Q478038 Q734378 Q459787 Q585630 Q855529 Q7248 Q207408 Q1107569 Q1025387 Q316841 Q602042 Q237699 Q207406 Q23661 Q191651 Q7856199 Q11443 Q3947359 Q325164 Q305640 Q14819 Q5285 Q3307925 Q14182 Q740810 Q193721 Q861221 Q911667 Q7568 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q7027 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q719051 Q155674 Q863747 Q841125 Q954596 Q314686 Q487439 Q174461 Q385591 Q1953 Q124375 Q954611 Q854940 Q2180 Q3319248 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q9005 Q208471 Q2337 Q633789 Q1330294 Q14960 Q8158 Q3185 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q188082 Q2973 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q3852 Q564234 Q3958 Q488990 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q1854 Q890122 Q855016 Q3787 Q855011 Q513417 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1822 Q1533 Q200077 Q47916 Q1856 Q3183016 Q328601 Q2410422 Q191097 Q542154 Q2526233 Q946769 Q3126 Q846351 Q739304 Q789233 Q7253 Q157835 Q819103 Q3046 Q368929 Q2936 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q2749 Q193719 Q308657 Q170454 Q545923 Q211243 Q841603 Q656603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q485581 Q755698 Q2119 Q390796 Q271917 Q1008737 Q79535 Q5972 Q1720 Q1721 Q83247 Q1645 Q7578 Q390798 Q3904 Q14126 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q470369 Q1863 Q1865 Q2209 Q2200 Q2203 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q517783 Q23768 Q206872 Q72778 Q737634 Q1355 Q146363 Q3167 Q208818 Q187136 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q5781 Q187821 Q502205 Q203344 Q107401 Q1686 Q3355306 Q57944 Q189761 Q189769 Q1761 Q2795 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q3936 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q3612 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q18575 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515)|c(Q20667921),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q6582
relation P36
type Q515
type Q20667921
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P36 resource:Q6582 . { { ?r rdf:type ontology:Q515 } UNION { ?r rdf:type ontology:Q20667921 } } } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:P36 ?n . ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q515 } UNION { ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q20667921 . ?k property:P36 ?n } } GROUP BY ?n } }
Palu Litoměřice Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Šumperk Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Trutnov Dharan Marawi Omaha Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Vinaròs Mamuju Sorsogon City Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Palembang Pretoria Surabaya Bonyhád Takahashi Castro Cottbus Gyál Ouarzazate Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Klatovy Berettyóújfalu Lugdunum Tiszaújváros Putnok Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Rychnov nad Kněžnou Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Lanzhou Monaco Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Liepāja Talca Abu Dhabi Seoul Třebíč Kinshasa Eger Kiskunfélegyháza Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Vác Kerma Maasin Karlovo Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Wellington Masbate City Turquoise Mountain Kediri San Ignacio Kayes Abashiri Freiberg Tarlac Mianwali City Banjarmasin Békés Tábor Nakatsu Elek Yogyakarta Miami Sellye Mátészalka Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Straubing Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Artsyz Tandag Uda Tsuyama Havlíčkův Brod Mati Oral Ranchi Ōmura Yerevan Hódmezővásárhely Jeseník Dabas Malolos Pehuajó Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Brussels Kaifeng Smolensk Dombóvár Jiankang Brno Metro, Indonesia Hildesheim Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Český Krumlov Darmstadt Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Worms Annaka Neubrandenburg Kostanay Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Hanoi Edmonton Kiskunhalas Ho Chi Minh City Bolhrad Csurgó Abuja Heves Vsetín Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Baguio Caracas Morioka Lucknow Malaybalay Ungaran Hirado San Marcos, Costa Rica Tachov Koronadal Carn Dûm Mórahalom Erlangen Miyazu Hajdúnánás Balassagyarmat Padang Zaporizhzhya Berezivka Pforzheim Jindřichův Hradec Oldenburg Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Augsburg Cheb Minas Tirith Agartala Tatarbunary Yinchuan Tiszakécske Jičín Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Aveiro Svitavy Mannheim Orosháza Kushiro Semily Fort Smith Medan Mainz Wiesbaden Braga Cagayan de Oro Jambi Szentendre Mbabane Mataram Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Kuala Lumpur Roxas Tuguegarao Arica Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Pinamar Las Vegas Ajka Taiyuan Rozdilna Bangalore Most Siegen Fuchū Luoyang Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Langsa Tatabánya Nemuro Baja Sivas Butuan Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Chemnitz Strakonice Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Bamberg Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Antofagasta Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Tucson Denpasar Kőszeg Nyíradony Calapan Baghdad 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 Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
586
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Carcassonne
relation capital
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:capital resource:Carcassonne . { { ?r rdf:type ontology:city } UNION { ?r rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:capital ?n . ?n rdf:type ontology:city . ?k rdf:type ontology:city } UNION { ?n rdf:type ontology:city . ?k rdf:type ontology:type_of_french_administrative_division . ?k property:capital ?n } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q23482
P36
Q515 Q515 Q20667921
USER
And what about Marseille?
(c(Q515)|c(Q20667921),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q23482
relation P36
type Q515
type Q20667921
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P36 resource:Q23482 . { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?s < ?r ) }
Marseille
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Marseille
relation capital
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:capital resource:Marseille . { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?s < ?r ) }
[]
city city type of french administrative division
SYSTEM
590
Q15826 Q384403 Q373542 Q780731 Q39738 Q3572 Q10126 Q843001 Q1710 Q843006 Q843009 Q392692 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q19689 Q873377 Q853746 Q259498 Q158239 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q17042 Q4024 Q379030 Q1711 Q496667 Q27860 Q240504 Q3806 Q281371 Q258884 Q3624 Q320950 Q8254 Q592338 Q43199 Q52607 Q766168 Q933645 Q58650 Q214938 Q830394 Q205607 Q193050 Q71305 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q917888 Q1070920 Q174096 Q174091 Q502993 Q430864 Q855082 Q633945 Q843031 Q385070 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q75978 Q696388 Q185719 Q622841 Q983451 Q18970 Q80989 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q80484 Q5954 Q8131 Q3926 Q11462 Q834567 Q851675 Q3744 Q3214 Q842908 Q505208 Q1000336 Q911530 Q5838 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q933641 Q379160 Q889966 Q890311 Q132997 Q3104 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q1899 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q1794 Q602976 Q793405 Q665 Q375097 Q911558 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q1486 Q2966 Q220445 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q1461 Q843018 Q14499 Q1000091 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q1000073 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q23430 Q225257 Q35925 Q44215 Q629849 Q680656 Q986070 Q854996 Q214956 Q1362 Q8247 Q183584 Q235 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q167668 Q4469 Q1519 Q8684 Q270704 Q3838 Q167109 Q478038 Q734378 Q459787 Q585630 Q855529 Q7248 Q207408 Q1107569 Q1025387 Q316841 Q6602 Q602042 Q237699 Q207406 Q23661 Q191651 Q7856199 Q11443 Q3947359 Q325164 Q305640 Q14819 Q5285 Q3307925 Q14182 Q740810 Q193721 Q861221 Q911667 Q7568 Q8652 Q842971 Q842976 Q3866 Q181007 Q843028 Q385864 Q755686 Q3599 Q1731 Q3861 Q43433 Q1636 Q7027 Q846652 Q7786 Q10104 Q3859 Q155975 Q19660 Q1020939 Q674311 Q3915 Q719051 Q155674 Q863747 Q841125 Q954596 Q314686 Q487439 Q174461 Q385591 Q1953 Q124375 Q954611 Q854940 Q2180 Q3319248 Q320939 Q714628 Q335427 Q177149 Q327764 Q2569148 Q9005 Q208471 Q2337 Q633789 Q1330294 Q14960 Q8158 Q3185 Q116417 Q830404 Q861262 Q719 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q188082 Q2973 Q34261 Q137271 Q855060 Q1473 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q3852 Q564234 Q3958 Q488990 Q668318 Q2079 Q2773 Q6829 Q260522 Q8156 Q14440 Q752838 Q993064 Q276534 Q41773 Q42007 Q985465 Q1858 Q2096 Q329775 Q1854 Q890122 Q855016 Q3787 Q855011 Q513417 Q4007 Q480421 Q14168 Q823907 Q7070 Q3826 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q158928 Q755681 Q214942 Q68481 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1822 Q1533 Q200077 Q47916 Q1856 Q3183016 Q328601 Q2410422 Q191097 Q542154 Q2526233 Q946769 Q3126 Q846351 Q739304 Q789233 Q7253 Q157835 Q819103 Q3046 Q368929 Q2936 Q530634 Q4827 Q591812 Q877227 Q5753 Q429409 Q2749 Q193719 Q308657 Q170454 Q545923 Q211243 Q841603 Q656603 Q7929221 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q11194 Q386682 Q63145 Q485581 Q755698 Q2119 Q390796 Q271917 Q1008737 Q79535 Q5972 Q1720 Q1721 Q83247 Q1645 Q7578 Q390798 Q3904 Q14126 Q44244 Q855052 Q11449 Q547479 Q404817 Q485891 Q2907 Q1001339 Q15847 Q843014 Q2844 Q11725 Q604516 Q73156 Q3768 Q732300 Q789510 Q470369 Q1863 Q1865 Q2209 Q2200 Q2203 Q18342086 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q517783 Q23768 Q206872 Q72778 Q737634 Q1355 Q146363 Q3167 Q208818 Q187136 Q5869 Q3948919 Q830411 Q740863 Q740800 Q171943 Q728438 Q427769 Q177042 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q5781 Q6582 Q187821 Q502205 Q203344 Q107401 Q1686 Q3355306 Q57944 Q189761 Q189769 Q1761 Q2795 Q750224 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q2069869 Q184998 Q5217 Q854965 Q1020709 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3936 Q3931 Q726993 Q3919 Q3751 Q3750 Q3616 Q42666 Q3612 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q18575 Q11506 Q613813 Q375862 Q107624 Q1530 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q591823 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125 Q2999 Q16666
(c(Q515)|c(Q20667921),P36,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q515
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q23482
relation P36
type Q515
type Q20667921
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P36 resource:Q23482 . { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?s < ?r ) }
Palu Litoměřice Szigetvár Szeghalom Laoag Tunis Serang Csorna Isabela City Nagykálló Marcali Šumperk Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Tirana Dumaguete Bátonyterenye Rafaela Kroměříž Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Oakland Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Jayapura Makó Tübingen Jászberény Bélapátfalva Addis Ababa Trutnov Dharan Marawi Omaha Mar del Plata Nagykáta Kunhegyes Zhangjiakou Gyula Nagykőrös Zirc Érd Ezhou Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Vinaròs Mamuju Sorsogon City Changsha Uherské Hradiště Nymburk Csenger Saijō Vasvár Burriana Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Calamba Toyooka Pétervására Ghardaia Río Cuarto Ambon Bhopal Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Patna Binjai Palembang Pretoria Surabaya Bonyhád Takahashi Castro Cottbus Gyál Ouarzazate Tandil Hajdúhadház Kabul Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Martonvásár Kunszentmárton Kiliya Reni Florianópolis Koblenz Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Kyiv Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Frankfurt Klatovy Berettyóújfalu Lugdunum Tiszaújváros Putnok Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Buenos Aires Heidelberg Kuching Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Manila Kunszentmiklós Samarinda Rychnov nad Kněžnou Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Pelhřimov Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Ulaanbaatar Rupea Tabuk Santa Rosa Hatvan Sümeg Chrudim Szerencs Znojmo Islamabad Biratnagar Lanzhou Monaco Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Liepāja Talca Abu Dhabi Seoul Třebíč Kinshasa Eger Kiskunfélegyháza Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Vác Kerma Maasin Karlovo Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Wellington Masbate City Turquoise Mountain Kediri San Ignacio Kayes Abashiri Freiberg Tarlac Mianwali City Banjarmasin Békés Tábor Nakatsu Elek Yogyakarta Miami Sellye Mátészalka Dodoma Hattusa Oroszlány Ōsakasayama Nyírbátor Bicske Dresden Doha Chandigarh Antipolo Straubing Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Bucharest Digos Kisvárda Antananarivo Artsyz Tandag Uda Tsuyama Havlíčkův Brod Mati Oral Ranchi Ōmura Yerevan Hódmezővásárhely Jeseník Dabas Malolos Pehuajó Mělník Rumoi Kisarazu Obihiro Prachatice Escazú District Brussels Kaifeng Smolensk Dombóvár Jiankang Brno Metro, Indonesia Hildesheim Sátoraljaújhely Hajdúszoboszló Uto Saginaw Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Český Krumlov Darmstadt Port-au-Prince Kota Kinabalu Encs Davao City Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Worms Annaka Neubrandenburg Kostanay Sárospatak Leipzig Braunschweig Speyer Bácsalmás Bandar Lampung Iquique Aszód Saint Anne Wau, South Sudan Obama Szombathely Rakovník Hanoi Edmonton Kiskunhalas Ho Chi Minh City Bolhrad Csurgó Abuja Heves Vsetín Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Muscat Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Bushehr Várpalota Kazincbarcika Fuzhou Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Baguio Caracas Morioka Lucknow Malaybalay Ungaran Hirado San Marcos, Costa Rica Tachov Koronadal Carn Dûm Mórahalom Erlangen Miyazu Hajdúnánás Balassagyarmat Padang Zaporizhzhya Berezivka Pforzheim Jindřichův Hradec Oldenburg Pilisvörösvár Vyritsa Buryn Ogi Samarkand Szob Augsburg Cheb Minas Tirith Agartala Tatarbunary Yinchuan Tiszakécske Jičín Vijaya Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Sarajevo Khost Imus Aveiro Svitavy Mannheim Orosháza Kushiro Semily Fort Smith Medan Mainz Wiesbaden Braga Cagayan de Oro Jambi Szentendre Mbabane Mataram Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Ananyiv Sucre Puerto Natales Manado Szarvas Brasília Chongqing Szentgotthárd Linfen Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Kuala Lumpur Roxas Tuguegarao Arica Oyo-Ile České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Pinamar Las Vegas Ajka Taiyuan Rozdilna Bangalore Most Siegen Fuchū Luoyang Lhasa Santa Ana Körmend Česká Lípa Paks Nanchang Siklós Kisbér Biharkeresztes Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Langsa Carcassonne Tatabánya Nemuro Baja Sivas Butuan Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Dublin Chemnitz Strakonice Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Edoras Kaposvár Bacolod Lenti Catbalogan Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Bamberg Brandenburg an der Havel Cotabato City Gaborone Praia Gera Tehran Shaoxing Antofagasta Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Tucson Denpasar Kőszeg Nyíradony Calapan Baghdad 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 Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena Würzburg Nanjing
590
action count
action less
action union
action find_reverse_tuple_counts
relation capital
type city
type city
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Marseille
relation capital
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:capital resource:Marseille . { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?s < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q796
P706
Q151885
USER
Which concepts have their location as Iraq ?
(c(Q151885),P706,Q796)
action filter_type
action find_reverse
entity Q796
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q796']
SELECT DISTINCT ?l WHERE { ?l property:P706 resource:Q796 . ?l rdf:type ontology:Q151885 }
Iraq
action filter_type
action find_reverse
entity Iraq
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Iraq']
SELECT DISTINCT ?l WHERE { ?l property:located_on_terrain_feature resource:Iraq . ?l rdf:type ontology:concept }
[]
concept
Q1588784 Q647858
SYSTEM
Hassuna culture, Zarzian culture
Q1588784 Q647858
(c(Q151885),P706,Q796)
action filter_type
action find_reverse
entity Q796
relation P706
type Q151885
[ANSWERS] have their location as Iraq
[{'concept': 'Q151885'}, 'P706', 'Q796']
SELECT DISTINCT ?l WHERE { ?l property:P706 resource:Q796 . ?l rdf:type ontology:Q151885 }
Hassuna culture Zarzian culture
Hassuna culture and Zarzian culture have their location as Iraq
Hassuna culture Zarzian culture
action filter_type
action find_reverse
entity Iraq
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Iraq']
SELECT DISTINCT ?l WHERE { ?l property:located_on_terrain_feature resource:Iraq . ?l rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q796
P610
Q14524493
USER
Which terrain is the highest point of Iraq ?
(Q796,P610,c(Q14524493))
action filter_type
action find
entity Q796
relation P610
type Q14524493
['Q796', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { resource:Q796 property:P610 ?k . ?k rdf:type ontology:Q14524493 }
Iraq
action filter_type
action find
entity Iraq
relation highest point
type terrain
['Iraq', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { resource:Iraq property:highest_point ?k . ?k rdf:type ontology:terrain }
[]
terrain
Q1068860
SYSTEM
Cheekha Dar
Q1068860
(Q796,P610,c(Q14524493))
action filter_type
action find
entity Q796
relation P610
type Q14524493
[ANSWER] is the highest point of Iraq
['Q796', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?k WHERE { resource:Q796 property:P610 ?k . ?k rdf:type ontology:Q14524493 }
Cheekha Dar
Cheekha Dar is the highest point of Iraq
Cheekha Dar
action filter_type
action find
entity Iraq
relation highest point
type terrain
['Iraq', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?k WHERE { resource:Iraq property:highest_point ?k . ?k rdf:type ontology:terrain }
[]