Simple Question (Direct)
Simple Question
Q18217851
P19
Q56061
USER
Which administrative territory was Vladimir Pashkevich born at ?
(Q18217851,P19,c(Q56061))
action filter_type
action find
entity Q18217851
relation P19
type Q56061
['Q18217851', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q18217851 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Vladimir Pashkevich
action filter_type
action find
entity Vladimir Pashkevich
relation place of birth
type administrative territorial entity
['Vladimir Pashkevich', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Vladimir_Pashkevich property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q883
SYSTEM
Novosibirsk
Q883
(Q18217851,P19,c(Q56061))
action filter_type
action find
entity Q18217851
relation P19
type Q56061
Vladimir Pashkevich was born in [ANSWER]
['Q18217851', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q18217851 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Novosibirsk
Vladimir Pashkevich was born in Novosibirsk
Novosibirsk
action filter_type
action find
entity Vladimir Pashkevich
relation place of birth
type administrative territorial entity
['Vladimir Pashkevich', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Vladimir_Pashkevich property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q883
P190
Q515
USER
Which city is twin town of that administrative territory ?
(Q883,P190,c(Q515))
action filter_type
action find
entity Q883
relation P190
type Q515
['Q883', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q883 property:P190 ?b . ?b rdf:type ontology:Q515 }
Novosibirsk
action filter_type
action find
entity Novosibirsk
relation sister city
type city
['Novosibirsk', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Novosibirsk property:sister_city ?b . ?b rdf:type ontology:city }
[]
city
Q20921
SYSTEM
Daejeon
Q20921
(Q883,P190,c(Q515))
action filter_type
action find
entity Q883
relation P190
type Q515
[ANSWER] is twin town of that administrative territory
['Q883', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q883 property:P190 ?b . ?b rdf:type ontology:Q515 }
Daejeon
Daejeon is twin town of that administrative territory
Daejeon
action filter_type
action find
entity Novosibirsk
relation sister city
type city
['Novosibirsk', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Novosibirsk property:sister_city ?b . ?b rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20921 Q5083
P190
Q56061
USER
Is Seattle the sister city of that one ?
(Q20921,P190,Q5083)
action is_in
entity Q5083
action find
entity Q20921
relation P190
['Q20921', 'P190', 'Q5083']
ASK WHERE { resource:Q20921 property:P190 resource:Q5083 }
Daejeon Seattle
action is_in
entity Seattle
action find
entity Daejeon
relation sister city
['Daejeon', 'sister city', 'Seattle']
ASK WHERE { resource:Daejeon property:sister_city resource:Seattle }
[]
administrative territorial entity
SYSTEM
YES
(Q20921,P190,Q5083)
action is_in
entity Q5083
action find
entity Q20921
relation P190
[ANSWER]
['Q20921', 'P190', 'Q5083']
ASK WHERE { resource:Q20921 property:P190 resource:Q5083 }
Yes
action is_in
entity Seattle
action find
entity Daejeon
relation sister city
['Daejeon', 'sister city', 'Seattle']
ASK WHERE { resource:Daejeon property:sister_city resource:Seattle }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20921
P915
Q838948
USER
Which works of art were filmed in the location Daejeon ?
(c(Q838948),P915,Q20921)
action filter_type
action find_reverse
entity Q20921
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q20921']
SELECT DISTINCT ?n WHERE { ?n property:P915 resource:Q20921 . ?n rdf:type ontology:Q838948 }
Daejeon
action filter_type
action find_reverse
entity Daejeon
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Daejeon']
SELECT DISTINCT ?n WHERE { ?n property:filming_location resource:Daejeon . ?n rdf:type ontology:work_of_art }
[]
work of art
Q492485 Q3809340 Q6408823
SYSTEM
The Thieves, Miracle in Cell No. 7, New World
Q6408823 Q489969 Q3809340 Q492000 Q4632407 Q6690294 Q492485
(c(Q838948),P915,Q20921)
action filter_type
action find_reverse
entity Q20921
relation P915
type Q838948
[ANSWERS] were filmed in the location Daejeon
[{'concept': 'Q838948'}, 'P915', 'Q20921']
SELECT DISTINCT ?n WHERE { ?n property:P915 resource:Q20921 . ?n rdf:type ontology:Q838948 }
New World The Crucible Miracle in Cell No. 7 Runway Cop 26 Years Love 911 The Thieves
The Thieves, Miracle in Cell No. 7 and New World were filmed in the location Daejeon
The Thieves Miracle in Cell No. 7 New World
action filter_type
action find_reverse
entity Daejeon
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Daejeon']
SELECT DISTINCT ?n WHERE { ?n property:filming_location resource:Daejeon . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q883
P17
Q15617994
USER
Which administrative territory does Novosibirsk belong to ?
(Q883,P17,c(Q15617994))
action filter_type
action find
entity Q883
relation P17
type Q15617994
['Q883', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q883 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Novosibirsk
action filter_type
action find
entity Novosibirsk
relation country
type designation for an administrative territorial entity
['Novosibirsk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Novosibirsk property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q883,P17,c(Q15617994))
action filter_type
action find
entity Q883
relation P17
type Q15617994
Novosibirsk belongs to [ANSWER]
['Q883', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q883 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Russia
Novosibirsk belongs to Russia
Russia
action filter_type
action find
entity Novosibirsk
relation country
type designation for an administrative territorial entity
['Novosibirsk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Novosibirsk property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18575
P609
Q515 Q34442 Q83620
USER
Which cities are the destination of around the same number of roads and thoroughfares as Tucson ?
(c(Q34442)|c(Q83620),P609,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q18575
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?m rdf:type ?y } GROUP BY ?l } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { { ?q rdf:type ontology:Q34442 } UNION { ?q rdf:type ontology:Q83620 } } . ?q property:P609 resource:Q18575 } } }
Tucson
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Tucson
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { VALUES ( ?y ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?m rdf:type ?y } GROUP BY ?l } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { { ?q rdf:type ontology:road } UNION { ?q rdf:type ontology:thoroughfare } } . ?q property:terminus_location resource:Tucson } } }
[]
city road thoroughfare
Q1899 Q42622 Q16506
SYSTEM
Kyiv, Suzhou, České Budějovice
Q8652 Q349982 Q601254 Q425996 Q756581 Q320950 Q869037 Q16506 Q363479 Q1027604 Q2092257 Q16959 Q68481 Q851155 Q181276 Q249007 Q341777 Q5869 Q16520 Q541071 Q360374 Q6602 Q535534 Q819620 Q193724 Q987487 Q180470 Q210365 Q533157 Q1630623 Q158245 Q2079 Q217698 Q379160 Q18575 Q1000069 Q612646 Q42622 Q71227 Q1641736 Q185684 Q373101 Q426868 Q278877 Q147738 Q502981 Q1008696 Q373023 Q954611 Q1761 Q373687 Q162880 Q682544 Q187136 Q404529 Q954569 Q304848 Q16666 Q34750 Q570768 Q321778 Q513417 Q11506 Q200603 Q946780 Q1899 Q1009095 Q57756 Q360643 Q58401 Q587388
(c(Q34442)|c(Q83620),P609,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q18575
relation P609
type Q34442
type Q83620
[ANSWERS] are the destination of around the same number of roads and thoroughfares as Tucson
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?m rdf:type ?y } GROUP BY ?l } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { { ?q rdf:type ontology:Q34442 } UNION { ?q rdf:type ontology:Q83620 } } . ?q property:P609 resource:Q18575 } } }
Miami Hegang Dubí Deyang Františkovy Lázně Trutnov Takasago České Budějovice Shangrao Uherský Ostroh Rožmitál pod Třemšínem Ürümqi Fuzhou Kasai Szolnok Wuwei Čáslav Lhasa Busan Hulín Anqing Strasbourg Hohhot Seiyo Slavkov u Brna Ostrov Huangshan City Beihai Tianshui Hostivice Písek Leipzig Weifang Kunszentmárton Tucson Lovosice Veselí nad Lužnicí Suzhou Shiyan Pohořelice Hefei Rizhao Leshan Český Těšín Saint Helier Miyako Rožnov pod Radhoštěm Weihai Jeseník Dublin Binzhou Dezhou Mikulov Luoyang Xuchang Vyškov Daqing Nanjing Fuxin Wuhai Hodonín Vsetín Denpasar Yawatahama Lanžhot Kyiv Otrokovice Lianyungang Suzhou, Anhui Shijiazhuang Mohelnice
Kyiv, Suzhou and České Budějovice are the destination of around the same number of roads and thoroughfares as Tucson
Kyiv Suzhou České Budějovice
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Tucson
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?l WHERE { VALUES ( ?y ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?m rdf:type ?y } GROUP BY ?l } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { { ?q rdf:type ontology:road } UNION { ?q rdf:type ontology:thoroughfare } } . ?q property:terminus_location resource:Tucson } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q180470
P609
Q515 Q34442 Q83620
USER
And also tell me about Huangshan City?
(c(Q34442)|c(Q83620),P609,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q180470
relation P609
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?i ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?h rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P609 resource:Q180470 . { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?l = ?a ) }
Huangshan City
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Huangshan City
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?i ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?h rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:terminus_location resource:Huangshan_City . { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?l = ?a ) }
[]
city road thoroughfare
Q1899 Q42622 Q16506
SYSTEM
Kyiv, Suzhou, České Budějovice
Q8652 Q349982 Q601254 Q425996 Q756581 Q320950 Q869037 Q16506 Q363479 Q1027604 Q2092257 Q16959 Q68481 Q851155 Q181276 Q249007 Q341777 Q5869 Q16520 Q541071 Q360374 Q6602 Q535534 Q819620 Q193724 Q987487 Q180470 Q210365 Q533157 Q1630623 Q158245 Q2079 Q217698 Q379160 Q18575 Q1000069 Q612646 Q42622 Q71227 Q1641736 Q185684 Q373101 Q426868 Q278877 Q147738 Q502981 Q1008696 Q373023 Q954611 Q1761 Q373687 Q162880 Q682544 Q187136 Q404529 Q954569 Q304848 Q16666 Q34750 Q570768 Q321778 Q513417 Q11506 Q200603 Q946780 Q1899 Q1009095 Q57756 Q360643 Q58401 Q587388
(c(Q34442)|c(Q83620),P609,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q180470
relation P609
type Q34442
type Q83620
[ANSWERS]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?i ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?h rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P609 resource:Q180470 . { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?l = ?a ) }
Miami Hegang Dubí Deyang Františkovy Lázně Trutnov Takasago České Budějovice Shangrao Uherský Ostroh Rožmitál pod Třemšínem Ürümqi Fuzhou Kasai Szolnok Wuwei Čáslav Lhasa Busan Hulín Anqing Strasbourg Hohhot Seiyo Slavkov u Brna Ostrov Huangshan City Beihai Tianshui Hostivice Písek Leipzig Weifang Kunszentmárton Tucson Lovosice Veselí nad Lužnicí Suzhou Shiyan Pohořelice Hefei Rizhao Leshan Český Těšín Saint Helier Miyako Rožnov pod Radhoštěm Weihai Jeseník Dublin Binzhou Dezhou Mikulov Luoyang Xuchang Vyškov Daqing Nanjing Fuxin Wuhai Hodonín Vsetín Denpasar Yawatahama Lanžhot Kyiv Otrokovice Lianyungang Suzhou, Anhui Shijiazhuang Mohelnice
Kyiv Suzhou České Budějovice
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type city
type road
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Huangshan City
relation terminus location
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?i ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?h rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:terminus_location resource:Huangshan_City . { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?l = ?a ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1899 Q42622 Q16506
P17
Q15617994
USER
Which administrative territories are those cities present in ?
(Q1899,P17,c(Q15617994)) (Q42622,P17,c(Q15617994)) (Q16506,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1899', 'P17', {'concept': 'Q15617994'}] ['Q42622', 'P17', {'concept': 'Q15617994'}] ['Q16506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?c property:P17 ?j . ?j rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q8652 ) ( resource:Q349982 ) ( resource:Q601254 ) } }
Kyiv Suzhou České Budějovice
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Kyiv', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Suzhou', 'country', {'concept': 'designation for an administrative territorial entity'}] ['České Budějovice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?c property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Miami ) ( resource:Hegang ) ( resource:Dubí ) } }
[]
designation for an administrative territorial entity
Q212 Q148 Q213
SYSTEM
Ukraine, People's Republic of China, Czech Republic
Q212 Q148 Q213
(Q1899,P17,c(Q15617994)) (Q42622,P17,c(Q15617994)) (Q16506,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those cities are in [ANSWERS]
['Q1899', 'P17', {'concept': 'Q15617994'}] ['Q42622', 'P17', {'concept': 'Q15617994'}] ['Q16506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?c property:P17 ?j . ?j rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q8652 ) ( resource:Q349982 ) ( resource:Q601254 ) } }
Ukraine People's Republic of China Czech Republic
Those cities are in Ukraine, People's Republic of China and Czech Republic
Ukraine People's Republic of China Czech Republic
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Kyiv', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Suzhou', 'country', {'concept': 'designation for an administrative territorial entity'}] ['České Budějovice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?c property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Miami ) ( resource:Hegang ) ( resource:Dubí ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P47
Q15617994
USER
Which administrative territories have an adjacent border with Czech Republic ?
(c(Q15617994),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q213']
SELECT DISTINCT ?v WHERE { resource:Q213 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?v WHERE { resource:Czech_Republic property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q214
SYSTEM
Poland, Slovakia
Q36 Q214
(c(Q15617994),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q15617994
[ANSWERS] have an adjacent border with Czech Republic
[{'concept': 'Q15617994'}, 'P47', 'Q213']
SELECT DISTINCT ?v WHERE { resource:Q213 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Poland Slovakia
Poland and Slovakia have an adjacent border with Czech Republic
Poland Slovakia
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?v WHERE { resource:Czech_Republic property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36 Q214
P17
Q15617994
USER
Which administrative territories are those ones situated in ?
(Q36,P17,c(Q15617994)) (Q214,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q36', 'P17', {'concept': 'Q15617994'}] ['Q214', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Q36 ) ( resource:Q214 ) } . ?j rdf:type ontology:Q15617994 . ?s property:P17 ?j }
Poland Slovakia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Poland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Poland ) ( resource:Slovakia ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:country ?j }
[]
designation for an administrative territorial entity
Q36 Q214
SYSTEM
Poland, Slovakia
Q36 Q214
(Q36,P17,c(Q15617994)) (Q214,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones are situated in [ANSWERS]
['Q36', 'P17', {'concept': 'Q15617994'}] ['Q214', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Q36 ) ( resource:Q214 ) } . ?j rdf:type ontology:Q15617994 . ?s property:P17 ?j }
Poland Slovakia
Those ones are situated in Poland and Slovakia
Poland Slovakia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Poland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Poland ) ( resource:Slovakia ) } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:country ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P137
Q43229
USER
Which organization was managed by Poland ?
(c(Q43229),P137,Q36) (c(Q43229),P137,Q214)
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
[{'concept': 'Q43229'}, 'P137', 'Q36'] [{'concept': 'Q43229'}, 'P137', 'Q214']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q36 . ?n rdf:type ontology:Q43229 }
Poland
action filter_type
action find_reverse
entity Poland
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Poland'] [{'concept': 'organization'}, 'operator', 'Slovakia']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:Poland . ?n rdf:type ontology:organization }
[]
organization
Q129110
SYSTEM
Telewizja Polska
Q129110
(c(Q43229),P137,Q36) (c(Q43229),P137,Q214)
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
[ANSWER] was managed by Poland
[{'concept': 'Q43229'}, 'P137', 'Q36'] [{'concept': 'Q43229'}, 'P137', 'Q214']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q36 . ?n rdf:type ontology:Q43229 }
Telewizja Polska
Telewizja Polska was managed by Poland
Telewizja Polska
action filter_type
action find_reverse
entity Poland
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Poland'] [{'concept': 'organization'}, 'operator', 'Slovakia']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:Poland . ?n rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q129110
P449
Q15416
USER
Which television programs were the television programs that were originally telecasted by that organization ?
(c(Q15416),P449,Q129110)
action filter_type
action find_reverse
entity Q129110
relation P449
type Q15416
[{'concept': 'Q15416'}, 'P449', 'Q129110']
SELECT DISTINCT ?f WHERE { ?f property:P449 resource:Q129110 . ?f rdf:type ontology:Q15416 }
Telewizja Polska
action filter_type
action find_reverse
entity Telewizja Polska
relation original network
type television program
[{'concept': 'television program'}, 'original network', 'Telewizja Polska']
SELECT DISTINCT ?f WHERE { ?f property:original_network resource:Telewizja_Polska . ?f rdf:type ontology:television_program }
[]
television program
Q906424 Q990 Q9176514
SYSTEM
Bolek and Lolek, Czterej pancerni i pies, Bolek i Lolek na Dzikim Zachodzie
Q990 Q906424 Q9176514 Q4736618 Q929924 Q2993222 Q608711
(c(Q15416),P449,Q129110)
action filter_type
action find_reverse
entity Q129110
relation P449
type Q15416
[ANSWERS] were the television programs that were originally telecasted by that organization
[{'concept': 'Q15416'}, 'P449', 'Q129110']
SELECT DISTINCT ?f WHERE { ?f property:P449 resource:Q129110 . ?f rdf:type ontology:Q15416 }
Czterej pancerni i pies Bolek and Lolek Bolek i Lolek na Dzikim Zachodzie Alternatywy 4 Miś Uszatek Reksio Plebania
Bolek and Lolek, Czterej pancerni i pies and Bolek i Lolek na Dzikim Zachodzie were the television programs that were originally telecasted by that organization
Bolek and Lolek Czterej pancerni i pies Bolek i Lolek na Dzikim Zachodzie
action filter_type
action find_reverse
entity Telewizja Polska
relation original network
type television program
[{'concept': 'television program'}, 'original network', 'Telewizja Polska']
SELECT DISTINCT ?f WHERE { ?f property:original_network resource:Telewizja_Polska . ?f rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q129110
P1454
Q2712963
USER
Which abstract noun is the legal form type of that organization ?
(Q906424,P1454,c(Q2712963)) (Q990,P1454,c(Q2712963)) (Q9176514,P1454,c(Q2712963))
action filter_type
action find
entity Q129110
relation P1454
type Q2712963
['Q906424', 'P1454', {'concept': 'Q2712963'}] ['Q990', 'P1454', {'concept': 'Q2712963'}] ['Q9176514', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2712963 . resource:Q129110 property:P1454 ?v }
Telewizja Polska
action filter_type
action find
entity Telewizja Polska
relation legal form
type abstract noun
['Bolek and Lolek', 'legal form', {'concept': 'abstract noun'}] ['Czterej pancerni i pies', 'legal form', {'concept': 'abstract noun'}] ['Bolek i Lolek na Dzikim Zachodzie', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:abstract_noun . resource:Telewizja_Polska property:legal_form ?v }
[]
abstract noun
Q134161
SYSTEM
joint-stock company
Q134161
(Q906424,P1454,c(Q2712963)) (Q990,P1454,c(Q2712963)) (Q9176514,P1454,c(Q2712963))
action filter_type
action find
entity Q129110
relation P1454
type Q2712963
A [ANSWER] is the legal form type of that organization
['Q906424', 'P1454', {'concept': 'Q2712963'}] ['Q990', 'P1454', {'concept': 'Q2712963'}] ['Q9176514', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2712963 . resource:Q129110 property:P1454 ?v }
joint-stock company
A joint-stock company is the legal form type of that organization
joint-stock company
action filter_type
action find
entity Telewizja Polska
relation legal form
type abstract noun
['Bolek and Lolek', 'legal form', {'concept': 'abstract noun'}] ['Czterej pancerni i pies', 'legal form', {'concept': 'abstract noun'}] ['Bolek i Lolek na Dzikim Zachodzie', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:abstract_noun . resource:Telewizja_Polska property:legal_form ?v }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1084726 Q1899
P190 P937
Q515
USER
Which cities are twin cities of Kyiv and are the work locations of Christoph Degenhart ?
AND((Q1899,P190,c(Q515)), (Q1084726,P937,c(Q515)))
action filter_type
action intersection
action find
entity Q1899
relation P190
action find
entity Q1084726
relation P937
type Q515
{'AND': [['Q1899', 'P190', {'concept': 'Q515'}], ['Q1084726', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?h WHERE { resource:Q1899 property:P190 ?h . resource:Q1084726 property:P937 ?h . ?h rdf:type ontology:Q515 }
Christoph Degenhart Kyiv
action filter_type
action intersection
action find
entity Kyiv
relation sister city
action find
entity Christoph Degenhart
relation work location
type city
{'AND': [['Kyiv', 'sister city', {'concept': 'city'}], ['Christoph Degenhart', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?h WHERE { resource:Kyiv property:sister_city ?h . resource:Christoph_Degenhart property:work_location ?h . ?h rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
AND((Q1899,P190,c(Q515)), (Q1084726,P937,c(Q515)))
action filter_type
action intersection
action find
entity Q1899
relation P190
action find
entity Q1084726
relation P937
type Q515
[ANSWER] is twin cities of Kyiv and is the work locations of Christoph Degenhart
{'AND': [['Q1899', 'P190', {'concept': 'Q515'}], ['Q1084726', 'P937', {'concept': 'Q515'}]]}
SELECT DISTINCT ?h WHERE { resource:Q1899 property:P190 ?h . resource:Q1084726 property:P937 ?h . ?h rdf:type ontology:Q515 }
Leipzig
Leipzig is twin cities of Kyiv and is the work locations of Christoph Degenhart
Leipzig
action filter_type
action intersection
action find
entity Kyiv
relation sister city
action find
entity Christoph Degenhart
relation work location
type city
{'AND': [['Kyiv', 'sister city', {'concept': 'city'}], ['Christoph Degenhart', 'work location', {'concept': 'city'}]]}
SELECT DISTINCT ?h WHERE { resource:Kyiv property:sister_city ?h . resource:Christoph_Degenhart property:work_location ?h . ?h rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1084726
P21
Q290
USER
Which sex does Christoph Degenhart possess ?
(Q1084726,P21,c(Q290))
action filter_type
action find
entity Q1084726
relation P21
type Q290
['Q1084726', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1084726 property:P21 ?i . ?i rdf:type ontology:Q290 }
Christoph Degenhart
action filter_type
action find
entity Christoph Degenhart
relation gender
type sex
['Christoph Degenhart', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Christoph_Degenhart property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1084726,P21,c(Q290))
action filter_type
action find
entity Q1084726
relation P21
type Q290
Christoph Degenhart possesses un [ANSWER]
['Q1084726', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1084726 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Christoph Degenhart possesses un male
male
action filter_type
action find
entity Christoph Degenhart
relation gender
type sex
['Christoph Degenhart', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Christoph_Degenhart property:gender ?i . ?i rdf:type ontology:sex }
[]