Simple Question (Direct)
Simple Question
Q4228068
P106
Q12737077
USER
What do Aleksandr Kolobov do for a living ?
(Q4228068,P106,c(Q12737077))
action filter_type
action find
entity Q4228068
relation P106
type Q12737077
['Q4228068', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q4228068 property:P106 ?v }
Aleksandr Kolobov
action filter_type
action find
entity Aleksandr Kolobov
relation occupation
type occupation
['Aleksandr Kolobov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Aleksandr_Kolobov property:occupation ?v }
[]
occupation
Q2865819 Q177220
SYSTEM
opera singer, singer
Q2865819 Q177220
(Q4228068,P106,c(Q12737077))
action filter_type
action find
entity Q4228068
relation P106
type Q12737077
[ANSWERS] Aleksandr Kolobov do for a living
['Q4228068', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q4228068 property:P106 ?v }
opera singer singer
Opera singer and singer Aleksandr Kolobov do for a living
opera singer singer
action filter_type
action find
entity Aleksandr Kolobov
relation occupation
type occupation
['Aleksandr Kolobov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Aleksandr_Kolobov property:occupation ?v }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2865819
P425
Q15198957
USER
Which aspect of music is associated with the field of occupation that one ?
(Q2865819,P425,c(Q15198957))
action filter_type
action find
entity Q2865819
relation P425
type Q15198957
['Q2865819', 'P425', {'concept': 'Q15198957'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15198957 . resource:Q2865819 property:P425 ?p }
opera singer
action filter_type
action find
entity opera singer
relation field of this occupation
type aspect of music
['opera singer', 'field of this occupation', {'concept': 'aspect of music'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:aspect_of_music . resource:opera_singer property:field_of_this_occupation ?p }
[]
aspect of music
Clarification for simple ques.
Q177220
SYSTEM
Did you mean singer ?
Q2865819 Q177220
(Q2865819,P425,c(Q15198957)) (Q177220,P425,c(Q15198957))
[ANSWER]
['Q2865819', 'P425', {'concept': 'Q15198957'}] ['Q177220', 'P425', {'concept': 'Q15198957'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15198957 . resource:Q2865819 property:P425 ?p }
opera singer singer
Did you mean singer ?
singer
['opera singer', 'field of this occupation', {'concept': 'aspect of music'}] ['singer', 'field of this occupation', {'concept': 'aspect of music'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:aspect_of_music . resource:opera_singer property:field_of_this_occupation ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant opera singer. Could you tell me the answer for that?
(Q2865819,P425,c(Q15198957))
Q2865819
['Q2865819', 'P425', {'concept': 'Q15198957'}]
['opera singer', 'field of this occupation', {'concept': 'aspect of music'}]
[]
Q1344
SYSTEM
opera
Q1344
(Q2865819,P425,c(Q15198957))
action filter_type
action find
entity Q2865819
relation P425
type Q15198957
[ANSWER] is associated with the field of occupation that one
['Q2865819', 'P425', {'concept': 'Q15198957'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15198957 . resource:Q2865819 property:P425 ?p }
opera
Opera is associated with the field of occupation that one
opera
action filter_type
action find
entity opera singer
relation field of this occupation
type aspect of music
['opera singer', 'field of this occupation', {'concept': 'aspect of music'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:aspect_of_music . resource:opera_singer property:field_of_this_occupation ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2865819
P425
Q1914636 Q15198957
USER
How many activities or aspects of music have opera singer as the associated field of occupation ?
(Q2865819,P425,c(Q1914636)) (Q2865819,P425,c(Q15198957))
action count
action union
action filter_type
action find
entity Q2865819
relation P425
type Q1914636
action filter_type
action find
entity Q2865819
relation P425
type Q15198957
['Q2865819', 'P425', {'concept': 'Q1914636'}] ['Q2865819', 'P425', {'concept': 'Q15198957'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15198957 ) ( ontology:Q1914636 ) } }
opera singer
action count
action union
action filter_type
action find
entity opera singer
relation field of this occupation
type activity
action filter_type
action find
entity opera singer
relation field of this occupation
type aspect of music
['opera singer', 'field of this occupation', {'concept': 'activity'}] ['opera singer', 'field of this occupation', {'concept': 'aspect of music'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:aspect_of_music ) ( ontology:activity ) } }
[]
activity aspect of music
SYSTEM
2
Q1344 Q2956237
(Q2865819,P425,c(Q1914636)) (Q2865819,P425,c(Q15198957))
action count
action union
action filter_type
action find
entity Q2865819
relation P425
type Q1914636
action filter_type
action find
entity Q2865819
relation P425
type Q15198957
[ANSWER]
['Q2865819', 'P425', {'concept': 'Q1914636'}] ['Q2865819', 'P425', {'concept': 'Q15198957'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15198957 ) ( ontology:Q1914636 ) } }
opera lyric singing
2
action count
action union
action filter_type
action find
entity opera singer
relation field of this occupation
type activity
action filter_type
action find
entity opera singer
relation field of this occupation
type aspect of music
['opera singer', 'field of this occupation', {'concept': 'activity'}] ['opera singer', 'field of this occupation', {'concept': 'aspect of music'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:aspect_of_music ) ( ontology:activity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4228068
P20
Q56061
USER
Which administrative territory is the place of death of Aleksandr Kolobov ?
(Q4228068,P20,c(Q56061))
action filter_type
action find
entity Q4228068
relation P20
type Q56061
['Q4228068', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q4228068 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Aleksandr Kolobov
action filter_type
action find
entity Aleksandr Kolobov
relation place of death
type administrative territorial entity
['Aleksandr Kolobov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Aleksandr_Kolobov property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1874
SYSTEM
Odessa
Q1874
(Q4228068,P20,c(Q56061))
action filter_type
action find
entity Q4228068
relation P20
type Q56061
[ANSWER] is the place of death of Aleksandr Kolobov
['Q4228068', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q4228068 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Odessa
Odessa is the place of death of Aleksandr Kolobov
Odessa
action filter_type
action find
entity Aleksandr Kolobov
relation place of death
type administrative territorial entity
['Aleksandr Kolobov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Aleksandr_Kolobov property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4228068
P27
Q7275
USER
Which state is that person an inhabitant of ?
(Q1874,P27,c(Q7275))
action filter_type
action find
entity Q4228068
relation P27
type Q7275
['Q1874', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q4228068 property:P27 ?w . ?w rdf:type ontology:Q7275 }
Aleksandr Kolobov
action filter_type
action find
entity Aleksandr Kolobov
relation country of citizenship
type state
['Odessa', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Aleksandr_Kolobov property:country_of_citizenship ?w . ?w rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q1874,P27,c(Q7275))
action filter_type
action find
entity Q4228068
relation P27
type Q7275
[ANSWER] is that person an inhabitant of
['Q1874', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q4228068 property:P27 ?w . ?w rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is that person an inhabitant of
Soviet Union
action filter_type
action find
entity Aleksandr Kolobov
relation country of citizenship
type state
['Odessa', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Aleksandr_Kolobov property:country_of_citizenship ?w . ?w rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15180 Q31518 Q179999
P47
Q15617994
USER
Is Soviet Union next to the border of Kulevoy and Tarquinia ?
(Q15180,P47,Q31518) (Q15180,P47,Q179999)
action is_in
entity Q15180
action intersection
action find_reverse
entity Q31518
relation P47
action find_reverse
entity Q179999
relation P47
['Q15180', 'P47', 'Q31518'] ['Q15180', 'P47', 'Q179999']
ASK WHERE { resource:Q15180 property:P47 resource:Q179999 . resource:Q15180 property:P47 resource:Q31518 }
Soviet Union Kulevoy Tarquinia
action is_in
entity Soviet Union
action intersection
action find_reverse
entity Kulevoy
relation shares border with
action find_reverse
entity Tarquinia
relation shares border with
['Soviet Union', 'shares border with', 'Kulevoy'] ['Soviet Union', 'shares border with', 'Tarquinia']
ASK WHERE { resource:Soviet_Union property:shares_border_with resource:Tarquinia . resource:Soviet_Union property:shares_border_with resource:Kulevoy }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q15180,P47,Q31518) (Q15180,P47,Q179999)
action is_in
entity Q15180
action intersection
action find_reverse
entity Q31518
relation P47
action find_reverse
entity Q179999
relation P47
[ANSWER]
['Q15180', 'P47', 'Q31518'] ['Q15180', 'P47', 'Q179999']
ASK WHERE { resource:Q15180 property:P47 resource:Q179999 . resource:Q15180 property:P47 resource:Q31518 }
No
action is_in
entity Soviet Union
action intersection
action find_reverse
entity Kulevoy
relation shares border with
action find_reverse
entity Tarquinia
relation shares border with
['Soviet Union', 'shares border with', 'Kulevoy'] ['Soviet Union', 'shares border with', 'Tarquinia']
ASK WHERE { resource:Soviet_Union property:shares_border_with resource:Tarquinia . resource:Soviet_Union property:shares_border_with resource:Kulevoy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P710
Q350604
USER
Which armed conflicts did that state participate in ?
action filter_type
action find_reverse
entity Q15180
relation P710
type Q350604
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q15180 . ?y rdf:type ontology:Q350604 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation participant
type armed conflict
SELECT DISTINCT ?y WHERE { ?y property:participant resource:Soviet_Union . ?y rdf:type ontology:armed_conflict }
[]
armed conflict
Q134949 Q189266
SYSTEM
Winter War, Eastern Front
Q134949 Q189266
action filter_type
action find_reverse
entity Q15180
relation P710
type Q350604
That state participated in [ANSWERS]
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q15180 . ?y rdf:type ontology:Q350604 }
Winter War Eastern Front
That state participated in Winter War and Eastern Front
Winter War Eastern Front
action filter_type
action find_reverse
entity Soviet Union
relation participant
type armed conflict
SELECT DISTINCT ?y WHERE { ?y property:participant resource:Soviet_Union . ?y rdf:type ontology:armed_conflict }
[]