{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,10]],"date-time":"2026-11-10T16:32:54Z","timestamp":1794328374910,"version":"4.9.0"},"reference-count":18,"publisher":"Cambridge University Press (CUP)","issue":"4-5","license":[{"start":{"date-parts":[[2015,9,3]],"date-time":"2015-09-03T00:00:00Z","timestamp":1441238400000},"content-version":"unspecified","delay-in-days":64,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2015,7]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>There is a growing need for abstractions in logic specification languages such as FO(\u00b7) and ASP. One technique to achieve these abstractions are templates (sometimes called macros). While the semantics of templates are virtually always described through a syntactical rewriting scheme, we present an alternative view on templates as second order definitions. To extend the existing definition construct of FO(\u00b7) to second order, we introduce a powerful compositional framework for defining logics by modular integration of logic constructs specified as pairs of one syntactical and one semantical inductive rule. We use the framework to build a logic of nested second order definitions suitable to express templates. We show that under suitable restrictions, the view of templates as macros is semantically correct and that adding them does not extend the descriptive complexity of the base logic, which is in line with results of existing approaches.<\/jats:p>","DOI":"10.1017\/s1471068415000319","type":"journal-article","created":{"date-parts":[[2015,9,3]],"date-time":"2015-09-03T08:21:21Z","timestamp":1441268481000},"page":"681-695","source":"Crossref","is-referenced-by-count":8,"title":["Semantics of templates in a compositional framework for building logics"],"prefix":"10.1017","volume":"15","author":[{"given":"INGMAR","family":"DASSEVILLE","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MATTHIAS","family":"VAN DER HALLEN","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"GERDA","family":"JANSSENS","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MARC","family":"DENECKER","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2015,9,3]]},"reference":[{"key":"S1471068415000319_ref12","volume-title":"Introduction to Metamathematics","author":"Kleene","year":"1952"},{"key":"S1471068415000319_ref5","first-page":"703","volume-title":"Computational Logic - CL 2000, First International Conference, London, UK, 24-28 July, 2000, Proceedings","author":"Denecker","year":"2000"},{"key":"S1471068415000319_ref8","first-page":"22","volume-title":"Principles of Knowledge Representation and Reasoning: Proceedings of the Fourteenth International Conference, KR 2014, Vienna, Austria, July 20-24, 2014","author":"Denecker","year":"2014"},{"key":"S1471068415000319_ref4","doi-asserted-by":"crossref","first-page":"145","DOI":"10.1007\/978-3-642-02846-5_16","volume-title":"Logic Programming, 25th International Conference, ICLP 2009, Pasadena, CA, USA, July 14-17, 2009. Proceedings","author":"Dao-Tran","year":"2009"},{"key":"S1471068415000319_ref3","doi-asserted-by":"publisher","DOI":"10.1016\/0743-1066(93)90039-J"},{"key":"S1471068415000319_ref9","first-page":"269","volume-title":"Applications of Declarative Programming and Knowledge Management - 19th International Conference, INAP 2011, and 25th Workshop on Logic Programming, WLP 2011, Vienna, Austria, September 28-30, 2011, Revised Selected Papers","author":"Eiter","year":"2011"},{"key":"S1471068415000319_ref16","doi-asserted-by":"publisher","DOI":"10.1109\/MS.1984.229453"},{"key":"S1471068415000319_ref6","first-page":"277","volume-title":"International Conference on Logic Programming (Technical Communications)","author":"Denecker","year":"2012"},{"key":"S1471068415000319_ref14","volume-title":"STL tutorial and reference guide: C++ programming with the standard template library","author":"Musser","year":"2009"},{"key":"S1471068415000319_ref18","doi-asserted-by":"publisher","DOI":"10.2307\/2024549"},{"key":"S1471068415000319_ref11","unstructured":"IDP 2013. The IDP system. http:\/\/dtai.cs.kuleuven.be\/krr\/software."},{"key":"S1471068415000319_ref15","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068406002973"},{"key":"S1471068415000319_ref2","doi-asserted-by":"crossref","first-page":"376","DOI":"10.1007\/11799573_28","volume-title":"Logic Programming, 22nd International Conference, ICLP 2006, Seattle, WA, USA, August 17-20, 2006, Proceedings","author":"Baral","year":"2006"},{"key":"S1471068415000319_ref10","first-page":"233","volume-title":"10th International Workshop on Non-Monotonic Reasoning (NMR 2004), Whistler, Canada, June 6-8, 2004, Proceedings","author":"Ianni","year":"2004"},{"key":"S1471068415000319_ref7","doi-asserted-by":"publisher","DOI":"10.1145\/1342991.1342998"},{"key":"S1471068415000319_ref13","first-page":"23","volume-title":"16th International Conference on Logic Programming, ICLP 1999, Las Cruces, New Mexico, USA, November 29 - December 4, 1999, Proceedings","author":"Lifschitz","year":"1999"},{"key":"S1471068415000319_ref1","volume-title":"Meta-programming in Logic Programming","author":"Abramson","year":"1989"},{"key":"S1471068415000319_ref17","first-page":"259","volume-title":"Frontiers of Combining Systems, 8th International Symposium, FroCoS 2011, Saarbr\u00fccken, Germany, October 5-7, 2011. Proceedings","author":"Tasharrofi","year":"2011"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068415000319","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,8,30]],"date-time":"2019-08-30T04:20:08Z","timestamp":1567138808000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068415000319\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,7]]},"references-count":18,"journal-issue":{"issue":"4-5","published-print":{"date-parts":[[2015,7]]}},"alternative-id":["S1471068415000319"],"URL":"https:\/\/doi.org\/10.1017\/s1471068415000319","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,7]]}}}