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 Protein

Terms

Terms Definitions
  the Amino-Acid       An instance of Amino-Acid
  the Protein       An instance of Protein
 Amino-Acid   Organic molecule containing both an amino group and a carboxyl group. Alpha amino acids (those in which the amino and carboxyl groups are linked to the same carbon atom) serve as the building blocks of proteins. Alberts:ECB:G-2.
 Protein   Linear polymer of amino acids linked together in a specific sequence by peptide bonds. Alberts:ECB-G-15.
 has-basic-structural-unit   the many identical physical things that make up a whole structurally (as opposed to functionally).
 has-part   the parts that comprise a whole.