Simple Question (Direct)
Simple Question
Q2538782
P102
Q7278
USER
Which political party is Vadim Loginov a member of ?
(Q2538782,P102,c(Q7278))
action filter_type
action find
entity Q2538782
relation P102
type Q7278
['Q2538782', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { resource:Q2538782 property:P102 ?p . ?p rdf:type ontology:Q7278 }
Vadim Loginov
action filter_type
action find
entity Vadim Loginov
relation member of political party
type political party
['Vadim Loginov', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { resource:Vadim_Loginov property:member_of_political_party ?p . ?p rdf:type ontology:political_party }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q2538782,P102,c(Q7278))
action filter_type
action find
entity Q2538782
relation P102
type Q7278
[ANSWER] is Vadim Loginov a member of
['Q2538782', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?p WHERE { resource:Q2538782 property:P102 ?p . ?p rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
Communist Party of the Soviet Union is Vadim Loginov a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Vadim Loginov
relation member of political party
type political party
['Vadim Loginov', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?p WHERE { resource:Vadim_Loginov property:member_of_political_party ?p . ?p rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2538782
P166
Q618779
USER
What were won by Vadim Loginov ?
(Q2538782,P166,c(Q618779))
action filter_type
action find
entity Q2538782
relation P166
type Q618779
['Q2538782', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q2538782 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Vadim Loginov
action filter_type
action find
entity Vadim Loginov
relation award received
type award
['Vadim Loginov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Vadim_Loginov property:award_received ?a . ?a rdf:type ontology:award }
[]
award
Q1517750 Q728960 Q583881
SYSTEM
Medal "For Strengthening of Brotherhood in Arms", Order of the October Revolution, Order of Friendship of Peoples
Q1517750 Q728960 Q583881
(Q2538782,P166,c(Q618779))
action filter_type
action find
entity Q2538782
relation P166
type Q618779
[ANSWERS] were won by Vadim Loginov
['Q2538782', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q2538782 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Medal "For Strengthening of Brotherhood in Arms" Order of the October Revolution Order of Friendship of Peoples
Medal "For Strengthening of Brotherhood in Arms", Order of the October Revolution and Order of Friendship of Peoples were won by Vadim Loginov
Medal "For Strengthening of Brotherhood in Arms" Order of the October Revolution Order of Friendship of Peoples
action filter_type
action find
entity Vadim Loginov
relation award received
type award
['Vadim Loginov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Vadim_Loginov property:award_received ?a . ?a rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2497621
P166
Q502895
USER
Were David Dragunsky awarded with those awards ?
(Q2497621,P166,Q1517750) (Q2497621,P166,Q728960) (Q2497621,P166,Q583881)
action is_in
entity prev_answer
action find
entity Q2497621
relation P166
['Q2497621', 'P166', 'Q1517750'] ['Q2497621', 'P166', 'Q728960'] ['Q2497621', 'P166', 'Q583881']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1517750 ) ( resource:Q728960 ) ( resource:Q583881 ) } . resource:Q2497621 property:P166 ?g }
David Dragunsky
action is_in
entity prev_answer
action find
entity David Dragunsky
relation award received
['David Dragunsky', 'award received', 'Medal "For Strengthening of Brotherhood in Arms"'] ['David Dragunsky', 'award received', 'Order of the October Revolution'] ['David Dragunsky', 'award received', 'Order of Friendship of Peoples']
ASK WHERE { VALUES ( ?g ) { ( resource:Medal_"For_Strengthening_of_Brotherhood_in_Arms" ) ( resource:Order_of_the_October_Revolution ) ( resource:Order_of_Friendship_of_Peoples ) } . resource:David_Dragunsky property:award_received ?g }
[]
common name
SYSTEM
YES
(Q2497621,P166,Q1517750) (Q2497621,P166,Q728960) (Q2497621,P166,Q583881)
action is_in
entity prev_answer
action find
entity Q2497621
relation P166
[ANSWER]
['Q2497621', 'P166', 'Q1517750'] ['Q2497621', 'P166', 'Q728960'] ['Q2497621', 'P166', 'Q583881']
ASK WHERE { VALUES ( ?g ) { ( resource:Q1517750 ) ( resource:Q728960 ) ( resource:Q583881 ) } . resource:Q2497621 property:P166 ?g }
Yes
action is_in
entity prev_answer
action find
entity David Dragunsky
relation award received
['David Dragunsky', 'award received', 'Medal "For Strengthening of Brotherhood in Arms"'] ['David Dragunsky', 'award received', 'Order of the October Revolution'] ['David Dragunsky', 'award received', 'Order of Friendship of Peoples']
ASK WHERE { VALUES ( ?g ) { ( resource:Medal_"For_Strengthening_of_Brotherhood_in_Arms" ) ( resource:Order_of_the_October_Revolution ) ( resource:Order_of_Friendship_of_Peoples ) } . resource:David_Dragunsky property:award_received ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2538782
P27
Q15617994
USER
Which administrative territory is Vadim Loginov a civilian of ?
(Q2538782,P27,c(Q15617994))
action filter_type
action find
entity Q2538782
relation P27
type Q15617994
['Q2538782', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q2538782 property:P27 ?p }
Vadim Loginov
action filter_type
action find
entity Vadim Loginov
relation country of citizenship
type designation for an administrative territorial entity
['Vadim Loginov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vadim_Loginov property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q2538782,P27,c(Q15617994))
action filter_type
action find
entity Q2538782
relation P27
type Q15617994
[ANSWER] is Vadim Loginov a civilian of
['Q2538782', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q2538782 property:P27 ?p }
Russia
Russia is Vadim Loginov a civilian of
Russia
action filter_type
action find
entity Vadim Loginov
relation country of citizenship
type designation for an administrative territorial entity
['Vadim Loginov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vadim_Loginov property:country_of_citizenship ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3917698
Q15617994
USER
And also tell me about Aleksandr Gerasimenko?
(Q3917698,P27,c(Q15617994))
action filter_type
action find
entity Q3917698
relation P27
type Q15617994
['Q3917698', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3917698 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Aleksandr Gerasimenko
action filter_type
action find
entity Aleksandr Gerasimenko
relation country of citizenship
type designation for an administrative territorial entity
['Aleksandr Gerasimenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Aleksandr_Gerasimenko property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q3917698,P27,c(Q15617994))
action filter_type
action find
entity Q3917698
relation P27
type Q15617994
[ANSWER]
['Q3917698', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3917698 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Belarus
Belarus
action filter_type
action find
entity Aleksandr Gerasimenko
relation country of citizenship
type designation for an administrative territorial entity
['Aleksandr Gerasimenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Aleksandr_Gerasimenko property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q5962346 Q15617994
USER
How many administrative territories are known to have approximately 1 languages and classification schemes as their official language ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } } GROUP BY ?q } }
action count
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:language ) ( ontology:classification_scheme ) } } GROUP BY ?q } }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
84
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34770 ) ( ontology:Q5962346 ) } } GROUP BY ?q } }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
84
action count
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?s . VALUES ( ?s ) { ( ontology:language ) ( ontology:classification_scheme ) } } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P138
Q20027951
USER
Which aircraft power class is named after Russia ?
(c(Q20027951),P138,Q159)
action filter_type
action find_reverse
entity Q159
relation P138
type Q20027951
[{'concept': 'Q20027951'}, 'P138', 'Q159']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20027951 . ?e property:P138 resource:Q159 }
Russia
action filter_type
action find_reverse
entity Russia
relation named after
type aircraft power class
[{'concept': 'aircraft power class'}, 'named after', 'Russia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:aircraft_power_class . ?e property:named_after resource:Russia }
[]
aircraft power class
Q616158
SYSTEM
Tupolev Tu-114 Rossiya
Q616158
(c(Q20027951),P138,Q159)
action filter_type
action find_reverse
entity Q159
relation P138
type Q20027951
V [ANSWER] is named after Russia
[{'concept': 'Q20027951'}, 'P138', 'Q159']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20027951 . ?e property:P138 resource:Q159 }
Tupolev Tu-114 Rossiya
V Tupolev Tu-114 Rossiya is named after Russia
Tupolev Tu-114 Rossiya
action filter_type
action find_reverse
entity Russia
relation named after
type aircraft power class
[{'concept': 'aircraft power class'}, 'named after', 'Russia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:aircraft_power_class . ?e property:named_after resource:Russia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q616158
P176
Q4830453
USER
Which business enterprise is the producer of that aircraft power class ?
(Q616158,P176,c(Q4830453))
action filter_type
action find
entity Q616158
relation P176
type Q4830453
['Q616158', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q616158 property:P176 ?s . ?s rdf:type ontology:Q4830453 }
Tupolev Tu-114 Rossiya
action filter_type
action find
entity Tupolev Tu-114 Rossiya
relation manufacturer
type business enterprise
['Tupolev Tu-114 Rossiya', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Tupolev_Tu-114_Rossiya property:manufacturer ?s . ?s rdf:type ontology:business_enterprise }
[]
business enterprise
Q194009
SYSTEM
Tupolev
Q194009
(Q616158,P176,c(Q4830453))
action filter_type
action find
entity Q616158
relation P176
type Q4830453
[ANSWER] is the producer of that aircraft power class
['Q616158', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { resource:Q616158 property:P176 ?s . ?s rdf:type ontology:Q4830453 }
Tupolev
Tupolev is the producer of that aircraft power class
Tupolev
action filter_type
action find
entity Tupolev Tu-114 Rossiya
relation manufacturer
type business enterprise
['Tupolev Tu-114 Rossiya', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { resource:Tupolev_Tu-114_Rossiya property:manufacturer ?s . ?s rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q194009 Q649
P740
Q56061
USER
Is Moscow the location of formation of that business enterprise ?
(Q194009,P740,Q649)
action is_in
entity Q649
action find
entity Q194009
relation P740
['Q194009', 'P740', 'Q649']
ASK WHERE { resource:Q194009 property:P740 resource:Q649 }
Tupolev Moscow
action is_in
entity Moscow
action find
entity Tupolev
relation location of formation
['Tupolev', 'location of formation', 'Moscow']
ASK WHERE { resource:Tupolev property:location_of_formation resource:Moscow }
[]
administrative territorial entity
SYSTEM
YES
(Q194009,P740,Q649)
action is_in
entity Q649
action find
entity Q194009
relation P740
[ANSWER]
['Q194009', 'P740', 'Q649']
ASK WHERE { resource:Q194009 property:P740 resource:Q649 }
Yes
action is_in
entity Moscow
action find
entity Tupolev
relation location of formation
['Tupolev', 'location of formation', 'Moscow']
ASK WHERE { resource:Tupolev property:location_of_formation resource:Moscow }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q194009
P178
Q20027951
USER
What was produced by that business enterprise ?
action filter_type
action find_reverse
entity Q194009
relation P178
type Q20027951
SELECT DISTINCT ?d WHERE { ?d property:P178 resource:Q194009 . ?d rdf:type ontology:Q20027951 }
Tupolev
action filter_type
action find_reverse
entity Tupolev
relation developer
type aircraft power class
SELECT DISTINCT ?d WHERE { ?d property:developer resource:Tupolev . ?d rdf:type ontology:aircraft_power_class }
[]
aircraft power class
Q466590
SYSTEM
Tupolev Tu-204
Q466590
action filter_type
action find_reverse
entity Q194009
relation P178
type Q20027951
[ANSWER] was produced by that business enterprise
SELECT DISTINCT ?d WHERE { ?d property:P178 resource:Q194009 . ?d rdf:type ontology:Q20027951 }
Tupolev Tu-204
Tupolev Tu-204 was produced by that business enterprise
Tupolev Tu-204
action filter_type
action find_reverse
entity Tupolev
relation developer
type aircraft power class
SELECT DISTINCT ?d WHERE { ?d property:developer resource:Tupolev . ?d rdf:type ontology:aircraft_power_class }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12798438 Q2538782
P106
Q12737077
USER
Which occupations are the professions of Vadim Loginov or Pavla Jesih ?
OR((Q2538782,P106,c(Q12737077)), (Q12798438,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2538782
relation P106
action find
entity Q12798438
relation P106
type Q12737077
{'OR': [['Q2538782', 'P106', {'concept': 'Q12737077'}], ['Q12798438', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { ?q property:P106 ?b . VALUES ( ?q ) { ( resource:Q12798438 ) ( resource:Q2538782 ) } } . ?b rdf:type ontology:Q12737077 }
Pavla Jesih Vadim Loginov
action filter_type
action union
action find
entity Vadim Loginov
relation occupation
action find
entity Pavla Jesih
relation occupation
type occupation
{'OR': [['Vadim Loginov', 'occupation', {'concept': 'occupation'}], ['Pavla Jesih', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { ?q property:occupation ?b . VALUES ( ?q ) { ( resource:Pavla_Jesih ) ( resource:Vadim_Loginov ) } } . ?b rdf:type ontology:occupation }
[]
occupation
Q9149093 Q82955 Q131524
SYSTEM
mountaineer, politician, entrepreneur
Q9149093 Q82955 Q131524
OR((Q2538782,P106,c(Q12737077)), (Q12798438,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2538782
relation P106
action find
entity Q12798438
relation P106
type Q12737077
The [ANSWERS] are the professions of Vadim Loginov or Pavla Jesih
{'OR': [['Q2538782', 'P106', {'concept': 'Q12737077'}], ['Q12798438', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { ?q property:P106 ?b . VALUES ( ?q ) { ( resource:Q12798438 ) ( resource:Q2538782 ) } } . ?b rdf:type ontology:Q12737077 }
mountaineer politician entrepreneur
The mountaineer, politician and entrepreneur are the professions of Vadim Loginov or Pavla Jesih
mountaineer politician entrepreneur
action filter_type
action union
action find
entity Vadim Loginov
relation occupation
action find
entity Pavla Jesih
relation occupation
type occupation
{'OR': [['Vadim Loginov', 'occupation', {'concept': 'occupation'}], ['Pavla Jesih', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { ?q property:occupation ?b . VALUES ( ?q ) { ( resource:Pavla_Jesih ) ( resource:Vadim_Loginov ) } } . ?b rdf:type ontology:occupation }
[]