How to retrieve logical expressions (KO based) for reactions from KEGG? The completeness of a module can easily be checked by looking at the Definition entry associated with the module. For example, in module M00010, it is given as:

Definition  K01647 (K01681,K01682) (K00031,K00030)


which can be translated to:

K01647 AND (K01681 OR K01682) AND (K00031 OR K00030)


If this expression evaluates to TRUE, the module is considered complete.

I am wondering whether analogous information exists for a single reaction. For example, when looking at reaction R00352, one finds the following information about its Orthology:



But I can't easily find the logical relation that correspond to the KOs for this reaction. It could be:

K01648 AND K15230 AND K15231 


or:

K01648 OR K15230 OR K15231


or:

K01648 OR (K15230 AND K15231)


and so on.

In the above example, I know that the correct expression is:

K01648 OR (K15230 AND K15231)


i.e. one either needs either K01648 or both of the other two subunits.

Can this information be retrieved from KEGG for each reaction and if so, how?
Some information seems to be available on the module level utilising the API. 

Reaction R00352 points to the module M00173. While some information is in the Definition, it's not trivial to link it to the particular reaction. This linkage is however easier accessible via API: