That's a very good question. It's also a complicated one to answer
I'll share what I look for as a Shipwright.
With metals, I look for OQ and CD, with UT as a bonus. If you have some understanding of the resource caps then you might have recognised that the most important metals to look for are Phrik Alum, Polysteel or Platinite Copper, Kammris Iron and Duralloy or Carbonite Steel. This is also because Shipwrighting generally does not ask for specific resource types in the same way that e.g Weaponsmithing does.
For Shipwrights, OQ is always needed. CD relates to energy use, e.g Energy Drain, Reactor Generation and Weapons Energy per Shot. UT is used for Mass, MA and HR as used for Chassis Mass. SR is used for Shield Hitpoints and Droid Speed. The most used metal is Steel. OQ is the most important thing for metals, then CD, then UT and SR.
Getting back to why I recommended Phrik, Polysteel, Kammris and Duralloy ... These will always have a high CD, MA, HR, SR and UT, usually in the 90%+ range. All you're relying on then is getting lucky with the OQ stat. If you see any of these metals with a high OQ, mine them like they are going out of fashion!
For Gases, OQ is the only stat to worry about. Any kind of Reactive or Inert gas with high OQ should be mined. The most used gas is Inert.
Chemicals are pretty straightforward too. Liquid Petro with high OQ and PE, Fiberplast with OQ and SR, and also with UT and MA as a bonus for Chassis Mass. Lubricating Oil with high OQ. I tend to use more Lubricating Oil than any other chemical.
Radioactive with high OQ and PE. Type 6 and 7 Radio gives the best chance of high PE.
Siliclastic Ore with high OQ and SR. Carbonate Ore with high OQ and UT as a bonus. I use both of these pretty evenly. I use Fermionic Siliclastic and Zinsiam Carbonate as these have the highest secondary stats. But any Carbonate Ore with high OQ is useful.
In a way, the most valuable resources for a Shipwright are the JTL types:
Perovskitic Alum: I don't use this myself personally.
Conductive Bocarb Copper: CD and OQ over 900.
Crystallized Bicorb Steel: CD over 650 with high OQ is very valuable.
Organometallic Reactive Gas: High OQ
Gravitonic Fiberplast: OQ and UT over 900.
High-Grade Poly Radio: OQ and PE
Fermionic Siliclastic Ore: Principally high OQ, but the other stats can come close to 1000 (regular Siliclastic Ore cannot) So also look for MA, SR and UT.
And of course Asteroids, any Shipwright would give their right arm for a good Asteroid supplier.
A professional miner has the potential to make far more money than the crafters they are supplying. About 40% of my revenue comes from selling off my 'second-tier' resources. And up to 20% of my revenue is spent on Asteroids every month.