Simple Question (Direct)
Simple Question
Q2095301
P509
Q2057971
USER
How did Radomír Šimůnek die ?
(Q2095301,P509,c(Q2057971))
action filter_type
action find
entity Q2095301
relation P509
type Q2057971
['Q2095301', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { resource:Q2095301 property:P509 ?d . ?d rdf:type ontology:Q2057971 }
Radomír Šimůnek
action filter_type
action find
entity Radomír Šimůnek
relation cause of death
type health problem
['Radomír Šimůnek', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { resource:Radomír_Šimůnek property:cause_of_death ?d . ?d rdf:type ontology:health_problem }
[]
health problem
Q147778
SYSTEM
liver cirrhosis
Q147778
(Q2095301,P509,c(Q2057971))
action filter_type
action find
entity Q2095301
relation P509
type Q2057971
Radomír Šimůnek died of [ANSWER]
['Q2095301', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { resource:Q2095301 property:P509 ?d . ?d rdf:type ontology:Q2057971 }
liver cirrhosis
Radomír Šimůnek died of liver cirrhosis
liver cirrhosis
action filter_type
action find
entity Radomír Šimůnek
relation cause of death
type health problem
['Radomír Šimůnek', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { resource:Radomír_Šimůnek property:cause_of_death ?d . ?d rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2095301
P22
Q502895
USER
Which person has Radomír Šimůnek as a parent ?
(c(Q502895),P22,Q2095301)
action filter_type
action find_reverse
entity Q2095301
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2095301']
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q2095301 . ?u rdf:type ontology:Q502895 }
Radomír Šimůnek
action filter_type
action find_reverse
entity Radomír Šimůnek
relation father
type common name
[{'concept': 'common name'}, 'father', 'Radomír Šimůnek']
SELECT DISTINCT ?u WHERE { ?u property:father resource:Radomír_Šimůnek . ?u rdf:type ontology:common_name }
[]
common name
Q329615
SYSTEM
Radomír Šimůnek
Q329615
(c(Q502895),P22,Q2095301)
action filter_type
action find_reverse
entity Q2095301
relation P22
type Q502895
[ANSWER] has [ANSWER] as a parent
[{'concept': 'Q502895'}, 'P22', 'Q2095301']
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q2095301 . ?u rdf:type ontology:Q502895 }
Radomír Šimůnek
Radomír Šimůnek has Radomír Šimůnek as a parent
Radomír Šimůnek
action filter_type
action find_reverse
entity Radomír Šimůnek
relation father
type common name
[{'concept': 'common name'}, 'father', 'Radomír Šimůnek']
SELECT DISTINCT ?u WHERE { ?u property:father resource:Radomír_Šimůnek . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2095301
P40
Q502895
USER
Which person is a successor of Radomír Šimůnek ?
(Q2095301,P40,c(Q502895))
action filter_type
action find
entity Q2095301
relation P40
type Q502895
['Q2095301', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2095301 property:P40 ?a }
Radomír Šimůnek
action filter_type
action find
entity Radomír Šimůnek
relation child
type common name
['Radomír Šimůnek', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Radomír_Šimůnek property:child ?a }
[]
common name
Q329615
SYSTEM
Radomír Šimůnek
Q329615
(Q2095301,P40,c(Q502895))
action filter_type
action find
entity Q2095301
relation P40
type Q502895
[ANSWER] is a successor of [ANSWER]
['Q2095301', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2095301 property:P40 ?a }
Radomír Šimůnek
Radomír Šimůnek is a successor of Radomír Šimůnek
Radomír Šimůnek
action filter_type
action find
entity Radomír Šimůnek
relation child
type common name
['Radomír Šimůnek', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Radomír_Šimůnek property:child ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q329615
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q329615,P641,c(Q31629))
action filter_type
action find
entity Q329615
relation P641
type Q31629
['Q329615', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { resource:Q329615 property:P641 ?t . ?t rdf:type ontology:Q31629 }
Radomír Šimůnek
action filter_type
action find
entity Radomír Šimůnek
relation sport
type type of sport
['Radomír Šimůnek', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { resource:Radomír_Šimůnek property:sport ?t . ?t rdf:type ontology:type_of_sport }
[]
type of sport
Q335638
SYSTEM
cyclo-cross
Q335638
(Q329615,P641,c(Q31629))
action filter_type
action find
entity Q329615
relation P641
type Q31629
A [ANSWER] was that person a part of
['Q329615', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { resource:Q329615 property:P641 ?t . ?t rdf:type ontology:Q31629 }
cyclo-cross
A cyclo-cross was that person a part of
cyclo-cross
action filter_type
action find
entity Radomír Šimůnek
relation sport
type type of sport
['Radomír Šimůnek', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { resource:Radomír_Šimůnek property:sport ?t . ?t rdf:type ontology:type_of_sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1803431
Q31629
USER
And what about Max Hess?
(Q1803431,P641,c(Q31629))
action filter_type
action find
entity Q1803431
relation P641
type Q31629
['Q1803431', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q1803431 property:P641 ?k . ?k rdf:type ontology:Q31629 }
Max Hess
action filter_type
action find
entity Max Hess
relation sport
type type of sport
['Max Hess', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Max_Hess property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]
type of sport
Q542 Q326827
SYSTEM
athletics, artistic gymnastics
Q542 Q326827
(Q1803431,P641,c(Q31629))
action filter_type
action find
entity Q1803431
relation P641
type Q31629
[ANSWERS]
['Q1803431', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q1803431 property:P641 ?k . ?k rdf:type ontology:Q31629 }
athletics artistic gymnastics
athletics artistic gymnastics
action filter_type
action find
entity Max Hess
relation sport
type type of sport
['Max Hess', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Max_Hess property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1806481
P641
Q502895
USER
Are Philip Schuster associated with playing those types of sport ?
(Q1806481,P641,Q542) (Q1806481,P641,Q326827)
action is_in
entity prev_answer
action find
entity Q1806481
relation P641
['Q1806481', 'P641', 'Q542'] ['Q1806481', 'P641', 'Q326827']
ASK WHERE { VALUES ( ?y ) { ( resource:Q542 ) ( resource:Q326827 ) } . resource:Q1806481 property:P641 ?y }
Philip Schuster
action is_in
entity prev_answer
action find
entity Philip Schuster
relation sport
['Philip Schuster', 'sport', 'athletics'] ['Philip Schuster', 'sport', 'artistic gymnastics']
ASK WHERE { VALUES ( ?y ) { ( resource:athletics ) ( resource:artistic_gymnastics ) } . resource:Philip_Schuster property:sport ?y }
[]
common name
SYSTEM
YES
(Q1806481,P641,Q542) (Q1806481,P641,Q326827)
action is_in
entity prev_answer
action find
entity Q1806481
relation P641
[ANSWER]
['Q1806481', 'P641', 'Q542'] ['Q1806481', 'P641', 'Q326827']
ASK WHERE { VALUES ( ?y ) { ( resource:Q542 ) ( resource:Q326827 ) } . resource:Q1806481 property:P641 ?y }
Yes
action is_in
entity prev_answer
action find
entity Philip Schuster
relation sport
['Philip Schuster', 'sport', 'athletics'] ['Philip Schuster', 'sport', 'artistic gymnastics']
ASK WHERE { VALUES ( ?y ) { ( resource:athletics ) ( resource:artistic_gymnastics ) } . resource:Philip_Schuster property:sport ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q329615
P40
Q502895
USER
How many people have Radomír Šimůnek as a child ?
(c(Q502895),P40,Q329615)
action count
action filter_type
action find_reverse
entity Q329615
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q329615']
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P40 resource:Q329615 . ?o rdf:type ontology:Q502895 }
Radomír Šimůnek
action count
action filter_type
action find_reverse
entity Radomír Šimůnek
relation child
type common name
[{'concept': 'common name'}, 'child', 'Radomír Šimůnek']
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:child resource:Radomír_Šimůnek . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2095301
(c(Q502895),P40,Q329615)
action count
action filter_type
action find_reverse
entity Q329615
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q329615']
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P40 resource:Q329615 . ?o rdf:type ontology:Q502895 }
Radomír Šimůnek
1
action count
action filter_type
action find_reverse
entity Radomír Šimůnek
relation child
type common name
[{'concept': 'common name'}, 'child', 'Radomír Šimůnek']
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:child resource:Radomír_Šimůnek . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2068338
P40
Q502895
USER
And also tell me about Jeanne of Harcourt?
(c(Q502895),P40,Q2068338)
action count
action filter_type
action find_reverse
entity Q2068338
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2068338']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P40 resource:Q2068338 . ?c rdf:type ontology:Q502895 }
Jeanne of Harcourt
action count
action filter_type
action find_reverse
entity Jeanne of Harcourt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jeanne of Harcourt']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:child resource:Jeanne_of_Harcourt . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q938376
(c(Q502895),P40,Q2068338)
action count
action filter_type
action find_reverse
entity Q2068338
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q2068338']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P40 resource:Q2068338 . ?c rdf:type ontology:Q502895 }
John VII, Count of Harcourt
1
action count
action filter_type
action find_reverse
entity Jeanne of Harcourt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jeanne of Harcourt']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:child resource:Jeanne_of_Harcourt . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q147778
P2176
Q8386
USER
Which drugs are used to cure liver cirrhosis ?
(Q147778,P2176,c(Q8386))
action filter_type
action find
entity Q147778
relation P2176
type Q8386
['Q147778', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?h WHERE { resource:Q147778 property:P2176 ?h . ?h rdf:type ontology:Q8386 }
liver cirrhosis
action filter_type
action find
entity liver cirrhosis
relation drug used for treatment
type drug
['liver cirrhosis', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?h WHERE { resource:liver_cirrhosis property:drug_used_for_treatment ?h . ?h rdf:type ontology:drug }
[]
drug
Q422252 Q413717 Q3151081
SYSTEM
dexamethasone, Baclofen, Filgrastim
Q3151081 Q426132 Q275926 Q388801 Q418571 Q422252 Q413717
(Q147778,P2176,c(Q8386))
action filter_type
action find
entity Q147778
relation P2176
type Q8386
[ANSWERS] are used to cure liver cirrhosis
['Q147778', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?h WHERE { resource:Q147778 property:P2176 ?h . ?h rdf:type ontology:Q8386 }
Filgrastim tolvaptan bumetanide furosemide ethacrynic acid dexamethasone Baclofen
Dexamethasone, Baclofen and Filgrastim are used to cure liver cirrhosis
dexamethasone Baclofen Filgrastim
action filter_type
action find
entity liver cirrhosis
relation drug used for treatment
type drug
['liver cirrhosis', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?h WHERE { resource:liver_cirrhosis property:drug_used_for_treatment ?h . ?h rdf:type ontology:drug }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q128581
Q8386
USER
And what about breast cancer?
(Q128581,P2176,c(Q8386))
action filter_type
action find
entity Q128581
relation P2176
type Q8386
['Q128581', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q8386 . resource:Q128581 property:P2176 ?i }
breast cancer
action filter_type
action find
entity breast cancer
relation drug used for treatment
type drug
['breast cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:drug . resource:breast_cancer property:drug_used_for_treatment ?i }
[]
drug
Q670131 Q421052 Q413299
SYSTEM
simvastatin, Everolimus, Bevacizumab
Q194974 Q412415 Q410663 Q419940 Q422416 Q412534 Q421862 Q905901 Q408801 Q524995 Q415939 Q3950557 Q422806 Q419143 Q425122 Q412197 Q11711607 Q216935 Q907160 Q412178 Q3985253 Q424049 Q420532 Q408283 Q409587 Q420207 Q422232 Q239426 Q412616 Q418192 Q418560 Q1988832 Q2298283 Q139347 Q422252 Q421052 Q238512 Q415588 Q7083106 Q670131 Q15269707 Q1592932 Q5462791 Q1996756 Q418817 Q418819 Q413299 Q241150 Q282629 Q423989 Q218507 Q1998021 Q18936 Q422222 Q1063862 Q139195 Q2178381 Q6808975 Q417740 Q5508491 Q417824 Q412963 Q421768 Q1215575 Q18216 Q3993743 Q180983 Q420436 Q240642 Q26963 Q423762 Q408524
(Q128581,P2176,c(Q8386))
action filter_type
action find
entity Q128581
relation P2176
type Q8386
[ANSWERS]
['Q128581', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q8386 . resource:Q128581 property:P2176 ?i }
letrozole cisplatin fluoxymesterone dasatinib 17β-estradiol carvedilol ribavirin vorinostat celecoxib dexrazoxane chlorambucil Sargramostim bupivacaine anastrozole Epirubicin irinotecan Ixabepilone lidocaine leuprolide tamoxifen testolactone loratadine Vinorelbine Denosumab naltrexone capecitabine methotrexate mitoxantrone Trastuzumab bexarotene ifosfamide bicalutamide melphalan Cholecalciferol dexamethasone Everolimus 5-fluorouracil Carboplatin olaparib simvastatin palbociclib Pegfilgrastim fluocinonide enzalutamide etoposide exemestane Bevacizumab aminoglutethimide Vinblastine diethylstilbestrol zoledronic acid Pertuzumab doxorubicin Digoxin idarubicin Calcitriol Darbepoetin alfa megestrol acetate lovastatin Fulvestrant gefitinib cabazitaxel methyltestosterone naproxen acetylsalicylic acid toremifene cytarabine docetaxel valproic acid progesterone Paclitaxel cyclophosphamide
simvastatin Everolimus Bevacizumab
action filter_type
action find
entity breast cancer
relation drug used for treatment
type drug
['breast cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:drug . resource:breast_cancer property:drug_used_for_treatment ?i }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2175
Q12136 Q8386
USER
Which diseases are cured by atmost 41 drugs ?
(c(Q8386),P2175,c(Q12136))
action atmost
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
value 41
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P2175 ?g . ?g rdf:type ontology:Q12136 . ?k rdf:type ontology:Q8386 } GROUP BY ?g } . FILTER ( ?e <= 41 ) }
action atmost
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
value 41
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:medical_condition_treated ?g . ?g rdf:type ontology:disease . ?k rdf:type ontology:drug } GROUP BY ?g } . FILTER ( ?e <= 41 ) }
[]
disease drug
Q41112 Q1472 Q110315
SYSTEM
schizophrenia, Crohn's disease, lead poisoning
Q1467339 Q2200381 Q167844 Q1444550 Q7514772 Q18555060 Q1472 Q1935832 Q917620 Q988594 Q1415275 Q1956718 Q815753 Q41112 Q18557991 Q854353 Q18557998 Q18554891 Q1148337 Q627368 Q1363738 Q4138762 Q852163 Q5326566 Q2915477 Q133212 Q127664 Q110315 Q3726949 Q1869874 Q86 Q4117658 Q2067267 Q18554341 Q189331 Q304497 Q23772742 Q12133 Q6029216 Q1068134 Q4118092 Q18975220 Q7616509 Q1996053 Q3072083 Q1283303
(c(Q8386),P2175,c(Q12136))
action atmost
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
value 41
[ANSWERS] are cured by atmost 41 drugs
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P2175 ?g . ?g rdf:type ontology:Q12136 . ?k rdf:type ontology:Q8386 } GROUP BY ?g } . FILTER ( ?e <= 41 ) }
hypertriglyceridemia Neurogenic shock conjunctivitis ischaemic heart disease Silent stroke arteriosclerotic cardiovascular disease Crohn's disease neurofibromatosis type II Onychomycosis eczema Spinal cord injury Becker myotonia filariasis schizophrenia Hodgkin's lymphoma, mixed cellularity enteritis lymphosarcoma squamous cell carcinoma hepatocellular carcinoma Blastomycosis Erythema nodosum Hypovitaminosis D lower back pain Early-onset Alzheimer's disease Folate deficiency tumor Febrile seizure lead poisoning episcleritis insomnia headache inflammatory myopathy Niemann–Pick disease, type C hepatic coma cardiac dysrhythmia Hemiplegia Bacteroides Infections deafness infectious bone disease Morning sickness Macroglobulinemia Escherichia coli infectious disease neurofibromatosis type I chronic pancreatitis memory disorder Tricuspid atresia
Schizophrenia, Crohn's disease and lead poisoning are cured by atmost 41 drugs
schizophrenia Crohn's disease lead poisoning
action atmost
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
value 41
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:medical_condition_treated ?g . ?g rdf:type ontology:disease . ?k rdf:type ontology:drug } GROUP BY ?g } . FILTER ( ?e <= 41 ) }
[]