Simple Question (Direct)
Simple Question
Q2178381
P2175
Q12136
USER
Which disease requires Darbepoetin alfa to be prescribed ?
(Q2178381,P2175,c(Q12136))
action filter_type
action find
entity Q2178381
relation P2175
type Q12136
['Q2178381', 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?t WHERE { resource:Q2178381 property:P2175 ?t . ?t rdf:type ontology:Q12136 }
Darbepoetin alfa
action filter_type
action find
entity Darbepoetin alfa
relation medical condition treated
type disease
['Darbepoetin alfa', 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?t WHERE { resource:Darbepoetin_alfa property:medical_condition_treated ?t . ?t rdf:type ontology:disease }
[]
disease
Q12078
SYSTEM
cancer
Q12078
(Q2178381,P2175,c(Q12136))
action filter_type
action find
entity Q2178381
relation P2175
type Q12136
[ANSWER] requires Darbepoetin alfa to be prescribed
['Q2178381', 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?t WHERE { resource:Q2178381 property:P2175 ?t . ?t rdf:type ontology:Q12136 }
cancer
Cancer requires Darbepoetin alfa to be prescribed
cancer
action filter_type
action find
entity Darbepoetin alfa
relation medical condition treated
type disease
['Darbepoetin alfa', 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?t WHERE { resource:Darbepoetin_alfa property:medical_condition_treated ?t . ?t rdf:type ontology:disease }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12078
P1050
Q502895
USER
Which people suffers from that disease ?
(c(Q502895),P1050,Q12078)
action filter_type
action find_reverse
entity Q12078
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q12078']
SELECT DISTINCT ?d WHERE { ?d property:P1050 resource:Q12078 . ?d rdf:type ontology:Q502895 }
cancer
action filter_type
action find_reverse
entity cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'cancer']
SELECT DISTINCT ?d WHERE { ?d property:medical_condition resource:cancer . ?d rdf:type ontology:common_name }
[]
common name
Q74042 Q16066303 Q21151693
SYSTEM
Guy Béart, Mary Warner, Georgia Louise Harris Brown
Q74042 Q2355746 Q19898912 Q1380058 Q16066303 Q21151693 Q22077811
(c(Q502895),P1050,Q12078)
action filter_type
action find_reverse
entity Q12078
relation P1050
type Q502895
[ANSWERS] suffer from that disease
[{'concept': 'Q502895'}, 'P1050', 'Q12078']
SELECT DISTINCT ?d WHERE { ?d property:P1050 resource:Q12078 . ?d rdf:type ontology:Q502895 }
Guy Béart Auck Peanstra Daan de Ligt Kalki Krishnamurthy Mary Warner Georgia Louise Harris Brown Batkid
Guy Béart, Mary Warner and Georgia Louise Harris Brown suffer from that disease
Guy Béart Mary Warner Georgia Louise Harris Brown
action filter_type
action find_reverse
entity cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'cancer']
SELECT DISTINCT ?d WHERE { ?d property:medical_condition resource:cancer . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q74042
P40
Q502895
USER
Who are an offsprings of that one ?
(Q74042,P40,c(Q502895))
action filter_type
action find
entity Q74042
relation P40
type Q502895
['Q74042', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q74042 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Guy Béart
action filter_type
action find
entity Guy Béart
relation child
type common name
['Guy Béart', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Guy_Béart property:child ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q16066303
SYSTEM
Did you mean Mary Warner ?
Q74042 Q16066303 Q21151693
(Q74042,P40,c(Q502895)) (Q16066303,P40,c(Q502895)) (Q21151693,P40,c(Q502895))
[ANSWER]
['Q74042', 'P40', {'concept': 'Q502895'}] ['Q16066303', 'P40', {'concept': 'Q502895'}] ['Q21151693', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q74042 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Guy Béart Mary Warner Georgia Louise Harris Brown
Did you mean Mary Warner ?
Mary Warner
['Guy Béart', 'child', {'concept': 'common name'}] ['Mary Warner', 'child', {'concept': 'common name'}] ['Georgia Louise Harris Brown', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Guy_Béart property:child ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Guy Béart. Could you tell me the answer for that?
(Q74042,P40,c(Q502895))
Q74042
['Q74042', 'P40', {'concept': 'Q502895'}]
['Guy Béart', 'child', {'concept': 'common name'}]
[]
Q106458 Q20977787
SYSTEM
Emmanuelle Béart, Ève Béart
Q106458 Q20977787
(Q74042,P40,c(Q502895))
action filter_type
action find
entity Q74042
relation P40
type Q502895
Are an offsprings of that one [ANSWERS]
['Q74042', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q74042 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Emmanuelle Béart Ève Béart
Are an offsprings of that one Emmanuelle Béart and Ève Béart
Emmanuelle Béart Ève Béart
action filter_type
action find
entity Guy Béart
relation child
type common name
['Guy Béart', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Guy_Béart property:child ?d . ?d rdf:type ontology:common_name }
[]