The present application discloses oxadiazote based compounds of Formula (I) active on sphingosine-1-phosphate (S1P) in particular useful to treat lupus erythematosus. A is phenyl or a 5 or 6-membered heleroaryl ring; B is selected from one of the following; Formulae: (a) (b) (c)