blob: a4c273ab853e1650f9928d9a9bc4579dad5e0f2d [file] [log] [blame]
rule MatchSystemWithVocabulary
match s : Source!System
with v : Vocabulary!Vocabulary {
compare {
return true;
}
}
rule MatchEntityWithTerm
match s : Source!Entity
with t : Vocabulary!Term {
compare {
return s.name = t.name or
t.`alias`.exists(a|a.name = s.name);
}
}