Simple Question (Direct)
Simple Question
Q321178
P264
Q334453
USER
What is the record label of Tex Williams ?
(Q321178,P264,c(Q334453))
action filter_type
action find
entity Q321178
relation P264
type Q334453
['Q321178', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q334453 . resource:Q321178 property:P264 ?y }
Tex Williams
action filter_type
action find
entity Tex Williams
relation record label
type division
['Tex Williams', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:division . resource:Tex_Williams property:record_label ?y }
[]
division
Q193023
SYSTEM
Capitol Records
Q193023
(Q321178,P264,c(Q334453))
action filter_type
action find
entity Q321178
relation P264
type Q334453
The record label of Tex Williams is [ANSWER]
['Q321178', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q334453 . resource:Q321178 property:P264 ?y }
Capitol Records
The record label of Tex Williams is Capitol Records
Capitol Records
action filter_type
action find
entity Tex Williams
relation record label
type division
['Tex Williams', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:division . resource:Tex_Williams property:record_label ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q321178
P509
Q2057971
USER
Which health problem was the cause of death of Tex Williams ?
(Q321178,P509,c(Q2057971))
action filter_type
action find
entity Q321178
relation P509
type Q2057971
['Q321178', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { resource:Q321178 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
Tex Williams
action filter_type
action find
entity Tex Williams
relation cause of death
type health problem
['Tex Williams', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { resource:Tex_Williams property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]
health problem
Q212961
SYSTEM
pancreatic cancer
Q212961
(Q321178,P509,c(Q2057971))
action filter_type
action find
entity Q321178
relation P509
type Q2057971
[ANSWER] was the cause of death of Tex Williams
['Q321178', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { resource:Q321178 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
pancreatic cancer
Pancreatic cancer was the cause of death of Tex Williams
pancreatic cancer
action filter_type
action find
entity Tex Williams
relation cause of death
type health problem
['Tex Williams', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { resource:Tex_Williams property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q321178
P21
Q290
USER
Which sex does Tex Williams possess ?
(Q321178,P21,c(Q290))
action filter_type
action find
entity Q321178
relation P21
type Q290
['Q321178', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q321178 property:P21 ?w . ?w rdf:type ontology:Q290 }
Tex Williams
action filter_type
action find
entity Tex Williams
relation gender
type sex
['Tex Williams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Tex_Williams property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q321178,P21,c(Q290))
action filter_type
action find
entity Q321178
relation P21
type Q290
Tex Williams possesses a [ANSWER]
['Q321178', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q321178 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Tex Williams possesses a male
male
action filter_type
action find
entity Tex Williams
relation gender
type sex
['Tex Williams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Tex_Williams property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q321178
P106
Q12737077
USER
Which occupations are the professions of Tex Williams ?
(Q321178,P106,c(Q12737077))
action filter_type
action find
entity Q321178
relation P106
type Q12737077
['Q321178', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q321178 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Tex Williams
action filter_type
action find
entity Tex Williams
relation occupation
type occupation
['Tex Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Tex_Williams property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q753110 Q33999 Q177220
SYSTEM
songwriter, actor, singer
Q753110 Q33999 Q177220
(Q321178,P106,c(Q12737077))
action filter_type
action find
entity Q321178
relation P106
type Q12737077
The professions of Tex Williams are [ANSWERS]
['Q321178', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q321178 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
songwriter actor singer
The professions of Tex Williams are songwriter, actor and singer
songwriter actor singer
action filter_type
action find
entity Tex Williams
relation occupation
type occupation
['Tex Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Tex_Williams property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q177220
P180
Q340169
USER
Which media demonstrates that occupation ?
(c(Q340169),P180,Q177220)
action filter_type
action find_reverse
entity Q177220
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q177220']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q177220 . ?e rdf:type ontology:Q340169 }
singer
action filter_type
action find_reverse
entity singer
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'singer']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:singer . ?e rdf:type ontology:media }
[]
media
Clarification for simple ques.
Q33999
SYSTEM
Did you mean actor ?
Q753110 Q33999 Q177220
(c(Q340169),P180,Q753110) (c(Q340169),P180,Q33999) (c(Q340169),P180,Q177220)
[ANSWER]
[{'concept': 'Q340169'}, 'P180', 'Q753110'] [{'concept': 'Q340169'}, 'P180', 'Q33999'] [{'concept': 'Q340169'}, 'P180', 'Q177220']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q177220 . ?e rdf:type ontology:Q340169 }
songwriter actor singer
Did you mean actor ?
actor
[{'concept': 'media'}, 'depicts', 'songwriter'] [{'concept': 'media'}, 'depicts', 'actor'] [{'concept': 'media'}, 'depicts', 'singer']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:singer . ?e rdf:type ontology:media }
[]
Simple Question (Coreferenced)
USER
No, I meant singer. Could you tell me the answer for that?
(c(Q340169),P180,Q177220)
Q177220
[{'concept': 'Q340169'}, 'P180', 'Q177220']
[{'concept': 'media'}, 'depicts', 'singer']
[]
Q2956370
SYSTEM
Chanteur florentin du XVe siècle
Q2956370
(c(Q340169),P180,Q177220)
action filter_type
action find_reverse
entity Q177220
relation P180
type Q340169
[ANSWER] demonstrates that occupation
[{'concept': 'Q340169'}, 'P180', 'Q177220']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q177220 . ?e rdf:type ontology:Q340169 }
Chanteur florentin du XVe siècle
Chanteur florentin du XVe siècle demonstrates that occupation
Chanteur florentin du XVe siècle
action filter_type
action find_reverse
entity singer
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'singer']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:singer . ?e rdf:type ontology:media }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2956370 Q7569537 Q19675
P276
Q33506
USER
Does that media have its location as Southend Central Museum and Louvre ?
(Q2956370,P276,Q7569537) (Q2956370,P276,Q19675)
action is_in
entity Q2956370
action intersection
action find_reverse
entity Q7569537
relation P276
action find_reverse
entity Q19675
relation P276
['Q2956370', 'P276', 'Q7569537'] ['Q2956370', 'P276', 'Q19675']
ASK WHERE { resource:Q2956370 property:P276 resource:Q7569537 . resource:Q2956370 property:P276 resource:Q19675 }
Chanteur florentin du XVe siècle Southend Central Museum Louvre
action is_in
entity Chanteur florentin du XVe siècle
action intersection
action find_reverse
entity Southend Central Museum
relation location
action find_reverse
entity Louvre
relation location
['Chanteur florentin du XVe siècle', 'location', 'Southend Central Museum'] ['Chanteur florentin du XVe siècle', 'location', 'Louvre']
ASK WHERE { resource:Chanteur_florentin_du_XVe_siècle property:location resource:Southend_Central_Museum . resource:Chanteur_florentin_du_XVe_siècle property:location resource:Louvre }
[]
museum
SYSTEM
NO and YES respectively
(Q2956370,P276,Q7569537) (Q2956370,P276,Q19675)
action is_in
entity Q2956370
action intersection
action find_reverse
entity Q7569537
relation P276
action find_reverse
entity Q19675
relation P276
[ANSWER]
['Q2956370', 'P276', 'Q7569537'] ['Q2956370', 'P276', 'Q19675']
ASK WHERE { resource:Q2956370 property:P276 resource:Q7569537 . resource:Q2956370 property:P276 resource:Q19675 }
NO and YES respectively
action is_in
entity Chanteur florentin du XVe siècle
action intersection
action find_reverse
entity Southend Central Museum
relation location
action find_reverse
entity Louvre
relation location
['Chanteur florentin du XVe siècle', 'location', 'Southend Central Museum'] ['Chanteur florentin du XVe siècle', 'location', 'Louvre']
ASK WHERE { resource:Chanteur_florentin_du_XVe_siècle property:location resource:Southend_Central_Museum . resource:Chanteur_florentin_du_XVe_siècle property:location resource:Louvre }
[]