rewrite to
FROM ClassificationUser.ClassInstance CI
INNER JOIN CI/ClassificationUser.ClassInstance/ClassificationUser.ClassInstance_PartClass/ClassificationAdmin.PartClass PC
INNER JOIN CI/ClassificationUser.ClassInstance/ClassificationUser.AttributeInstance_ClassInstance/ClassificationUser.AttributeInstance AI
INNER JOIN AI/ClassificationUser.AttributeInstance_Attribute/ClassificationAdmin.Attribute ATR
WHERE
AI/AttributeValue is not NULL AND
CAST(AI/AttributeValue AS INTEGER) = 11 AND
PC/Name = 'Eye Nut' AND
CI/Name = '130512-6' AND
ATR/ShortName = 'Thread Size'
SELECT Name
It is recommended to include all the joins in the from part so the where part is much easier
you can also use AttributeValue = ‘11’
SELECT * FROM ClassificationUser.ClassInstance CI
INNER JOIN CI/ClassificationUser.ClassInstance_PartClass/ClassificationAdmin.PartClass PC
INNER JOIN CI/ClassificationUser.AttributeInstance_ClassInstance/ClassificationUser.AttributeInstance AI
INNER JOIN AI/ClassificationUser.AttributeInstance_Attribute/ClassificationAdmin.Attribute ATR
WHERE
AI/AttributeValue is not NULL AND
PC/Name = 'Eye Nut' AND
CI/Name = '130512-6' AND
ATR/ShortName = 'Thread Size' AND
CAST(
CASE ATR/AttributeType WHEN
'_Int' THEN
AI/AttributeValue END AS INTEGER) = 11