Simple Question (Direct)
Simple Question
Q16232327
P54
Q1194951
USER
Which national sports team is Oleg Clonin a member of ?
(Q16232327,P54,c(Q1194951))
action filter_type
action find
entity Q16232327
relation P54
type Q1194951
['Q16232327', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1194951 . resource:Q16232327 property:P54 ?t }
Oleg Clonin
action filter_type
action find
entity Oleg Clonin
relation member of sports team
type national sports team
['Oleg Clonin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:national_sports_team . resource:Oleg_Clonin property:member_of_sports_team ?t }
[]
national sports team
Q191142
SYSTEM
Moldova national football team
Q191142
(Q16232327,P54,c(Q1194951))
action filter_type
action find
entity Q16232327
relation P54
type Q1194951
[ANSWER] is Oleg Clonin a member of
['Q16232327', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1194951 . resource:Q16232327 property:P54 ?t }
Moldova national football team
Moldova national football team is Oleg Clonin a member of
Moldova national football team
action filter_type
action find
entity Oleg Clonin
relation member of sports team
type national sports team
['Oleg Clonin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:national_sports_team . resource:Oleg_Clonin property:member_of_sports_team ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16232327
P106
Q12737077
USER
What is the job of that person ?
(Q191142,P106,c(Q12737077))
action filter_type
action find
entity Q16232327
relation P106
type Q12737077
['Q191142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q16232327 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Oleg Clonin
action filter_type
action find
entity Oleg Clonin
relation occupation
type occupation
['Moldova national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Oleg_Clonin property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q191142,P106,c(Q12737077))
action filter_type
action find
entity Q16232327
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q191142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q16232327 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Oleg Clonin
relation occupation
type occupation
['Moldova national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Oleg_Clonin property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P425
Q349
USER
How many sports have that occupation as the associated field of occupation ?
(Q937857,P425,c(Q349))
action count
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:Q349 . resource:Q937857 property:P425 ?n }
action count
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?n }
[]
sport
SYSTEM
1
Q2736
(Q937857,P425,c(Q349))
action count
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER]
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:Q349 . resource:Q937857 property:P425 ?n }
association football
1
action count
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5521937 Q16232327
P19
Q56061
USER
Which administrative territories were Oleg Clonin or Garard Green born ?
OR((Q16232327,P19,c(Q56061)), (Q5521937,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16232327
relation P19
action find
entity Q5521937
relation P19
type Q56061
{'OR': [['Q16232327', 'P19', {'concept': 'Q56061'}], ['Q5521937', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16232327 property:P19 ?n } UNION { resource:Q5521937 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Garard Green Oleg Clonin
action filter_type
action union
action find
entity Oleg Clonin
relation place of birth
action find
entity Garard Green
relation place of birth
type administrative territorial entity
{'OR': [['Oleg Clonin', 'place of birth', {'concept': 'administrative territorial entity'}], ['Garard Green', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Oleg_Clonin property:place_of_birth ?n } UNION { resource:Garard_Green property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1352 Q21197
SYSTEM
Chennai, Chișinău
Q1352 Q21197
OR((Q16232327,P19,c(Q56061)), (Q5521937,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16232327
relation P19
action find
entity Q5521937
relation P19
type Q56061
[ANSWERS] were Oleg Clonin or Garard Green born
{'OR': [['Q16232327', 'P19', {'concept': 'Q56061'}], ['Q5521937', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16232327 property:P19 ?n } UNION { resource:Q5521937 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Chennai Chișinău
Chennai and Chișinău were Oleg Clonin or Garard Green born
Chennai Chișinău
action filter_type
action union
action find
entity Oleg Clonin
relation place of birth
action find
entity Garard Green
relation place of birth
type administrative territorial entity
{'OR': [['Oleg Clonin', 'place of birth', {'concept': 'administrative territorial entity'}], ['Garard Green', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Oleg_Clonin property:place_of_birth ?n } UNION { resource:Garard_Green property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1352 Q21197
P740
Q2088357
USER
Which musical ensembles originated at those administrative territories ?
(c(Q2088357),P740,Q1352) (c(Q2088357),P740,Q21197)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q1352'] [{'concept': 'Q2088357'}, 'P740', 'Q21197']
SELECT DISTINCT ?u WHERE { VALUES ( ?r ) { ( resource:Q1352 ) ( resource:Q21197 ) } . ?u property:P740 ?r . ?u rdf:type ontology:Q2088357 }
Chennai Chișinău
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Chennai'] [{'concept': 'musical ensemble'}, 'location of formation', 'Chișinău']
SELECT DISTINCT ?u WHERE { VALUES ( ?r ) { ( resource:Chennai ) ( resource:Chișinău ) } . ?u property:location_of_formation ?r . ?u rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q4927581 Q7382630 Q14628786
SYSTEM
Blood Covenant, Rusty Moe, Saaral
Q4927581 Q7382630 Q14628786 Q18712189 Q5190756 Q6996876 Q12723448
(c(Q2088357),P740,Q1352) (c(Q2088357),P740,Q21197)
action filter_type
action find_reverse
entity prev_answer
relation P740
type Q2088357
[ANSWERS] originated at those administrative territories
[{'concept': 'Q2088357'}, 'P740', 'Q1352'] [{'concept': 'Q2088357'}, 'P740', 'Q21197']
SELECT DISTINCT ?u WHERE { VALUES ( ?r ) { ( resource:Q1352 ) ( resource:Q21197 ) } . ?u property:P740 ?r . ?u rdf:type ontology:Q2088357 }
Blood Covenant Rusty Moe Saaral Diabolus Arcanium Crypted Nerverek Carla's Dreams
Blood Covenant, Rusty Moe and Saaral originated at those administrative territories
Blood Covenant Rusty Moe Saaral
action filter_type
action find_reverse
entity prev_answer
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Chennai'] [{'concept': 'musical ensemble'}, 'location of formation', 'Chișinău']
SELECT DISTINCT ?u WHERE { VALUES ( ?r ) { ( resource:Chennai ) ( resource:Chișinău ) } . ?u property:location_of_formation ?r . ?u rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4927581 Q7382630 Q14628786
P136
Q151885
USER
What are the genre of those musical ensembles ?
(Q4927581,P136,c(Q151885)) (Q7382630,P136,c(Q151885)) (Q14628786,P136,c(Q151885))
action filter_type
action find
entity prev_answer
relation P136
type Q151885
['Q4927581', 'P136', {'concept': 'Q151885'}] ['Q7382630', 'P136', {'concept': 'Q151885'}] ['Q14628786', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { ?t property:P136 ?u . ?u rdf:type ontology:Q151885 . VALUES ( ?t ) { ( resource:Q4927581 ) ( resource:Q7382630 ) ( resource:Q14628786 ) } }
Blood Covenant Rusty Moe Saaral
action filter_type
action find
entity prev_answer
relation genre
type concept
['Blood Covenant', 'genre', {'concept': 'concept'}] ['Rusty Moe', 'genre', {'concept': 'concept'}] ['Saaral', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { ?t property:genre ?u . ?u rdf:type ontology:concept . VALUES ( ?t ) { ( resource:Blood_Covenant ) ( resource:Rusty_Moe ) ( resource:Saaral ) } }
[]
concept
Q483251 Q11399 Q11366
SYSTEM
death metal, rock music, alternative rock
Q483251 Q11399 Q11366
(Q4927581,P136,c(Q151885)) (Q7382630,P136,c(Q151885)) (Q14628786,P136,c(Q151885))
action filter_type
action find
entity prev_answer
relation P136
type Q151885
The genre of those musical ensembles are [ANSWERS]
['Q4927581', 'P136', {'concept': 'Q151885'}] ['Q7382630', 'P136', {'concept': 'Q151885'}] ['Q14628786', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { ?t property:P136 ?u . ?u rdf:type ontology:Q151885 . VALUES ( ?t ) { ( resource:Q4927581 ) ( resource:Q7382630 ) ( resource:Q14628786 ) } }
death metal rock music alternative rock
The genre of those musical ensembles are death metal, rock music and alternative rock
death metal rock music alternative rock
action filter_type
action find
entity prev_answer
relation genre
type concept
['Blood Covenant', 'genre', {'concept': 'concept'}] ['Rusty Moe', 'genre', {'concept': 'concept'}] ['Saaral', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { ?t property:genre ?u . ?u rdf:type ontology:concept . VALUES ( ?t ) { ( resource:Blood_Covenant ) ( resource:Rusty_Moe ) ( resource:Saaral ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11366
P135
Q502895
USER
Which people are associated with that concept ?
(c(Q502895),P135,Q11366)
action filter_type
action find_reverse
entity Q11366
relation P135
type Q502895
[{'concept': 'Q502895'}, 'P135', 'Q11366']
SELECT DISTINCT ?u WHERE { ?u property:P135 resource:Q11366 . ?u rdf:type ontology:Q502895 }
alternative rock
action filter_type
action find_reverse
entity alternative rock
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'alternative rock']
SELECT DISTINCT ?u WHERE { ?u property:movement resource:alternative_rock . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11399
SYSTEM
Did you mean rock music ?
Q483251 Q11399 Q11366
(c(Q502895),P135,Q483251) (c(Q502895),P135,Q11399) (c(Q502895),P135,Q11366)
[ANSWER]
[{'concept': 'Q502895'}, 'P135', 'Q483251'] [{'concept': 'Q502895'}, 'P135', 'Q11399'] [{'concept': 'Q502895'}, 'P135', 'Q11366']
SELECT DISTINCT ?u WHERE { ?u property:P135 resource:Q11366 . ?u rdf:type ontology:Q502895 }
death metal rock music alternative rock
Did you mean rock music ?
rock music
[{'concept': 'common name'}, 'movement', 'death metal'] [{'concept': 'common name'}, 'movement', 'rock music'] [{'concept': 'common name'}, 'movement', 'alternative rock']
SELECT DISTINCT ?u WHERE { ?u property:movement resource:alternative_rock . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant alternative rock. Could you tell me the answer for that?
(c(Q502895),P135,Q11366)
Q11366
[{'concept': 'Q502895'}, 'P135', 'Q11366']
[{'concept': 'common name'}, 'movement', 'alternative rock']
[]
Q3155404 Q5383
SYSTEM
Ismael Fuentes de Garay, David Bowie
Q3155404 Q5383
(c(Q502895),P135,Q11366)
action filter_type
action find_reverse
entity Q11366
relation P135
type Q502895
[ANSWERS] are associated with that concept
[{'concept': 'Q502895'}, 'P135', 'Q11366']
SELECT DISTINCT ?u WHERE { ?u property:P135 resource:Q11366 . ?u rdf:type ontology:Q502895 }
Ismael Fuentes de Garay David Bowie
Ismael Fuentes de Garay and David Bowie are associated with that concept
Ismael Fuentes de Garay David Bowie
action filter_type
action find_reverse
entity alternative rock
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'alternative rock']
SELECT DISTINCT ?u WHERE { ?u property:movement resource:alternative_rock . ?u rdf:type ontology:common_name }
[]