Simple Question (Direct)
Simple Question
Q10857697
P512
Q3412758
USER
What are the degrees held by Zdeněk Srna ?
(Q10857697,P512,c(Q3412758))
action filter_type
action find
entity Q10857697
relation P512
type Q3412758
['Q10857697', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3412758 . resource:Q10857697 property:P512 ?g }
Zdeněk Srna
action filter_type
action find
entity Zdeněk Srna
relation academic degree
type qualification
['Zdeněk Srna', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:qualification . resource:Zdeněk_Srna property:academic_degree ?g }
[]
qualification
Q737462 Q121594
SYSTEM
Kandidat Nauk, professor
Q737462 Q121594
(Q10857697,P512,c(Q3412758))
action filter_type
action find
entity Q10857697
relation P512
type Q3412758
The degrees held by Zdeněk Srna are awarded [ANSWERS]
['Q10857697', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3412758 . resource:Q10857697 property:P512 ?g }
Kandidat Nauk professor
The degrees held by Zdeněk Srna are awarded Kandidat Nauk and professor
Kandidat Nauk professor
action filter_type
action find
entity Zdeněk Srna
relation academic degree
type qualification
['Zdeněk Srna', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:qualification . resource:Zdeněk_Srna property:academic_degree ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q737462
P17
Q7275
USER
Which states are that qualification a part of ?
(Q737462,P17,c(Q7275))
action filter_type
action find
entity Q737462
relation P17
type Q7275
['Q737462', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q737462 property:P17 ?p . ?p rdf:type ontology:Q7275 }
Kandidat Nauk
action filter_type
action find
entity Kandidat Nauk
relation country
type state
['Kandidat Nauk', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Kandidat_Nauk property:country ?p . ?p rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q737462
SYSTEM
Did you mean Kandidat Nauk ?
Q737462 Q121594
(Q737462,P17,c(Q7275)) (Q121594,P17,c(Q7275))
[ANSWER]
['Q737462', 'P17', {'concept': 'Q7275'}] ['Q121594', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q737462 property:P17 ?p . ?p rdf:type ontology:Q7275 }
Kandidat Nauk professor
Did you mean Kandidat Nauk ?
Kandidat Nauk
['Kandidat Nauk', 'country', {'concept': 'state'}] ['professor', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Kandidat_Nauk property:country ?p . ?p rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
Yes
(Q737462,P17,c(Q7275))
['Q737462', 'P17', {'concept': 'Q7275'}]
['Kandidat Nauk', 'country', {'concept': 'state'}]
[]
Q33946 Q15180
SYSTEM
Czechoslovakia, Soviet Union
Q33946 Q15180
(Q737462,P17,c(Q7275))
action filter_type
action find
entity Q737462
relation P17
type Q7275
[ANSWERS] are that qualification a part of
['Q737462', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q737462 property:P17 ?p . ?p rdf:type ontology:Q7275 }
Czechoslovakia Soviet Union
Czechoslovakia and Soviet Union are that qualification a part of
Czechoslovakia Soviet Union
action filter_type
action find
entity Kandidat Nauk
relation country
type state
['Kandidat Nauk', 'country', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Kandidat_Nauk property:country ?p . ?p rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q83618
P194
Q11204 Q1752346 Q7275
USER
How many states have more number of legislatures or assemblies as their legislative body than Maratha Empire ?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q83618
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?w WHERE { VALUES ( ?y ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?j rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q83618 property:P194 ?s . { { ?s rdf:type ontology:Q11204 } UNION { ?s rdf:type ontology:Q1752346 } } } } . FILTER ( ?e > ?k ) }
Maratha Empire
action count
action greater
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Maratha Empire
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?w WHERE { VALUES ( ?y ) { ( ontology:legislature ) ( ontology:assembly ) } . ?j rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Maratha_Empire property:legislative_body ?s . { { ?s rdf:type ontology:legislature } UNION { ?s rdf:type ontology:assembly } } } } . FILTER ( ?e > ?k ) }
[]
legislature assembly state
SYSTEM
66
Q241748 Q774783 Q105092 Q70802 Q842931 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q25279 Q174193 Q233263 Q330988 Q27306 Q533558 Q1044536 Q21203 Q131964 Q215530 Q488521 Q161885 Q328818 Q2638486 Q171150 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q1062422 Q15864 Q844250 Q303421 Q2396442 Q178038 Q386496 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q7314513 Q1140152 Q615902 Q1077630 Q491559 Q154195 Q368986 Q285658 Q156020 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q487687 Q161036 Q41304
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q83618
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?w WHERE { VALUES ( ?y ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?j rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Q83618 property:P194 ?s . { { ?s rdf:type ontology:Q11204 } UNION { ?s rdf:type ontology:Q1752346 } } } } . FILTER ( ?e > ?k ) }
Kingdom of Serbia Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Curaçao United Kingdom of Great Britain and Ireland Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Austrian Empire Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Cambodia Kingdom of Hungary Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Konbaung Dynasty United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Kingdom of Montenegro Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Republic of South Carolina Irish Republic Kingdom of Finland Septinsular Republic First Republic of South Korea Kingdom of Bavaria Republic of Mississippi First Mexican Empire State of the Teutonic Order First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Third Republic of South Korea Free State of Prussia Weimar Republic
66
action count
action greater
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Maratha Empire
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?w WHERE { VALUES ( ?y ) { ( ontology:legislature ) ( ontology:assembly ) } . ?j rdf:type ?y } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { resource:Maratha_Empire property:legislative_body ?s . { { ?s rdf:type ontology:legislature } UNION { ?s rdf:type ontology:assembly } } } } . FILTER ( ?e > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q207272
P194
Q11204 Q1752346 Q7275
USER
And what about Second Polish Republic?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q207272
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:P194 ?q . ?e rdf:type ontology:Q7275 . ?q rdf:type ontology:Q11204 } UNION { ?e property:P194 ?q . ?e rdf:type ontology:Q7275 . ?q rdf:type ontology:Q1752346 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q207272 property:P194 ?f . { { ?f rdf:type ontology:Q11204 } UNION { ?f rdf:type ontology:Q1752346 } } } } . FILTER ( ?w > ?v ) }
Second Polish Republic
action count
action greater
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Second Polish Republic
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:legislative_body ?q . ?e rdf:type ontology:state . ?q rdf:type ontology:legislature } UNION { ?e property:legislative_body ?q . ?e rdf:type ontology:state . ?q rdf:type ontology:assembly } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Second_Polish_Republic property:legislative_body ?f . { { ?f rdf:type ontology:legislature } UNION { ?f rdf:type ontology:assembly } } } } . FILTER ( ?w > ?v ) }
[]
legislature assembly state
SYSTEM
66
Q241748 Q774783 Q105092 Q70802 Q842931 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q25279 Q174193 Q233263 Q330988 Q27306 Q533558 Q1044536 Q21203 Q131964 Q215530 Q488521 Q161885 Q328818 Q2638486 Q171150 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q1062422 Q15864 Q844250 Q303421 Q2396442 Q178038 Q386496 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q7314513 Q1140152 Q615902 Q1077630 Q491559 Q154195 Q368986 Q285658 Q156020 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q487687 Q161036 Q41304
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q207272
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:P194 ?q . ?e rdf:type ontology:Q7275 . ?q rdf:type ontology:Q11204 } UNION { ?e property:P194 ?q . ?e rdf:type ontology:Q7275 . ?q rdf:type ontology:Q1752346 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q207272 property:P194 ?f . { { ?f rdf:type ontology:Q11204 } UNION { ?f rdf:type ontology:Q1752346 } } } } . FILTER ( ?w > ?v ) }
Kingdom of Serbia Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Curaçao United Kingdom of Great Britain and Ireland Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Austrian Empire Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Cambodia Kingdom of Hungary Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Konbaung Dynasty United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Kingdom of Montenegro Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Republic of South Carolina Irish Republic Kingdom of Finland Septinsular Republic First Republic of South Korea Kingdom of Bavaria Republic of Mississippi First Mexican Empire State of the Teutonic Order First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Third Republic of South Korea Free State of Prussia Weimar Republic
66
action count
action greater
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Second Polish Republic
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:legislative_body ?q . ?e rdf:type ontology:state . ?q rdf:type ontology:legislature } UNION { ?e property:legislative_body ?q . ?e rdf:type ontology:state . ?q rdf:type ontology:assembly } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Second_Polish_Republic property:legislative_body ?f . { { ?f rdf:type ontology:legislature } UNION { ?f rdf:type ontology:assembly } } } } . FILTER ( ?w > ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q15180
P127
Q43229 Q502895
USER
How many organizations or people are owned by Soviet Union ?
(c(Q43229),P127,Q15180) (c(Q502895),P127,Q15180)
action count
action union
action filter_type
action find_reverse
entity Q15180
relation P127
type Q43229
action filter_type
action find_reverse
entity Q15180
relation P127
type Q502895
[{'concept': 'Q43229'}, 'P127', 'Q15180'] [{'concept': 'Q502895'}, 'P127', 'Q15180']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { ?v rdf:type ontology:Q43229 . ?v property:P127 resource:Q15180 } UNION { ?v property:P127 resource:Q15180 . ?v rdf:type ontology:Q502895 } }
Soviet Union
action count
action union
action filter_type
action find_reverse
entity Soviet Union
relation owned by
type organization
action filter_type
action find_reverse
entity Soviet Union
relation owned by
type common name
[{'concept': 'organization'}, 'owned by', 'Soviet Union'] [{'concept': 'common name'}, 'owned by', 'Soviet Union']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { ?v rdf:type ontology:organization . ?v property:owned_by resource:Soviet_Union } UNION { ?v property:owned_by resource:Soviet_Union . ?v rdf:type ontology:common_name } }
[]
organization common name
SYSTEM
2
Q327132 Q400153
(c(Q43229),P127,Q15180) (c(Q502895),P127,Q15180)
action count
action union
action filter_type
action find_reverse
entity Q15180
relation P127
type Q43229
action filter_type
action find_reverse
entity Q15180
relation P127
type Q502895
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q15180'] [{'concept': 'Q502895'}, 'P127', 'Q15180']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { ?v rdf:type ontology:Q43229 . ?v property:P127 resource:Q15180 } UNION { ?v property:P127 resource:Q15180 . ?v rdf:type ontology:Q502895 } }
Soviet space dog PZL Mielec
2
action count
action union
action filter_type
action find_reverse
entity Soviet Union
relation owned by
type organization
action filter_type
action find_reverse
entity Soviet Union
relation owned by
type common name
[{'concept': 'organization'}, 'owned by', 'Soviet Union'] [{'concept': 'common name'}, 'owned by', 'Soviet Union']
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { ?v rdf:type ontology:organization . ?v property:owned_by resource:Soviet_Union } UNION { ?v property:owned_by resource:Soviet_Union . ?v rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12085410 Q737462
P17
Q15617994
USER
Which administrative territories are Kandidat Nauk or Budișteni situated in ?
OR((Q737462,P17,c(Q15617994)), (Q12085410,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q737462
relation P17
action find
entity Q12085410
relation P17
type Q15617994
{'OR': [['Q737462', 'P17', {'concept': 'Q15617994'}], ['Q12085410', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:P17 ?t . VALUES ( ?g ) { ( resource:Q737462 ) ( resource:Q12085410 ) } } . ?t rdf:type ontology:Q15617994 }
Budișteni Kandidat Nauk
action filter_type
action union
action find
entity Kandidat Nauk
relation country
action find
entity Budișteni
relation country
type designation for an administrative territorial entity
{'OR': [['Kandidat Nauk', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Budișteni', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:country ?t . VALUES ( ?g ) { ( resource:Kandidat_Nauk ) ( resource:Budișteni ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q159
SYSTEM
Romania, Russia
Q218 Q159
OR((Q737462,P17,c(Q15617994)), (Q12085410,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q737462
relation P17
action find
entity Q12085410
relation P17
type Q15617994
Kandidat Nauk or Budișteni are situated in [ANSWERS]
{'OR': [['Q737462', 'P17', {'concept': 'Q15617994'}], ['Q12085410', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:P17 ?t . VALUES ( ?g ) { ( resource:Q737462 ) ( resource:Q12085410 ) } } . ?t rdf:type ontology:Q15617994 }
Romania Russia
Kandidat Nauk or Budișteni are situated in Romania and Russia
Romania Russia
action filter_type
action union
action find
entity Kandidat Nauk
relation country
action find
entity Budișteni
relation country
type designation for an administrative territorial entity
{'OR': [['Kandidat Nauk', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Budișteni', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:country ?t . VALUES ( ?g ) { ( resource:Kandidat_Nauk ) ( resource:Budișteni ) } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15180
P138
Q2235308
USER
Which ship type comes from Soviet Union ?
(c(Q2235308),P138,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q15180']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q15180 . ?w rdf:type ontology:Q2235308 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Soviet Union']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Soviet_Union . ?w rdf:type ontology:ship_type }
[]
ship type
Q2304911
SYSTEM
Sovetskiy Soyuz
Q2304911
(c(Q2235308),P138,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P138
type Q2235308
[ANSWER] comes from Soviet Union
[{'concept': 'Q2235308'}, 'P138', 'Q15180']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q15180 . ?w rdf:type ontology:Q2235308 }
Sovetskiy Soyuz
Sovetskiy Soyuz comes from Soviet Union
Sovetskiy Soyuz
action filter_type
action find_reverse
entity Soviet Union
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Soviet Union']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Soviet_Union . ?w rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2304911
P289
Q2235308
USER
What is the vessel class of that one ?
(Q2304911,P289,c(Q2235308))
action filter_type
action find
entity Q2304911
relation P289
type Q2235308
['Q2304911', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?z WHERE { resource:Q2304911 property:P289 ?z . ?z rdf:type ontology:Q2235308 }
Sovetskiy Soyuz
action filter_type
action find
entity Sovetskiy Soyuz
relation vessel class
type ship type
['Sovetskiy Soyuz', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?z WHERE { resource:Sovetskiy_Soyuz property:vessel_class ?z . ?z rdf:type ontology:ship_type }
[]
ship type
Q673835
SYSTEM
Arktika-class icebreaker
Q673835
(Q2304911,P289,c(Q2235308))
action filter_type
action find
entity Q2304911
relation P289
type Q2235308
The vessel class of that one is the [ANSWER]
['Q2304911', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?z WHERE { resource:Q2304911 property:P289 ?z . ?z rdf:type ontology:Q2235308 }
Arktika-class icebreaker
The vessel class of that one is the Arktika-class icebreaker
Arktika-class icebreaker
action filter_type
action find
entity Sovetskiy Soyuz
relation vessel class
type ship type
['Sovetskiy Soyuz', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?z WHERE { resource:Sovetskiy_Soyuz property:vessel_class ?z . ?z rdf:type ontology:ship_type }
[]