10: How many Amino-Acids are in a part relatioship with a Protein
Shaken formulation:
How many Amino-Acid are in the part relationship to a Protein as the Protein ?
Answer
There is one part which is a Amino-Acid .
Question in KM
Template
How many <class> are in the <slot> relationship to <instance>?
Parameters
| CLASS | Amino-Acid |
|---|---|
| SLOT | has-part |
| INSTANCE | _Protein1071 |
Code
("p2: How many <class> are in the <slot> relationship to <instance>? -> <number> <values>"
(defun answer-p2-data0 (class0 slot instance)
(let* ( (class (cond ((is-wildcard class0) '#$Thing) (t class0)))
(vals (km `#$(the ,CLASS ,SLOT of ,INSTANCE) :fail-mode 'fail)) )
`(answer
(question-type p2)
(class ,class)
(slot ,slot)
(instance ,instance)
(number ,(length vals))
(values ,vals)))))
Raw Answer
((question-type p2) (class amino-acid) (slot has-part)
(instance _protein1071) (number 1)
(values (_amino-acid1072))
(explanations
((_protein1071 has-part _amino-acid1072
((the has-basic-structural-unit of _protein1071))))))
Explanation
The Amino-Acid is part of the ProteinKB rule (English):
The following rule was asserted for Concept
The has-part of a is: the structural basic unit of the Protein
Concept Protein is a subconcept of concept
KB rule (KM):
((the has-basic-structural-unit of _protein1071))
Terms
SHAKEN - Unpublished Copyright © 1999-2001, SRI Team