Simple Question (Direct)
Simple Question
Q21141711
P703
Q16521
USER
Where is Neuropilin-1 found ?
(Q21141711,P703,c(Q16521))
action filter_type
action find
entity Q21141711
relation P703
type Q16521
['Q21141711', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q21141711 property:P703 ?r . ?r rdf:type ontology:Q16521 }
Neuropilin-1
action filter_type
action find
entity Neuropilin-1
relation found in taxon
type taxon
['Neuropilin-1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:Neuropilin-1 property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21141711,P703,c(Q16521))
action filter_type
action find
entity Q21141711
relation P703
type Q16521
Neuropilin-1 is found in [ANSWER]
['Q21141711', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q21141711 property:P703 ?r . ?r rdf:type ontology:Q16521 }
Homo sapiens
Neuropilin-1 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Neuropilin-1
relation found in taxon
type taxon
['Neuropilin-1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:Neuropilin-1 property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21141711
P702
Q863908
USER
What is the gene that encodes that nutrient ?
(Q15978631,P702,c(Q863908))
action filter_type
action find
entity Q21141711
relation P702
type Q863908
['Q15978631', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?e WHERE { resource:Q21141711 property:P702 ?e . ?e rdf:type ontology:Q863908 }
Neuropilin-1
action filter_type
action find
entity Neuropilin-1
relation encoded by
type nucleic acid sequence
['Homo sapiens', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?e WHERE { resource:Neuropilin-1 property:encoded_by ?e . ?e rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18033463
SYSTEM
NRP1
Q18033463
(Q15978631,P702,c(Q863908))
action filter_type
action find
entity Q21141711
relation P702
type Q863908
The gene that encodes that nutrient is the [ANSWER]
['Q15978631', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?e WHERE { resource:Q21141711 property:P702 ?e . ?e rdf:type ontology:Q863908 }
NRP1
The gene that encodes that nutrient is the NRP1
NRP1
action filter_type
action find
entity Neuropilin-1
relation encoded by
type nucleic acid sequence
['Homo sapiens', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?e WHERE { resource:Neuropilin-1 property:encoded_by ?e . ?e rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18033463
P2293
Q2057971
USER
Which health problem is herditarily associated with that nucleic acid sequence ?
(c(Q2057971),P2293,Q18033463)
action filter_type
action find
entity Q18033463
relation P2293
type Q2057971
[{'concept': 'Q2057971'}, 'P2293', 'Q18033463']
SELECT DISTINCT ?t WHERE { resource:Q18033463 property:P2293 ?t . ?t rdf:type ontology:Q2057971 }
NRP1
action filter_type
action find
entity NRP1
relation genetic association
type health problem
[{'concept': 'health problem'}, 'genetic association', 'NRP1']
SELECT DISTINCT ?t WHERE { resource:NRP1 property:genetic_association ?t . ?t rdf:type ontology:health_problem }
[]
health problem
Q1126831
SYSTEM
tetralogy of Fallot
Q1126831
(c(Q2057971),P2293,Q18033463)
action filter_type
action find
entity Q18033463
relation P2293
type Q2057971
T [ANSWER] is herditarily associated with that nucleic acid sequence
[{'concept': 'Q2057971'}, 'P2293', 'Q18033463']
SELECT DISTINCT ?t WHERE { resource:Q18033463 property:P2293 ?t . ?t rdf:type ontology:Q2057971 }
tetralogy of Fallot
T tetralogy of Fallot is herditarily associated with that nucleic acid sequence
tetralogy of Fallot
action filter_type
action find
entity NRP1
relation genetic association
type health problem
[{'concept': 'health problem'}, 'genetic association', 'NRP1']
SELECT DISTINCT ?t WHERE { resource:NRP1 property:genetic_association ?t . ?t rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1126831
P138
Q502895
USER
Which person is the etymology of that health problem ?
(Q1126831,P138,c(Q502895))
action filter_type
action find
entity Q1126831
relation P138
type Q502895
['Q1126831', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1126831 property:P138 ?k . ?k rdf:type ontology:Q502895 }
tetralogy of Fallot
action filter_type
action find
entity tetralogy of Fallot
relation named after
type common name
['tetralogy of Fallot', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:tetralogy_of_Fallot property:named_after ?k . ?k rdf:type ontology:common_name }
[]
common name
Q289205
SYSTEM
Arthur Fallot
Q289205
(Q1126831,P138,c(Q502895))
action filter_type
action find
entity Q1126831
relation P138
type Q502895
[ANSWER] is the etymology of that health problem
['Q1126831', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1126831 property:P138 ?k . ?k rdf:type ontology:Q502895 }
Arthur Fallot
Arthur Fallot is the etymology of that health problem
Arthur Fallot
action filter_type
action find
entity tetralogy of Fallot
relation named after
type common name
['tetralogy of Fallot', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:tetralogy_of_Fallot property:named_after ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 9590 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9590
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { FILTER ( ?g <= 9590 ) . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?v } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9590
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { FILTER ( ?g <= 9590 ) . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?v } }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 9590
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { FILTER ( ?g <= 9590 ) . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?v } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 9590
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { FILTER ( ?g <= 9590 ) . { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?v } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q289205 Q27686117
P106
Q12737077
USER
How many occupations are the professions of Arthur Fallot or Jon Maguire ?
(Q289205,P106,c(Q12737077)) (Q27686117,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q289205
relation P106
type Q12737077
action filter_type
action find
entity Q27686117
relation P106
type Q12737077
['Q289205', 'P106', {'concept': 'Q12737077'}] ['Q27686117', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?u ) { ( resource:Q289205 ) ( resource:Q27686117 ) } . ?u property:P106 ?m }
Arthur Fallot Jon Maguire
action count
action union
action filter_type
action find
entity Arthur Fallot
relation occupation
type occupation
action filter_type
action find
entity Jon Maguire
relation occupation
type occupation
['Arthur Fallot', 'occupation', {'concept': 'occupation'}] ['Jon Maguire', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?u ) { ( resource:Arthur_Fallot ) ( resource:Jon_Maguire ) } . ?u property:occupation ?m }
[]
occupation
SYSTEM
2
Q39631 Q1622272
(Q289205,P106,c(Q12737077)) (Q27686117,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q289205
relation P106
type Q12737077
action filter_type
action find
entity Q27686117
relation P106
type Q12737077
[ANSWER]
['Q289205', 'P106', {'concept': 'Q12737077'}] ['Q27686117', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?u ) { ( resource:Q289205 ) ( resource:Q27686117 ) } . ?u property:P106 ?m }
physician university teacher
2
action count
action union
action filter_type
action find
entity Arthur Fallot
relation occupation
type occupation
action filter_type
action find
entity Jon Maguire
relation occupation
type occupation
['Arthur Fallot', 'occupation', {'concept': 'occupation'}] ['Jon Maguire', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?u ) { ( resource:Arthur_Fallot ) ( resource:Jon_Maguire ) } . ?u property:occupation ?m }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres had their voice dubbing done by atleast 2 people ?
(c(Q15961987),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 2
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?r property:P725 ?c . ?c rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15961987 } GROUP BY ?r } . FILTER ( ?s >= 2 ) }
action atleast
action find_tuple_counts
relation voice actor
type television genre
type common name
value 2
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?r property:voice_actor ?c . ?c rdf:type ontology:common_name . ?r rdf:type ontology:television_genre } GROUP BY ?r } . FILTER ( ?s >= 2 ) }
[]
common name television genre
Q886 Q53093 Q5415
SYSTEM
The Simpsons, Adventure Time, My Little Pony: Friendship Is Magic
Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q22773153 Q18790 Q53093 Q753848 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 2
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had their voice dubbing done by atleast 2 people
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?r property:P725 ?c . ?c rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15961987 } GROUP BY ?r } . FILTER ( ?s >= 2 ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Milo Murphy's Law The Legend of Korra Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had their voice dubbing done by atleast 2 people
The Simpsons Adventure Time My Little Pony: Friendship Is Magic
action atleast
action find_tuple_counts
relation voice actor
type television genre
type common name
value 2
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?r property:voice_actor ?c . ?c rdf:type ontology:common_name . ?r rdf:type ontology:television_genre } GROUP BY ?r } . FILTER ( ?s >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P780
Q12136 Q2057971 Q2057971
USER
Which health problems are atmost 1 diseases and health problems a symtom of ?
(c(Q2057971),P780,c(Q12136)|c(Q2057971))
action atmost
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q2057971'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?b <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?j property:P780 ?l . ?l rdf:type ontology:Q2057971 . ?j rdf:type ontology:Q2057971 } UNION { ?j property:P780 ?l . ?j rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q12136 } } GROUP BY ?j } }
action atmost
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type health problem
value 1
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'health problem'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?b <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?j property:symptoms ?l . ?l rdf:type ontology:health_problem . ?j rdf:type ontology:health_problem } UNION { ?j property:symptoms ?l . ?j rdf:type ontology:health_problem . ?l rdf:type ontology:disease } } GROUP BY ?j } }
[]
disease health problem health problem
Q221668 Q12152 Q29496
SYSTEM
acute cystitis, myocardial infarction, leukemia
Q3281274 Q18589315 Q4813631 Q16889762 Q154869 Q19000456 Q7080278 Q2070695 Q836356 Q3508686 Q721073 Q5319554 Q623031 Q558077 Q3843800 Q585011 Q3508664 Q48143 Q26492785 Q6853 Q5432941 Q719656 Q191779 Q18553762 Q192100 Q5064113 Q774483 Q17120992 Q1154422 Q156103 Q205214 Q209733 Q12152 Q1515119 Q5526844 Q7243138 Q12252367 Q18554801 Q632228 Q1432717 Q18556319 Q3298999 Q326648 Q4352832 Q180266 Q21505506 Q21505507 Q6668132 Q47912 Q2836 Q460167 Q124604 Q799615 Q1518637 Q18557231 Q1648128 Q19000484 Q145790 Q2845978 Q378681 Q221668 Q27164422 Q281928 Q15401621 Q4676384 Q506433 Q959457 Q332293 Q133087 Q522163 Q21505526 Q9390463 Q1286320 Q1117652 Q3508585 Q1077139 Q4865826 Q5032577 Q17089792 Q335555 Q265936 Q1952467 Q29496 Q180664 Q129279 Q18555385 Q2106232 Q25345593 Q208562 Q664174 Q1641153 Q14509067 Q2840 Q18557404 Q26492775
(c(Q2057971),P780,c(Q12136)|c(Q2057971))
action atmost
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
value 1
[ANSWERS] are atmost 1 diseases and health problems a symtom of
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q2057971'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?b <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?j property:P780 ?l . ?l rdf:type ontology:Q2057971 . ?j rdf:type ontology:Q2057971 } UNION { ?j property:P780 ?l . ?j rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q12136 } } GROUP BY ?j } }
Griscelli syndrome Cataract-microcornea syndrome dyskinetic cerebral palsy multiple pterygium syndrome hepatitis C syphilitic alopecia Oguchi disease macrocytic anemia croup Saethre–Chotzen syndrome delusional disorder dysplastic nevus syndrome liver cancer Williams Syndrome chronic congestive splenomegaly Antley-Bixler syndrome Lasthenie de Ferjol syndrome meningitis hypertrichotic osteochondrodysplasia Cantu type hepatitis B hyperlipoproteinemia type IV fascioliasis Gilles de la Tourette syndrome migraine with aura lymphatic filariasis Cerebrospinal fluid leak Galactosemia Hyperglycerolemia leukocyte-adhesion deficiency syndrome gastroenteritis Guillain–Barré syndrome chronic fatigue syndrome myocardial infarction Gerstmann syndrome Gastrojejunocolic fistula Primary hypertrophic osteoathropathy atherosclerosis multiple intestinal atresia Hajdu-Cheney syndrome Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia Salmonellosis urofacial syndrome scarlet fever hypophosphatemic nephrolithiasis/osteoporosis 1 hypophosphatemic nephrolithiasis/osteoporosis 2 Loin pain hematuria syndrome lung cancer aphasia Meniere's disease portal hypertension osteitis fibrosa VIPoma hypersplenism geniculate herpes zoster arteriosclerosis obliterans iridocyclitis stereotypic movement disorder peripheral artery disease acute cystitis X-linked cleft palate with or without ankyloglossia social phobia Trousseau sign of malignancy Acroosteolysis Trimethylaminuria inappropriate ADH syndrome carpal tunnel syndrome gout Sydenham's chorea myopathy, lactic acidosis, and sideroblastic anemia temtamy preaxial brachydactyly syndrome Schwannomatosis Thygeson's superficial punctate keratopathy ablepharon macrostomia syndrome tic disorder Bart-Pumphrey syndrome Cannabinoid hyperemesis syndrome Psoriatic erythroderma Sjögren's syndrome Kawasaki disease hereditary multiple exostoses leukemia acute lymphocytic leukemia dysentery xanthomatosis Postanesthetic shivering Intermittent hydrarthrosis Marfan syndrome asbestosis secondary hypertrophic osteoarthropathy exanthem influenza peroneal nerve paralysis poikiloderma with neutropenia
Acute cystitis, myocardial infarction and leukemia are atmost 1 diseases and health problems a symtom of
acute cystitis myocardial infarction leukemia
action atmost
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type health problem
value 1
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'health problem'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?b <= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?j property:symptoms ?l . ?l rdf:type ontology:health_problem . ?j rdf:type ontology:health_problem } UNION { ?j property:symptoms ?l . ?j rdf:type ontology:health_problem . ?l rdf:type ontology:disease } } GROUP BY ?j } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q221668
P828
Q2057971
USER
What does that one lead to ?
(c(Q2057971),P828,Q221668)
action filter_type
action find_reverse
entity Q221668
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q221668']
SELECT DISTINCT ?w WHERE { ?w property:P828 resource:Q221668 . ?w rdf:type ontology:Q2057971 }
acute cystitis
action filter_type
action find_reverse
entity acute cystitis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'acute cystitis']
SELECT DISTINCT ?w WHERE { ?w property:has_cause resource:acute_cystitis . ?w rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q221668
SYSTEM
Did you mean acute cystitis ?
Q221668 Q12152 Q29496
(c(Q2057971),P828,Q221668) (c(Q2057971),P828,Q12152) (c(Q2057971),P828,Q29496)
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', 'Q221668'] [{'concept': 'Q2057971'}, 'P828', 'Q12152'] [{'concept': 'Q2057971'}, 'P828', 'Q29496']
SELECT DISTINCT ?w WHERE { ?w property:P828 resource:Q221668 . ?w rdf:type ontology:Q2057971 }
acute cystitis myocardial infarction leukemia
Did you mean acute cystitis ?
acute cystitis
[{'concept': 'health problem'}, 'has cause', 'acute cystitis'] [{'concept': 'health problem'}, 'has cause', 'myocardial infarction'] [{'concept': 'health problem'}, 'has cause', 'leukemia']
SELECT DISTINCT ?w WHERE { ?w property:has_cause resource:acute_cystitis . ?w rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2057971),P828,Q221668)
[{'concept': 'Q2057971'}, 'P828', 'Q221668']
[{'concept': 'health problem'}, 'has cause', 'acute cystitis']
[]
Q632522
SYSTEM
bacteriuria
Q632522
(c(Q2057971),P828,Q221668)
action filter_type
action find_reverse
entity Q221668
relation P828
type Q2057971
That one leads to [ANSWER]
[{'concept': 'Q2057971'}, 'P828', 'Q221668']
SELECT DISTINCT ?w WHERE { ?w property:P828 resource:Q221668 . ?w rdf:type ontology:Q2057971 }
bacteriuria
That one leads to bacteriuria
bacteriuria
action filter_type
action find_reverse
entity acute cystitis
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'acute cystitis']
SELECT DISTINCT ?w WHERE { ?w property:has_cause resource:acute_cystitis . ?w rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q632522
P828
Q2057971
USER
What is the cause of that one ?
(Q632522,P828,c(Q2057971))
action filter_type
action find
entity Q632522
relation P828
type Q2057971
['Q632522', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q632522 property:P828 ?q . ?q rdf:type ontology:Q2057971 }
bacteriuria
action filter_type
action find
entity bacteriuria
relation has cause
type health problem
['bacteriuria', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:bacteriuria property:has_cause ?q . ?q rdf:type ontology:health_problem }
[]
health problem
Q221668
SYSTEM
acute cystitis
Q221668
(Q632522,P828,c(Q2057971))
action filter_type
action find
entity Q632522
relation P828
type Q2057971
The cause of that one is an [ANSWER]
['Q632522', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q632522 property:P828 ?q . ?q rdf:type ontology:Q2057971 }
acute cystitis
The cause of that one is an acute cystitis
acute cystitis
action filter_type
action find
entity bacteriuria
relation has cause
type health problem
['bacteriuria', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:bacteriuria property:has_cause ?q . ?q rdf:type ontology:health_problem }
[]