Simple Question (Direct)
Simple Question
Q1861834
P21
Q290
USER
Which sex does Valeriy Sviatokha belong to ?
(Q1861834,P21,c(Q290))
action filter_type
action find
entity Q1861834
relation P21
type Q290
['Q1861834', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q1861834 property:P21 ?w }
Valeriy Sviatokha
action filter_type
action find
entity Valeriy Sviatokha
relation gender
type sex
['Valeriy Sviatokha', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Valeriy_Sviatokha property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1861834,P21,c(Q290))
action filter_type
action find
entity Q1861834
relation P21
type Q290
Valeriy Sviatokha belongs to [ANSWER]
['Q1861834', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q1861834 property:P21 ?w }
male
Valeriy Sviatokha belongs to male
male
action filter_type
action find
entity Valeriy Sviatokha
relation gender
type sex
['Valeriy Sviatokha', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Valeriy_Sviatokha property:gender ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1861834
P106
Q151885
USER
Which concept is the profession of Valeriy Sviatokha ?
(Q1861834,P106,c(Q151885))
action filter_type
action find
entity Q1861834
relation P106
type Q151885
['Q1861834', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q1861834 property:P106 ?a . ?a rdf:type ontology:Q151885 }
Valeriy Sviatokha
action filter_type
action find
entity Valeriy Sviatokha
relation occupation
type concept
['Valeriy Sviatokha', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Valeriy_Sviatokha property:occupation ?a . ?a rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q1861834,P106,c(Q151885))
action filter_type
action find
entity Q1861834
relation P106
type Q151885
The [ANSWER] is the profession of Valeriy Sviatokha
['Q1861834', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q1861834 property:P106 ?a . ?a rdf:type ontology:Q151885 }
athletics competitor
The athletics competitor is the profession of Valeriy Sviatokha
athletics competitor
action filter_type
action find
entity Valeriy Sviatokha
relation occupation
type concept
['Valeriy Sviatokha', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Valeriy_Sviatokha property:occupation ?a . ?a rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1861834
P641
Q31629
USER
What was the type of sport that Valeriy Sviatokha was a part of ?
(Q1861834,P641,c(Q31629))
action filter_type
action find
entity Q1861834
relation P641
type Q31629
['Q1861834', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q1861834 property:P641 ?e . ?e rdf:type ontology:Q31629 }
Valeriy Sviatokha
action filter_type
action find
entity Valeriy Sviatokha
relation sport
type type of sport
['Valeriy Sviatokha', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Valeriy_Sviatokha property:sport ?e . ?e rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q1861834,P641,c(Q31629))
action filter_type
action find
entity Q1861834
relation P641
type Q31629
The type of sport that Valeriy Sviatokha was a part of was h [ANSWER]
['Q1861834', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q1861834 property:P641 ?e . ?e rdf:type ontology:Q31629 }
athletics
The type of sport that Valeriy Sviatokha was a part of was h athletics
athletics
action filter_type
action find
entity Valeriy Sviatokha
relation sport
type type of sport
['Valeriy Sviatokha', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Valeriy_Sviatokha property:sport ?e . ?e rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1861834
P27
Q15617994
USER
Which administrative territory does Valeriy Sviatokha belong to ?
(Q1861834,P27,c(Q15617994))
action filter_type
action find
entity Q1861834
relation P27
type Q15617994
['Q1861834', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q1861834 property:P27 ?e }
Valeriy Sviatokha
action filter_type
action find
entity Valeriy Sviatokha
relation country of citizenship
type designation for an administrative territorial entity
['Valeriy Sviatokha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Valeriy_Sviatokha property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q1861834,P27,c(Q15617994))
action filter_type
action find
entity Q1861834
relation P27
type Q15617994
Valeriy Sviatokha belongs to [ANSWER]
['Q1861834', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q1861834 property:P27 ?e }
Belarus
Valeriy Sviatokha belongs to Belarus
Belarus
action filter_type
action find
entity Valeriy Sviatokha
relation country of citizenship
type designation for an administrative territorial entity
['Valeriy Sviatokha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Valeriy_Sviatokha property:country_of_citizenship ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q520666
Q15617994
USER
And what about Rallou Karatza?
(Q520666,P27,c(Q15617994))
action filter_type
action find
entity Q520666
relation P27
type Q15617994
['Q520666', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q520666 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Rallou Karatza
action filter_type
action find
entity Rallou Karatza
relation country of citizenship
type designation for an administrative territorial entity
['Rallou Karatza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Rallou_Karatza property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q520666,P27,c(Q15617994))
action filter_type
action find
entity Q520666
relation P27
type Q15617994
[ANSWER]
['Q520666', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q520666 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Romania
Romania
action filter_type
action find
entity Rallou Karatza
relation country of citizenship
type designation for an administrative territorial entity
['Rallou Karatza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Rallou_Karatza property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q2342494
USER
How many administrative territories are the countries of origin of around the same number of releases or collectables as that administrative territory ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q218
relation P495
type Q2031291
type Q2342494
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?s WHERE { { ?g property:P495 ?s . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P495 ?s . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2031291 } } GROUP BY ?s } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P495 resource:Q218 . { VALUES ( ?l ) { ( ontology:Q2031291 ) ( ontology:Q2342494 ) } . ?v rdf:type ?l } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Romania
relation country of origin
type release
type collectable
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?s WHERE { { ?g property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable } UNION { ?g property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:release } } GROUP BY ?s } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:country_of_origin resource:Romania . { VALUES ( ?l ) { ( ontology:release ) ( ontology:collectable ) } . ?v rdf:type ?l } } } }
[]
designation for an administrative territorial entity release collectable
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q218
relation P495
type Q2031291
type Q2342494
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?s WHERE { { ?g property:P495 ?s . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2342494 } UNION { ?g property:P495 ?s . ?s rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q2031291 } } GROUP BY ?s } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P495 resource:Q218 . { VALUES ( ?l ) { ( ontology:Q2031291 ) ( ontology:Q2342494 ) } . ?v rdf:type ?l } } } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
167
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Romania
relation country of origin
type release
type collectable
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?s WHERE { { ?g property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:collectable } UNION { ?g property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:release } } GROUP BY ?s } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:country_of_origin resource:Romania . { VALUES ( ?l ) { ( ontology:release ) ( ontology:collectable ) } . ?v rdf:type ?l } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q218 Q40
P530
Q1048835
USER
How many political territories have diplomatic relationships with Romania and Austria ?
(Q218,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q218
relation P530
type Q1048835
action filter_type
action find
entity Q40
relation P530
type Q1048835
['Q218', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q218 property:P530 ?i . ?i rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?i . ?i rdf:type ontology:Q1048835 }
Romania Austria
action count
action intersection
action filter_type
action find
entity Romania
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
['Romania', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Romania property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q218,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q218
relation P530
type Q1048835
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
['Q218', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q218 property:P530 ?i . ?i rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?i . ?i rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity Romania
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
['Romania', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Romania property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P159
Q43229
USER
Which organization has the principal seat at Romania ?
(c(Q43229),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q218']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q218 . ?k rdf:type ontology:Q43229 }
Romania
action filter_type
action find_reverse
entity Romania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:Romania . ?k rdf:type ontology:organization }
[]
organization
Q4763964
SYSTEM
Angst
Q4763964
(c(Q43229),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q43229
[ANSWER] has the principal seat at Romania
[{'concept': 'Q43229'}, 'P159', 'Q218']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q218 . ?k rdf:type ontology:Q43229 }
Angst
Angst has the principal seat at Romania
Angst
action filter_type
action find_reverse
entity Romania
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:Romania . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1861834
P19
Q56061
USER
Which administrative territory is the place of birth of Valeriy Sviatokha ?
(Q1861834,P19,c(Q56061))
action filter_type
action find
entity Q1861834
relation P19
type Q56061
['Q1861834', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1861834 property:P19 ?d }
Valeriy Sviatokha
action filter_type
action find
entity Valeriy Sviatokha
relation place of birth
type administrative territorial entity
['Valeriy Sviatokha', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Valeriy_Sviatokha property:place_of_birth ?d }
[]
administrative territorial entity
Q181376
SYSTEM
Grodno
Q181376
(Q1861834,P19,c(Q56061))
action filter_type
action find
entity Q1861834
relation P19
type Q56061
[ANSWER] is the place of birth of Valeriy Sviatokha
['Q1861834', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1861834 property:P19 ?d }
Grodno
Grodno is the place of birth of Valeriy Sviatokha
Grodno
action filter_type
action find
entity Valeriy Sviatokha
relation place of birth
type administrative territorial entity
['Valeriy Sviatokha', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Valeriy_Sviatokha property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181376
P190
Q56061
USER
Which administrative territories are sister towns of that one ?
(Q181376,P190,c(Q56061))
action filter_type
action find
entity Q181376
relation P190
type Q56061
['Q181376', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q181376 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Grodno
action filter_type
action find
entity Grodno
relation sister city
type administrative territorial entity
['Grodno', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Grodno property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1957 Q761 Q25797
SYSTEM
Vologda, Białystok, Žilina
Q25797 Q3846 Q1957 Q198369 Q1261509 Q761 Q197582
(Q181376,P190,c(Q56061))
action filter_type
action find
entity Q181376
relation P190
type Q56061
[ANSWERS] are sister towns of that one
['Q181376', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q181376 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Žilina Minden Vologda Shchyolkovo Druskininkai Białystok Khimki
Vologda, Białystok and Žilina are sister towns of that one
Vologda Białystok Žilina
action filter_type
action find
entity Grodno
relation sister city
type administrative territorial entity
['Grodno', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Grodno property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6340297 Q181376
P1408 P190
Q56061
USER
Which administrative territories are sister towns of Grodno or are KVTA permitted to broadcast as per their license ?
OR((Q181376,P190,c(Q56061)), (Q6340297,P1408,c(Q56061)))
action filter_type
action union
action find
entity Q181376
relation P190
action find
entity Q6340297
relation P1408
type Q56061
{'OR': [['Q181376', 'P190', {'concept': 'Q56061'}], ['Q6340297', 'P1408', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q181376 property:P190 ?g } UNION { resource:Q6340297 property:P1408 ?g } } . ?g rdf:type ontology:Q56061 }
KVTA Grodno
action filter_type
action union
action find
entity Grodno
relation sister city
action find
entity KVTA
relation licensed to broadcast to
type administrative territorial entity
{'OR': [['Grodno', 'sister city', {'concept': 'administrative territorial entity'}], ['KVTA', 'licensed to broadcast to', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Grodno property:sister_city ?g } UNION { resource:KVTA property:licensed_to_broadcast_to ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25797 Q3846 Q1957 Q490434 Q198369 Q1261509 Q761 Q197582
SYSTEM
Žilina, Minden, Vologda, Ventura, Shchyolkovo, Druskininkai, Białystok, Khimki
Q25797 Q3846 Q1957 Q490434 Q198369 Q1261509 Q761 Q197582
OR((Q181376,P190,c(Q56061)), (Q6340297,P1408,c(Q56061)))
action filter_type
action union
action find
entity Q181376
relation P190
action find
entity Q6340297
relation P1408
type Q56061
[ANSWERS] are sister towns of Grodno or are KVTA permitted to broadcast as per their license
{'OR': [['Q181376', 'P190', {'concept': 'Q56061'}], ['Q6340297', 'P1408', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q181376 property:P190 ?g } UNION { resource:Q6340297 property:P1408 ?g } } . ?g rdf:type ontology:Q56061 }
Žilina Minden Vologda Ventura Shchyolkovo Druskininkai Białystok Khimki
Žilina, Minden, Vologda, Ventura, Shchyolkovo, Druskininkai, Białystok and Khimki are sister towns of Grodno or are KVTA permitted to broadcast as per their license
Žilina Minden Vologda Ventura Shchyolkovo Druskininkai Białystok Khimki
action filter_type
action union
action find
entity Grodno
relation sister city
action find
entity KVTA
relation licensed to broadcast to
type administrative territorial entity
{'OR': [['Grodno', 'sister city', {'concept': 'administrative territorial entity'}], ['KVTA', 'licensed to broadcast to', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Grodno property:sister_city ?g } UNION { resource:KVTA property:licensed_to_broadcast_to ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25797
P1376
Q13220204
USER
Which administrative country subdivision has that administrative territory has its first city ?
(Q25797,P1376,c(Q13220204))
action filter_type
action find
entity Q25797
relation P1376
type Q13220204
['Q25797', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q25797 property:P1376 ?n . ?n rdf:type ontology:Q13220204 }
Žilina
action filter_type
action find
entity Žilina
relation capital of
type second-level administrative country subdivision
['Žilina', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:Žilina property:capital_of ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Clarification for simple ques.
Q490434
SYSTEM
Did you mean Ventura ?
Q25797 Q3846 Q1957 Q490434 Q198369 Q1261509 Q761 Q197582
(Q25797,P1376,c(Q13220204)) (Q3846,P1376,c(Q13220204)) (Q1957,P1376,c(Q13220204)) (Q490434,P1376,c(Q13220204)) (Q198369,P1376,c(Q13220204)) (Q1261509,P1376,c(Q13220204)) (Q761,P1376,c(Q13220204)) (Q197582,P1376,c(Q13220204))
[ANSWER]
['Q25797', 'P1376', {'concept': 'Q13220204'}] ['Q3846', 'P1376', {'concept': 'Q13220204'}] ['Q1957', 'P1376', {'concept': 'Q13220204'}] ['Q490434', 'P1376', {'concept': 'Q13220204'}] ['Q198369', 'P1376', {'concept': 'Q13220204'}] ['Q1261509', 'P1376', {'concept': 'Q13220204'}] ['Q761', 'P1376', {'concept': 'Q13220204'}] ['Q197582', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q25797 property:P1376 ?n . ?n rdf:type ontology:Q13220204 }
Žilina Minden Vologda Ventura Shchyolkovo Druskininkai Białystok Khimki
Did you mean Ventura ?
Ventura
['Žilina', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Minden', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Vologda', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Ventura', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Shchyolkovo', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Druskininkai', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Białystok', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Khimki', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:Žilina property:capital_of ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
USER
No, I meant Žilina. Could you tell me the answer for that?
(Q25797,P1376,c(Q13220204))
Q25797
['Q25797', 'P1376', {'concept': 'Q13220204'}]
['Žilina', 'capital of', {'concept': 'second-level administrative country subdivision'}]
[]
Q836201
SYSTEM
Žilina District
Q836201
(Q25797,P1376,c(Q13220204))
action filter_type
action find
entity Q25797
relation P1376
type Q13220204
The [ANSWER] has that administrative territory has its first city
['Q25797', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q25797 property:P1376 ?n . ?n rdf:type ontology:Q13220204 }
Žilina District
The Žilina District has that administrative territory has its first city
Žilina District
action filter_type
action find
entity Žilina
relation capital of
type second-level administrative country subdivision
['Žilina', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:Žilina property:capital_of ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]