Simple Question (Direct)
Simple Question
Q637594
P641
Q349
USER
What did Nikolay Gusakov participate in ?
(Q637594,P641,c(Q349))
action filter_type
action find
entity Q637594
relation P641
type Q349
['Q637594', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q637594 property:P641 ?c . ?c rdf:type ontology:Q349 }
Nikolay Gusakov
action filter_type
action find
entity Nikolay Gusakov
relation sport
type sport
['Nikolay Gusakov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Nikolay_Gusakov property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q201965
SYSTEM
Nordic combined
Q201965
(Q637594,P641,c(Q349))
action filter_type
action find
entity Q637594
relation P641
type Q349
Nikolay Gusakov participated in [ANSWER]
['Q637594', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q637594 property:P641 ?c . ?c rdf:type ontology:Q349 }
Nordic combined
Nikolay Gusakov participated in Nordic combined
Nordic combined
action filter_type
action find
entity Nikolay Gusakov
relation sport
type sport
['Nikolay Gusakov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Nikolay_Gusakov property:sport ?c . ?c rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q201965 Q1682050
P641
Q502895
USER
Does Jan Matura play that sport ?
(Q1682050,P641,Q201965)
action is_in
entity Q201965
action find
entity Q1682050
relation P641
['Q1682050', 'P641', 'Q201965']
ASK WHERE { resource:Q1682050 property:P641 resource:Q201965 }
Nordic combined Jan Matura
action is_in
entity Nordic combined
action find
entity Jan Matura
relation sport
['Jan Matura', 'sport', 'Nordic combined']
ASK WHERE { resource:Jan_Matura property:sport resource:Nordic_combined }
[]
common name
SYSTEM
YES
(Q1682050,P641,Q201965)
action is_in
entity Q201965
action find
entity Q1682050
relation P641
[ANSWER]
['Q1682050', 'P641', 'Q201965']
ASK WHERE { resource:Q1682050 property:P641 resource:Q201965 }
Yes
action is_in
entity Nordic combined
action find
entity Jan Matura
relation sport
['Jan Matura', 'sport', 'Nordic combined']
ASK WHERE { resource:Jan_Matura property:sport resource:Nordic_combined }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q637594 Q584800
P19
Q56061
USER
Was Nikolay Gusakov born at Baćica ?
(Q637594,P19,Q584800)
action is_in
entity Q584800
action find
entity Q637594
relation P19
['Q637594', 'P19', 'Q584800']
ASK WHERE { resource:Q637594 property:P19 resource:Q584800 }
Nikolay Gusakov Baćica
action is_in
entity Baćica
action find
entity Nikolay Gusakov
relation place of birth
['Nikolay Gusakov', 'place of birth', 'Baćica']
ASK WHERE { resource:Nikolay_Gusakov property:place_of_birth resource:Baćica }
[]
administrative territorial entity
SYSTEM
NO
(Q637594,P19,Q584800)
action is_in
entity Q584800
action find
entity Q637594
relation P19
[ANSWER]
['Q637594', 'P19', 'Q584800']
ASK WHERE { resource:Q637594 property:P19 resource:Q584800 }
No
action is_in
entity Baćica
action find
entity Nikolay Gusakov
relation place of birth
['Nikolay Gusakov', 'place of birth', 'Baćica']
ASK WHERE { resource:Nikolay_Gusakov property:place_of_birth resource:Baćica }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q584800
P17
Q15617994
USER
Which administrative territory does Baćica belong to ?
(Q584800,P17,c(Q15617994))
action filter_type
action find
entity Q584800
relation P17
type Q15617994
['Q584800', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q584800 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Baćica
action filter_type
action find
entity Baćica
relation country
type designation for an administrative territorial entity
['Baćica', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Baćica property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q584800,P17,c(Q15617994))
action filter_type
action find
entity Q584800
relation P17
type Q15617994
Baćica belongs to [ANSWER]
['Q584800', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q584800 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Serbia
Baćica belongs to Serbia
Serbia
action filter_type
action find
entity Baćica
relation country
type designation for an administrative territorial entity
['Baćica', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Baćica property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16020543
Q15617994
USER
And also tell me about Витино?
(Q16020543,P17,c(Q15617994))
action filter_type
action find
entity Q16020543
relation P17
type Q15617994
['Q16020543', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q16020543 property:P17 ?k }
Витино
action filter_type
action find
entity Витино
relation country
type designation for an administrative territorial entity
['Витино', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Витино property:country ?k }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q16020543,P17,c(Q15617994))
action filter_type
action find
entity Q16020543
relation P17
type Q15617994
[ANSWER]
['Q16020543', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q16020543 property:P17 ?k }
Russia
Russia
action filter_type
action find
entity Витино
relation country
type designation for an administrative territorial entity
['Витино', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Витино property:country ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q159 Q21953031
P27
Q502895
USER
Is Bruno Mader a native of that administrative territory ?
(Q21953031,P27,Q159)
action is_in
entity Q21953031
action find
entity Q159
relation P27
['Q21953031', 'P27', 'Q159']
ASK WHERE { resource:Q159 property:P27 resource:Q21953031 }
Russia Bruno Mader
action is_in
entity Bruno Mader
action find
entity Russia
relation country of citizenship
['Bruno Mader', 'country of citizenship', 'Russia']
ASK WHERE { resource:Russia property:country_of_citizenship resource:Bruno_Mader }
[]
common name
SYSTEM
NO
(Q21953031,P27,Q159)
action is_in
entity Q21953031
action find
entity Q159
relation P27
[ANSWER]
['Q21953031', 'P27', 'Q159']
ASK WHERE { resource:Q159 property:P27 resource:Q21953031 }
No
action is_in
entity Bruno Mader
action find
entity Russia
relation country of citizenship
['Bruno Mader', 'country of citizenship', 'Russia']
ASK WHERE { resource:Russia property:country_of_citizenship resource:Bruno_Mader }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1342624 Q637594
P1344
Q15900616
USER
Which event sequences did Nikolay Gusakov or Torbjørn Løkken participate in ?
OR((Q637594,P1344,c(Q15900616)), (Q1342624,P1344,c(Q15900616)))
action filter_type
action union
action find
entity Q637594
relation P1344
action find
entity Q1342624
relation P1344
type Q15900616
{'OR': [['Q637594', 'P1344', {'concept': 'Q15900616'}], ['Q1342624', 'P1344', {'concept': 'Q15900616'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q637594 property:P1344 ?c } UNION { resource:Q1342624 property:P1344 ?c } } . ?c rdf:type ontology:Q15900616 }
Torbjørn Løkken Nikolay Gusakov
action filter_type
action union
action find
entity Nikolay Gusakov
relation participant of
action find
entity Torbjørn Løkken
relation participant of
type event sequence
{'OR': [['Nikolay Gusakov', 'participant of', {'concept': 'event sequence'}], ['Torbjørn Løkken', 'participant of', {'concept': 'event sequence'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Nikolay_Gusakov property:participant_of ?c } UNION { resource:Torbjørn_Løkken property:participant_of ?c } } . ?c rdf:type ontology:event_sequence }
[]
event sequence
Q9634 Q9636 Q9658 Q9632
SYSTEM
1960 Winter Olympics, 1964 Winter Olympics, 1988 Winter Olympics, 1956 Winter Olympics
Q9634 Q9636 Q9658 Q9632
OR((Q637594,P1344,c(Q15900616)), (Q1342624,P1344,c(Q15900616)))
action filter_type
action union
action find
entity Q637594
relation P1344
action find
entity Q1342624
relation P1344
type Q15900616
Nikolay Gusakov or Torbjørn Løkken participated in [ANSWERS]
{'OR': [['Q637594', 'P1344', {'concept': 'Q15900616'}], ['Q1342624', 'P1344', {'concept': 'Q15900616'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q637594 property:P1344 ?c } UNION { resource:Q1342624 property:P1344 ?c } } . ?c rdf:type ontology:Q15900616 }
1960 Winter Olympics 1964 Winter Olympics 1988 Winter Olympics 1956 Winter Olympics
Nikolay Gusakov or Torbjørn Løkken participated in 1960 Winter Olympics, 1964 Winter Olympics, 1988 Winter Olympics and 1956 Winter Olympics
1960 Winter Olympics 1964 Winter Olympics 1988 Winter Olympics 1956 Winter Olympics
action filter_type
action union
action find
entity Nikolay Gusakov
relation participant of
action find
entity Torbjørn Løkken
relation participant of
type event sequence
{'OR': [['Nikolay Gusakov', 'participant of', {'concept': 'event sequence'}], ['Torbjørn Løkken', 'participant of', {'concept': 'event sequence'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Nikolay_Gusakov property:participant_of ?c } UNION { resource:Torbjørn_Løkken property:participant_of ?c } } . ?c rdf:type ontology:event_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1342624
P106
Q12737077
USER
Which occupation has Torbjørn Løkken as his/her 's career ?
(Q1342624,P106,c(Q12737077))
action filter_type
action find
entity Q1342624
relation P106
type Q12737077
['Q1342624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q1342624 property:P106 ?u }
Torbjørn Løkken
action filter_type
action find
entity Torbjørn Løkken
relation occupation
type occupation
['Torbjørn Løkken', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Torbjørn_Løkken property:occupation ?u }
[]
occupation
Q13382605
SYSTEM
Nordic combined skier
Q13382605
(Q1342624,P106,c(Q12737077))
action filter_type
action find
entity Q1342624
relation P106
type Q12737077
The [ANSWER] has Torbjørn Løkken as his/her 's career
['Q1342624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q1342624 property:P106 ?u }
Nordic combined skier
The Nordic combined skier has Torbjørn Løkken as his/her 's career
Nordic combined skier
action filter_type
action find
entity Torbjørn Løkken
relation occupation
type occupation
['Torbjørn Løkken', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Torbjørn_Løkken property:occupation ?u }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q236434 Q637594
P106
Q12737077
USER
Which occupations have Nikolay Gusakov or C. C. H. Pounder as his/her as a career ?
OR((Q637594,P106,c(Q12737077)), (Q236434,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q637594
relation P106
action find
entity Q236434
relation P106
type Q12737077
{'OR': [['Q637594', 'P106', {'concept': 'Q12737077'}], ['Q236434', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?p ) { ( resource:Q637594 ) ( resource:Q236434 ) } . ?p property:P106 ?u } . ?u rdf:type ontology:Q12737077 }
C. C. H. Pounder Nikolay Gusakov
action filter_type
action union
action find
entity Nikolay Gusakov
relation occupation
action find
entity C. C. H. Pounder
relation occupation
type occupation
{'OR': [['Nikolay Gusakov', 'occupation', {'concept': 'occupation'}], ['C. C. H. Pounder', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?p ) { ( resource:Nikolay_Gusakov ) ( resource:C._C._H._Pounder ) } . ?p property:occupation ?u } . ?u rdf:type ontology:occupation }
[]
occupation
Q13382605 Q2405480 Q33999 Q948329 Q10798782
SYSTEM
Nordic combined skier, voice actor, actor, character actor, television actor
Q13382605 Q2405480 Q33999 Q948329 Q10798782
OR((Q637594,P106,c(Q12737077)), (Q236434,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q637594
relation P106
action find
entity Q236434
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q637594', 'P106', {'concept': 'Q12737077'}], ['Q236434', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?p ) { ( resource:Q637594 ) ( resource:Q236434 ) } . ?p property:P106 ?u } . ?u rdf:type ontology:Q12737077 }
Nordic combined skier voice actor actor character actor television actor
The Nordic combined skier, voice actor, character actor and television actor have Nikolay Gusakov or C. H. Pounder as his/her as a career
Nordic combined skier voice actor actor character actor television actor
action filter_type
action union
action find
entity Nikolay Gusakov
relation occupation
action find
entity C. C. H. Pounder
relation occupation
type occupation
{'OR': [['Nikolay Gusakov', 'occupation', {'concept': 'occupation'}], ['C. C. H. Pounder', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?p ) { ( resource:Nikolay_Gusakov ) ( resource:C._C._H._Pounder ) } . ?p property:occupation ?u } . ?u rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10798782
P425
Q386724
USER
Which work has that one as thier associated field of occupation ?
(Q10798782,P425,c(Q386724))
action filter_type
action find
entity Q10798782
relation P425
type Q386724
['Q10798782', 'P425', {'concept': 'Q386724'}]
SELECT DISTINCT ?g WHERE { resource:Q10798782 property:P425 ?g . ?g rdf:type ontology:Q386724 }
television actor
action filter_type
action find
entity television actor
relation field of this occupation
type work
['television actor', 'field of this occupation', {'concept': 'work'}]
SELECT DISTINCT ?g WHERE { resource:television_actor property:field_of_this_occupation ?g . ?g rdf:type ontology:work }
[]
work
Clarification for simple ques.
Q13382605
SYSTEM
Did you mean Nordic combined skier ?
Q13382605 Q2405480 Q33999 Q948329 Q10798782
(Q13382605,P425,c(Q386724)) (Q2405480,P425,c(Q386724)) (Q33999,P425,c(Q386724)) (Q948329,P425,c(Q386724)) (Q10798782,P425,c(Q386724))
[ANSWER]
['Q13382605', 'P425', {'concept': 'Q386724'}] ['Q2405480', 'P425', {'concept': 'Q386724'}] ['Q33999', 'P425', {'concept': 'Q386724'}] ['Q948329', 'P425', {'concept': 'Q386724'}] ['Q10798782', 'P425', {'concept': 'Q386724'}]
SELECT DISTINCT ?g WHERE { resource:Q10798782 property:P425 ?g . ?g rdf:type ontology:Q386724 }
Nordic combined skier voice actor actor character actor television actor
Did you mean Nordic combined skier ?
Nordic combined skier
['Nordic combined skier', 'field of this occupation', {'concept': 'work'}] ['voice actor', 'field of this occupation', {'concept': 'work'}] ['actor', 'field of this occupation', {'concept': 'work'}] ['character actor', 'field of this occupation', {'concept': 'work'}] ['television actor', 'field of this occupation', {'concept': 'work'}]
SELECT DISTINCT ?g WHERE { resource:television_actor property:field_of_this_occupation ?g . ?g rdf:type ontology:work }
[]
Simple Question (Coreferenced)
USER
No, I meant television actor. Could you tell me the answer for that?
(Q10798782,P425,c(Q386724))
Q10798782
['Q10798782', 'P425', {'concept': 'Q386724'}]
['television actor', 'field of this occupation', {'concept': 'work'}]
[]
Q5398426
SYSTEM
television series
Q5398426
(Q10798782,P425,c(Q386724))
action filter_type
action find
entity Q10798782
relation P425
type Q386724
[ANSWER] has that one as thier associated field of occupation
['Q10798782', 'P425', {'concept': 'Q386724'}]
SELECT DISTINCT ?g WHERE { resource:Q10798782 property:P425 ?g . ?g rdf:type ontology:Q386724 }
television series
Television series has that one as thier associated field of occupation
television series
action filter_type
action find
entity television actor
relation field of this occupation
type work
['television actor', 'field of this occupation', {'concept': 'work'}]
SELECT DISTINCT ?g WHERE { resource:television_actor property:field_of_this_occupation ?g . ?g rdf:type ontology:work }
[]