real life complex business rules. A different approach
was presented by (dos Santos Guimar
˜
aes et al., 2014),
where the business rules were modeled into Alloy no-
tation and the Alloy tool was used to detect anoma-
lies. This approach suffered from high execution time
and completely failed to detect anomalies existing in
a sequence of rules. (Chittimalli and Anand, 2016)
detected only inconsistencies modeling the rules into
SMT-LIBv2.
6 CONCLUSION AND FUTURE
WORK
In this paper, we present a tool to automatically detect
anomalies present in business rules using a assortment
of different techniques. We successfully detect ano-
malies with quantifications along with the ones not
involving quantification. We better previous graph
based rule verification techniques bypassing the adja-
cency matrix computations of high complexity, while
we present mappings to SMT-LIBv2 enabling use of
solvers. As per our knowledge, our tool is the first
to use a combined approach to tackle the problem of
detecting anomalies in business rules. We show expe-
rimental results on standard benchmarks along with
some industrial data sets. In the future, the aim is
to extend the graph based verification to be able to
detect anomalies involving quantifications along with
optimizing the performance of the logic solvers. We
also intend to test our approaches on more complex
real life business systems.
REFERENCES
Barrett, C. et al. (2010). The smt-lib standard: Version 2.0.
Barrett, C. W., Sebastiani, R., Seshia, S. A., and Tinelli, C.
(2009). Satisfiability modulo theories. Handbook of
satisfiability.
Ceravolo, P. et al. (2007). Modeling semantics of business
rules. In 2007 Inaugural IEEE-IES Digital EcoSys-
tems and Technologies Conference, pages 171–176.
IEEE.
Chavarria-Baez, L. and Li, X. (2006). Structural error veri-
fication in active rule-based systems using petri nets.
In Artificial Intelligence, 2006. MICAI’06. IEEE.
Chittimalli, P. K. and Anand, K. (2016). Domain-
independent method of detecting inconsistencies in
sbvr-based business rules. In Proceedings of the Inter-
national Workshop on Formal Methods for Analysis of
Business Systems.
De Moura, L. and Bjørner, N. (2008). Z3: An efficient
smt solver. In 14th International Conference on Tools
and Algorithms for the Construction and Analysis of
Systems. Springer-Verlag.
De Moura, L. and Bjørner, N. (2011). Satisfiability modulo
theories: introduction and applications. Communica-
tions of the ACM.
dos Santos Guimar
˜
aes, D. et al. (2014). A method for veri-
fying the consistency of business rules using alloy. In
Proceedings of the Twenty-Sixth International Confe-
rence on Software Engineering & Knowledge Engi-
neering.
Group, B. R. (2016). EU-Rent Car Rental case study.
http://www.kdmanalytics.com/sbvr/EU-Rent.html.
He, X. et al. (2003). A new approach to verify rule-based
systems using petri nets. Information and Software
Technology.
IBM (2017). Business action language. https://goo.gl/
Ybqj1m.
JBoss (2017). Drools. https://goo.gl/KivdD2.
Karpovi
ˇ
c, J. et al. (2016). Experimental investigation
of transformations from sbvr business vocabularies
and business rules to owl 2 ontologies. Information
Technology And Control.
Katz, G., Barrett, C., Tinelli, C., Reynolds, A., and Had-
arean, L. (2016). Lazy proofs for dpll (t)-based smt
solvers. In Formal Methods in Computer-Aided De-
sign (FMCAD), 2016. IEEE.
Lukichev, S. (2010). Improving the quality of rule-based
applications using the declarative verification appro-
ach. International Journal of Knowledge Engineering
and Data Mining.
MIT (2015). Alloy: A language and tool for relational mo-
dels. http://alloy.mit.edu/alloy/index.html.
Mitra, S. and Chittimalli, P. K. (2017). A systematic review
of methods for consistency checking in sbvr-based bu-
siness rules.
Nazareth, D. (1989). Issues in the verification of knowledge
in rule-based systems. Int. J. Man-Mach. Stud.
Nazareth, D. L. and Kennedy, M. H. (1991). Verification of
rule-based knowledge using directed graphs. Know-
ledge Acquisition.
Nguyen, T. A. et al. (1987). Verifying consistency of pro-
duction systems. In Proceedings of the Third Con-
ference on Artificial Intelligence Applications, pages
4–8.
OMG (2013). Semantics of business vocabulary and rules
1.2. http://www.omg.org/spec/SBVR/1.2/.
Preece, A. D. and Shinghal, R. (1994). Foundation and ap-
plication of knowledge base verification. Internatio-
nal Journal of Intelligent Systems.
Ramaswamy, M. et al. (1997). Using directed hypergraphs
to verify rule-based expert systems. IEEE Trans. on
Knowl. and Data Eng.
Reynares, E. et al. (2014). Sbvr to owl 2 mappings: an au-
tomatable and structural-rooted approach. CLEI Elec-
tronic Journal.
Sirin, E. et al. (2007). Pellet: A practical owl-dl reasoner.
Web Semantics: science, services and agents on the
World Wide Web.
Solomakhin, D. et al. (2013). Logic-based reasoning sup-
port for sbvr. Fundamenta Informaticae.
Valiente, G. (1993). Verification of knowledge base redun-
dancy and subsumption using graph transformations.
International Journal of Expert Systems, 6:341–355.
Yeh, C.-W. and Chu, C.-P. (2008). Molecular verification of
rule-based systems based on dna computation. IEEE
Transactions on Knowledge and Data Engineering.
ICEIS 2018 - 20th International Conference on Enterprise Information Systems
222