Hey,
No, you cannot directly make a Logistic Regression classifier inside PSL. By only using these feature based rules you aren't benefiting from using an SRL framework. Under certain circumstances it will work, though in most situations it is better to just use Logistic Regression.
You can, however, get the benefit of both worlds by incorporating a Logistic Regression model into PSL by directly passing the output into a predicate. Here is an example of the rule:
W1: LogisticRegression(e1, e2) -> HasRelation(e1, e2) ^2
As a quick note, it may be beneficial to use the probabilities outputted from Logistic Regression rather than the binary predictions, since PSL natively handles continuous values.
One direct expansion you might already see, is to treat PSL as a Fusion model combining data from different sources. For example, suppose we were in a recommender setting, in which we are recommending products to users. Two iid methods could be used: matrix factorization for item similarity, and logistic regression for user similarity. Both of these classifiers can be incorporated into the same PSL model:
W1: SimilarUsers(User1, User2) & Recommend(User1, Item) -> Recommend(User2, Item) ^2
W2: SimilarItems(Item1, Item2) & Recommend(User1, Item1) -> Recommend(User1, Item2) ^2
bests,
Connor