Simple Question (Direct)
Simple Question
Q6051740
P509
Q2057971
USER
Which health problem was the cause of death of Ulrik Adolph Plesner ?
(Q6051740,P509,c(Q2057971))
action filter_type
action find
entity Q6051740
relation P509
type Q2057971
['Q6051740', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q6051740 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
Ulrik Adolph Plesner
action filter_type
action find
entity Ulrik Adolph Plesner
relation cause of death
type health problem
['Ulrik Adolph Plesner', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:Ulrik_Adolph_Plesner property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
health problem
Q389735
SYSTEM
cardiovascular disease
Q389735
(Q6051740,P509,c(Q2057971))
action filter_type
action find
entity Q6051740
relation P509
type Q2057971
Disease [ANSWER] was the cause of death of Ulrik Adolph Plesner
['Q6051740', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q6051740 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
cardiovascular disease
Disease cardiovascular disease was the cause of death of Ulrik Adolph Plesner
cardiovascular disease
action filter_type
action find
entity Ulrik Adolph Plesner
relation cause of death
type health problem
['Ulrik Adolph Plesner', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:Ulrik_Adolph_Plesner property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6051740
P20
Q56061
USER
Where did Ulrik Adolph Plesner die ?
(Q6051740,P20,c(Q56061))
action filter_type
action find
entity Q6051740
relation P20
type Q56061
['Q6051740', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q6051740 property:P20 ?k }
Ulrik Adolph Plesner
action filter_type
action find
entity Ulrik Adolph Plesner
relation place of death
type administrative territorial entity
['Ulrik Adolph Plesner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Ulrik_Adolph_Plesner property:place_of_death ?k }
[]
administrative territorial entity
Q215177
SYSTEM
Skagen
Q215177
(Q6051740,P20,c(Q56061))
action filter_type
action find
entity Q6051740
relation P20
type Q56061
Ulrik Adolph Plesner died in [ANSWER]
['Q6051740', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q6051740 property:P20 ?k }
Skagen
Ulrik Adolph Plesner died in Skagen
Skagen
action filter_type
action find
entity Ulrik Adolph Plesner
relation place of death
type administrative territorial entity
['Ulrik Adolph Plesner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Ulrik_Adolph_Plesner property:place_of_death ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6051740
P1196
Q1931388
USER
What situation did Ulrik Adolph Plesner die in ?
(Q6051740,P1196,c(Q1931388))
action filter_type
action find
entity Q6051740
relation P1196
type Q1931388
['Q6051740', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { resource:Q6051740 property:P1196 ?j . ?j rdf:type ontology:Q1931388 }
Ulrik Adolph Plesner
action filter_type
action find
entity Ulrik Adolph Plesner
relation manner of death
type cause of death
['Ulrik Adolph Plesner', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { resource:Ulrik_Adolph_Plesner property:manner_of_death ?j . ?j rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6051740,P1196,c(Q1931388))
action filter_type
action find
entity Q6051740
relation P1196
type Q1931388
Ulrik Adolph Plesner died of [ANSWER]
['Q6051740', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { resource:Q6051740 property:P1196 ?j . ?j rdf:type ontology:Q1931388 }
natural causes
Ulrik Adolph Plesner died of natural causes
natural causes
action filter_type
action find
entity Ulrik Adolph Plesner
relation manner of death
type cause of death
['Ulrik Adolph Plesner', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { resource:Ulrik_Adolph_Plesner property:manner_of_death ?j . ?j rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389735
P1995
Q1047113
USER
Which special field is the medical specality concerned with cardiovascular disease ?
(Q389735,P1995,c(Q1047113))
action filter_type
action find
entity Q389735
relation P1995
type Q1047113
['Q389735', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?c WHERE { resource:Q389735 property:P1995 ?c . ?c rdf:type ontology:Q1047113 }
cardiovascular disease
action filter_type
action find
entity cardiovascular disease
relation medical specialty
type special field
['cardiovascular disease', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?c WHERE { resource:cardiovascular_disease property:medical_specialty ?c . ?c rdf:type ontology:special_field }
[]
special field
Q10379
SYSTEM
cardiology
Q10379
(Q389735,P1995,c(Q1047113))
action filter_type
action find
entity Q389735
relation P1995
type Q1047113
[ANSWER] is the medical specality concerned with cardiovascular disease
['Q389735', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?c WHERE { resource:Q389735 property:P1995 ?c . ?c rdf:type ontology:Q1047113 }
cardiology
Cardiology is the medical specality concerned with cardiovascular disease
cardiology
action filter_type
action find
entity cardiovascular disease
relation medical specialty
type special field
['cardiovascular disease', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?c WHERE { resource:cardiovascular_disease property:medical_specialty ?c . ?c rdf:type ontology:special_field }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389735
P2293
Q863908
USER
Which nucleic acid sequences are genetically associated with cardiovascular disease ?
(c(Q863908),P2293,Q389735)
action filter_type
action find_reverse
entity Q389735
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q389735']
SELECT DISTINCT ?z WHERE { ?z property:P2293 resource:Q389735 . ?z rdf:type ontology:Q863908 }
cardiovascular disease
action filter_type
action find_reverse
entity cardiovascular disease
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'cardiovascular disease']
SELECT DISTINCT ?z WHERE { ?z property:genetic_association resource:cardiovascular_disease . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18025635 Q18035395 Q14872724
SYSTEM
GCKR, TOMM40, LDLR
Q18042703 Q14890978 Q18039854 Q17916070 Q18025635 Q14913510 Q18033174 Q20970115 Q14872724 Q18035395 Q18036152 Q14890615
(c(Q863908),P2293,Q389735)
action filter_type
action find_reverse
entity Q389735
relation P2293
type Q863908
[ANSWERS] are genetically associated with cardiovascular disease
[{'concept': 'Q863908'}, 'P2293', 'Q389735']
SELECT DISTINCT ?z WHERE { ?z property:P2293 resource:Q389735 . ?z rdf:type ontology:Q863908 }
MEPE HFE IRX4 CELSR2 GCKR BCHE OASL SLC17A4 LDLR TOMM40 IL1RAPL1 APOB
GCKR, TOMM40 and LDLR are genetically associated with cardiovascular disease
GCKR TOMM40 LDLR
action filter_type
action find_reverse
entity cardiovascular disease
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'cardiovascular disease']
SELECT DISTINCT ?z WHERE { ?z property:genetic_association resource:cardiovascular_disease . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q389735
P2176
Q8386
USER
Which drugs are prescribed for that health problem ?
(Q18025635,P2176,c(Q8386)) (Q18035395,P2176,c(Q8386)) (Q14872724,P2176,c(Q8386))
action filter_type
action find
entity Q389735
relation P2176
type Q8386
['Q18025635', 'P2176', {'concept': 'Q8386'}] ['Q18035395', 'P2176', {'concept': 'Q8386'}] ['Q14872724', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8386 . resource:Q389735 property:P2176 ?f }
cardiovascular disease
action filter_type
action find
entity cardiovascular disease
relation drug used for treatment
type drug
['GCKR', 'drug used for treatment', {'concept': 'drug'}] ['TOMM40', 'drug used for treatment', {'concept': 'drug'}] ['LDLR', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:drug . resource:cardiovascular_disease property:drug_used_for_treatment ?f }
[]
drug
Q670131 Q10354103 Q422232
SYSTEM
simvastatin, probucol, methotrexate
Q417296 Q7272222 Q2072745 Q420644 Q579348 Q18216 Q419724 Q10354103 Q5268499 Q139347 Q3791957 Q7227099 Q409231 Q424952 Q422232 Q412221 Q421429 Q2701912 Q670131 Q414873 Q1169561 Q929420 Q5264583 Q3342150 Q419948 Q6823919 Q1169164 Q221520 Q5199066 Q423890 Q417740 Q412486 Q258591 Q418571 Q418101
(Q18025635,P2176,c(Q8386)) (Q18035395,P2176,c(Q8386)) (Q14872724,P2176,c(Q8386))
action filter_type
action find
entity Q389735
relation P2176
type Q8386
[ANSWERS] are prescribed for that health problem
['Q18025635', 'P2176', {'concept': 'Q8386'}] ['Q18035395', 'P2176', {'concept': 'Q8386'}] ['Q14872724', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q8386 . resource:Q389735 property:P2176 ?f }
febuxostat quinethazone trichlormethiazide felodipine PGE1 acetylsalicylic acid fenofibrate probucol dextrothyroxine Cholecalciferol hydroflumethiazide polythiazide indomethacin nadolol methotrexate clonidine nimodipine clofibrate simvastatin Isradipine metolazone trandolapril deslanoside nisoldipine torsemide methyclothiazide bendroflumethiazide triamterene cyclothiazide digitoxin lovastatin allopurinol cilostazol ethacrynic acid pindolol
Simvastatin, probucol and methotrexate are prescribed for that health problem
simvastatin probucol methotrexate
action filter_type
action find
entity cardiovascular disease
relation drug used for treatment
type drug
['GCKR', 'drug used for treatment', {'concept': 'drug'}] ['TOMM40', 'drug used for treatment', {'concept': 'drug'}] ['LDLR', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:drug . resource:cardiovascular_disease property:drug_used_for_treatment ?f }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P2176
Q18123741 Q12136
USER
How many infectious diseases or diseases are cured by that drug ?
(c(Q18123741),P2176,Q670131) (c(Q12136),P2176,Q670131) (c(Q18123741),P2176,Q670131) (c(Q12136),P2176,Q670131) (c(Q18123741),P2176,Q10354103) (c(Q12136),P2176,Q10354103) (c(Q18123741),P2176,Q422232) (c(Q12136),P2176,Q422232)
[{'concept': 'Q18123741'}, 'P2176', 'Q670131'] [{'concept': 'Q12136'}, 'P2176', 'Q670131'] [{'concept': 'Q18123741'}, 'P2176', 'Q670131'] [{'concept': 'Q12136'}, 'P2176', 'Q670131'] [{'concept': 'Q18123741'}, 'P2176', 'Q10354103'] [{'concept': 'Q12136'}, 'P2176', 'Q10354103'] [{'concept': 'Q18123741'}, 'P2176', 'Q422232'] [{'concept': 'Q12136'}, 'P2176', 'Q422232']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P2176 resource:Q670131 } UNION { ?y property:P2176 resource:Q670131 } UNION { ?z property:P2176 resource:Q670131 } UNION { ?y property:P2176 resource:Q670131 } UNION { ?z property:P2176 resource:Q10354103 } UNION { ?y property:P2176 resource:Q10354103 } UNION { ?z property:P2176 resource:Q422232 } UNION { ?y property:P2176 resource:Q422232 } } . ?z rdf:type ontology:Q18123741 . ?y rdf:type ontology:Q12136 }
[{'concept': 'infectious disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'probucol'] [{'concept': 'disease'}, 'drug used for treatment', 'probucol'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'methotrexate'] [{'concept': 'disease'}, 'drug used for treatment', 'methotrexate']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:drug_used_for_treatment resource:simvastatin } UNION { ?y property:drug_used_for_treatment resource:simvastatin } UNION { ?z property:drug_used_for_treatment resource:simvastatin } UNION { ?y property:drug_used_for_treatment resource:simvastatin } UNION { ?z property:drug_used_for_treatment resource:probucol } UNION { ?y property:drug_used_for_treatment resource:probucol } UNION { ?z property:drug_used_for_treatment resource:methotrexate } UNION { ?y property:drug_used_for_treatment resource:methotrexate } } . ?z rdf:type ontology:infectious_disease . ?y rdf:type ontology:disease }
[]
infectious disease disease
Quantitative|Count|Mult. entity type|Clarification
Q10354103
SYSTEM
Did you mean probucol ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P2176 resource:Q670131 } UNION { ?y property:P2176 resource:Q670131 } UNION { ?z property:P2176 resource:Q670131 } UNION { ?y property:P2176 resource:Q670131 } UNION { ?z property:P2176 resource:Q10354103 } UNION { ?y property:P2176 resource:Q10354103 } UNION { ?z property:P2176 resource:Q422232 } UNION { ?y property:P2176 resource:Q422232 } } . ?z rdf:type ontology:Q18123741 . ?y rdf:type ontology:Q12136 }
Did you mean probucol ?
probucol
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:drug_used_for_treatment resource:simvastatin } UNION { ?y property:drug_used_for_treatment resource:simvastatin } UNION { ?z property:drug_used_for_treatment resource:simvastatin } UNION { ?y property:drug_used_for_treatment resource:simvastatin } UNION { ?z property:drug_used_for_treatment resource:probucol } UNION { ?y property:drug_used_for_treatment resource:probucol } UNION { ?z property:drug_used_for_treatment resource:methotrexate } UNION { ?y property:drug_used_for_treatment resource:methotrexate } } . ?z rdf:type ontology:infectious_disease . ?y rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant simvastatin. Could you tell me the answer for that?
(c(Q18123741),P2176,Q670131) (c(Q12136),P2176,Q670131) (c(Q18123741),P2176,Q670131) (c(Q12136),P2176,Q670131) (c(Q18123741),P2176,Q10354103) (c(Q12136),P2176,Q10354103) (c(Q18123741),P2176,Q422232) (c(Q12136),P2176,Q422232)
Q670131
[{'concept': 'Q18123741'}, 'P2176', 'Q670131'] [{'concept': 'Q12136'}, 'P2176', 'Q670131'] [{'concept': 'Q18123741'}, 'P2176', 'Q670131'] [{'concept': 'Q12136'}, 'P2176', 'Q670131'] [{'concept': 'Q18123741'}, 'P2176', 'Q10354103'] [{'concept': 'Q12136'}, 'P2176', 'Q10354103'] [{'concept': 'Q18123741'}, 'P2176', 'Q422232'] [{'concept': 'Q12136'}, 'P2176', 'Q422232']
[{'concept': 'infectious disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'probucol'] [{'concept': 'disease'}, 'drug used for treatment', 'probucol'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'methotrexate'] [{'concept': 'disease'}, 'drug used for treatment', 'methotrexate']
[]
SYSTEM
6
Q1467339 Q6717002 Q1869874 Q183134 Q5326566 Q1368943
(c(Q18123741),P2176,Q670131) (c(Q12136),P2176,Q670131) (c(Q18123741),P2176,Q670131) (c(Q12136),P2176,Q670131) (c(Q18123741),P2176,Q10354103) (c(Q12136),P2176,Q10354103) (c(Q18123741),P2176,Q422232) (c(Q12136),P2176,Q422232)
[ANSWER]
[{'concept': 'Q18123741'}, 'P2176', 'Q670131'] [{'concept': 'Q12136'}, 'P2176', 'Q670131'] [{'concept': 'Q18123741'}, 'P2176', 'Q670131'] [{'concept': 'Q12136'}, 'P2176', 'Q670131'] [{'concept': 'Q18123741'}, 'P2176', 'Q10354103'] [{'concept': 'Q12136'}, 'P2176', 'Q10354103'] [{'concept': 'Q18123741'}, 'P2176', 'Q422232'] [{'concept': 'Q12136'}, 'P2176', 'Q422232']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P2176 resource:Q670131 } UNION { ?y property:P2176 resource:Q670131 } UNION { ?z property:P2176 resource:Q670131 } UNION { ?y property:P2176 resource:Q670131 } UNION { ?z property:P2176 resource:Q10354103 } UNION { ?y property:P2176 resource:Q10354103 } UNION { ?z property:P2176 resource:Q422232 } UNION { ?y property:P2176 resource:Q422232 } } . ?z rdf:type ontology:Q18123741 . ?y rdf:type ontology:Q12136 }
hypertriglyceridemia MODY 2 insomnia sepsis Early-onset Alzheimer's disease cerebral hemorrhage
6
[{'concept': 'infectious disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'disease'}, 'drug used for treatment', 'simvastatin'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'probucol'] [{'concept': 'disease'}, 'drug used for treatment', 'probucol'] [{'concept': 'infectious disease'}, 'drug used for treatment', 'methotrexate'] [{'concept': 'disease'}, 'drug used for treatment', 'methotrexate']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:drug_used_for_treatment resource:simvastatin } UNION { ?y property:drug_used_for_treatment resource:simvastatin } UNION { ?z property:drug_used_for_treatment resource:simvastatin } UNION { ?y property:drug_used_for_treatment resource:simvastatin } UNION { ?z property:drug_used_for_treatment resource:probucol } UNION { ?y property:drug_used_for_treatment resource:probucol } UNION { ?z property:drug_used_for_treatment resource:methotrexate } UNION { ?y property:drug_used_for_treatment resource:methotrexate } } . ?z rdf:type ontology:infectious_disease . ?y rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P101
Q1047113 Q43229 Q2342494
USER
How many special fields are the fields of work of exactly 1 organizations or collectables ?
(c(Q43229)|c(Q2342494),P101,c(Q1047113))
action count
action equal
action union
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q43229
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q2342494
value 1
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:P101 ?e . ?e rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q43229 } UNION { ?v property:P101 ?e . ?v rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q1047113 } } GROUP BY ?e } . FILTER ( ?r = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation field of work
type special field
type organization
action find_reverse_tuple_counts
relation field of work
type special field
type collectable
value 1
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:field_of_work ?e . ?e rdf:type ontology:special_field . ?v rdf:type ontology:organization } UNION { ?v property:field_of_work ?e . ?v rdf:type ontology:collectable . ?e rdf:type ontology:special_field } } GROUP BY ?e } . FILTER ( ?r = 1 ) }
[]
special field organization collectable
SYSTEM
5
Q614304 Q1407263 Q1071 Q123028 Q199655
(c(Q43229)|c(Q2342494),P101,c(Q1047113))
action count
action equal
action union
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q43229
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q2342494
value 1
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:P101 ?e . ?e rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q43229 } UNION { ?v property:P101 ?e . ?v rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q1047113 } } GROUP BY ?e } . FILTER ( ?r = 1 ) }
pharmacy forensic psychiatry geography pediatrics library science
5
action count
action equal
action union
action find_reverse_tuple_counts
relation field of work
type special field
type organization
action find_reverse_tuple_counts
relation field of work
type special field
type collectable
value 1
[[{'concept': 'organization'}, {'concept': 'collectable'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { { ?v property:field_of_work ?e . ?e rdf:type ontology:special_field . ?v rdf:type ontology:organization } UNION { ?v property:field_of_work ?e . ?v rdf:type ontology:collectable . ?e rdf:type ontology:special_field } } GROUP BY ?e } . FILTER ( ?r = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1047113 Q5962346 Q1047113
USER
How many special fields are a component of atleast 1 special fields and classification schemes ?
(c(Q1047113),P361,c(Q1047113)|c(Q5962346))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q1047113
type Q1047113
action find_tuple_counts
relation P361
type Q1047113
type Q5962346
value 1
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { VALUES ( ?u ) { ( ontology:Q1047113 ) ( ontology:Q5962346 ) } . ?n rdf:type ?u } GROUP BY ?l } }
action count
action atleast
action union
action find_tuple_counts
relation part of
type special field
type special field
action find_tuple_counts
relation part of
type special field
type classification scheme
value 1
[{'concept': 'special field'}, 'part of', [{'concept': 'special field'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { VALUES ( ?u ) { ( ontology:special_field ) ( ontology:classification_scheme ) } . ?n rdf:type ?u } GROUP BY ?l } }
[]
special field classification scheme special field
SYSTEM
75
Q17002728 Q539690 Q2964004 Q203337 Q21572183 Q932510 Q1507246 Q60195 Q488059 Q1407263 Q15304508 Q103824 Q235007 Q327657 Q7234391 Q598976 Q7754 Q177635 Q2027981 Q27133094 Q338379 Q4785472 Q2116549 Q1335366 Q120569 Q4260703 Q80015 Q775325 Q642836 Q428691 Q10379 Q6497044 Q21928196 Q743664 Q4917288 Q459381 Q1207969 Q1000058 Q1650750 Q80006 Q1066186 Q145903 Q1456948 Q898674 Q22811234 Q899279 Q9053037 Q121713 Q188449 Q1430816 Q460162 Q162606 Q2108944 Q35395 Q126552 Q760348 Q2713123 Q1498222 Q1916458 Q207011 Q1774688 Q2728012 Q286452 Q1601482 Q504033 Q1328949 Q39645 Q16683089 Q15218776 Q1741745 Q1514678 Q12016129 Q52106 Q1741922 Q200253
(c(Q1047113),P361,c(Q1047113)|c(Q5962346))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q1047113
type Q1047113
action find_tuple_counts
relation P361
type Q1047113
type Q5962346
value 1
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { VALUES ( ?u ) { ( ontology:Q1047113 ) ( ontology:Q5962346 ) } . ?n rdf:type ?u } GROUP BY ?l } }
branch of botany angiology thoracic surgery pulmonology modeling, virtual environments and simulation general surgery media education semiotics philosophical anthropology forensic psychiatry pathogen transmission ontology hematology cardiac surgery rheumatology Postmodernist anthropology medical microbiology mathematical analysis nephrology oral surgery vaccine development trauma surgery archaeological sub-discipline science of journalism neuroendocrinology gastroenterology railway engineering Obstetrics gynecology transport engineering Neuroradiology computer engineering cardiology history of literature legal medicine Abdominal surgery control engineering literary theory diabetology psychoneuroendocrinology neuropathology computer programming science of history egyptology geobotany neonatology branch of philosophy Controlling spatial planning acupuncture neurosurgery pediatric surgery museology endocrinology press statistics phonetics business informatics eye surgery phlebology vascular surgery media economy neuroscience clinical pharmacology neurobiology Hand surgery anthropology of Religion oral and maxillofacial surgery neuropediatrics semantics endocrine oncology orthopedic surgery Child and adolescent psychiatry gerontopsychiatry hydrodynamics biogeography pediatric urology traditional Chinese medicine
75
action count
action atleast
action union
action find_tuple_counts
relation part of
type special field
type special field
action find_tuple_counts
relation part of
type special field
type classification scheme
value 1
[{'concept': 'special field'}, 'part of', [{'concept': 'special field'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { VALUES ( ?u ) { ( ontology:special_field ) ( ontology:classification_scheme ) } . ?n rdf:type ?u } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18025635
P684
Q863908
USER
Which nucleic acid sequence is an orthologous gene for GCKR ?
(Q18025635,P684,c(Q863908))
action filter_type
action find
entity Q18025635
relation P684
type Q863908
['Q18025635', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?b WHERE { resource:Q18025635 property:P684 ?b . ?b rdf:type ontology:Q863908 }
GCKR
action filter_type
action find
entity GCKR
relation ortholog
type nucleic acid sequence
['GCKR', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?b WHERE { resource:GCKR property:ortholog ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18297926
SYSTEM
Gckr
Q18297926
(Q18025635,P684,c(Q863908))
action filter_type
action find
entity Q18025635
relation P684
type Q863908
[ANSWER] is an orthologous gene for GCKR
['Q18025635', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?b WHERE { resource:Q18025635 property:P684 ?b . ?b rdf:type ontology:Q863908 }
Gckr
Gckr is an orthologous gene for GCKR
Gckr
action filter_type
action find
entity GCKR
relation ortholog
type nucleic acid sequence
['GCKR', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?b WHERE { resource:GCKR property:ortholog ?b . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q256602 Q670131
P2176
Q2057971
USER
Which health problems require simvastatin but not Ciprofloxacin in their treatment ?
AND((c(Q2057971),P2176,Q670131), NOT((c(Q2057971),P2176,Q256602)))
action filter_type
action difference
action find_reverse
entity Q670131
relation P2176
action find_reverse
entity Q256602
relation P2176
type Q2057971
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q670131'], {'NOT': [[{'concept': 'Q2057971'}, 'P2176', 'Q256602']]}]}
SELECT DISTINCT ?p WHERE { ?p property:P2176 resource:Q670131 . MINUS { ?p property:P2176 resource:Q256602 } . ?p rdf:type ontology:Q2057971 }
Ciprofloxacin simvastatin
action filter_type
action difference
action find_reverse
entity simvastatin
relation drug used for treatment
action find_reverse
entity Ciprofloxacin
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'simvastatin'], {'NOT': [[{'concept': 'health problem'}, 'drug used for treatment', 'Ciprofloxacin']]}]}
SELECT DISTINCT ?p WHERE { ?p property:drug_used_for_treatment resource:simvastatin . MINUS { ?p property:drug_used_for_treatment resource:Ciprofloxacin } . ?p rdf:type ontology:health_problem }
[]
health problem
Q180152 Q184559 Q35869 Q133823 Q189588 Q1128440 Q18556932 Q389735 Q2397009 Q18968224
SYSTEM
Some of them are Vitiligo, arteriosclerosis, asthma, migraine, stomach cancer, toxic shock syndrome, large intestine cancer, cardiovascular disease, choroideremia, rectum cancer
Q3041498 Q998273 Q18554145 Q389735 Q18555066 Q1088156 Q185034 Q18556697 Q500816 Q128581 Q131755 Q35869 Q1128595 Q815819 Q844935 Q184559 Q18556113 Q12192 Q18556932 Q18965511 Q189588 Q180152 Q2661464 Q133823 Q11088 Q18968224 Q1128440 Q199804 Q2397009
AND((c(Q2057971),P2176,Q670131), NOT((c(Q2057971),P2176,Q256602)))
action filter_type
action difference
action find_reverse
entity Q670131
relation P2176
action find_reverse
entity Q256602
relation P2176
type Q2057971
[ANSWERS] require simvastatin but not Ciprofloxacin in their treatment
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q670131'], {'NOT': [[{'concept': 'Q2057971'}, 'P2176', 'Q256602']]}]}
SELECT DISTINCT ?p WHERE { ?p property:P2176 resource:Q670131 . MINUS { ?p property:P2176 resource:Q256602 } . ?p rdf:type ontology:Q2057971 }
eye disease Smith–Lemli–Opitz syndrome familial hyperlipidemia cardiovascular disease relapsing-remitting multiple sclerosis chronic lymphocytic leukemia sickle cell anemia human immunodeficiency virus infectious disease polycystic ovary syndrome breast cancer bipolar disorder asthma pulmonary hypertension atrial fibrillation coronary artery disease arteriosclerosis non-small cell lung carcinoma pneumonia large intestine cancer secondary progressive multiple sclerosis stomach cancer Vitiligo glucose intolerance migraine celiac disease rectum cancer toxic shock syndrome chronic obstructive pulmonary disease choroideremia
Vitiligo, arteriosclerosis, asthma, migraine, stomach cancer, toxic shock syndrome, large intestine cancer, cardiovascular disease, choroideremia and rectum cancer require simvastatin but not Ciprofloxacin in their treatment
Vitiligo arteriosclerosis asthma migraine stomach cancer toxic shock syndrome large intestine cancer cardiovascular disease choroideremia rectum cancer
action filter_type
action difference
action find_reverse
entity simvastatin
relation drug used for treatment
action find_reverse
entity Ciprofloxacin
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'simvastatin'], {'NOT': [[{'concept': 'health problem'}, 'drug used for treatment', 'Ciprofloxacin']]}]}
SELECT DISTINCT ?p WHERE { ?p property:drug_used_for_treatment resource:simvastatin . MINUS { ?p property:drug_used_for_treatment resource:Ciprofloxacin } . ?p rdf:type ontology:health_problem }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q21402569
P828
Q2057971 Q1441305
USER
How many medical signs are caused by more number of health problems than rice water diarrhea ?
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q21402569
relation P828
type Q1441305
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:P828 ?d . ?q rdf:type ontology:Q1441305 . ?d rdf:type ontology:Q2057971 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q1441305 . resource:Q21402569 property:P828 ?y } } . FILTER ( ?p > ?c ) }
rice water diarrhea
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity rice water diarrhea
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:has_cause ?d . ?q rdf:type ontology:medical_sign . ?d rdf:type ontology:health_problem } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:medical_sign . resource:rice_water_diarrhea property:has_cause ?y } } . FILTER ( ?p > ?c ) }
[]
health problem medical sign
SYSTEM
2
Q1115038 Q127076
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q21402569
relation P828
type Q1441305
[ANSWER]
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:P828 ?d . ?q rdf:type ontology:Q1441305 . ?d rdf:type ontology:Q2057971 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q1441305 . resource:Q21402569 property:P828 ?y } } . FILTER ( ?p > ?c ) }
runny nose vomiting
2
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity rice water diarrhea
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?q property:has_cause ?d . ?q rdf:type ontology:medical_sign . ?d rdf:type ontology:health_problem } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:medical_sign . resource:rice_water_diarrhea property:has_cause ?y } } . FILTER ( ?p > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1758945
P828
Q2057971 Q1441305
USER
And what about redout?
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q1758945
relation P828
type Q1441305
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?z ) WHERE { ?d property:P828 ?x . ?d rdf:type ontology:Q1441305 . ?x rdf:type ontology:Q2057971 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q1758945 property:P828 ?r . ?r rdf:type ontology:Q1441305 } } . FILTER ( ?z > ?o ) }
redout
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity redout
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?z ) WHERE { ?d property:has_cause ?x . ?d rdf:type ontology:medical_sign . ?x rdf:type ontology:health_problem } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:redout property:has_cause ?r . ?r rdf:type ontology:medical_sign } } . FILTER ( ?z > ?o ) }
[]
health problem medical sign
SYSTEM
8
Q1938763 Q1115038 Q189643 Q1404110 Q1566762 Q5893790 Q21402569 Q127076
(c(Q1441305),P828,c(Q2057971))
action count
action greater
action find_tuple_counts
relation P828
type Q1441305
type Q2057971
action count
action filter_type
action find
entity Q1758945
relation P828
type Q1441305
[ANSWER]
[{'concept': 'Q1441305'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?z ) WHERE { ?d property:P828 ?x . ?d rdf:type ontology:Q1441305 . ?x rdf:type ontology:Q2057971 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q1758945 property:P828 ?r . ?r rdf:type ontology:Q1441305 } } . FILTER ( ?z > ?o ) }
fecal vomiting runny nose delusion greyout steeple sign Honeycombing rice water diarrhea vomiting
8
action count
action greater
action find_tuple_counts
relation has cause
type medical sign
type health problem
action count
action filter_type
action find
entity redout
relation has cause
type medical sign
[{'concept': 'medical sign'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?z ) WHERE { ?d property:has_cause ?x . ?d rdf:type ontology:medical_sign . ?x rdf:type ontology:health_problem } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:redout property:has_cause ?r . ?r rdf:type ontology:medical_sign } } . FILTER ( ?z > ?o ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q41861 Q133823
P2176
Q8386
USER
Which drugs are prescribed for migraine but not hypertension ?
AND((Q133823,P2176,c(Q8386)), NOT((Q41861,P2176,c(Q8386))))
action filter_type
action difference
action find
entity Q133823
relation P2176
action find
entity Q41861
relation P2176
type Q8386
{'AND': [['Q133823', 'P2176', {'concept': 'Q8386'}], {'NOT': [['Q41861', 'P2176', {'concept': 'Q8386'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Q133823 property:P2176 ?u . FILTER NOT EXISTS { resource:Q41861 property:P2176 ?u } . ?u rdf:type ontology:Q8386 }
hypertension migraine
action filter_type
action difference
action find
entity migraine
relation drug used for treatment
action find
entity hypertension
relation drug used for treatment
type drug
{'AND': [['migraine', 'drug used for treatment', {'concept': 'drug'}], {'NOT': [['hypertension', 'drug used for treatment', {'concept': 'drug'}]]}]}
SELECT DISTINCT ?u WHERE { resource:migraine property:drug_used_for_treatment ?u . FILTER NOT EXISTS { resource:hypertension property:drug_used_for_treatment ?u } . ?u rdf:type ontology:drug }
[]
drug
Q420077 Q409192 Q670131 Q221174 Q416978 Q20817118 Q2359690 Q60235 Q218820 Q421567
SYSTEM
Some of them are lacosamide, Ketoprofen, simvastatin, topiramate, sumatriptan, Histamine Phosphate, prochlorperazine, caffeine, zolmitriptan, ethosuximide
Q410273 Q20817118 Q221174 Q421567 Q416978 Q420077 Q409192 Q2359690 Q60235 Q218820 Q670131
AND((Q133823,P2176,c(Q8386)), NOT((Q41861,P2176,c(Q8386))))
action filter_type
action difference
action find
entity Q133823
relation P2176
action find
entity Q41861
relation P2176
type Q8386
[ANSWERS] are prescribed for migraine but not hypertension
{'AND': [['Q133823', 'P2176', {'concept': 'Q8386'}], {'NOT': [['Q41861', 'P2176', {'concept': 'Q8386'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Q133823 property:P2176 ?u . FILTER NOT EXISTS { resource:Q41861 property:P2176 ?u } . ?u rdf:type ontology:Q8386 }
Eslicarbazepine acetate Histamine Phosphate topiramate ethosuximide sumatriptan lacosamide Ketoprofen prochlorperazine caffeine zolmitriptan simvastatin
Lacosamide, Ketoprofen, simvastatin, topiramate, sumatriptan, Histamine Phosphate, prochlorperazine, caffeine, zolmitriptan and ethosuximide are prescribed for migraine but not hypertension
lacosamide Ketoprofen simvastatin topiramate sumatriptan Histamine Phosphate prochlorperazine caffeine zolmitriptan ethosuximide
action filter_type
action difference
action find
entity migraine
relation drug used for treatment
action find
entity hypertension
relation drug used for treatment
type drug
{'AND': [['migraine', 'drug used for treatment', {'concept': 'drug'}], {'NOT': [['hypertension', 'drug used for treatment', {'concept': 'drug'}]]}]}
SELECT DISTINCT ?u WHERE { resource:migraine property:drug_used_for_treatment ?u . FILTER NOT EXISTS { resource:hypertension property:drug_used_for_treatment ?u } . ?u rdf:type ontology:drug }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q709360
P828
Q2144359 Q181394 Q2057971
USER
How many health problems are caused by lesser number of environmental issues or nutrients than Von Willebrand disease ?
(c(Q2057971),P828,c(Q2144359)|c(Q181394))
action count
action less
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q181394
action count
action filter_multi_types
action find
entity Q709360
relation P828
type Q2144359
type Q181394
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q2144359 ) ( ontology:Q181394 ) } . ?a rdf:type ?f } GROUP BY ?d } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q709360 property:P828 ?t . { { ?t rdf:type ontology:Q2144359 } UNION { ?t rdf:type ontology:Q181394 } } } } }
Von Willebrand disease
action count
action less
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type nutrient
action count
action filter_multi_types
action find
entity Von Willebrand disease
relation has cause
type environmental issue
type nutrient
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?d WHERE { VALUES ( ?f ) { ( ontology:environmental_issue ) ( ontology:nutrient ) } . ?a rdf:type ?f } GROUP BY ?d } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Von_Willebrand_disease property:has_cause ?t . { { ?t rdf:type ontology:environmental_issue } UNION { ?t rdf:type ontology:nutrient } } } } }
[]
environmental issue nutrient health problem
SYSTEM
344
Q18553237 Q18553236 Q3591496 Q18553231 Q2042205 Q7157933 Q18553239 Q18553238 Q18556697 Q2447562 Q3091959 Q3776920 Q3381802 Q18553933 Q12656487 Q694552 Q2700304 Q2845432 Q316180 Q863725 Q147778 Q623031 Q1856914 Q646664 Q4958833 Q2140729 Q3541798 Q16006998 Q4867062 Q992139 Q327005 Q52856 Q190564 Q154882 Q127724 Q18554757 Q19972185 Q201989 Q18555052 Q2373700 Q12156 Q47790 Q5038165 Q7235947 Q4803677 Q18553273 Q1097957 Q18553274 Q3153686 Q193216 Q30953 Q16831900 Q124604 Q1048101 Q202173 Q812671 Q1243869 Q9430213 Q1048084 Q21082521 Q21082526 Q3493588 Q18553583 Q18555979 Q18554672 Q41083 Q4366062 Q18553191 Q18553197 Q744387 Q18553198 Q12204 Q522163 Q103177 Q134859 Q18554401 Q18554400 Q4797639 Q2982674 Q23037742 Q1936838 Q1526645 Q681970 Q18555383 Q2170663 Q247096 Q1713499 Q804521 Q18554338 Q18553439 Q83319 Q160649 Q5274956 Q2373361 Q469490 Q16242812 Q18553229 Q614279 Q1693598 Q6523346 Q2076966 Q155098 Q4413030 Q941770 Q11679861 Q1210303 Q7902650 Q6159042 Q2059411 Q809561 Q1890194 Q5459411 Q727028 Q1016605 Q19597369 Q156103 Q7107617 Q12090 Q4280605 Q1048858 Q217519 Q3264425 Q3270160 Q422268 Q18557427 Q684810 Q7205992 Q18324719 Q4723931 Q5380626 Q18975606 Q2339038 Q18395602 Q5384031 Q11627066 Q31798 Q2933021 Q5161045 Q5548621 Q18557940 Q18554367 Q17162726 Q842428 Q769815 Q16775468 Q18553869 Q21505495 Q3281393 Q895297 Q18554485 Q18553216 Q1409081 Q17119372 Q12214 Q12199 Q153356 Q912766 Q26492834 Q18123741 Q1724539 Q3392410 Q1928978 Q18554418 Q18554419 Q326638 Q154874 Q18553284 Q18553285 Q1223924 Q6663796 Q18554027 Q1978084 Q18554029 Q133780 Q4137692 Q6279182 Q1416773 Q2589418 Q3030745 Q658873 Q18558102 Q4118581 Q160653 Q243257 Q3074499 Q207367 Q574905 Q19000448 Q585011 Q18558193 Q393477 Q745865 Q6853 Q3089469 Q1350035 Q356713 Q18553251 Q18553252 Q4690047 Q18553889 Q18554606 Q39222 Q223591 Q3197774 Q18924547 Q576179 Q154869 Q18553952 Q18553953 Q18553951 Q200779 Q931323 Q353172 Q2090711 Q18558169 Q2741820 Q481392 Q1432397 Q3049302 Q129104 Q18554767 Q18555290 Q18553170 Q42982 Q842169 Q8071861 Q14375936 Q1030785 Q18553286 Q26695958 Q153861 Q5334259 Q327298 Q9376235 Q1878776 Q5319350 Q17126040 Q18554258 Q7834208 Q5609501 Q379418 Q18558134 Q18557482 Q21507057 Q632522 Q1553609 Q4651856 Q4845643 Q1194496 Q567660 Q7850856 Q1066011 Q18554229 Q5031732 Q4690011 Q18553227 Q36956 Q1607983 Q4979461 Q18554659 Q5506384 Q34879 Q970203 Q682798 Q18928086 Q2840 Q18975229 Q949694 Q1339986 Q4736375 Q154865 Q5182155 Q16918398 Q1476027 Q18554425 Q1347065 Q3508771 Q738292 Q3540280 Q203133 Q837054 Q3367106 Q16935263 Q134649 Q19001174 Q719656 Q7900355 Q192102 Q244404 Q76973 Q2625993 Q18966317 Q3084532 Q11542703 Q3108587 Q963944 Q52859 Q18553245 Q18553243 Q18553240 Q18554261 Q167264 Q1264268 Q1760607 Q2603200 Q176741 Q443929 Q18556140 Q18553742 Q298278 Q1128440 Q506616 Q326643 Q2068896 Q826522 Q21504985 Q705906 Q319315 Q3798547 Q68833 Q639776 Q1290616 Q1750104 Q5196693 Q17071650 Q18554000 Q18554162 Q18555063 Q922927 Q101896 Q18554340 Q14870002 Q1034620 Q12125 Q6587253 Q14942021 Q6137239 Q18553440 Q18558124 Q18554306 Q7053975 Q19000421 Q221441 Q3902759
(c(Q2057971),P828,c(Q2144359)|c(Q181394))
action count
action less
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q181394
action count
action filter_multi_types
action find
entity Q709360
relation P828
type Q2144359
type Q181394
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q2144359 ) ( ontology:Q181394 ) } . ?a rdf:type ?f } GROUP BY ?d } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q709360 property:P828 ?t . { { ?t rdf:type ontology:Q2144359 } UNION { ?t rdf:type ontology:Q181394 } } } } }
mesocestoidiasis philophthalmiasis mercurial erythema lujo hemorrhagic fever Residual ovary syndrome peanut allergy baylisascariasis acanthocephaliasis human immunodeficiency virus infectious disease balantidiasis anisakiasis bacterial pneumonia Pthirus pubis infestation setariasis hymenolepiasis lymphogranuloma venereum Bolivian hemorrhagic fever ehrlichiosis Pseudorabies Bing–Neel syndrome liver cirrhosis liver cancer nocardiosis rickettsiosis Brazilian hemorrhagic fever fasciolopsiasis Tuberculosis of the adrenal glands borreliosis basidiobolomycosis human granulocytic anaplasmosis glanders Diabetic foot Huntington's disease Legionnaires' disease cataract dipetalonemiasis Tubo-ovarian abscess Lyme disease malt worker's lung Clostridial necrotizing enteritis malaria tetanus Carcinoma ex-pleomorphic adenoma Powassan encephalitis asbestos-related disease aneruptive fever intermittent claudication sennetsu fever Toluene toxicity trachoma dengue fever intracranial hypotension portal hypertension rickettsialpox hordeolum bacillary angiomatosis Treponematosis borna disease opisthorchiasis glucocorticoid-induced osteoporosis chromosomal duplication syndrome spirochetal diseases withdrawal disorder duodenal obstruction Plasmodium falciparum malaria syphilis Pneumococcal infection Indian tick typhus Israeli tick typhus Rocky Mountain spotted fever Far Eastern spotted fever tuberculosis Sydenham's chorea severe acute respiratory syndrome pertussis screw worm infectious disease hypodermyiasis arthritis mutilans lead-induced colic chicken egg allergy Diseases of poverty Surra contagious pustular dermatitis haemonchiasis Acrodynia Paracoccidioidomycosis megaesophagus bacterial vaginosis trichostrongylosis autosomal dominant disease typhoid fever typhus dientamoebiasis nut allergy Periventricular leukomalacia Amalgam tattoo Whitewater Arroyo hemorrhagic fever louping ill nasopharynx carcinoma Lentigo maligna melanoma cytomegalia leptospirosis wheat allergy proctitis hookworm infections dicrocoeliasis Uterine incarceration Japanese spotted fever Black piedra bartonellosis nutritional deficiency disease Flinders Island spotted fever bacterial infectious disease Burkitt lymphoma Gram-negative bacterial infection gastroenteritis Osteolathyrism Cholera mansonelliasis hantavirus hemorrhagic fever bubonic plague Loxoscelism actinobacillosis actinomycosis pancreatic cholera berylliosis Pneumococcal pneumonia Chapare hemorrhagic fever Algaemia Entomophthoramycosis Fusobacterium infectious disease Neurogenic bladder Vitreous touch syndrome Epstein–Barr virus infection West Nile fever chancroid caffeine intoxication conidiobolomycosis geotrichosis postgastrectomy syndrome respiratory syncytial virus infectious disease soil-transmitted helminthiasis ascariasis food allergy elephantiasis legionellosis fetal valproate syndrome complication of radiotherapy boutonneuse fever diphtheritic peritonitis intestinal botulism fetal nicotine spectrum disorder Haemophilus meningitis smallpox acquired immunodeficiency syndrome chlamydia postcholecystectomy syndrome mosaic variegated aneuploidy syndrome 1 infectious disease Congenital rubella syndrome pleural tuberculosis viral infectious disease louse-borne relapsing fever tick-borne relapsing fever Rift Valley fever yellow fever O'nyong'nyong fever Barmah Forest virus disease Papillomatosis Lobomycosis allescheriosis nerve compression syndrome pseudomembranous conjunctivitis plague heterophyiasis epileptic seizure granuloma inguinale pasteurellosis distomatosis Radiation burn monieziasis necatoriasis listeriosis chikungunya Fluoride toxicity infectious mononucleosis Clostridium difficile colitis Actinobacillus infectious disease Antley-Bixler syndrome gonococcal endophthalmia trench fever trichomoniasis hepatitis B sequelae Erethism Aspergilloma wound botulism infant botulism African tick-bite fever supine hypotensive syndrome inclusion conjunctivitis rabies gastroesophageal reflux disease klebsiellosis Rocio virus encephalitis egg allergy hepatitis C Murray Valley encephalitis Western equine encephalitis Eastern equine encephalitis genetic disease nephropathia epidemica parasitic protozoa infectious disease thelaziasis Venezuelan equine encephalitis Omsk hemorrhagic fever theileriasis Kyasanur forest disease human monocytic ehrlichiosis anthrax disease Brucella melitensis brucellosis ascaridiasis Astrakhan spotted fever type I hypersensitivity sparganosis Zika fever hyperinsulinism demodicosis Balkan hemorrhagic fever gonococcal infectious diseases tularemia parasitic ectoparasitic infectious disease shigellosis endolymphatic hydrops lymphocytic choriomeningitis dysbaric osteonecrosis Transfusion associated circulatory overload fascioloidiasis transfusion hemosiderosis Grinker myelinopathy keratomalacia exposure keratitis radiation cystitis salmonella sepsis bacteriuria Canine parvovirus AIDS-related lymphoma rhinosporidiosis scrub typhus St. Louis encephalitis pericardial tuberculosis cowpox kernicterus due to isoimmunization Candidal intertrigo African histoplasmosis Kunjin encephalitis leprosy erysipeloid Bruns ataxia Brucella canis brucellosis fruit allergy Staphylococcal infection milk allergy bejel Tahyna virus encephalitis influenza Newcastle disease amebiasis encephalitozoonosis Alternariosis botulism Craniotabes chromosomal deletion syndrome lymphangitis tinea unguium epiglottitis neuro-anemia syndrome Japanese encephalitis trombiculiasis sleeping sickness Adenovirus infection parvovirus infectious disease Serratia infection diphtheria milker's nodule fascioliasis Ureaplasma infection skin cancer electric shock yaws Latrodectism Mumps virus infectious disease endemic typhus metagonimiasis pigmentary glaucoma melioidosis Diabetic foot ulcer Alkhurma hemorrhagic fever parasitic Ichthyosporea infectious disease dioctophymiasis echinostomiasis Marburg hemorrhagic fever stannosis loiasis viral pneumonia mumps dirofilariasis ostertagiasis chromosomal disease esophageal varix toxic shock syndrome drowning hepatitis E drug allergy thyroid cancer lewisite shock paratyphoid fever Colorado tick fever Haverhill fever bone fracture cat-scratch disease epidemic typhus Carrion's disease Cutaneous diphtheria infection Calcium channel blocker toxicity Brucella suis brucellosis Bordetella parapertussis whooping cough West Nile encephalitis primary amebic meningoencephalitis gonorrhea trichostrongyloidiasis Hot tub folliculitis Capillariasis common cold Queensland tick typhus Auto-brewery syndrome Hantavirus pulmonary syndrome autosomal recessive disease allergic asthma endocrine exophthalmos Siberian tick typhus Rubella virus infectious disease pellagra white piedra
344
action count
action less
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type nutrient
action count
action filter_multi_types
action find
entity Von Willebrand disease
relation has cause
type environmental issue
type nutrient
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?d WHERE { VALUES ( ?f ) { ( ontology:environmental_issue ) ( ontology:nutrient ) } . ?a rdf:type ?f } GROUP BY ?d } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Von_Willebrand_disease property:has_cause ?t . { { ?t rdf:type ontology:environmental_issue } UNION { ?t rdf:type ontology:nutrient } } } } }
[]