Simple Question (Direct)
Simple Question
Q22336618
P702
Q863908
USER
Which gene encodes aspartyl-tRNA synthetase    lpg1478 ?
(Q22336618,P702,c(Q863908))
action filter_type
action find
entity Q22336618
relation P702
type Q863908
['Q22336618', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q22336618 property:P702 ?r . ?r rdf:type ontology:Q863908 }
aspartyl-tRNA synthetase    lpg1478
action filter_type
action find
entity aspartyl-tRNA synthetase    lpg1478
relation encoded by
type nucleic acid sequence
['aspartyl-tRNA synthetase    lpg1478', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:aspartyl-tRNA_synthetase____lpg1478 property:encoded_by ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q22333625
SYSTEM
aspartyl-tRNA synthetase    lpg1478
Q22333625
(Q22336618,P702,c(Q863908))
action filter_type
action find
entity Q22336618
relation P702
type Q863908
Aspartyl-tRNA synthetase lpg1478 encodes aspartyl-tRNA synthetase lpg1478
['Q22336618', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q22336618 property:P702 ?r . ?r rdf:type ontology:Q863908 }
aspartyl-tRNA synthetase    lpg1478
Aspartyl-tRNA synthetase lpg1478 encodes aspartyl-tRNA synthetase lpg1478
aspartyl-tRNA synthetase    lpg1478
action filter_type
action find
entity aspartyl-tRNA synthetase    lpg1478
relation encoded by
type nucleic acid sequence
['aspartyl-tRNA synthetase    lpg1478', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:aspartyl-tRNA_synthetase____lpg1478 property:encoded_by ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22336618
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q22333625)
action filter_type
action find_reverse
entity Q22336618
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q22333625']
SELECT DISTINCT ?t WHERE { ?t property:P688 resource:Q22336618 . ?t rdf:type ontology:Q863908 }
aspartyl-tRNA synthetase    lpg1478
action filter_type
action find_reverse
entity aspartyl-tRNA synthetase    lpg1478
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartyl-tRNA synthetase    lpg1478']
SELECT DISTINCT ?t WHERE { ?t property:encodes resource:aspartyl-tRNA_synthetase____lpg1478 . ?t rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q22333625
SYSTEM
aspartyl-tRNA synthetase    lpg1478
Q22333625
(c(Q863908),P688,Q22333625)
action filter_type
action find_reverse
entity Q22336618
relation P688
type Q863908
Aspartyl-tRNA synthetase lpg1478 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q22333625']
SELECT DISTINCT ?t WHERE { ?t property:P688 resource:Q22336618 . ?t rdf:type ontology:Q863908 }
aspartyl-tRNA synthetase    lpg1478
Aspartyl-tRNA synthetase lpg1478 encodes that nutrient
aspartyl-tRNA synthetase    lpg1478
action filter_type
action find_reverse
entity aspartyl-tRNA synthetase    lpg1478
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartyl-tRNA synthetase    lpg1478']
SELECT DISTINCT ?t WHERE { ?t property:encodes resource:aspartyl-tRNA_synthetase____lpg1478 . ?t rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q22336618 Q318896
P688
Q863908
USER
How many nucleic acid sequences encode aspartyl-tRNA synthetase    lpg1478 or Progonadoliberin-1 ?
(c(Q863908),P688,Q22336618) (c(Q863908),P688,Q318896)
action count
action union
action filter_type
action find_reverse
entity Q22336618
relation P688
type Q863908
action filter_type
action find_reverse
entity Q318896
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q22336618'] [{'concept': 'Q863908'}, 'P688', 'Q318896']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:P688 resource:Q318896 . ?z rdf:type ontology:Q863908 } UNION { ?z property:P688 resource:Q22336618 . ?z rdf:type ontology:Q863908 } }
aspartyl-tRNA synthetase    lpg1478 Progonadoliberin-1
action count
action union
action filter_type
action find_reverse
entity aspartyl-tRNA synthetase    lpg1478
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Progonadoliberin-1
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartyl-tRNA synthetase    lpg1478'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Progonadoliberin-1']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:encodes resource:Progonadoliberin-1 . ?z rdf:type ontology:nucleic_acid_sequence } UNION { ?z property:encodes resource:aspartyl-tRNA_synthetase____lpg1478 . ?z rdf:type ontology:nucleic_acid_sequence } }
[]
nucleic acid sequence
SYSTEM
2
Q22333625 Q14864006
(c(Q863908),P688,Q22336618) (c(Q863908),P688,Q318896)
action count
action union
action filter_type
action find_reverse
entity Q22336618
relation P688
type Q863908
action filter_type
action find_reverse
entity Q318896
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q22336618'] [{'concept': 'Q863908'}, 'P688', 'Q318896']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:P688 resource:Q318896 . ?z rdf:type ontology:Q863908 } UNION { ?z property:P688 resource:Q22336618 . ?z rdf:type ontology:Q863908 } }
aspartyl-tRNA synthetase    lpg1478 GNRH1
2
action count
action union
action filter_type
action find_reverse
entity aspartyl-tRNA synthetase    lpg1478
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Progonadoliberin-1
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'aspartyl-tRNA synthetase    lpg1478'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Progonadoliberin-1']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:encodes resource:Progonadoliberin-1 . ?z rdf:type ontology:nucleic_acid_sequence } UNION { ?z property:encodes resource:aspartyl-tRNA_synthetase____lpg1478 . ?z rdf:type ontology:nucleic_acid_sequence } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22336618
P703
Q631147
USER
Where is aspartyl-tRNA synthetase    lpg1478 found ?
(Q22336618,P703,c(Q631147))
action filter_type
action find
entity Q22336618
relation P703
type Q631147
['Q22336618', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?z WHERE { resource:Q22336618 property:P703 ?z . ?z rdf:type ontology:Q631147 }
aspartyl-tRNA synthetase    lpg1478
action filter_type
action find
entity aspartyl-tRNA synthetase    lpg1478
relation found in taxon
type infraspecific name
['aspartyl-tRNA synthetase    lpg1478', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?z WHERE { resource:aspartyl-tRNA_synthetase____lpg1478 property:found_in_taxon ?z . ?z rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102919
SYSTEM
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
Q21102919
(Q22336618,P703,c(Q631147))
action filter_type
action find
entity Q22336618
relation P703
type Q631147
Aspartyl-tRNA synthetase lpg1478 is found in [ANSWER]
['Q22336618', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?z WHERE { resource:Q22336618 property:P703 ?z . ?z rdf:type ontology:Q631147 }
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
Aspartyl-tRNA synthetase lpg1478 is found in Legionella pneumophila subsp. pneumophila str. Philadelphia 1
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
action filter_type
action find
entity aspartyl-tRNA synthetase    lpg1478
relation found in taxon
type infraspecific name
['aspartyl-tRNA synthetase    lpg1478', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?z WHERE { resource:aspartyl-tRNA_synthetase____lpg1478 property:found_in_taxon ?z . ?z rdf:type ontology:infraspecific_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18255790 Q318896
P684
Q863908
USER
Which nucleic acid sequences are Progonadoliberin-1 or Txnrd2 an orthlogous gene of ?
OR((c(Q863908),P684,Q318896), (c(Q863908),P684,Q18255790))
action filter_type
action union
action find_reverse
entity Q318896
relation P684
action find_reverse
entity Q18255790
relation P684
type Q863908
{'OR': [[{'concept': 'Q863908'}, 'P684', 'Q318896'], [{'concept': 'Q863908'}, 'P684', 'Q18255790']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q863908 . { { ?u property:P684 resource:Q18255790 } UNION { ?u property:P684 resource:Q318896 } } }
Txnrd2 Progonadoliberin-1
action filter_type
action union
action find_reverse
entity Progonadoliberin-1
relation ortholog
action find_reverse
entity Txnrd2
relation ortholog
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Progonadoliberin-1'], [{'concept': 'nucleic acid sequence'}, 'ortholog', 'Txnrd2']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:nucleic_acid_sequence . { { ?u property:ortholog resource:Txnrd2 } UNION { ?u property:ortholog resource:Progonadoliberin-1 } } }
[]
nucleic acid sequence
Q14864008 Q18035507
SYSTEM
Gnrh1, TXNRD2
Q14864008 Q18035507
OR((c(Q863908),P684,Q318896), (c(Q863908),P684,Q18255790))
action filter_type
action union
action find_reverse
entity Q318896
relation P684
action find_reverse
entity Q18255790
relation P684
type Q863908
[ANSWERS] are Progonadoliberin-1 or Txnrd2 an orthlogous gene of
{'OR': [[{'concept': 'Q863908'}, 'P684', 'Q318896'], [{'concept': 'Q863908'}, 'P684', 'Q18255790']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q863908 . { { ?u property:P684 resource:Q18255790 } UNION { ?u property:P684 resource:Q318896 } } }
Gnrh1 TXNRD2
Gnrh1 and TXNRD2 are Progonadoliberin-1 or Txnrd2 an orthlogous gene of
Gnrh1 TXNRD2
action filter_type
action union
action find_reverse
entity Progonadoliberin-1
relation ortholog
action find_reverse
entity Txnrd2
relation ortholog
type nucleic acid sequence
{'OR': [[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Progonadoliberin-1'], [{'concept': 'nucleic acid sequence'}, 'ortholog', 'Txnrd2']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:nucleic_acid_sequence . { { ?u property:ortholog resource:Txnrd2 } UNION { ?u property:ortholog resource:Progonadoliberin-1 } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18035507
P2293
Q2057971
USER
Which health problem is genetically associated with TXNRD2 ?
(c(Q2057971),P2293,Q18035507)
action filter_type
action find
entity Q18035507
relation P2293
type Q2057971
[{'concept': 'Q2057971'}, 'P2293', 'Q18035507']
SELECT DISTINCT ?x WHERE { resource:Q18035507 property:P2293 ?x . ?x rdf:type ontology:Q2057971 }
TXNRD2
action filter_type
action find
entity TXNRD2
relation genetic association
type health problem
[{'concept': 'health problem'}, 'genetic association', 'TXNRD2']
SELECT DISTINCT ?x WHERE { resource:TXNRD2 property:genetic_association ?x . ?x rdf:type ontology:health_problem }
[]
health problem
Q18553921
SYSTEM
primary open angle glaucoma
Q18553921
(c(Q2057971),P2293,Q18035507)
action filter_type
action find
entity Q18035507
relation P2293
type Q2057971
And [ANSWER] is genetically associated with TXNRD2
[{'concept': 'Q2057971'}, 'P2293', 'Q18035507']
SELECT DISTINCT ?x WHERE { resource:Q18035507 property:P2293 ?x . ?x rdf:type ontology:Q2057971 }
primary open angle glaucoma
And primary open angle glaucoma is genetically associated with TXNRD2
primary open angle glaucoma
action filter_type
action find
entity TXNRD2
relation genetic association
type health problem
[{'concept': 'health problem'}, 'genetic association', 'TXNRD2']
SELECT DISTINCT ?x WHERE { resource:TXNRD2 property:genetic_association ?x . ?x rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23218240
P702
Q181394
USER
How many nutrients are encoded by glucose-6-phosphate isomerase    SMU_307 ?
(c(Q181394),P702,Q23218240)
action count
action filter_type
action find_reverse
entity Q23218240
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q23218240']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P702 resource:Q23218240 . ?w rdf:type ontology:Q181394 }
glucose-6-phosphate isomerase    SMU_307
action count
action filter_type
action find_reverse
entity glucose-6-phosphate isomerase    SMU_307
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'glucose-6-phosphate isomerase    SMU_307']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:encoded_by resource:glucose-6-phosphate_isomerase____SMU_307 . ?w rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
Q23491379
(c(Q181394),P702,Q23218240)
action count
action filter_type
action find_reverse
entity Q23218240
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q23218240']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P702 resource:Q23218240 . ?w rdf:type ontology:Q181394 }
glucose-6-phosphate isomerase    SMU_307
1
action count
action filter_type
action find_reverse
entity glucose-6-phosphate isomerase    SMU_307
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'glucose-6-phosphate isomerase    SMU_307']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:encoded_by resource:glucose-6-phosphate_isomerase____SMU_307 . ?w rdf:type ontology:nutrient }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22336618
P681
Q15989253
USER
Which is the part that is a component of aspartyl-tRNA synthetase    lpg1478 ?
(Q22336618,P681,c(Q15989253))
action filter_type
action find
entity Q22336618
relation P681
type Q15989253
['Q22336618', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?m WHERE { resource:Q22336618 property:P681 ?m . ?m rdf:type ontology:Q15989253 }
aspartyl-tRNA synthetase    lpg1478
action filter_type
action find
entity aspartyl-tRNA synthetase    lpg1478
relation cell component
type part
['aspartyl-tRNA synthetase    lpg1478', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?m WHERE { resource:aspartyl-tRNA_synthetase____lpg1478 property:cell_component ?m . ?m rdf:type ontology:part }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q22336618,P681,c(Q15989253))
action filter_type
action find
entity Q22336618
relation P681
type Q15989253
[ANSWER] is the part that is a component of aspartyl-tRNA synthetase lpg1478
['Q22336618', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?m WHERE { resource:Q22336618 property:P681 ?m . ?m rdf:type ontology:Q15989253 }
cytoplasm
Cytoplasm is the part that is a component of aspartyl-tRNA synthetase lpg1478
cytoplasm
action filter_type
action find
entity aspartyl-tRNA synthetase    lpg1478
relation cell component
type part
['aspartyl-tRNA synthetase    lpg1478', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?m WHERE { resource:aspartyl-tRNA_synthetase____lpg1478 property:cell_component ?m . ?m rdf:type ontology:part }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23579371
Q15989253
USER
And also tell me about 50S ribosomal protein L14    AMED_0687?
(Q23579371,P681,c(Q15989253))
action filter_type
action find
entity Q23579371
relation P681
type Q15989253
['Q23579371', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?k WHERE { resource:Q23579371 property:P681 ?k . ?k rdf:type ontology:Q15989253 }
50S ribosomal protein L14    AMED_0687
action filter_type
action find
entity 50S ribosomal protein L14    AMED_0687
relation cell component
type part
['50S ribosomal protein L14    AMED_0687', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?k WHERE { resource:50S_ribosomal_protein_L14____AMED_0687 property:cell_component ?k . ?k rdf:type ontology:part }
[]
part
Q42244
SYSTEM
ribosome
Q42244
(Q23579371,P681,c(Q15989253))
action filter_type
action find
entity Q23579371
relation P681
type Q15989253
[ANSWER]
['Q23579371', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?k WHERE { resource:Q23579371 property:P681 ?k . ?k rdf:type ontology:Q15989253 }
ribosome
ribosome
action filter_type
action find
entity 50S ribosomal protein L14    AMED_0687
relation cell component
type part
['50S ribosomal protein L14    AMED_0687', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?k WHERE { resource:50S_ribosomal_protein_L14____AMED_0687 property:cell_component ?k . ?k rdf:type ontology:part }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P689
Q25570959 Q82799 Q2057971
USER
Which health problems afflicts min number of animal structures or names ?
(c(Q2057971),P689,c(Q25570959)|c(Q82799))
action argmin
action union
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action find_tuple_counts
relation P689
type Q2057971
type Q82799
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q25570959'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { { ?n property:P689 ?z . ?n rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q25570959 } UNION { ?n property:P689 ?z . ?n rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q82799 } } GROUP BY ?n } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?b ) WHERE { { ?r property:P689 ?q . ?q rdf:type ontology:Q82799 . ?r rdf:type ontology:Q2057971 } UNION { ?r property:P689 ?q . ?r rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q25570959 } } GROUP BY ?r } } }
action argmin
action union
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action find_tuple_counts
relation afflicts
type health problem
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'animal structure'}, {'concept': 'name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { { ?n property:afflicts ?z . ?n rdf:type ontology:health_problem . ?z rdf:type ontology:animal_structure } UNION { ?n property:afflicts ?z . ?n rdf:type ontology:health_problem . ?z rdf:type ontology:name } } GROUP BY ?n } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?b ) WHERE { { ?r property:afflicts ?q . ?q rdf:type ontology:name . ?r rdf:type ontology:health_problem } UNION { ?r property:afflicts ?q . ?r rdf:type ontology:health_problem . ?q rdf:type ontology:animal_structure } } GROUP BY ?r } } }
[]
animal structure name health problem
Q181257 Q844935 Q2351083
SYSTEM
prostate cancer, coronary artery disease, disease of metabolism
Q18556210 Q6996973 Q18211751 Q5182155 Q18553706 Q3508732 Q1066265 Q574406 Q18558209 Q1266890 Q175827 Q18554834 Q18555928 Q1585743 Q2508462 Q5062122 Q18556225 Q2879095 Q6742925 Q18554850 Q18553224 Q16918477 Q5182126 Q944777 Q2946952 Q3339235 Q844935 Q18558143 Q16499 Q2988775 Q18555020 Q18975470 Q18554359 Q18556397 Q18553766 Q7314317 Q18554536 Q18554357 Q5156409 Q18557992 Q18554999 Q7199538 Q403463 Q4684717 Q18557753 Q6673122 Q1779300 Q7136145 Q616003 Q18555344 Q4959796 Q8084905 Q2661443 Q3281322 Q708176 Q3043145 Q3552798 Q1642094 Q359892 Q18556093 Q18555048 Q181257 Q3540864 Q18555042 Q3286546 Q4116663 Q1963588 Q2429620 Q2339038 Q18556075 Q18555923 Q18557307 Q5526839 Q18556619 Q16831900 Q578257 Q7900883 Q18556675 Q18555209 Q6758201 Q18553502 Q5282519 Q18554363 Q1542466 Q2912193 Q18553584 Q2351083 Q3843811 Q6742919 Q501561 Q1585753 Q18554947 Q6072985 Q18554030 Q1194557 Q18555940 Q21118423 Q18554893 Q11835644 Q18553644 Q189588 Q1393463 Q17152566 Q165135 Q18558049 Q18558125 Q18965518 Q1807522 Q2031424 Q18554220 Q6708237 Q16678483 Q18553736 Q5442760 Q18556445 Q18968025 Q18554658 Q7113244 Q3030636 Q18553634 Q3540887 Q2966706 Q7879711
(c(Q2057971),P689,c(Q25570959)|c(Q82799))
action argmin
action union
action find_tuple_counts
relation P689
type Q2057971
type Q25570959
action find_tuple_counts
relation P689
type Q2057971
type Q82799
[ANSWERS] afflict min number of animal structures or names
[{'concept': 'Q2057971'}, 'P689', [{'concept': 'Q25570959'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { { ?n property:P689 ?z . ?n rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q25570959 } UNION { ?n property:P689 ?z . ?n rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q82799 } } GROUP BY ?n } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?b ) WHERE { { ?r property:P689 ?q . ?q rdf:type ontology:Q82799 . ?r rdf:type ontology:Q2057971 } UNION { ?r property:P689 ?q . ?r rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q25570959 } } GROUP BY ?r } } }
gastrointestinal adenoma nervous system disease vulvar disease Craniotabes gamma-amino butyric acid metabolism disorder pyelo-ureteral junction syndrome Osgood-Schlatter's disease Bartholin's duct cyst upper respiratory tract disease vascular disease stomach disease penile disease subclavian artery aneurysm urea cycle disorder mouth disease central nervous system disease femoral neuropathy optic nerve disease male reproductive system disease integumentary system disease lower respiratory tract disease nervous system cancer cranial nerve disease endometrial cancer cervical osteoarthritis nervous system disease coronary artery disease leukocyte disease hyperthyroidism heart conduction disease nasal cavity disease disease of biological process binocular vision disease biliary tract cancer eye accommodation disease reproductive system disease paranasal sinus disease vestibulocochlear nerve disease complement deficiency vein disease B cell deficiency pituitary gland disease Aicardi syndrome adrenal gland disease laryngeal disease thyroid gland disease connective tissue disease parathyroid gland disease aortic aneurysm tracheal disease breast disease autoimmune neuromuscular disease endocrine system disease peroxisomal disease arthropathy cytochrome P450 Oxidoreductase Deficiency uvulitis Hematidrosis salpingitis male reproductive organ cancer gonadal disease prostate cancer Balance disorder factor XII deficiency respiratory disease musculoskeletal system disease hematopoietic system disease blood platelet disease Neurogenic bladder external ear disease carotid artery disease muscle tissue disease gastrointestinal system cancer middle ear disease intracranial hypotension Kohler's disease urinary system disease aortic disease nose disease Marcus Gunn pupil pericardium disease calcium metabolism disease capillary disease vulvitis esophageal disease C1 inhibitor deficiency disease of metabolism immune system disease Male breast cancer pericarditis urethral stricture fallopian tube disease iron metabolism disease acute laryngopharyngitis laryngitis uterine disease auditory nerve damage ocular melanoma thyroiditis immune system cancer stomach cancer hypopharynx cancer salivary gland disease goiter gastrointestinal lymphoma intracranial hypertension artery disease vaginal cancer oropharynx cancer female reproductive organ cancer lymphatic system disease vestibular disease bone remodeling disease female reproductive system disease prostate disease pleural disease splenic artery aneurysm ovarian disease carotid artery dissection lymphatic system cancer Sensory processing disorder Chromhidrosis ulnar neuropathy
Prostate cancer, coronary artery disease and disease of metabolism afflict min number of animal structures or names
prostate cancer coronary artery disease disease of metabolism
action argmin
action union
action find_tuple_counts
relation afflicts
type health problem
type animal structure
action find_tuple_counts
relation afflicts
type health problem
type name
[{'concept': 'health problem'}, 'afflicts', [{'concept': 'animal structure'}, {'concept': 'name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { { ?n property:afflicts ?z . ?n rdf:type ontology:health_problem . ?z rdf:type ontology:animal_structure } UNION { ?n property:afflicts ?z . ?n rdf:type ontology:health_problem . ?z rdf:type ontology:name } } GROUP BY ?n } . FILTER ( ?o = ?y ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?y ) { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?b ) WHERE { { ?r property:afflicts ?q . ?q rdf:type ontology:name . ?r rdf:type ontology:health_problem } UNION { ?r property:afflicts ?q . ?r rdf:type ontology:health_problem . ?q rdf:type ontology:animal_structure } } GROUP BY ?r } } }
[]