The programme knows of 38 minerals, which are all common rock-forming non-opaque minerals.
(The programme; knows; of 38 minerals) (38 minerals; are all; common rock-forming non-opaque minerals)
The programme 38 minerals
knows are all
of 38 minerals
common rock-forming non-opaque minerals