I'm using RDFox v3 and when I import the following rule it takes a long time to run. My datastore has CRM information and I'm trying to classify their origins using rules.
[ ?customer, :referral, "true"] :- [ ?customer, :has, ?referralLink] .
I don't see what I'm doing wrong.
Thank you!
This suggests you have a lot of
:hasrelationships in your data. If this is the case the variables you have listed as?customerand?referralLinkare matching on everything that is related by:has. This is happening regardless of whether they are a customer or not and that is what I suggest may be taking the time.If
?customerand?referralLinkhave types you might want to specify this in your rule. For example supposing they are of type:CustomerTypeand:ReferralLinkTypethen your rule will become:Hopefully that helps.