'How can I get number of property with SWRL rule in Protege

I want to write a rule to get the number of assets owned by a network and check if it is greater than 3. So I wrote the SWRL rule as:

Network(?n)^(hasAsset\>3)(?n)-\>NetworkhasManyAssets(?n)

But the Protege says "Unexpected character \>"


How to modify the rule.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source