Minimal and subminimal negations in ternary relational semantics with a especial focus on logics with the A.P.