Abstract
Rule Interchange Format (RIF) is a suite of W3C standards designed to facilitate rule exchange among different and dissimilar rule engines, especially among Web-enabled engines. Following on the heels of the earlier Semantic Web standards, RDF and OWL, RIF aims to revolutionize the field of Web application development and create infrastructure for truly intelligent Web applications. The goal of this chapter is to provide an overview of RIF, especially the syntax and semantics of its logic-based dialects. As an illustration, it is shown how RIF can be used to build a sophisticated distributed application for the procurement of mobile services, which heavily relies on rule-based reasoning. This chapter also discusses the limitations of RIF’s Basic Logic Dialect (RIF-BLD); in particular, where it falls short of the requirements for complex applications, such as above, and shows how RIF’s Framework for Logic Dialects (RIF-FLD) solves these problems by providing a general framework for designing more expressive dialects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Klyne, G., Carroll, J.J.: Resource Description Framework (RDF): concepts and abstract syntax, W3C Recommendation (Feb 2004)
Dean, M., Schreiber, G.: OWL web ontology language reference, W3C Recommendation (Feb 2004)
Duerst, M., Suignard, M.: Internationalized Resource Identifiers (IRIs). http://www.ietf.org/rfc/rfc3987.txt (2005)
W3C: RIF: Rule Interchange Format working group. http://www.w3. org/2005/rules/wiki/RIF_Working_Group (2010)
Enderton, H.: A Mathematical Introduction to Logic. Academic, Boston (2001)
Mendelson, E.: Introduction to Mathematical Logic. Chapman & Hall/CRC Press, Boca Raton (1997)
Clocksin, W., Mellish, C.: Programming in Prolog. Springer, New York (1981)
Kifer, M., Lausen, G., Wu, J.: Logical foundations of object-oriented and frame-based languages. J. ACM 42, 741–843 (1995)
Chen, W., Kifer, M., Warren, D.: HiLog: a foundation for higher-order logic programming. J. Log Program. 15(3), 187–230 (1993)
FOAF: The friend of a friend (FOAF) project. http://www.foaf-project.org/
Boag, S., Chamberlin, D., Fernandez, M., Florescu, D., Robie, J., Simeon, J., Ste-fanescu, M.: Xquery 1.0: an xml query language, W3C Technical Report. http://www.w3.org/XML/Query (2004)
Prud’hommeaux, E., Seaborne, A.: SPARQL query language for RDF, W3C Proposed Recommendation (Nov 2007)
Van Gelder, A., Ross, K., Schlipf, J.: The well-founded semantics for general logic programs. J. ACM 38(3), 620–650 (1991)
Gelfond, M., Lifschitz, V.: The stable model semantics for logic programming. In: Proceedings of the Fifth Conference and Symposium on Logic Programming (ICLP 1988), Seattle, pp. 1070–1080. MIT Press, Cambridge (1988)
Jess: Jess, the rule language for the Java platform. http://herzberg.ca.sandia.gov/jess/ (2008)
JBoss: Drools. http://labs.jboss.com/drools/ (2010)
WebSphere ILOG JRules. http://www-01.ibm.com/ software/integration/businesses-rule-management/ jrules/ (2010)
Bry, F., Eckert, M., Patranjan, P.L.: Reactivity on the web: paradigms and applications of the language XChange. J. Web Eng. 5(1), 3–24 (2006)
Kozlenkov, A., Penaloza, R., Nigam, V., Royer, L., Dawelbait, G., Schroeder, M.: PROVA: a language for rule-based Java scripting, data and computation integration, and agent programming. In: Proceedings of the 10th International Conference on Extending Database Technology (EDBT 2006), Munich. Lecture Notes in Computer Science, vol. 4254, pp. 899–908. Springer, Berlin (2006)
Boley, H., Kifer, M.: RIF basic logic dialect, W3C Recommendation. http://www.w3.org/TR/rif-bld/ (June 2010)
de Sainte Marie, C., Paschke, A., Hallmark, G.: RIF production rule dialect. http://www.w3.org/2005/rules/wiki/PRD/ (2009)
Boley, H., Kifer, M.: RIF framework for logic dialects, W3C Recommendation. http://www.w3.org/TR/rif-fld/ (June 2010)
Kifer, M.: FLORA-2: an object-oriented knowledge base language. The FLORA-2 web site. http://flora.sourceforge.net
Vulcan, Inc.: The SILK project: semantic inferencing on large knowledge. http://silk.semwebcentral.org/ (2010)
Kifer, M.: Rule interchange format: the framework. In: Calvanese, D., Lausen, G. (eds.) Web Reasoning and Rule Systems, Second International Conference (RR 2008), Karlsruhe. Lecture Notes in Computer Science, vol. 5341, pp 1–11. Springer, Heidelberg (2008)
de Bruijn, J.: RIF RDF and OWL compatibility, W3C Recommendation. http://www.w3.org/TR/rif-rdf-owl/ (June 2010)
Boley, H., Hallmark, G., Paschke, M.K.A., Polleres, A., Reynolds, D.: RIF core dialect, W3C Recommendation. http://www.w3.org/TR/rif-core/ (June 2010)
Polleres, A., Boley, H., Kifer, M.: RIF datatypes and built-ins 1.0, W3C Recommendation. http://www.w3.org/TR/rif-dtb/ (June 2010)
Paschke, A., Hirtle, D., Ginsberg, A., Patranjan, P.L., McCabe, F.: RIF use cases and requirements, W3C Working Draft. http://www.w3.org/TR/rif-ucr/ (Dec 2008)
Mitchell, S., Morgenstern, L., Paschke, A.: RIF test cases, W3C Working Draft. http://www.w3.org/TR/rif-test/ (June 2010)
Kifer, M.: Rules and ontologies in F-Logic. In: Eisinger, N., Maluszynski, J. (eds.) Reasoning Web, First International Summer School, Msida, 25–29 July 2005. Lecture Notes in Computer Science, vol. 3564, pp. 22–34. Springer, Heidelberg (2005)
Bray, T., Paoli, J., Sperberg-McQueen, C.M., Maler, E., Yergeau, F., Cowan, J.: Extensible markup language (XML) 1.1, 2nd edn, W3C Recommendation (Aug 2006)
Fallside, D., Walmsley, P.: XML schema part 0: primer second edition. Technical report, WWW Consortium. http://www.w3.org/TR/xmlschema-0/ (Oct 2004)
Clark, K.: Negation as failure. In: Gallaire, H., Minker, J. (eds.) Logic and Data Bases, pp. 292–322. Plenum Press, New York (1978)
Lloyd, J.: Foundations of Logic Programming, 2nd edn. Springer, New York (1987)
Biron, P.V., Malhotra, A.: XML schema part 2: datatypes second edition, W3C Recommendation (Oct 2004)
Yang, G., Kifer, M., Zhao, C.: FLORA-2: A rule-based knowledge representation and inference infrastructure for the semantic web. In: Proceedings of the Second International Conference on Ontologies, Databases and Applications of Semantics (ODBASE 2003), Catania. Lecture Notes in Computer Science, vol. 2888, pp. 671–688. Springer, Heidelberg (2003)
Plaisted, D.: Equational reasoning and term rewriting systems. In: Gabbay, D., Hogger, C., Robinson, J. (eds.) Handbook of Logic in Artificial Intelligence and Logic Programming, vol. 1, pp. 273–364. Oxford University Press, Oxford (1993)
Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms. MIT Press, Cambridge (2001)
Voronkov, A.: Theorem proving and Vampire. The Vampire web site. http://www.voronkov.com/vampire.cgi (2010)
Frohn, J., Himmeröder, R., Lausen, G., May, W., Schlepphorst, C.: Managing semistructured data with FLORID: a deductive object-oriented perspective. Inform. Syst. 23(8), 589–613 (1998)
Horrocks, I., Patel-Schneider, P.F., Boley, H., Tabet, S., Grosof, B., Dean, M.: SWRL: A semantic web rule language combining OWL and RuleML, W3C Member Submission (May 2004)
Brickley, D., Guha, R.V.: RDF vocabulary description language 1.0: RDF schema, W3C Recommendation (Feb 2004)
Motik, B., Patel-Schneider, P.F., Parsia, B.: OWL 2 web ontology language structural specification and functional-style syntax, W3C Working Draft (Apr 2009)
Beckett, D.: RDF/XML syntax specification (revised), W3C Recommendation (Feb 2004)
Hayes, P.: RDF semantics, W3C Recommendation (Feb 2004)
Motik, B., Patel-Schneider, P.F., Cuenca-Grau, B.: OWL 2 web ontology language direct semantics, W3C Working Draft (Apr 2009)
Schneider, M.: OWL 2 web ontology language rdf-based semantics, W3C Working Draft (Apr 2009)
Ontoprise, GmbH: Ontobroker. http://www.ontoprise.com/
Sagonas, K., Swift, T., Warren, D.S., Freire, J., Rao, P., Cui, B., Johnson, E., de Castro, L., Marques, R.F., Dawson, S., Kifer, M.: The XSB system version 3.2: programmer’s manual (2009)
Motik, B., Horrocks, I., Rosati, R., Sattler, U.: Can OWL and logic programming live together happily ever after? In: Proceedings of the Fifth International Semantic Web Conference (ISWC 2006), Athens, GA. Lecture Notes in Computer Science, vol. 4273, pp. 501–514. Springer, Heidelberg (2006)
Wan, H., Grosof, B., Kifer, M., Fodor, P., Liang, S.: Logic programming with defaults and argumentation theories. In: Proceedings of the 25th International Conference on Logic Programming (ICLP 2009), Pasadena (2009)
Acknowledgments
The author wishes to thank Jos de Bruijn for the discussions that helped shape the contents of this chapter. The author is also grateful to the members of the RIF Working Group, especially Harold Boley, for their time and contributions. Much of the material in this chapter is based on the work of that group: RIF Basic Logic Dialect [20], RIF-RDF and OWL Compatibility [26], and RIF-FLD [22]. Further thanks goes to Harold Boley, Paul Fodor, and Hui Wan who have read an early version of this chapter and gave useful suggestions. Last, but not least, thanks goes to the editors who devoted much effort to putting together this handbook and applying finishing touches to its chapters, including this one.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this entry
Cite this entry
Kifer, M. (2011). KR and Reasoning on the Semantic Web: RIF. In: Domingue, J., Fensel, D., Hendler, J.A. (eds) Handbook of Semantic Web Technologies. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-92913-0_10
Download citation
DOI: https://doi.org/10.1007/978-3-540-92913-0_10
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-92912-3
Online ISBN: 978-3-540-92913-0
eBook Packages: Computer ScienceReference Module Computer Science and Engineering