Simple Question (Direct)
Simple Question
Q2611109
P641
Q349
USER
Which sport was Abelardo Rondón a part of ?
(Q2611109,P641,c(Q349))
action filter_type
action find
entity Q2611109
relation P641
type Q349
['Q2611109', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q2611109 property:P641 ?q }
Abelardo Rondón
action filter_type
action find
entity Abelardo Rondón
relation sport
type sport
['Abelardo Rondón', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Abelardo_Rondón property:sport ?q }
[]
sport
Q2215841
SYSTEM
cycle sport
Q2215841
(Q2611109,P641,c(Q349))
action filter_type
action find
entity Q2611109
relation P641
type Q349
[ANSWER] was Abelardo Rondón a part of
['Q2611109', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q2611109 property:P641 ?q }
cycle sport
Cycle sport was Abelardo Rondón a part of
cycle sport
action filter_type
action find
entity Abelardo Rondón
relation sport
type sport
['Abelardo Rondón', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Abelardo_Rondón property:sport ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2611109
P1344
Q15275719
USER
What did Abelardo Rondón participate in ?
(Q2611109,P1344,c(Q15275719))
action filter_type
action find
entity Q2611109
relation P1344
type Q15275719
['Q2611109', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?t WHERE { resource:Q2611109 property:P1344 ?t . ?t rdf:type ontology:Q15275719 }
Abelardo Rondón
action filter_type
action find
entity Abelardo Rondón
relation participant of
type recurring event
['Abelardo Rondón', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?t WHERE { resource:Abelardo_Rondón property:participant_of ?t . ?t rdf:type ontology:recurring_event }
[]
recurring event
Q33881
SYSTEM
Tour de France
Q33881
(Q2611109,P1344,c(Q15275719))
action filter_type
action find
entity Q2611109
relation P1344
type Q15275719
Abelardo Rondón participated in [ANSWER]
['Q2611109', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?t WHERE { resource:Q2611109 property:P1344 ?t . ?t rdf:type ontology:Q15275719 }
Tour de France
Abelardo Rondón participated in Tour de France
Tour de France
action filter_type
action find
entity Abelardo Rondón
relation participant of
type recurring event
['Abelardo Rondón', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?t WHERE { resource:Abelardo_Rondón property:participant_of ?t . ?t rdf:type ontology:recurring_event }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q2611109
Q15091377
USER
And which cycling race?
(Q2611109,P1344,c(Q15091377))
action filter_type
action find
entity Q2611109
relation P1344
type Q15091377
['Q2611109', 'P1344', {'concept': 'Q15091377'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15091377 . resource:Q2611109 property:P1344 ?r }
Abelardo Rondón
action filter_type
action find
entity Abelardo Rondón
relation participant of
type cycling race
['Abelardo Rondón', 'participant of', {'concept': 'cycling race'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:cycling_race . resource:Abelardo_Rondón property:participant_of ?r }
[]
cycling race
Q33937
SYSTEM
Vuelta a España
Q33937
(Q2611109,P1344,c(Q15091377))
action filter_type
action find
entity Q2611109
relation P1344
type Q15091377
[ANSWER]
['Q2611109', 'P1344', {'concept': 'Q15091377'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15091377 . resource:Q2611109 property:P1344 ?r }
Vuelta a España
Vuelta a España
action filter_type
action find
entity Abelardo Rondón
relation participant of
type cycling race
['Abelardo Rondón', 'participant of', {'concept': 'cycling race'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:cycling_race . resource:Abelardo_Rondón property:participant_of ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q748046 Q33937
P641
Q31629
USER
Which types of sport were Vuelta a España or Tarik Bouguetaïb a part of ?
OR((Q33937,P641,c(Q31629)), (Q748046,P641,c(Q31629)))
action filter_type
action union
action find
entity Q33937
relation P641
action find
entity Q748046
relation P641
type Q31629
{'OR': [['Q33937', 'P641', {'concept': 'Q31629'}], ['Q748046', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:P641 ?u . VALUES ( ?y ) { ( resource:Q33937 ) ( resource:Q748046 ) } } . ?u rdf:type ontology:Q31629 }
Tarik Bouguetaïb Vuelta a España
action filter_type
action union
action find
entity Vuelta a España
relation sport
action find
entity Tarik Bouguetaïb
relation sport
type type of sport
{'OR': [['Vuelta a España', 'sport', {'concept': 'type of sport'}], ['Tarik Bouguetaïb', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:sport ?u . VALUES ( ?y ) { ( resource:Vuelta_a_España ) ( resource:Tarik_Bouguetaïb ) } } . ?u rdf:type ontology:type_of_sport }
[]
type of sport
Q3609 Q542
SYSTEM
road bicycle racing, athletics
Q3609 Q542
OR((Q33937,P641,c(Q31629)), (Q748046,P641,c(Q31629)))
action filter_type
action union
action find
entity Q33937
relation P641
action find
entity Q748046
relation P641
type Q31629
The [ANSWERS] were Vuelta a España or Tarik Bouguetaïb a part of
{'OR': [['Q33937', 'P641', {'concept': 'Q31629'}], ['Q748046', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:P641 ?u . VALUES ( ?y ) { ( resource:Q33937 ) ( resource:Q748046 ) } } . ?u rdf:type ontology:Q31629 }
road bicycle racing athletics
The road bicycle racing and athletics were Vuelta a España or Tarik Bouguetaïb a part of
road bicycle racing athletics
action filter_type
action union
action find
entity Vuelta a España
relation sport
action find
entity Tarik Bouguetaïb
relation sport
type type of sport
{'OR': [['Vuelta a España', 'sport', {'concept': 'type of sport'}], ['Tarik Bouguetaïb', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:sport ?u . VALUES ( ?y ) { ( resource:Vuelta_a_España ) ( resource:Tarik_Bouguetaïb ) } } . ?u rdf:type ontology:type_of_sport }
[]
Clarification
Simple Question|Single Entity|Indirect
Q542
P425
Q151885
USER
Which concept does that type of sport belong to ?
(c(Q151885),P425,Q542)
action filter_type
action find_reverse
entity Q542
relation P425
type Q151885
[{'concept': 'Q151885'}, 'P425', 'Q542']
SELECT DISTINCT ?b WHERE { ?b property:P425 resource:Q542 . ?b rdf:type ontology:Q151885 }
athletics
action filter_type
action find_reverse
entity athletics
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'athletics']
SELECT DISTINCT ?b WHERE { ?b property:field_of_this_occupation resource:athletics . ?b rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q542
SYSTEM
Did you mean athletics ?
Q3609 Q542
(c(Q151885),P425,Q3609) (c(Q151885),P425,Q542)
[ANSWER]
[{'concept': 'Q151885'}, 'P425', 'Q3609'] [{'concept': 'Q151885'}, 'P425', 'Q542']
SELECT DISTINCT ?b WHERE { ?b property:P425 resource:Q542 . ?b rdf:type ontology:Q151885 }
road bicycle racing athletics
Did you mean athletics ?
athletics
[{'concept': 'concept'}, 'field of this occupation', 'road bicycle racing'] [{'concept': 'concept'}, 'field of this occupation', 'athletics']
SELECT DISTINCT ?b WHERE { ?b property:field_of_this_occupation resource:athletics . ?b rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q151885),P425,Q542)
[{'concept': 'Q151885'}, 'P425', 'Q542']
[{'concept': 'concept'}, 'field of this occupation', 'athletics']
[]
Q11513337
SYSTEM
athletics competitor
Q11513337
(c(Q151885),P425,Q542)
action filter_type
action find_reverse
entity Q542
relation P425
type Q151885
That type of sport belongs to [ANSWER]
[{'concept': 'Q151885'}, 'P425', 'Q542']
SELECT DISTINCT ?b WHERE { ?b property:P425 resource:Q542 . ?b rdf:type ontology:Q151885 }
athletics competitor
That type of sport belongs to athletics competitor
athletics competitor
action filter_type
action find_reverse
entity athletics
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'athletics']
SELECT DISTINCT ?b WHERE { ?b property:field_of_this_occupation resource:athletics . ?b rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11513337
P425
Q31629
USER
Who has that concept as the associated field of occupation ?
(Q11513337,P425,c(Q31629))
action filter_type
action find
entity Q11513337
relation P425
type Q31629
['Q11513337', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q31629 . resource:Q11513337 property:P425 ?n }
athletics competitor
action filter_type
action find
entity athletics competitor
relation field of this occupation
type type of sport
['athletics competitor', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_sport . resource:athletics_competitor property:field_of_this_occupation ?n }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q11513337,P425,c(Q31629))
action filter_type
action find
entity Q11513337
relation P425
type Q31629
[ANSWER] has that concept as the associated field of occupation
['Q11513337', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q31629 . resource:Q11513337 property:P425 ?n }
athletics
Athletics has that concept as the associated field of occupation
athletics
action filter_type
action find
entity athletics competitor
relation field of this occupation
type type of sport
['athletics competitor', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_sport . resource:athletics_competitor property:field_of_this_occupation ?n }
[]