I want retrive the node skill, which dont have predicate SIMILAR_SKILL

Hi , i want retrive the skills nodes, which dont have predicate SIMILAR_SKILL, i am using query like following, but its not working, please help, thanks.

{
var(func:type(Skill))
  {
 skl as  uid
   NOT SIMILAR_SKILL{
}
  
}
  va(func:uid(skl)){
       name
  }
}

Something like this, but I feel your question is incomplete…

{
   var(func:type(Skill)) @filter(NOT has(SIMILAR_SKILL)) {
     name
   }
}

yes, above question was incomplete, i wants to retrive all the skill nodes of candidates but those skill don’t have predicate SIMILAR_SKILL, i am querying like following but not worked, please help
{
p(func:type(Candidate)){
userId
HAS_SKILL{
skl as uid
Not SIMILAR_SKILL{
term
}
}

}
var(func:uid(skl)){
name
}
}