Simple Question (Direct)
Simple Question
Q259446
P1412
Q34770
USER
Which language is spoken by Katy Jurado ?
(Q259446,P1412,c(Q34770))
action filter_type
action find
entity Q259446
relation P1412
type Q34770
['Q259446', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q259446 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Katy Jurado
action filter_type
action find
entity Katy Jurado
relation languages spoken, written or signed
type language
['Katy Jurado', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Katy_Jurado property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q259446,P1412,c(Q34770))
action filter_type
action find
entity Q259446
relation P1412
type Q34770
[ANSWER] is spoken by Katy Jurado
['Q259446', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q259446 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by Katy Jurado
Spanish
action filter_type
action find
entity Katy Jurado
relation languages spoken, written or signed
type language
['Katy Jurado', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Katy_Jurado property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q259446
P509
Q2057971
USER
What caused the death of Katy Jurado ?
(Q259446,P509,c(Q2057971))
action filter_type
action find
entity Q259446
relation P509
type Q2057971
['Q259446', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q259446 property:P509 ?x . ?x rdf:type ontology:Q2057971 }
Katy Jurado
action filter_type
action find
entity Katy Jurado
relation cause of death
type health problem
['Katy Jurado', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:Katy_Jurado property:cause_of_death ?x . ?x rdf:type ontology:health_problem }
[]
health problem
Q476921 Q199804
SYSTEM
kidney failure, chronic obstructive pulmonary disease
Q476921 Q199804
(Q259446,P509,c(Q2057971))
action filter_type
action find
entity Q259446
relation P509
type Q2057971
The [ANSWERS] caused the death of Katy Jurado
['Q259446', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q259446 property:P509 ?x . ?x rdf:type ontology:Q2057971 }
kidney failure chronic obstructive pulmonary disease
The kidney failure and chronic obstructive pulmonary disease caused the death of Katy Jurado
kidney failure chronic obstructive pulmonary disease
action filter_type
action find
entity Katy Jurado
relation cause of death
type health problem
['Katy Jurado', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:Katy_Jurado property:cause_of_death ?x . ?x rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q541831
Q2057971
USER
And what about Nancy Graves?
(Q541831,P509,c(Q2057971))
action filter_type
action find
entity Q541831
relation P509
type Q2057971
['Q541831', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2057971 . resource:Q541831 property:P509 ?c }
Nancy Graves
action filter_type
action find
entity Nancy Graves
relation cause of death
type health problem
['Nancy Graves', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:health_problem . resource:Nancy_Graves property:cause_of_death ?c }
[]
health problem
Q172341
SYSTEM
ovarian cancer
Q172341
(Q541831,P509,c(Q2057971))
action filter_type
action find
entity Q541831
relation P509
type Q2057971
[ANSWER]
['Q541831', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2057971 . resource:Q541831 property:P509 ?c }
ovarian cancer
ovarian cancer
action filter_type
action find
entity Nancy Graves
relation cause of death
type health problem
['Nancy Graves', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:health_problem . resource:Nancy_Graves property:cause_of_death ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q187255 Q199804
P2176
Q8386
USER
Which drugs are used as a remedy for chronic obstructive pulmonary disease and rheumatoid arthritis ?
AND((Q199804,P2176,c(Q8386)), (Q187255,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q199804
relation P2176
action find
entity Q187255
relation P2176
type Q8386
{'AND': [['Q199804', 'P2176', {'concept': 'Q8386'}], ['Q187255', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?k WHERE { resource:Q199804 property:P2176 ?k . resource:Q187255 property:P2176 ?k . ?k rdf:type ontology:Q8386 }
rheumatoid arthritis chronic obstructive pulmonary disease
action filter_type
action intersection
action find
entity chronic obstructive pulmonary disease
relation drug used for treatment
action find
entity rheumatoid arthritis
relation drug used for treatment
type drug
{'AND': [['chronic obstructive pulmonary disease', 'drug used for treatment', {'concept': 'drug'}], ['rheumatoid arthritis', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?k WHERE { resource:chronic_obstructive_pulmonary_disease property:drug_used_for_treatment ?k . resource:rheumatoid_arthritis property:drug_used_for_treatment ?k . ?k rdf:type ontology:drug }
[]
drug
Q11426176 Q3655009 Q417740 Q424972 Q367700
SYSTEM
prednisolone, Canakinumab, lovastatin, prednisone, Cyclosporine
Q11426176 Q3655009 Q417740 Q424972 Q367700
AND((Q199804,P2176,c(Q8386)), (Q187255,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q199804
relation P2176
action find
entity Q187255
relation P2176
type Q8386
[ANSWERS] are used as a remedy for chronic obstructive pulmonary disease and rheumatoid arthritis
{'AND': [['Q199804', 'P2176', {'concept': 'Q8386'}], ['Q187255', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?k WHERE { resource:Q199804 property:P2176 ?k . resource:Q187255 property:P2176 ?k . ?k rdf:type ontology:Q8386 }
prednisolone Canakinumab lovastatin prednisone Cyclosporine
Prednisolone, Canakinumab, lovastatin, prednisone and Cyclosporine are used as a remedy for chronic obstructive pulmonary disease and rheumatoid arthritis
prednisolone Canakinumab lovastatin prednisone Cyclosporine
action filter_type
action intersection
action find
entity chronic obstructive pulmonary disease
relation drug used for treatment
action find
entity rheumatoid arthritis
relation drug used for treatment
type drug
{'AND': [['chronic obstructive pulmonary disease', 'drug used for treatment', {'concept': 'drug'}], ['rheumatoid arthritis', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?k WHERE { resource:chronic_obstructive_pulmonary_disease property:drug_used_for_treatment ?k . resource:rheumatoid_arthritis property:drug_used_for_treatment ?k . ?k rdf:type ontology:drug }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11426176
P129
Q181394
USER
Which nutrients contact that drug ?
(c(Q181394),P129,Q11426176)
action filter_type
action find
entity Q11426176
relation P129
type Q181394
[{'concept': 'Q181394'}, 'P129', 'Q11426176']
SELECT DISTINCT ?s WHERE { resource:Q11426176 property:P129 ?s . ?s rdf:type ontology:Q181394 }
prednisolone
action filter_type
action find
entity prednisolone
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'prednisolone']
SELECT DISTINCT ?s WHERE { resource:prednisolone property:physically_interacts_with ?s . ?s rdf:type ontology:nutrient }
[]
nutrient
Clarification for simple ques.
Q424972
SYSTEM
Did you mean prednisone ?
Q11426176 Q3655009 Q417740 Q424972 Q367700
(c(Q181394),P129,Q11426176) (c(Q181394),P129,Q3655009) (c(Q181394),P129,Q417740) (c(Q181394),P129,Q424972) (c(Q181394),P129,Q367700)
[ANSWER]
[{'concept': 'Q181394'}, 'P129', 'Q11426176'] [{'concept': 'Q181394'}, 'P129', 'Q3655009'] [{'concept': 'Q181394'}, 'P129', 'Q417740'] [{'concept': 'Q181394'}, 'P129', 'Q424972'] [{'concept': 'Q181394'}, 'P129', 'Q367700']
SELECT DISTINCT ?s WHERE { resource:Q11426176 property:P129 ?s . ?s rdf:type ontology:Q181394 }
prednisolone Canakinumab lovastatin prednisone Cyclosporine
Did you mean prednisone ?
prednisone
[{'concept': 'nutrient'}, 'physically interacts with', 'prednisolone'] [{'concept': 'nutrient'}, 'physically interacts with', 'Canakinumab'] [{'concept': 'nutrient'}, 'physically interacts with', 'lovastatin'] [{'concept': 'nutrient'}, 'physically interacts with', 'prednisone'] [{'concept': 'nutrient'}, 'physically interacts with', 'Cyclosporine']
SELECT DISTINCT ?s WHERE { resource:prednisolone property:physically_interacts_with ?s . ?s rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
USER
No, I meant prednisolone. Could you tell me the answer for that?
(c(Q181394),P129,Q11426176)
Q11426176
[{'concept': 'Q181394'}, 'P129', 'Q11426176']
[{'concept': 'nutrient'}, 'physically interacts with', 'prednisolone']
[]
Q3454531 Q2663095
SYSTEM
Mineralocorticoid receptor, Glucocorticoid receptor
Q3454531 Q2663095
(c(Q181394),P129,Q11426176)
action filter_type
action find
entity Q11426176
relation P129
type Q181394
[ANSWERS] contact that drug
[{'concept': 'Q181394'}, 'P129', 'Q11426176']
SELECT DISTINCT ?s WHERE { resource:Q11426176 property:P129 ?s . ?s rdf:type ontology:Q181394 }
Mineralocorticoid receptor Glucocorticoid receptor
Mineralocorticoid receptor and Glucocorticoid receptor contact that drug
Mineralocorticoid receptor Glucocorticoid receptor
action filter_type
action find
entity prednisolone
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'prednisolone']
SELECT DISTINCT ?s WHERE { resource:prednisolone property:physically_interacts_with ?s . ?s rdf:type ontology:nutrient }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3454531
P129
Q79529
USER
What do that nutrient interact with ?
(Q3454531,P129,c(Q79529))
action filter_type
action find
entity Q3454531
relation P129
type Q79529
['Q3454531', 'P129', {'concept': 'Q79529'}]
SELECT DISTINCT ?p WHERE { resource:Q3454531 property:P129 ?p . ?p rdf:type ontology:Q79529 }
Mineralocorticoid receptor
action filter_type
action find
entity Mineralocorticoid receptor
relation physically interacts with
type chemical substance
['Mineralocorticoid receptor', 'physically interacts with', {'concept': 'chemical substance'}]
SELECT DISTINCT ?p WHERE { resource:Mineralocorticoid_receptor property:physically_interacts_with ?p . ?p rdf:type ontology:chemical_substance }
[]
chemical substance
Clarification for simple ques.
Q2663095
SYSTEM
Did you mean Glucocorticoid receptor ?
Q3454531 Q2663095
(Q3454531,P129,c(Q79529)) (Q2663095,P129,c(Q79529))
[ANSWER]
['Q3454531', 'P129', {'concept': 'Q79529'}] ['Q2663095', 'P129', {'concept': 'Q79529'}]
SELECT DISTINCT ?p WHERE { resource:Q3454531 property:P129 ?p . ?p rdf:type ontology:Q79529 }
Mineralocorticoid receptor Glucocorticoid receptor
Did you mean Glucocorticoid receptor ?
Glucocorticoid receptor
['Mineralocorticoid receptor', 'physically interacts with', {'concept': 'chemical substance'}] ['Glucocorticoid receptor', 'physically interacts with', {'concept': 'chemical substance'}]
SELECT DISTINCT ?p WHERE { resource:Mineralocorticoid_receptor property:physically_interacts_with ?p . ?p rdf:type ontology:chemical_substance }
[]
Simple Question (Coreferenced)
USER
No, I meant Mineralocorticoid receptor. Could you tell me the answer for that?
(Q3454531,P129,c(Q79529))
Q3454531
['Q3454531', 'P129', {'concept': 'Q79529'}]
['Mineralocorticoid receptor', 'physically interacts with', {'concept': 'chemical substance'}]
[]
Q184564 Q21099046 Q948846
SYSTEM
aldosterone, finerenone, deoxycorticosterone
Q184564 Q21099046 Q948846
(Q3454531,P129,c(Q79529))
action filter_type
action find
entity Q3454531
relation P129
type Q79529
That nutrient interact with [ANSWERS]
['Q3454531', 'P129', {'concept': 'Q79529'}]
SELECT DISTINCT ?p WHERE { resource:Q3454531 property:P129 ?p . ?p rdf:type ontology:Q79529 }
aldosterone finerenone deoxycorticosterone
That nutrient interact with aldosterone, finerenone and deoxycorticosterone
aldosterone finerenone deoxycorticosterone
action filter_type
action find
entity Mineralocorticoid receptor
relation physically interacts with
type chemical substance
['Mineralocorticoid receptor', 'physically interacts with', {'concept': 'chemical substance'}]
SELECT DISTINCT ?p WHERE { resource:Mineralocorticoid_receptor property:physically_interacts_with ?p . ?p rdf:type ontology:chemical_substance }
[]