Simple Question (Direct)
Simple Question
Q183438
P20
Q515
USER
Where did Gyula Kosice die ?
(Q183438,P20,c(Q515))
action filter_type
action find
entity Q183438
relation P20
type Q515
['Q183438', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q183438 property:P20 ?u }
Gyula Kosice
action filter_type
action find
entity Gyula Kosice
relation place of death
type city
['Gyula Kosice', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Gyula_Kosice property:place_of_death ?u }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q183438,P20,c(Q515))
action filter_type
action find
entity Q183438
relation P20
type Q515
Gyula Kosice died in [ANSWER]
['Q183438', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q183438 property:P20 ?u }
Buenos Aires
Gyula Kosice died in Buenos Aires
Buenos Aires
action filter_type
action find
entity Gyula Kosice
relation place of death
type city
['Gyula Kosice', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Gyula_Kosice property:place_of_death ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183438
P19
Q56061
USER
Where was that person born ?
(Q1486,P19,c(Q56061))
action filter_type
action find
entity Q183438
relation P19
type Q56061
['Q1486', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q183438 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Gyula Kosice
action filter_type
action find
entity Gyula Kosice
relation place of birth
type administrative territorial entity
['Buenos Aires', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gyula_Kosice property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25409
SYSTEM
Košice
Q25409
(Q1486,P19,c(Q56061))
action filter_type
action find
entity Q183438
relation P19
type Q56061
That person was born in [ANSWER]
['Q1486', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q183438 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Košice
That person was born in Košice
Košice
action filter_type
action find
entity Gyula Kosice
relation place of birth
type administrative territorial entity
['Buenos Aires', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gyula_Kosice property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q25409 Q5546939
P20
Q502895
USER
Did John R. L. Allen expire at that administrative territory ?
(Q5546939,P20,Q25409)
action is_in
entity Q5546939
action find
entity Q25409
relation P20
['Q5546939', 'P20', 'Q25409']
ASK WHERE { resource:Q25409 property:P20 resource:Q5546939 }
Košice John R. L. Allen
action is_in
entity John R. L. Allen
action find
entity Košice
relation place of death
['John R. L. Allen', 'place of death', 'Košice']
ASK WHERE { resource:Košice property:place_of_death resource:John_R._L._Allen }
[]
common name
SYSTEM
NO
(Q5546939,P20,Q25409)
action is_in
entity Q5546939
action find
entity Q25409
relation P20
[ANSWER]
['Q5546939', 'P20', 'Q25409']
ASK WHERE { resource:Q25409 property:P20 resource:Q5546939 }
No
action is_in
entity John R. L. Allen
action find
entity Košice
relation place of death
['John R. L. Allen', 'place of death', 'Košice']
ASK WHERE { resource:Košice property:place_of_death resource:John_R._L._Allen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183438 Q251778
P27
Q15617994
USER
Is Vohburg the country of citizenship of Gyula Kosice ?
(Q183438,P27,Q251778)
action is_in
entity Q251778
action find
entity Q183438
relation P27
['Q183438', 'P27', 'Q251778']
ASK WHERE { resource:Q183438 property:P27 resource:Q251778 }
Gyula Kosice Vohburg
action is_in
entity Vohburg
action find
entity Gyula Kosice
relation country of citizenship
['Gyula Kosice', 'country of citizenship', 'Vohburg']
ASK WHERE { resource:Gyula_Kosice property:country_of_citizenship resource:Vohburg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183438,P27,Q251778)
action is_in
entity Q251778
action find
entity Q183438
relation P27
[ANSWER]
['Q183438', 'P27', 'Q251778']
ASK WHERE { resource:Q183438 property:P27 resource:Q251778 }
No
action is_in
entity Vohburg
action find
entity Gyula Kosice
relation country of citizenship
['Gyula Kosice', 'country of citizenship', 'Vohburg']
ASK WHERE { resource:Gyula_Kosice property:country_of_citizenship resource:Vohburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25409
P190
Q56061
USER
Which administrative territories are the sister cities of Košice ?
(Q25409,P190,c(Q56061))
action filter_type
action find
entity Q25409
relation P190
type Q56061
['Q25409', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q25409 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Košice
action filter_type
action find
entity Košice
relation sister city
type administrative territorial entity
['Košice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Košice property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q1781 Q2028
SYSTEM
Moscow, Budapest, Verona
Q102397 Q588 Q459 Q182025 Q649 Q40738 Q622592 Q612516 Q1781 Q129259 Q8385 Q2028 Q598 Q79875
(Q25409,P190,c(Q56061))
action filter_type
action find
entity Q25409
relation P190
type Q56061
[ANSWERS] are the sister cities of Košice
['Q25409', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q25409 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Miskolc Katowice Plovdiv Aksaray Moscow Bursa Raahe Vysoké Tatry Budapest Niš Ostrava Verona Rzeszów Mobile
Moscow, Budapest and Verona are the sister cities of Košice
Moscow Budapest Verona
action filter_type
action find
entity Košice
relation sister city
type administrative territorial entity
['Košice', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Košice property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q649 Q1781 Q2028
P190
Q515
USER
Which cities are twin towns of those administrative territories ?
(Q649,P190,c(Q515)) (Q1781,P190,c(Q515)) (Q2028,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q649', 'P190', {'concept': 'Q515'}] ['Q1781', 'P190', {'concept': 'Q515'}] ['Q2028', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { ?r property:P190 ?v . ?v rdf:type ontology:Q515 . VALUES ( ?r ) { ( resource:Q102397 ) ( resource:Q588 ) ( resource:Q459 ) } }
Moscow Budapest Verona
action filter_type
action find
entity prev_answer
relation sister city
type city
['Moscow', 'sister city', {'concept': 'city'}] ['Budapest', 'sister city', {'concept': 'city'}] ['Verona', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { ?r property:sister_city ?v . ?v rdf:type ontology:city . VALUES ( ?r ) { ( resource:Miskolc ) ( resource:Katowice ) ( resource:Plovdiv ) } }
[]
city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q8684 Q3572 Q1773 Q9005 Q19660 Q19689 Q1486 Q3616 Q3004 Q1461 Q1953 Q1794 Q19660 Q11194 Q20921 Q1761 Q1899 Q25475 Q844130
(Q649,P190,c(Q515)) (Q1781,P190,c(Q515)) (Q2028,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS] are twin towns of those administrative territories
['Q649', 'P190', {'concept': 'Q515'}] ['Q1781', 'P190', {'concept': 'Q515'}] ['Q2028', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { ?r property:P190 ?v . ?v rdf:type ontology:Q515 . VALUES ( ?r ) { ( resource:Q102397 ) ( resource:Q588 ) ( resource:Q459 ) } }
Seoul Tunis Riga Brussels Bucharest Tirana Buenos Aires Tehran Ingolstadt Manila Yerevan Frankfurt Bucharest Sarajevo Daejeon Dublin Kyiv Batumi Nagahama
Buenos Aires, Riga and Kyiv are twin towns of those administrative territories
Buenos Aires Riga Kyiv
action filter_type
action find
entity prev_answer
relation sister city
type city
['Moscow', 'sister city', {'concept': 'city'}] ['Budapest', 'sister city', {'concept': 'city'}] ['Verona', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { ?r property:sister_city ?v . ?v rdf:type ontology:city . VALUES ( ?r ) { ( resource:Miskolc ) ( resource:Katowice ) ( resource:Plovdiv ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1486 Q1773 Q1899
P190
Q56061
USER
Which administrative territories are the sister cities of Buenos Aires, Riga and Kyiv ?
(Q1486,P190,c(Q56061)) (Q1773,P190,c(Q56061)) (Q1899,P190,c(Q56061))
action union
action filter_type
action find
entity Q1486
relation P190
type Q56061
action filter_type
action find
entity Q1773
relation P190
type Q56061
action filter_type
action find
entity Q1899
relation P190
type Q56061
['Q1486', 'P190', {'concept': 'Q56061'}] ['Q1773', 'P190', {'concept': 'Q56061'}] ['Q1899', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { resource:Q1486 property:P190 ?y . ?y rdf:type ontology:Q56061 } UNION { resource:Q1773 property:P190 ?y . ?y rdf:type ontology:Q56061 } }
Buenos Aires Riga Kyiv
action union
action filter_type
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
action filter_type
action find
entity Riga
relation sister city
type administrative territorial entity
action filter_type
action find
entity Kyiv
relation sister city
type administrative territorial entity
['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}] ['Riga', 'sister city', {'concept': 'administrative territorial entity'}] ['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Buenos_Aires property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity } UNION { resource:Riga property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1085 Q649 Q649
SYSTEM
Moscow for 2nd, 3rd, Prague for 1st
Q3766 Q628 Q649 Q8745 Q270 Q3820 Q14314 Q13678 Q34820 Q25395 Q15695 Q1524 Q406 Q2634 Q1489 Q71 Q8717 Q8692 Q518431 Q3711 Q1085 Q33935 Q2656 Q84 Q85 Q34370 Q7880 Q1449 Q40269 Q1492 Q1930 Q10400 Q174 Q244324 Q2868 Q8678 Q15682 Q490 Q2807 Q597 Q956 Q1335 Q64 Q1218 Q5465 Q1897 Q1754 Q727 Q649 Q1867 Q1770 Q11959 Q35493 Q1479 Q16635 Q1520 Q48320 Q211907 Q180233 Q25724 Q2861 Q216 Q189133 Q270 Q25410 Q956 Q2280 Q2044 Q13972 Q1026270 Q16557 Q1757 Q994 Q727 Q9248 Q472 Q1754 Q1770 Q1297 Q5168 Q40840 Q23436 Q1520 Q1524 Q3711 Q1780 Q1781 Q25331 Q1741 Q1489 Q2044 Q206954 Q1726 Q21197 Q7880 Q216 Q172 Q270 Q8678 Q239 Q956 Q2280 Q3640
(Q1486,P190,c(Q56061)) (Q1773,P190,c(Q56061)) (Q1899,P190,c(Q56061))
action union
action filter_type
action find
entity Q1486
relation P190
type Q56061
action filter_type
action find
entity Q1773
relation P190
type Q56061
action filter_type
action find
entity Q1899
relation P190
type Q56061
[ANSWERS]
['Q1486', 'P190', {'concept': 'Q56061'}] ['Q1773', 'P190', {'concept': 'Q56061'}] ['Q1899', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { { resource:Q1486 property:P190 ?y . ?y rdf:type ontology:Q56061 } UNION { resource:Q1773 property:P190 ?y . ?y rdf:type ontology:Q56061 } }
Damascus Bergamo Moscow Vigo Warsaw Beirut Santiago de Compostela Agrigento Santo Domingo Newark Salamanca Athens Istanbul Naples Mexico City Geneva Seville Bilbao Chimbote Belgrade Prague Tel Aviv Palermo London Cairo Rotterdam Toulouse Genoa Porto Alegre Barcelona Ottawa Almería São Paulo Guadix Lima Rio de Janeiro Cádiz Milan Madrid Lisbon Beijing Montevideo Berlin Jerusalem Cape Town Cagliari Stockholm Amsterdam Moscow Taipei Tallinn Alicante Almaty Bordeaux Guam Astana Kōbe Slough Pori Norrköping Rostock Vilnius Cairns Warsaw Aalborg Beijing Minsk Florence Tartu Paita Dallas Helsinki Tbilisi Amsterdam Baku Sofia Stockholm Tallinn Chicago Makhachkala Tampere Edinburgh Astana Athens Belgrade Bratislava Budapest Odense Vienna Mexico City Florence Kastoria Munich Chișinău Toulouse Vilnius Toronto Warsaw Rio de Janeiro Brussels Beijing Minsk Ankara
Prague, Moscow and Moscow are the sister cities of Buenos Aires, Riga and Kyiv
Prague Moscow Moscow
action union
action filter_type
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
action filter_type
action find
entity Riga
relation sister city
type administrative territorial entity
action filter_type
action find
entity Kyiv
relation sister city
type administrative territorial entity
['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}] ['Riga', 'sister city', {'concept': 'administrative territorial entity'}] ['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Buenos_Aires property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity } UNION { resource:Riga property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1085
P127
Q362482
USER
Which operation is under posessision of that administrative territory ?
(c(Q362482),P127,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q362482
[{'concept': 'Q362482'}, 'P127', 'Q1085']
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q1085 . ?e rdf:type ontology:Q362482 }
Prague
action filter_type
action find_reverse
entity Prague
relation owned by
type operation
[{'concept': 'operation'}, 'owned by', 'Prague']
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Prague . ?e rdf:type ontology:operation }
[]
operation
Clarification for simple ques.
Q1085
SYSTEM
Did you mean Prague ?
Q1085 Q649 Q649
(c(Q362482),P127,Q1085) (c(Q362482),P127,Q649) (c(Q362482),P127,Q649)
[ANSWER]
[{'concept': 'Q362482'}, 'P127', 'Q1085'] [{'concept': 'Q362482'}, 'P127', 'Q649'] [{'concept': 'Q362482'}, 'P127', 'Q649']
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q1085 . ?e rdf:type ontology:Q362482 }
Prague Moscow Moscow
Did you mean Prague ?
Prague
[{'concept': 'operation'}, 'owned by', 'Prague'] [{'concept': 'operation'}, 'owned by', 'Moscow'] [{'concept': 'operation'}, 'owned by', 'Moscow']
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Prague . ?e rdf:type ontology:operation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q362482),P127,Q1085)
[{'concept': 'Q362482'}, 'P127', 'Q1085']
[{'concept': 'operation'}, 'owned by', 'Prague']
[]
Q3935927
SYSTEM
Vršovice Castle
Q3935927
(c(Q362482),P127,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P127
type Q362482
[ANSWER] is under posessision of that administrative territory
[{'concept': 'Q362482'}, 'P127', 'Q1085']
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q1085 . ?e rdf:type ontology:Q362482 }
Vršovice Castle
Vršovice Castle is under posessision of that administrative territory
Vršovice Castle
action filter_type
action find_reverse
entity Prague
relation owned by
type operation
[{'concept': 'operation'}, 'owned by', 'Prague']
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Prague . ?e rdf:type ontology:operation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3935927 Q4873625 Q17041269
P127
Q56061
USER
Is that operation under posessision of Bavaj and Tamièla ?
(Q3935927,P127,Q4873625) (Q3935927,P127,Q17041269)
action is_in
entity Q3935927
action intersection
action find_reverse
entity Q4873625
relation P127
action find_reverse
entity Q17041269
relation P127
['Q3935927', 'P127', 'Q4873625'] ['Q3935927', 'P127', 'Q17041269']
ASK WHERE { resource:Q3935927 property:P127 resource:Q4873625 . resource:Q3935927 property:P127 resource:Q17041269 }
Vršovice Castle Bavaj Tamièla
action is_in
entity Vršovice Castle
action intersection
action find_reverse
entity Bavaj
relation owned by
action find_reverse
entity Tamièla
relation owned by
['Vršovice Castle', 'owned by', 'Bavaj'] ['Vršovice Castle', 'owned by', 'Tamièla']
ASK WHERE { resource:Vršovice_Castle property:owned_by resource:Bavaj . resource:Vršovice_Castle property:owned_by resource:Tamièla }
[]
administrative territorial entity
SYSTEM
NO
(Q3935927,P127,Q4873625) (Q3935927,P127,Q17041269)
action is_in
entity Q3935927
action intersection
action find_reverse
entity Q4873625
relation P127
action find_reverse
entity Q17041269
relation P127
[ANSWER]
['Q3935927', 'P127', 'Q4873625'] ['Q3935927', 'P127', 'Q17041269']
ASK WHERE { resource:Q3935927 property:P127 resource:Q4873625 . resource:Q3935927 property:P127 resource:Q17041269 }
No
action is_in
entity Vršovice Castle
action intersection
action find_reverse
entity Bavaj
relation owned by
action find_reverse
entity Tamièla
relation owned by
['Vršovice Castle', 'owned by', 'Bavaj'] ['Vršovice Castle', 'owned by', 'Tamièla']
ASK WHERE { resource:Vršovice_Castle property:owned_by resource:Bavaj . resource:Vršovice_Castle property:owned_by resource:Tamièla }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1085 Q16556 Q6787971
P190
Q56061
USER
Is Prague partner town of Phoenix and Matsangoni ?
(Q1085,P190,Q16556) (Q1085,P190,Q6787971)
action is_in
entity Q1085
action intersection
action find_reverse
entity Q16556
relation P190
action find_reverse
entity Q6787971
relation P190
['Q1085', 'P190', 'Q16556'] ['Q1085', 'P190', 'Q6787971']
ASK WHERE { resource:Q1085 property:P190 resource:Q16556 . resource:Q1085 property:P190 resource:Q6787971 }
Prague Phoenix Matsangoni
action is_in
entity Prague
action intersection
action find_reverse
entity Phoenix
relation sister city
action find_reverse
entity Matsangoni
relation sister city
['Prague', 'sister city', 'Phoenix'] ['Prague', 'sister city', 'Matsangoni']
ASK WHERE { resource:Prague property:sister_city resource:Phoenix . resource:Prague property:sister_city resource:Matsangoni }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q1085,P190,Q16556) (Q1085,P190,Q6787971)
action is_in
entity Q1085
action intersection
action find_reverse
entity Q16556
relation P190
action find_reverse
entity Q6787971
relation P190
[ANSWER]
['Q1085', 'P190', 'Q16556'] ['Q1085', 'P190', 'Q6787971']
ASK WHERE { resource:Q1085 property:P190 resource:Q16556 . resource:Q1085 property:P190 resource:Q6787971 }
YES and NO respectively
action is_in
entity Prague
action intersection
action find_reverse
entity Phoenix
relation sister city
action find_reverse
entity Matsangoni
relation sister city
['Prague', 'sister city', 'Phoenix'] ['Prague', 'sister city', 'Matsangoni']
ASK WHERE { resource:Prague property:sister_city resource:Phoenix . resource:Prague property:sister_city resource:Matsangoni }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P17
Q7275
USER
Which states are Prague situated in ?
action filter_type
action find
entity Q1085
relation P17
type Q7275
SELECT DISTINCT ?a WHERE { resource:Q1085 property:P17 ?a . ?a rdf:type ontology:Q7275 }
Prague
action filter_type
action find
entity Prague
relation country
type state
SELECT DISTINCT ?a WHERE { resource:Prague property:country ?a . ?a rdf:type ontology:state }
[]
state
Q33946 Q131964 Q152750
SYSTEM
Czechoslovakia, Austrian Empire, Protectorate of Bohemia and Moravia
Q2162698 Q152750 Q42585 Q33946 Q131964
action filter_type
action find
entity Q1085
relation P17
type Q7275
Prague are situated in [ANSWERS]
SELECT DISTINCT ?a WHERE { resource:Q1085 property:P17 ?a . ?a rdf:type ontology:Q7275 }
Duchy of Bohemia Protectorate of Bohemia and Moravia Kingdom of Bohemia Czechoslovakia Austrian Empire
Prague are situated in Czechoslovakia, Austrian Empire and Protectorate of Bohemia and Moravia
Czechoslovakia Austrian Empire Protectorate of Bohemia and Moravia
action filter_type
action find
entity Prague
relation country
type state
SELECT DISTINCT ?a WHERE { resource:Prague property:country ?a . ?a rdf:type ontology:state }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P35
Q502895 Q7275
USER
Which states have less number of people as their head of state than that state ?
(c(Q7275),P35,c(Q502895))
[{'concept': 'Q7275'}, 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q48352 ?y . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q502895 }
[{'concept': 'state'}, 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:head_of_state ?y . ?z rdf:type ontology:state . ?y rdf:type ontology:common_name }
[]
common name state
Comparative|More/Less|Single entity type|Clarification
Q152750
SYSTEM
Did you mean Protectorate of Bohemia and Moravia ?
(c(Q7275),P35,c(Q502895))
[ANSWER]
[{'concept': 'Q7275'}, 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q48352 ?y . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q502895 }
Did you mean Protectorate of Bohemia and Moravia ?
Protectorate of Bohemia and Moravia
[{'concept': 'state'}, 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:head_of_state ?y . ?z rdf:type ontology:state . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant Czechoslovakia. Could you tell me the answer for that?
(c(Q7275),P35,c(Q502895))
Q33946
[{'concept': 'Q7275'}, 'P35', {'concept': 'Q502895'}]
[{'concept': 'state'}, 'head of state', {'concept': 'common name'}]
[]
Q15180 Q131964 Q26273
SYSTEM
Soviet Union, Austrian Empire, Sint Maarten
Q7382038 Q271570 Q18285930 Q25279 Q15180 Q150981 Q1709185 Q153943 Q1083009 Q21203 Q175379 Q26273 Q551798 Q19801186 Q1277557 Q744042 Q131964
(c(Q7275),P35,c(Q502895))
[ANSWERS] have less number of people as their head of state than that state
[{'concept': 'Q7275'}, 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z property:Q48352 ?y . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q502895 }
Imperial Throne Kingdom of Araucanía and Patagonia German Empire of 1848/1849 Curaçao Soviet Union North German Confederation Kingdom of Spain under Joseph Bonaparte Kingdom of Westphalia Principality of Wy Aruba Empire of China Sint Maarten Grand Duchy of Flandrensis Liberland Democratic Federal Yugoslavia Grand Duchy of Avram Austrian Empire
Soviet Union, Austrian Empire and Sint Maarten have less number of people as their head of state than that state
Soviet Union Austrian Empire Sint Maarten
[{'concept': 'state'}, 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z property:head_of_state ?y . ?z rdf:type ontology:state . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q636377
P194
Q1752346 Q7275
USER
Which assemblies are the legislative bodies for around the same number of states as Hamburg Parliament ?
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q636377
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?f = ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q636377 property:P194 ?g . ?g rdf:type ontology:Q1752346 } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P194 ?b . ?b rdf:type ontology:Q1752346 . ?k rdf:type ontology:Q7275 } GROUP BY ?b } }
Hamburg Parliament
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Hamburg Parliament
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?f = ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Hamburg_Parliament property:legislative_body ?g . ?g rdf:type ontology:assembly } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:legislative_body ?b . ?b rdf:type ontology:assembly . ?k rdf:type ontology:state } GROUP BY ?b } }
[]
assembly state
Q154797 Q209151 Q133396
SYSTEM
Bundestag of Germany, Folketing, Knesset
Q16980374 Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q4496302 Q3365524 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q636377 Q458185 Q510511 Q509668 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q640859 Q1091494 Q3333555 Q4852810 Q7603047 Q2185780 Q4184925 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q12114504 Q1870447 Q378605 Q6867972 Q24861263 Q1292 Q571436 Q521764 Q695252 Q209151 Q1520966 Q1284236 Q4938444 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q645195 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q4947808 Q475689 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q7089412 Q1515950 Q701632
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q636377
relation P194
type Q1752346
[ANSWERS] are the legislative bodies for around the same number of states as Hamburg Parliament
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?f = ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q636377 property:P194 ?g . ?g rdf:type ontology:Q1752346 } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P194 ?b . ?b rdf:type ontology:Q1752346 . ?k rdf:type ontology:Q7275 } GROUP BY ?b } }
Honolulu City Council city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay Kharkiv City Municipality Parliament of Tasmania Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Hamburg Parliament Landtag of South Tyrol Landtag of Hesse Løgting Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Kremenchuk City Municipality Los Angeles City Council Islamic Consultative Assembly Minneapolis City Council Kyoto City Assembly Flemish Parliament Landtag of North Rhine-Westphalia Landtag of Brandenburg Parliament of India Folketing New Zealand Parliament Congress of Colombia Boise City Council Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council New York City Council Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress Boston City Council Parliament of Canada Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Omaha City Council Assembly of the Republic municipal council
Bundestag of Germany, Folketing and Knesset are the legislative bodies for around the same number of states as Hamburg Parliament
Bundestag of Germany Folketing Knesset
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Hamburg Parliament
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?f = ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Hamburg_Parliament property:legislative_body ?g . ?g rdf:type ontology:assembly } } . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:legislative_body ?b . ?b rdf:type ontology:assembly . ?k rdf:type ontology:state } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7186810
P194
Q1752346 Q7275
USER
And how about Phoenix City Council?
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q7186810
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?d ) WHERE { ?b rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q7275 . ?w property:P194 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q7186810 property:P194 ?u . ?u rdf:type ontology:Q1752346 } } . FILTER ( ?d = ?y ) }
Phoenix City Council
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Phoenix City Council
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?d ) WHERE { ?b rdf:type ontology:assembly . ?w rdf:type ontology:state . ?w property:legislative_body ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Phoenix_City_Council property:legislative_body ?u . ?u rdf:type ontology:assembly } } . FILTER ( ?d = ?y ) }
[]
assembly state
Q154797 Q209151 Q133396
SYSTEM
Bundestag of Germany, Folketing, Knesset
Q16980374 Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q4496302 Q3365524 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q636377 Q458185 Q510511 Q509668 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q640859 Q1091494 Q3333555 Q4852810 Q7603047 Q2185780 Q4184925 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q12114504 Q1870447 Q378605 Q6867972 Q24861263 Q1292 Q571436 Q521764 Q695252 Q209151 Q1520966 Q1284236 Q4938444 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q645195 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q4947808 Q475689 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q7089412 Q1515950 Q701632
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q7186810
relation P194
type Q1752346
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?d ) WHERE { ?b rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q7275 . ?w property:P194 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q7186810 property:P194 ?u . ?u rdf:type ontology:Q1752346 } } . FILTER ( ?d = ?y ) }
Honolulu City Council city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay Kharkiv City Municipality Parliament of Tasmania Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Hamburg Parliament Landtag of South Tyrol Landtag of Hesse Løgting Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Kremenchuk City Municipality Los Angeles City Council Islamic Consultative Assembly Minneapolis City Council Kyoto City Assembly Flemish Parliament Landtag of North Rhine-Westphalia Landtag of Brandenburg Parliament of India Folketing New Zealand Parliament Congress of Colombia Boise City Council Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council New York City Council Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress Boston City Council Parliament of Canada Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Omaha City Council Assembly of the Republic municipal council
Bundestag of Germany Folketing Knesset
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Phoenix City Council
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?d ) WHERE { ?b rdf:type ontology:assembly . ?w rdf:type ontology:state . ?w property:legislative_body ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Phoenix_City_Council property:legislative_body ?u . ?u rdf:type ontology:assembly } } . FILTER ( ?d = ?y ) }
[]