Try declaring "the person's workplace" as a text attribute, and calling your entity "the person".
I am using "the person's workplace" as a text attribute, and entity is called "the person".
Getting the same error.
Did you check if the relationship is defined correctly?
Did you get this working?
For the inferred relationship ('the person' to 'the person'), did you have the 'relationship type' set to Many to Many? The membership rule won't compile if you have the relationship type set to One to Many.