Simple Question (Direct)
Simple Question
Q4859225
P1412
Q34770
USER
Which language can Barbara Piasecka Johnson understand ?
(Q4859225,P1412,c(Q34770))
action filter_type
action find
entity Q4859225
relation P1412
type Q34770
['Q4859225', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q4859225 property:P1412 ?d }
Barbara Piasecka Johnson
action filter_type
action find
entity Barbara Piasecka Johnson
relation languages spoken, written or signed
type language
['Barbara Piasecka Johnson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Barbara_Piasecka_Johnson property:languages_spoken,_written_or_signed ?d }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4859225,P1412,c(Q34770))
action filter_type
action find
entity Q4859225
relation P1412
type Q34770
Barbara Piasecka Johnson can understand [ANSWER]
['Q4859225', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q4859225 property:P1412 ?d }
English
Barbara Piasecka Johnson can understand English
English
action filter_type
action find
entity Barbara Piasecka Johnson
relation languages spoken, written or signed
type language
['Barbara Piasecka Johnson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Barbara_Piasecka_Johnson property:languages_spoken,_written_or_signed ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P2439
Q3320743
USER
Which title of honor has an association with the language that one ?
(c(Q3320743),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q3320743
[{'concept': 'Q3320743'}, 'P2439', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P2439 resource:Q1860 . ?z rdf:type ontology:Q3320743 }
English
action filter_type
action find_reverse
entity English
relation language
type title of honor
[{'concept': 'title of honor'}, 'language', 'English']
SELECT DISTINCT ?z WHERE { ?z property:language resource:English . ?z rdf:type ontology:title_of_honor }
[]
title of honor
Q5378582
SYSTEM
English honorific
Q5378582
(c(Q3320743),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q3320743
[ANSWER] has an association with the language that one
[{'concept': 'Q3320743'}, 'P2439', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P2439 resource:Q1860 . ?z rdf:type ontology:Q3320743 }
English honorific
English honorific has an association with the language that one
English honorific
action filter_type
action find_reverse
entity English
relation language
type title of honor
[{'concept': 'title of honor'}, 'language', 'English']
SELECT DISTINCT ?z WHERE { ?z property:language resource:English . ?z rdf:type ontology:title_of_honor }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4859225
P26
Q502895
USER
Which person has Barbara Piasecka Johnson as spouse ?
(c(Q502895),P26,Q4859225)
action filter_type
action find
entity Q4859225
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q4859225']
SELECT DISTINCT ?f WHERE { resource:Q4859225 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Barbara Piasecka Johnson
action filter_type
action find
entity Barbara Piasecka Johnson
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Barbara Piasecka Johnson']
SELECT DISTINCT ?f WHERE { resource:Barbara_Piasecka_Johnson property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q16010403
SYSTEM
John Seward Johnson I
Q16010403
(c(Q502895),P26,Q4859225)
action filter_type
action find
entity Q4859225
relation P26
type Q502895
[ANSWER] has Barbara Piasecka Johnson as spouse
[{'concept': 'Q502895'}, 'P26', 'Q4859225']
SELECT DISTINCT ?f WHERE { resource:Q4859225 property:P26 ?f . ?f rdf:type ontology:Q502895 }
John Seward Johnson I
John Seward Johnson I has Barbara Piasecka Johnson as spouse
John Seward Johnson I
action filter_type
action find
entity Barbara Piasecka Johnson
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Barbara Piasecka Johnson']
SELECT DISTINCT ?f WHERE { resource:Barbara_Piasecka_Johnson property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16010403
P509
Q2057971
USER
What caused the death of that person ?
(Q16010403,P509,c(Q2057971))
action filter_type
action find
entity Q16010403
relation P509
type Q2057971
['Q16010403', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { resource:Q16010403 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
John Seward Johnson I
action filter_type
action find
entity John Seward Johnson I
relation cause of death
type health problem
['John Seward Johnson I', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { resource:John_Seward_Johnson_I property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
health problem
Q181257
SYSTEM
prostate cancer
Q181257
(Q16010403,P509,c(Q2057971))
action filter_type
action find
entity Q16010403
relation P509
type Q2057971
[ANSWER] caused the death of that person
['Q16010403', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { resource:Q16010403 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
prostate cancer
Prostate cancer caused the death of that person
prostate cancer
action filter_type
action find
entity John Seward Johnson I
relation cause of death
type health problem
['John Seward Johnson I', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { resource:John_Seward_Johnson_I property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181257
P2293
Q863908
USER
Which nucleic acid sequences are genetically linked with that health problem ?
(c(Q863908),P2293,Q181257)
action filter_type
action find
entity Q181257
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q181257']
SELECT DISTINCT ?c WHERE { resource:Q181257 property:P2293 ?c . ?c rdf:type ontology:Q863908 }
prostate cancer
action filter_type
action find
entity prostate cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'prostate cancer']
SELECT DISTINCT ?c WHERE { resource:prostate_cancer property:genetic_association ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q15315135 Q18041733 Q18031868
SYSTEM
TERT, ACOXL, HNF1B
Q18049196 Q18027461 Q18045699 Q18045480 Q18041733 Q18040616 Q18056906 Q5008444 Q18042195 Q18030903 Q18045524 Q18031868 Q18029439 Q18028566 Q17911327 Q18036643 Q18030567 Q17909834 Q17917650 Q18042985 Q18053535 Q18053696 Q14886491 Q15315135 Q18036537 Q18037073 Q14859580 Q18051031 Q17848647 Q18046761 Q18031583 Q18037876 Q17828822 Q14904760 Q18041076 Q18054359 Q18052459 Q18036732 Q18035132 Q18053229 Q17927902 Q18038265 Q18047321 Q18035527 Q15320780 Q18027984 Q17826155
(c(Q863908),P2293,Q181257)
action filter_type
action find
entity Q181257
relation P2293
type Q863908
[ANSWERS] are genetically linked with that health problem
[{'concept': 'Q863908'}, 'P2293', 'Q181257']
SELECT DISTINCT ?c WHERE { resource:Q181257 property:P2293 ?c . ?c rdf:type ontology:Q863908 }
FOXP4 TNC EBF2 THADA ACOXL LRP1B RNASE9 C9orf3 BAIAP2L1 PTGFRN KIF13A HNF1B MSMB ABLIM1 CTBP2 CEP152 PKHD1 HAPLN1 EVC TTC7A JAZF1 ZBTB38 GLI2 TERT LMTK2 EHBP1 KLK3 ZNF280B BIK TSEN2 SLC22A3 UPF2 ANXA13 FSHR CCHCR1 EPHA10 TMTC2 TNRC6B CTDSPL DNAH12 FGF10 CNNM3 SPATA16 PDLIM5 MLPH ITGA6 ANK2
TERT, ACOXL and HNF1B are genetically linked with that health problem
TERT ACOXL HNF1B
action filter_type
action find
entity prostate cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'prostate cancer']
SELECT DISTINCT ?c WHERE { resource:prostate_cancer property:genetic_association ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4859225
P734
Q82799
USER
How many names are associated with Barbara Piasecka Johnson ?
(Q4859225,P734,c(Q82799))
action count
action filter_type
action find
entity Q4859225
relation P734
type Q82799
['Q4859225', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q4859225 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Barbara Piasecka Johnson
action count
action filter_type
action find
entity Barbara Piasecka Johnson
relation family name
type name
['Barbara Piasecka Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Barbara_Piasecka_Johnson property:family_name ?x . ?x rdf:type ontology:name }
[]
name
SYSTEM
1
Q1158485
(Q4859225,P734,c(Q82799))
action count
action filter_type
action find
entity Q4859225
relation P734
type Q82799
[ANSWER]
['Q4859225', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q4859225 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Johnson
1
action count
action filter_type
action find
entity Barbara Piasecka Johnson
relation family name
type name
['Barbara Piasecka Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Barbara_Piasecka_Johnson property:family_name ?x . ?x rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q719656
P780
Q12136 Q1441305 Q2057971
USER
How many health problems do the presence of lesser number of diseases or medical signs indicate than fascioliasis ?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action count
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q719656
relation P780
type Q12136
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?u WHERE { { ?u property:P780 ?h . ?u rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q12136 } UNION { ?u rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q1441305 . ?u property:P780 ?h } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { { ?c rdf:type ontology:Q12136 } UNION { ?c rdf:type ontology:Q1441305 } } . resource:Q719656 property:P780 ?c } } . FILTER ( ?d < ?y ) }
fascioliasis
action count
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity fascioliasis
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?u WHERE { { ?u property:symptoms ?h . ?u rdf:type ontology:health_problem . ?h rdf:type ontology:disease } UNION { ?u rdf:type ontology:health_problem . ?h rdf:type ontology:medical_sign . ?u property:symptoms ?h } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { { ?c rdf:type ontology:disease } UNION { ?c rdf:type ontology:medical_sign } } . resource:fascioliasis property:symptoms ?c } } . FILTER ( ?d < ?y ) }
[]
disease medical sign health problem
SYSTEM
105
Q3281274 Q18589315 Q4813631 Q2583514 Q16889762 Q154869 Q19000456 Q7080278 Q2070695 Q836356 Q3508686 Q721073 Q5319554 Q623031 Q558077 Q7688951 Q3843800 Q585011 Q3508664 Q2388598 Q26492785 Q6853 Q5432941 Q191779 Q18553762 Q192100 Q39222 Q3508705 Q5064113 Q1198391 Q774483 Q17120992 Q190564 Q1154422 Q156103 Q10529545 Q127724 Q205214 Q12152 Q1515119 Q5526844 Q7243138 Q207133 Q12252367 Q1077603 Q174651 Q18554801 Q632228 Q1432717 Q18556319 Q3298999 Q4421929 Q4352832 Q180266 Q21505506 Q21505507 Q212961 Q6668132 Q2836 Q460167 Q124604 Q799615 Q1518637 Q18557231 Q1648128 Q19000484 Q264118 Q145790 Q2845978 Q378681 Q27164422 Q1981276 Q281928 Q15401621 Q4676384 Q506433 Q432396 Q959457 Q332293 Q133087 Q522163 Q21505526 Q9390463 Q1286320 Q1117652 Q3508585 Q7165022 Q1077139 Q4865826 Q5032577 Q17089792 Q335555 Q265936 Q1952467 Q29496 Q129279 Q18555385 Q2106232 Q25345593 Q208562 Q664174 Q1641153 Q14509067 Q18557404 Q26492775
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action count
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q719656
relation P780
type Q12136
type Q1441305
[ANSWER]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?u WHERE { { ?u property:P780 ?h . ?u rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q12136 } UNION { ?u rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q1441305 . ?u property:P780 ?h } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { { ?c rdf:type ontology:Q12136 } UNION { ?c rdf:type ontology:Q1441305 } } . resource:Q719656 property:P780 ?c } } . FILTER ( ?d < ?y ) }
Griscelli syndrome Cataract-microcornea syndrome dyskinetic cerebral palsy Argentine hemorrhagic fever multiple pterygium syndrome hepatitis C syphilitic alopecia Oguchi disease macrocytic anemia croup Saethre–Chotzen syndrome delusional disorder dysplastic nevus syndrome liver cancer Williams Syndrome Taussig–Bing syndrome chronic congestive splenomegaly Antley-Bixler syndrome Lasthenie de Ferjol syndrome Ollier disease hypertrichotic osteochondrodysplasia Cantu type hepatitis B hyperlipoproteinemia type IV Gilles de la Tourette syndrome migraine with aura lymphatic filariasis rabies Timothy syndrome Cerebrospinal fluid leak intracranial aneurysm Galactosemia Hyperglycerolemia Huntington's disease leukocyte-adhesion deficiency syndrome gastroenteritis hyperandrogenism cataract Guillain–Barré syndrome myocardial infarction Gerstmann syndrome Gastrojejunocolic fistula Primary hypertrophic osteoathropathy Klinefelter's syndrome atherosclerosis malignant mesothelioma Bálint's syndrome multiple intestinal atresia Hajdu-Cheney syndrome Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia Hippocampal sclerosis urofacial syndrome scarlet fever hypophosphatemic nephrolithiasis/osteoporosis 1 hypophosphatemic nephrolithiasis/osteoporosis 2 pancreatic cancer Loin pain hematuria syndrome aphasia Meniere's disease portal hypertension osteitis fibrosa VIPoma hypersplenism geniculate herpes zoster arteriosclerosis obliterans acute myeloid leukemia iridocyclitis stereotypic movement disorder peripheral artery disease X-linked cleft palate with or without ankyloglossia neuroendocrine tumor social phobia Trousseau sign of malignancy Acroosteolysis Trimethylaminuria achromatopsia 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 pentalogy of Cantrell tic disorder Bart-Pumphrey syndrome Cannabinoid hyperemesis syndrome Psoriatic erythroderma Sjögren's syndrome Kawasaki disease hereditary multiple exostoses leukemia dysentery xanthomatosis Postanesthetic shivering Intermittent hydrarthrosis Marfan syndrome asbestosis secondary hypertrophic osteoarthropathy exanthem peroneal nerve paralysis poikiloderma with neutropenia
105
action count
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity fascioliasis
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?u WHERE { { ?u property:symptoms ?h . ?u rdf:type ontology:health_problem . ?h rdf:type ontology:disease } UNION { ?u rdf:type ontology:health_problem . ?h rdf:type ontology:medical_sign . ?u property:symptoms ?h } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { { ?c rdf:type ontology:disease } UNION { ?c rdf:type ontology:medical_sign } } . resource:fascioliasis property:symptoms ?c } } . FILTER ( ?d < ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181257
P2175
Q965478
USER
Which unsaturated hydrocarbon is prescribed for prostate cancer ?
(c(Q965478),P2175,Q181257)
action filter_type
action find_reverse
entity Q181257
relation P2175
type Q965478
[{'concept': 'Q965478'}, 'P2175', 'Q181257']
SELECT DISTINCT ?l WHERE { ?l property:P2175 resource:Q181257 . ?l rdf:type ontology:Q965478 }
prostate cancer
action filter_type
action find_reverse
entity prostate cancer
relation medical condition treated
type unsaturated hydrocarbon
[{'concept': 'unsaturated hydrocarbon'}, 'medical condition treated', 'prostate cancer']
SELECT DISTINCT ?l WHERE { ?l property:medical_condition_treated resource:prostate_cancer . ?l rdf:type ontology:unsaturated_hydrocarbon }
[]
unsaturated hydrocarbon
Q415563
SYSTEM
Ethinyl Estradiol
Q415563
(c(Q965478),P2175,Q181257)
action filter_type
action find_reverse
entity Q181257
relation P2175
type Q965478
[ANSWER] is prescribed for prostate cancer
[{'concept': 'Q965478'}, 'P2175', 'Q181257']
SELECT DISTINCT ?l WHERE { ?l property:P2175 resource:Q181257 . ?l rdf:type ontology:Q965478 }
Ethinyl Estradiol
Ethinyl Estradiol is prescribed for prostate cancer
Ethinyl Estradiol
action filter_type
action find_reverse
entity prostate cancer
relation medical condition treated
type unsaturated hydrocarbon
[{'concept': 'unsaturated hydrocarbon'}, 'medical condition treated', 'prostate cancer']
SELECT DISTINCT ?l WHERE { ?l property:medical_condition_treated resource:prostate_cancer . ?l rdf:type ontology:unsaturated_hydrocarbon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181257
P1050
Q502895
USER
Which people are afflicted by that health problem ?
(c(Q502895),P1050,Q415563)
action filter_type
action find_reverse
entity Q181257
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q415563']
SELECT DISTINCT ?m WHERE { ?m property:P1050 resource:Q181257 . ?m rdf:type ontology:Q502895 }
prostate cancer
action filter_type
action find_reverse
entity prostate cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'Ethinyl Estradiol']
SELECT DISTINCT ?m WHERE { ?m property:medical_condition resource:prostate_cancer . ?m rdf:type ontology:common_name }
[]
common name
Q128379 Q110719
SYSTEM
David Prowse, Oskar Lafontaine
Q128379 Q110719
(c(Q502895),P1050,Q415563)
action filter_type
action find_reverse
entity Q181257
relation P1050
type Q502895
[ANSWERS] are afflicted by that health problem
[{'concept': 'Q502895'}, 'P1050', 'Q415563']
SELECT DISTINCT ?m WHERE { ?m property:P1050 resource:Q181257 . ?m rdf:type ontology:Q502895 }
David Prowse Oskar Lafontaine
David Prowse and Oskar Lafontaine are afflicted by that health problem
David Prowse Oskar Lafontaine
action filter_type
action find_reverse
entity prostate cancer
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'Ethinyl Estradiol']
SELECT DISTINCT ?m WHERE { ?m property:medical_condition resource:prostate_cancer . ?m rdf:type ontology:common_name }
[]