Simple Question (Direct)
Simple Question
Q27548384
P681
Q5058355
USER
What is a component of bifunctional hydroxyacyl-CoA dehydrogenase/enoyl-CoA hydratase FOX2 YKR009C ?
(Q27548384,P681,c(Q5058355))
action filter_type
action find
entity Q27548384
relation P681
type Q5058355
['Q27548384', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?a WHERE { resource:Q27548384 property:P681 ?a . ?a rdf:type ontology:Q5058355 }
bifunctional hydroxyacyl-CoA dehydrogenase/enoyl-CoA hydratase FOX2 YKR009C
action filter_type
action find
entity bifunctional hydroxyacyl-CoA dehydrogenase/enoyl-CoA hydratase FOX2 YKR009C
relation cell component
type cellular component
['bifunctional hydroxyacyl-CoA dehydrogenase/enoyl-CoA hydratase FOX2 YKR009C', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?a WHERE { resource:bifunctional_hydroxyacyl-CoA_dehydrogenase/enoyl-CoA_hydratase_FOX2_YKR009C property:cell_component ?a . ?a rdf:type ontology:cellular_component }
[]
cellular component
Q138639
SYSTEM
peroxisome
Q138639
(Q27548384,P681,c(Q5058355))
action filter_type
action find
entity Q27548384
relation P681
type Q5058355
A component of bifunctional hydroxyacyl-CoA dehydrogenase / enoyl-CoA hydratase FOX2 YKR009C is a [ANSWER]
['Q27548384', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?a WHERE { resource:Q27548384 property:P681 ?a . ?a rdf:type ontology:Q5058355 }
peroxisome
A component of bifunctional hydroxyacyl-CoA dehydrogenase / enoyl-CoA hydratase FOX2 YKR009C is a peroxisome
peroxisome
action filter_type
action find
entity bifunctional hydroxyacyl-CoA dehydrogenase/enoyl-CoA hydratase FOX2 YKR009C
relation cell component
type cellular component
['bifunctional hydroxyacyl-CoA dehydrogenase/enoyl-CoA hydratase FOX2 YKR009C', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?a WHERE { resource:bifunctional_hydroxyacyl-CoA_dehydrogenase/enoyl-CoA_hydratase_FOX2_YKR009C property:cell_component ?a . ?a rdf:type ontology:cellular_component }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q138639
P689
Q2057971
USER
Which health problem can afflict that cellular component ?
(c(Q2057971),P689,Q138639)
action filter_type
action find_reverse
entity Q138639
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q138639']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2057971 . ?k property:P689 resource:Q138639 }
peroxisome
action filter_type
action find_reverse
entity peroxisome
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'peroxisome']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:health_problem . ?k property:afflicts resource:peroxisome }
[]
health problem
Q3281322
SYSTEM
peroxisomal disease
Q3281322
(c(Q2057971),P689,Q138639)
action filter_type
action find_reverse
entity Q138639
relation P689
type Q2057971
[ANSWER] can afflict that cellular component
[{'concept': 'Q2057971'}, 'P689', 'Q138639']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2057971 . ?k property:P689 resource:Q138639 }
peroxisomal disease
Peroxisomal disease can afflict that cellular component
peroxisomal disease
action filter_type
action find_reverse
entity peroxisome
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'peroxisome']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:health_problem . ?k property:afflicts resource:peroxisome }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P828
Q2057971 Q12136 Q1441305
USER
Which health problems are the underlying cause of atleast 2 diseases or medical signs ?
(c(Q12136)|c(Q1441305),P828,c(Q2057971))
action atleast
action union
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q1441305
value 2
[[{'concept': 'Q12136'}, {'concept': 'Q1441305'}], 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?d WHERE { { ?h property:P828 ?d . ?h rdf:type ontology:Q12136 . ?d rdf:type ontology:Q2057971 } UNION { ?h property:P828 ?d . ?d rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q1441305 } } GROUP BY ?d } }
action atleast
action union
action find_reverse_tuple_counts
relation has cause
type health problem
type disease
action find_reverse_tuple_counts
relation has cause
type health problem
type medical sign
value 2
[[{'concept': 'disease'}, {'concept': 'medical sign'}], 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?d WHERE { { ?h property:has_cause ?d . ?h rdf:type ontology:disease . ?d rdf:type ontology:health_problem } UNION { ?h property:has_cause ?d . ?d rdf:type ontology:health_problem . ?h rdf:type ontology:medical_sign } } GROUP BY ?d } }
[]
health problem disease medical sign
Q159701 Q133823
SYSTEM
glaucoma, migraine
Q159701 Q133823
(c(Q12136)|c(Q1441305),P828,c(Q2057971))
action atleast
action union
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P828
type Q2057971
type Q1441305
value 2
[ANSWERS] are the underlying cause of atleast 2 diseases or medical signs
[[{'concept': 'Q12136'}, {'concept': 'Q1441305'}], 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?d WHERE { { ?h property:P828 ?d . ?h rdf:type ontology:Q12136 . ?d rdf:type ontology:Q2057971 } UNION { ?h property:P828 ?d . ?d rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q1441305 } } GROUP BY ?d } }
glaucoma migraine
Glaucoma and migraine are the underlying cause of atleast 2 diseases or medical signs
glaucoma migraine
action atleast
action union
action find_reverse_tuple_counts
relation has cause
type health problem
type disease
action find_reverse_tuple_counts
relation has cause
type health problem
type medical sign
value 2
[[{'concept': 'disease'}, {'concept': 'medical sign'}], 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?m >= 2 ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?d WHERE { { ?h property:has_cause ?d . ?h rdf:type ontology:disease . ?d rdf:type ontology:health_problem } UNION { ?h property:has_cause ?d . ?d rdf:type ontology:health_problem . ?h rdf:type ontology:medical_sign } } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P780
Q2057971 Q2057971 Q12136
USER
Which health problems are a symptoms of atmost 3 health problems and diseases ?
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action atmost
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
value 3
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { { ?c property:P780 ?f . ?f rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q2057971 } UNION { ?f rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q12136 . ?c property:P780 ?f } } GROUP BY ?f } . FILTER ( ?w <= 3 ) }
action atmost
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
value 3
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { { ?c property:symptoms ?f . ?f rdf:type ontology:health_problem . ?c rdf:type ontology:health_problem } UNION { ?f rdf:type ontology:health_problem . ?c rdf:type ontology:disease . ?c property:symptoms ?f } } GROUP BY ?f } . FILTER ( ?w <= 3 ) }
[]
health problem health problem disease
Q41861 Q844935 Q35869
SYSTEM
hypertension, coronary artery disease, asthma
Q334655 Q19275831 Q972514 Q1076421 Q5958765 Q18554331 Q2085267 Q271759 Q5572555 Q6279182 Q10874 Q864868 Q166019 Q21117568 Q3513968 Q1598200 Q854573 Q684383 Q16501 Q1435822 Q1123139 Q173022 Q7048905 Q147778 Q35869 Q1956682 Q5062120 Q177254 Q5062122 Q2879095 Q18642366 Q21117572 Q935293 Q1114480 Q16775468 Q156103 Q1527888 Q17142318 Q1553850 Q21111998 Q2088392 Q857667 Q4330029 Q3339235 Q2074059 Q21110191 Q911386 Q48143 Q1500373 Q1340669 Q131742 Q846316 Q279330 Q21513416 Q468433 Q2988775 Q938107 Q2306782 Q838139 Q677449 Q219223 Q207855 Q1384176 Q852376 Q783903 Q12167 Q55998 Q378183 Q570197 Q13452408 Q505142 Q1531991 Q16242752 Q18553790 Q2681162 Q10863074 Q21112607 Q127724 Q21116779 Q3108583 Q1502312 Q1193870 Q18556080 Q5375429 Q183130 Q202837 Q794026 Q12192 Q4597494 Q268594 Q5090486 Q189956 Q612681 Q1153419 Q1264268 Q1131786 Q4676384 Q18553940 Q939364 Q199804 Q622427 Q690210 Q229256 Q1097957 Q896643 Q18557427 Q21112593 Q684810 Q18556920 Q21109267 Q5289085 Q183344 Q1018652 Q2610084 Q1534492 Q42982 Q1294912 Q979168 Q1054718 Q2339038 Q11072 Q134003 Q170082 Q361648 Q2836 Q189470 Q671776 Q1356194 Q1145668 Q767485 Q369148 Q21112038 Q7562539 Q662298 Q21504914 Q1628473 Q16831900 Q188605 Q1507609 Q83030 Q181754 Q2844600 Q18553993 Q105688 Q339221 Q906492 Q3042175 Q220570 Q751641 Q9376235 Q883863 Q1334541 Q221668 Q16874615 Q936382 Q178436 Q2906693 Q1623006 Q572111 Q15401621 Q576349 Q2868696 Q838145 Q501561 Q179951 Q322370 Q114085 Q203601 Q170518 Q344873 Q18554311 Q1499629 Q496812 Q950591 Q794072 Q21128620 Q401402 Q5171111 Q1194557 Q21118423 Q32446 Q18967474 Q595010 Q41861 Q738153 Q748442 Q794086 Q1641062 Q21109048 Q18966290 Q2638851 Q79928 Q5712565 Q844935 Q734512 Q1036696 Q651223 Q5309747 Q476921 Q18558124 Q18558125 Q187440 Q4118166 Q1269320 Q757838 Q5251081 Q202758 Q21109885 Q4116448 Q224513 Q2046811 Q664174 Q1320276 Q648982 Q557552 Q14509067 Q7259546 Q18556164 Q5090456 Q81867 Q21109216
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action atmost
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
value 3
[ANSWERS] are a symptoms of atmost 3 health problems and diseases
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { { ?c property:P780 ?f . ?f rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q2057971 } UNION { ?f rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q12136 . ?c property:P780 ?f } } GROUP BY ?f } . FILTER ( ?w <= 3 ) }
amenorrhea choking optic neuritis chorea hypersensitivity retinal perforation pharyngitis porphyria glycerol kinase deficiency epileptic seizure blindness bone marrow suppression bleeding skin granuloma corneal opacity metabolic acidosis acute pancreatitis exophthalmos hypothyroidisms neutropenia Ketosis bronchitis Non-epileptic seizure liver cirrhosis asthma myoglobinuria central nervous system depression hyperopia central nervous system disease optic nerve disease intoxication lung granuloma purpura finger agnosia elephantiasis gastroenteritis pancreatitis pterygium hemoglobinuria fingernail damage migratory thrombophlebitis pulmonary edema airway obstruction nervous system disease Oculomotor apraxia diffuse nodular fibrosis stomatitis meningitis lactic acidosis nail clubbing hepatitis aplastic anemia bronchial disease hemorrhagic diarrhea anosmia heart conduction disease hypogonadism hypochromic anemia ventricular septal defect aspiration pneumonia lactose intolerance amblyopia exostosis seizure contact dermatitis malnutrition pleurisy Craniosynostosis proteinuria neuropathy eosinophilia Parkinsonian syndrome allergic contact dermatitis dry eye syndrome eye injury fatty liver disease leg paresthesia cataract scaling dermatitis anterior segment mesenchymal dysgenesis polyneuropathy multiple organ dysfunction syndrome cranial nerve palsy Enchondromatosis gastritis cardiac arrest Azoospermia pneumonia intestinal atresia stupor toxic pneumonitis aphthous stomatitis anuria interstitial lung disease stannosis Cor pulmonale Acroosteolysis gastric ulcer congenital heart disease chronic obstructive pulmonary disease ptosis dysosmia dermatitis intermittent claudication brachydactyly pancreatic cholera hand paresis berylliosis diffuse pulmonary fibrosis fibrotic pneumoconiosis dolichostenomelia sinusitis byssinosis sideroblastic anemia microhematuria type I hypersensitivity endophthalmitis brain edema kidney disease Neurogenic bladder amnestic disorder inherited blood coagulation disease psychotic disorder Double outlet right ventricle aphasia Fistula mutism Ectopia cordis hemolytic anemia respiratory failure neurilemmoma granulomatous pneumonitis facial paralysis ectropion wooden chest syndrome corneal ulcer intracranial hypotension pulmonary emphysema Ochronosis dementia heart failure muscular atrophy corneal edema hypoxia Gynecomastia dystonia corneal dystrophy pulmonary embolism recurrent hypersomnia endolymphatic hydrops blepharospasm pleural effusion acute cystitis Supravalvar aortic stenosis Hypocalcaemia constipation baritosis keratoconjunctivitis anterograde amnesia Trousseau sign of malignancy brain disease pain agnosia leukoplakia pericarditis strabismus ablepharon rhinitis pneumothorax burn adult respiratory distress syndrome corneal degeneration hydrarthrosis leukopenia scotoma Azotemia spleen injury nephritis corneal perforation laryngitis auditory nerve damage pulmonary fibrosis pulmonary congestion and hypostasis hypertrichosis hypertension ileus methemoglobinemia hypokalemia hyperphosphatemia acute hemorrhagic cystitis delayed separation of umbilical cord Oligospermia acne hemorrhagic cystitis coronary artery disease bronchopneumonia hypothermia pneumoconiosis dryness kidney failure allergic asthma intracranial hypertension urticaria Polyostotic fibrous dysplasia Dysplastic nevus keratitis Defatting hypoglycemia chronic respiratory disease tracheal stenosis Precocious puberty simultanagnosia asbestosis hypovolemia argyria ankyloglossia exanthem Pulmonary toxicity granulomatous gastritis Chemical eye injury albino benign pneumoconiosis
Hypertension, coronary artery disease and asthma are a symptoms of atmost 3 health problems and diseases
hypertension coronary artery disease asthma
action atmost
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
value 3
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?f WHERE { { ?c property:symptoms ?f . ?f rdf:type ontology:health_problem . ?c rdf:type ontology:health_problem } UNION { ?f rdf:type ontology:health_problem . ?c rdf:type ontology:disease . ?c property:symptoms ?f } } GROUP BY ?f } . FILTER ( ?w <= 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q10675206 Q2057971
USER
Which ingredients are the underlying cause of atleast 1 health problem ?
(c(Q2057971),P828,c(Q10675206))
action atleast
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P828 ?j . ?j rdf:type ontology:Q10675206 . ?r rdf:type ontology:Q2057971 } GROUP BY ?j } . FILTER ( ?w >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:has_cause ?j . ?j rdf:type ontology:ingredient . ?r rdf:type ontology:health_problem } GROUP BY ?j } . FILTER ( ?w >= 1 ) }
[]
ingredient health problem
Q8495 Q3621199
SYSTEM
milk, peanut
Q8495 Q3621199
(c(Q2057971),P828,c(Q10675206))
action atleast
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
value 1
[ANSWERS] are the underlying cause of atleast 1 health problem
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P828 ?j . ?j rdf:type ontology:Q10675206 . ?r rdf:type ontology:Q2057971 } GROUP BY ?j } . FILTER ( ?w >= 1 ) }
milk peanut
Milk and peanut are the underlying cause of atleast 1 health problem
milk peanut
action atleast
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:has_cause ?j . ?j rdf:type ontology:ingredient . ?r rdf:type ontology:health_problem } GROUP BY ?j } . FILTER ( ?w >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9130 Q138639
P1050
Q2057971
USER
Which health problems have peroxisome or Erwin Schrödinger contracted ?
OR((Q138639,P1050,c(Q2057971)), (Q9130,P1050,c(Q2057971)))
action filter_type
action union
action find
entity Q138639
relation P1050
action find
entity Q9130
relation P1050
type Q2057971
{'OR': [['Q138639', 'P1050', {'concept': 'Q2057971'}], ['Q9130', 'P1050', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q138639 property:P1050 ?a } UNION { resource:Q9130 property:P1050 ?a } } . ?a rdf:type ontology:Q2057971 }
Erwin Schrödinger peroxisome
action filter_type
action union
action find
entity peroxisome
relation medical condition
action find
entity Erwin Schrödinger
relation medical condition
type health problem
{'OR': [['peroxisome', 'medical condition', {'concept': 'health problem'}], ['Erwin Schrödinger', 'medical condition', {'concept': 'health problem'}]]}
SELECT DISTINCT ?a WHERE { { { resource:peroxisome property:medical_condition ?a } UNION { resource:Erwin_Schrödinger property:medical_condition ?a } } . ?a rdf:type ontology:health_problem }
[]
health problem
Q12204 Q3281322
SYSTEM
tuberculosis, peroxisomal disease
Q12204 Q3281322
OR((Q138639,P1050,c(Q2057971)), (Q9130,P1050,c(Q2057971)))
action filter_type
action union
action find
entity Q138639
relation P1050
action find
entity Q9130
relation P1050
type Q2057971
[ANSWERS] have peroxisome or Erwin Schrödinger contracted
{'OR': [['Q138639', 'P1050', {'concept': 'Q2057971'}], ['Q9130', 'P1050', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q138639 property:P1050 ?a } UNION { resource:Q9130 property:P1050 ?a } } . ?a rdf:type ontology:Q2057971 }
tuberculosis peroxisomal disease
Tuberculosis and peroxisomal disease have peroxisome or Erwin Schrödinger contracted
tuberculosis peroxisomal disease
action filter_type
action union
action find
entity peroxisome
relation medical condition
action find
entity Erwin Schrödinger
relation medical condition
type health problem
{'OR': [['peroxisome', 'medical condition', {'concept': 'health problem'}], ['Erwin Schrödinger', 'medical condition', {'concept': 'health problem'}]]}
SELECT DISTINCT ?a WHERE { { { resource:peroxisome property:medical_condition ?a } UNION { resource:Erwin_Schrödinger property:medical_condition ?a } } . ?a rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12204 Q3281322
P1995
Q1047113
USER
Which special fields are the medical specalities concerned with tuberculosis and peroxisomal disease ?
(Q12204,P1995,c(Q1047113)) (Q3281322,P1995,c(Q1047113))
action union
action filter_type
action find
entity Q12204
relation P1995
type Q1047113
action filter_type
action find
entity Q3281322
relation P1995
type Q1047113
['Q12204', 'P1995', {'concept': 'Q1047113'}] ['Q3281322', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { { resource:Q3281322 property:P1995 ?z . ?z rdf:type ontology:Q1047113 } UNION { resource:Q12204 property:P1995 ?z . ?z rdf:type ontology:Q1047113 } }
tuberculosis peroxisomal disease
action union
action filter_type
action find
entity tuberculosis
relation medical specialty
type special field
action filter_type
action find
entity peroxisomal disease
relation medical specialty
type special field
['tuberculosis', 'medical specialty', {'concept': 'special field'}] ['peroxisomal disease', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { { resource:peroxisomal_disease property:medical_specialty ?z . ?z rdf:type ontology:special_field } UNION { resource:tuberculosis property:medical_specialty ?z . ?z rdf:type ontology:special_field } }
[]
special field
Q788926 Q162606
SYSTEM
Infectious disease, endocrinology
Q788926 Q162606
(Q12204,P1995,c(Q1047113)) (Q3281322,P1995,c(Q1047113))
action union
action filter_type
action find
entity Q12204
relation P1995
type Q1047113
action filter_type
action find
entity Q3281322
relation P1995
type Q1047113
[ANSWERS] are the medical specalities concerned with tuberculosis and peroxisomal disease
['Q12204', 'P1995', {'concept': 'Q1047113'}] ['Q3281322', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { { resource:Q3281322 property:P1995 ?z . ?z rdf:type ontology:Q1047113 } UNION { resource:Q12204 property:P1995 ?z . ?z rdf:type ontology:Q1047113 } }
Infectious disease endocrinology
Infectious disease and endocrinology are the medical specalities concerned with tuberculosis and peroxisomal disease
Infectious disease endocrinology
action union
action filter_type
action find
entity tuberculosis
relation medical specialty
type special field
action filter_type
action find
entity peroxisomal disease
relation medical specialty
type special field
['tuberculosis', 'medical specialty', {'concept': 'special field'}] ['peroxisomal disease', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { { resource:peroxisomal_disease property:medical_specialty ?z . ?z rdf:type ontology:special_field } UNION { resource:tuberculosis property:medical_specialty ?z . ?z rdf:type ontology:special_field } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q788926 Q162606
P101
Q502895
USER
Which people have his/her area as Infectious disease and endocrinology ?
(c(Q502895),P101,Q788926) (c(Q502895),P101,Q162606)
action union
action filter_type
action find_reverse
entity Q788926
relation P101
type Q502895
action filter_type
action find_reverse
entity Q162606
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q788926'] [{'concept': 'Q502895'}, 'P101', 'Q162606']
SELECT DISTINCT ?n WHERE { ?n property:P101 ?c . VALUES ( ?c ) { ( resource:Q788926 ) ( resource:Q162606 ) } }
Infectious disease endocrinology
action union
action filter_type
action find_reverse
entity Infectious disease
relation field of work
type common name
action filter_type
action find_reverse
entity endocrinology
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Infectious disease'] [{'concept': 'common name'}, 'field of work', 'endocrinology']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work ?c . VALUES ( ?c ) { ( resource:Infectious_disease ) ( resource:endocrinology ) } }
[]
common name
Q5543096 Q22661124 Q26706202
SYSTEM
George P. Chrousos, Cecilia Lutwak-Mann, Albert Ko
Q24809677 Q25115558 Q26693628 Q26706202 Q24697626 Q24809947 Q5543096 Q22661124
(c(Q502895),P101,Q788926) (c(Q502895),P101,Q162606)
action union
action filter_type
action find_reverse
entity Q788926
relation P101
type Q502895
action filter_type
action find_reverse
entity Q162606
relation P101
type Q502895
[ANSWERS] have his/her area as Infectious disease and endocrinology
[{'concept': 'Q502895'}, 'P101', 'Q788926'] [{'concept': 'Q502895'}, 'P101', 'Q162606']
SELECT DISTINCT ?n WHERE { ?n property:P101 ?c . VALUES ( ?c ) { ( resource:Q788926 ) ( resource:Q162606 ) } }
Emilie Robin Emily E. Petersen Dennis Tappe Albert Ko Maurice Paul Weinbren Goro Kuno George P. Chrousos Cecilia Lutwak-Mann
George P. Chrousos, Cecilia Lutwak-Mann and Albert Ko have his/her area as Infectious disease and endocrinology
George P. Chrousos Cecilia Lutwak-Mann Albert Ko
action union
action filter_type
action find_reverse
entity Infectious disease
relation field of work
type common name
action filter_type
action find_reverse
entity endocrinology
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Infectious disease'] [{'concept': 'common name'}, 'field of work', 'endocrinology']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work ?c . VALUES ( ?c ) { ( resource:Infectious_disease ) ( resource:endocrinology ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5543096 Q22661124 Q26706202
P101
Q1047113
USER
Which disciplinse do those people belong to ?
(Q5543096,P101,c(Q1047113)) (Q22661124,P101,c(Q1047113)) (Q26706202,P101,c(Q1047113))
action filter_type
action find
entity prev_answer
relation P101
type Q1047113
['Q5543096', 'P101', {'concept': 'Q1047113'}] ['Q22661124', 'P101', {'concept': 'Q1047113'}] ['Q26706202', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1047113 . VALUES ( ?l ) { ( resource:Q24809677 ) ( resource:Q25115558 ) ( resource:Q26693628 ) } . ?l property:P101 ?x }
George P. Chrousos Cecilia Lutwak-Mann Albert Ko
action filter_type
action find
entity prev_answer
relation field of work
type special field
['George P. Chrousos', 'field of work', {'concept': 'special field'}] ['Cecilia Lutwak-Mann', 'field of work', {'concept': 'special field'}] ['Albert Ko', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:special_field . VALUES ( ?l ) { ( resource:Emilie_Robin ) ( resource:Emily_E._Petersen ) ( resource:Dennis_Tappe ) } . ?l property:field_of_work ?x }
[]
special field
Q162606 Q162606 Q788926
SYSTEM
endocrinology for 1st, 2nd, Infectious disease for 3rd
Q162606 Q162606 Q788926
(Q5543096,P101,c(Q1047113)) (Q22661124,P101,c(Q1047113)) (Q26706202,P101,c(Q1047113))
action filter_type
action find
entity prev_answer
relation P101
type Q1047113
[ANSWERS]
['Q5543096', 'P101', {'concept': 'Q1047113'}] ['Q22661124', 'P101', {'concept': 'Q1047113'}] ['Q26706202', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1047113 . VALUES ( ?l ) { ( resource:Q24809677 ) ( resource:Q25115558 ) ( resource:Q26693628 ) } . ?l property:P101 ?x }
endocrinology endocrinology Infectious disease
Those people belong to endocrinology, endocrinology and Infectious disease
endocrinology endocrinology Infectious disease
action filter_type
action find
entity prev_answer
relation field of work
type special field
['George P. Chrousos', 'field of work', {'concept': 'special field'}] ['Cecilia Lutwak-Mann', 'field of work', {'concept': 'special field'}] ['Albert Ko', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:special_field . VALUES ( ?l ) { ( resource:Emilie_Robin ) ( resource:Emily_E._Petersen ) ( resource:Dennis_Tappe ) } . ?l property:field_of_work ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22661124
P26
Q502895
USER
Which person is the life partner of Cecilia Lutwak-Mann ?
(c(Q502895),P26,Q22661124)
action filter_type
action find
entity Q22661124
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q22661124']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q22661124 property:P26 ?k }
Cecilia Lutwak-Mann
action filter_type
action find
entity Cecilia Lutwak-Mann
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Cecilia Lutwak-Mann']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Cecilia_Lutwak-Mann property:spouse ?k }
[]
common name
Q86811
SYSTEM
Thaddeus Mann
Q86811
(c(Q502895),P26,Q22661124)
action filter_type
action find
entity Q22661124
relation P26
type Q502895
[ANSWER] is the life partner of Cecilia Lutwak-Mann
[{'concept': 'Q502895'}, 'P26', 'Q22661124']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q22661124 property:P26 ?k }
Thaddeus Mann
Thaddeus Mann is the life partner of Cecilia Lutwak-Mann
Thaddeus Mann
action filter_type
action find
entity Cecilia Lutwak-Mann
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Cecilia Lutwak-Mann']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Cecilia_Lutwak-Mann property:spouse ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q86811 Q18057
P27
Q15617994
USER
Does that person belong to Crevacuore ?
(Q86811,P27,Q18057)
action is_in
entity Q18057
action find
entity Q86811
relation P27
['Q86811', 'P27', 'Q18057']
ASK WHERE { resource:Q86811 property:P27 resource:Q18057 }
Thaddeus Mann Crevacuore
action is_in
entity Crevacuore
action find
entity Thaddeus Mann
relation country of citizenship
['Thaddeus Mann', 'country of citizenship', 'Crevacuore']
ASK WHERE { resource:Thaddeus_Mann property:country_of_citizenship resource:Crevacuore }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q86811,P27,Q18057)
action is_in
entity Q18057
action find
entity Q86811
relation P27
[ANSWER]
['Q86811', 'P27', 'Q18057']
ASK WHERE { resource:Q86811 property:P27 resource:Q18057 }
No
action is_in
entity Crevacuore
action find
entity Thaddeus Mann
relation country of citizenship
['Thaddeus Mann', 'country of citizenship', 'Crevacuore']
ASK WHERE { resource:Thaddeus_Mann property:country_of_citizenship resource:Crevacuore }
[]