The YAP Prolog system
Open accessThe DOI matches its Crossref record; 88 of the 91 references it cites were found in a registry or an index.
Abstract
Yet Another Prolog (YAP) is a Prolog system originally developed in the mid-eighties and that has been under almost constant development since then. This paper presents the general structure and design of the YAP system, focusing on three important contributions to the Logic Programming community. First, it describes the main techniques used in YAP to achieve an efficient Prolog engine. Second, most Logic Programming systems have a rather limited indexing algorithm. YAP contributes to this area by providing a dynamic indexing mechanism, or just-in-time indexer. Third, a important contribution of the YAP system has been the integration of both or-parallelism and tabling in a single Logic Programming system.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Most Prolog implementations (Wielemaker et al., 2012; Costa et al., 2012) allow extra-logical features, such as cuts.”
From Inductive Logic Programming At 30: A New Introduction (2022) · cites this paper as Costa et al., 2012
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Depth-First Search and Linear Graph Algorithms
Tarjan, R. (1972) · SIAM Journal on Computing · doi:10.1137/0201010 · Cited by 6,081
Richardson, M., & Domingos, P. (2006) · Machine Learning · doi:10.1007/s10994-006-5833-1 · Cited by 2,676 · cited 1×
“As an interesting example, Markov Logic Networks (MLNs) (Richardson and Domingos 2006) are a popular SRL language that uses bottom-up inference and incremental query evaluation, two techniques that have been well researched in Logic Programming.”
Principal type-schemes for functional programs
Damas, L., & Milner, R. (1982) · Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '82 · doi:10.1145/582153.582176 · Cited by 1,097
Self-citationAndersson, J. S., Andersson, S. K., Boortz, K., Carlsson, M., Nilsson, H., Sjöland, T., & Widén, J. (1993) · Cited by 306
Parameter Learning of Logic Programs for Symbolic-Statistical Modeling
Sato, T., & Kameya, Y. (2001) · Journal of Artificial Intelligence Research · doi:10.1613/jair.912 · Cited by 233
Proceedings of the 24th International Conference on Logic Programming (ICLP 2008)
de la Banda, M. G., & Pontelli, E. (2008) · Cited by 145
Campbell, J. (1984) · CERN Document Server (European Organization for Nuclear Research) · Cited by 144
OpenRuleBench: an analysis of the performance of rule engines
Liang, S., Fodor, P., Wan, H., & Kifer, M. (2009) · International World Wide Web Conference (WWW) · doi:10.1145/1526709.1526790 · Cited by 136
Proceedings of the 1990 North American conference on Logic programming
Debray, S., & Hermenegildo, M. V. (1990) · Cited by 123
2005 portuguese conference on artificial intelligence
(2005) · doi:10.1109/ieeeconf11002.2005 · Cited by 121
An abstract machine for tabled execution of fixed-order stratified logic programs
Sagonas, K., & Swift, T. (1998) · ACM Transactions on Programming Languages and Systems · doi:10.1145/291889.291897 · Cited by 114
Simon, L., Mallya, A., Bansal, A. K., & Gupta, G. (2006) · International Conference on Logic Programming · doi:10.1007/11799573_25 · Cited by 111
Colmerauer, A., & Roussel, P. (1993) · The second ACM SIGPLAN conference on History of programming languages · doi:10.1145/154766.155362 · Cited by 108 · cited 1×
“The history of Prolog and Logic Programming starts in the early seventies, with the seminal works by Colmerauer, Roussel and Kowalski (Colmerauer 1993).”
Efficient access mechanisms for tabled logic programs
Ramakrishnan, I. V., Rao, P., Sagonas, K., Swift, T., & Warren, D. S. (1999) · The Journal of Logic Programming · doi:10.1016/s0743-1066(98)10013-4 · Cited by 108
High-performance logic programming with the Aquarius Prolog compiler
Roy, P. V., & Despain, A. M. (1992) · Computer · doi:10.1109/2.108055 · Cited by 106
Can Logic Programming Execute as Fast as Imperative Programming
Roy, P. L. V. (1990) · UC Berkeley · Cited by 100
Query evaluation under the well-founded semantics
Chen, W., & Warren, D. S. (1993) · ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS) · doi:10.1145/153850.153865 · Cited by 95
Freeze, indexing, and other implementation issues in the WAM
Carlsson, M. (1987) · Cited by 95
Heap Memory Management in Prolog with Tabling: Principles and Practice.
Demoen, B., & Sagonas, K. (2001) · Journal of functional and logic programming · Cited by 86
An Introduction to Language Processing with Perl and Prolog
Nugues, P. (2006) · Springer eBooks · doi:10.1007/3-540-34336-9 · Cited by 72
Design and Implementation of an OR-Parallel Prolog Engine
Carlsson, M. (1990) · Cited by 70
So Many WAM Variations, So Little Time
Demoen, B., & Nguyen, P. (2000) · Lecture notes in computer science · doi:10.1007/3-540-44957-4_83 · Cited by 68
CLP( $\cal{BN}$ ): Constraint Logic Programming for Probabilistic Knowledge
Costa, V. S., Page, D., & Cussens, J. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-78652-8_6 · Cited by 64
Self-citationFull prolog and scheduling or-parallelism in muse
Ali, K. A. M., & Karlsson, R. (1990) · International Journal of Parallel Programming · doi:10.1007/bf01397627 · Cited by 64
On the Efficient Execution of ProbLog Programs
Kimmig, A., Costa, V. S., Rocha, R., Demoen, B., & Raedt, L. D. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-89982-2_22 · Cited by 58
Self-citationBueno, F., de la Banda, M. G., & Hermenegildo, M. V. (1999) · ACM Transactions on Programming Languages and Systems · doi:10.1145/316686.316688 · Cited by 57
Optimising Bytecode Emulation for Prolog
Costa, V. S. (1999) · Lecture notes in computer science · doi:10.1007/10704567_16 · Cited by 53
Self-citationDesign and Implementation of the GNU Prolog System
Díaz, D., & Codognet, P. (2001) · HAL · Cited by 53
On applying or-parallelism and tabling to logic programs
Rocha, R., Silva, F., & Costa, V. S. (2005) · Theory and Practice of Logic Programming · doi:10.1017/s1471068404002030 · Cited by 52
Self-citationIlp: a short look back and a longer look forward
Page, D., & Srinivasan, A. (2003) · Journal of Machine Learning Research · Cited by 48
SWI Prolog Reference Manual 6.2.2
Wielemaker, J., Fruehwirth, T., Koninck, L. D., Triska, M., & Uneson, M. (2012) · Cited by 47
YapTab: A Tabling Engine Designed to Support Parallelism
Rocha, R., Silva, F., & Costa, V. S. (n.d.) · Cited by 47
Self-citationNative Preemptive Threads in SWI-Prolog
Wielemaker, J. (2003) · Lecture notes in computer science · doi:10.1007/978-3-540-24599-5_23 · Cited by 45
Lavrač, N., & Džeroski, S. (1997) · Cited by 38
A Top Down Interpreter for LPAD and CP-Logic
Riguzzi, F. (2007) · Lecture notes in computer science · doi:10.1007/978-3-540-74782-6_11 · Cited by 37
Thesaurus-Based Search in Large Heterogeneous Collections
Wielemaker, J., Hildebrand, M., van Ossenbruggen, J., & Guus Schreiber, A. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-88564-1_44 · Cited by 37
YapOr: An Or-Parallel Prolog System Based on Environment Copying
Rocha, R., Silva, F., & Costa, V. S. (1999) · Lecture notes in computer science · doi:10.1007/3-540-48159-1_13 · Cited by 36
Self-citationProceedings of the 23rd international conference on Logic programming
Dahl, V., & Niemelä, I. (2007) · Cited by 35
JURJO-RIVAS, D., Morales, J. F., López-García, P., & Hermenegildo, M. V. (2023) · Electronic Proceedings in Theoretical Computer Science · doi:10.4204/eptcs.385.6 · Cited by 35
Degano, P., Nicola, R. D., & Meseguer, J. (2008) · doi:10.1007/978-3-540-68679-8 · Cited by 35
Sagonas, K., Swift, T. M., Warren, D. W., Freire, J., & Rao, P. (1800) · DSpace - NTUA (National Technical University of Athens) · Cited by 34
Interactive, scalable, declarative program analysis: from prototype to implementation
Benton, W. C., & Fischer, C. N. (2007) · International Symposium on Principles and Practice of Declarative Programming (PPDP) · doi:10.1145/1273920.1273923 · Cited by 32
The <C,A>,T framework in Eurotra: a theoretically committed notation for MT
Arnold, D., Krauwer, S., Rosner, M., Tombe, L. D., & Varile, G. B. (1986) · International Conference on Computational Linguistics · doi:10.3115/991365.991453 · Cited by 32
An Improved Continuation Call-Based Implementation of Tabling
de Guzmán, P. C., Carro, M., Hermenegildo, M. V., Silva, C., & Rocha, R. (2007) · Springer eBooks · doi:10.1007/978-3-540-77442-6_14 · Cited by 31
Self-citationTabling in Mercury: Design and Implementation
Somogyi, Z., & Sagonas, K. (2005) · Lecture notes in computer science · doi:10.1007/11603023_11 · Cited by 30
Demand-Driven Indexing of Prolog Clauses
Costa, V. S., Sagonas, K., & Lopes, R. (2007) · Springer eBooks · doi:10.1007/978-3-540-74610-2_27 · Cited by 28
Self-citationHermenegildo, M. V., Bueno, F., Carro, M., López, P. D., Morales, J. F., & Puebla, G. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-68679-8_14 · Cited by 27
Experiences Using Logic Programming in Bioinformatics
Mungall, C. (2009) · Lecture notes in computer science · doi:10.1007/978-3-642-02846-5_1 · Cited by 23
Proceedings of the 1991 international symposium on Logic programming
Saraswat, V., & Ueda, K. (1991) · Cited by 23
Instruction merging and specialization in the SICStus Prolog virtual machine
Nässén, H., Carlsson, M., & Sagonas, K. (2001) · International Symposium on Principles and Practice of Declarative Programming (PPDP) · doi:10.1145/773184.773191 · Cited by 21
Dynamic Mixed-Strategy Evaluation of Tabled Logic Programs
Rocha, R., Silva, F., & Costa, V. S. (2005) · Lecture notes in computer science · doi:10.1007/11562931_20 · Cited by 20
Self-citationModelling variations in goal-directed dialogue
Carletta, J. (1990) · International Conference on Computational Linguistics · doi:10.3115/991146.991207 · Cited by 20
A novel term compression scheme and data representation in the BinWAM
Tarau, P., & Neumerkel, U. (1994) · Lecture notes in computer science · doi:10.1007/3-540-58402-1_7 · Cited by 20
Compilation of compound terms in Prolog
Meier, M. (1990) · Conference on Logic Programming · Cited by 19
Concepts, Design, and Performance Analysis of a Parallel Prolog Machine
Beer, J. (1989) · Lecture notes in computer science · doi:10.1007/3-540-52053-8 · Cited by 19
Unification factoring for efficient execution of logic programs
Dawson, S., Ramakrishnan, C. R., Ramakrishnan, I. V., Sagonas, K., Skiena, S., Swift, T. M., & Warren, D. S. (1995) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/199448.199509 · Cited by 16
Understanding Memory Management in Prolog Systems
Rojas, L. F. C., & Costa, V. S. (2001) · Lecture notes in computer science · doi:10.1007/3-540-45635-x_9 · Cited by 16
Self-citationEstablishing Identity Equivalence in Multi-Relational Domains
Davis, J. J., Dutra, I., Page, D., & Costa, V. S. (2005) · Lirias · Cited by 15
Self-citationThreads and or-parallelism unified
COSTA, V. S., Dutra, I., & ROCHA, R. (2010) · Theory and Practice of Logic Programming · doi:10.1017/s1471068410000190 · Cited by 15
Self-citationMałuszyński, J., & Wirsing, M. (1991) · International Symposium on Programming Language Implementation and Logic Programming · Cited by 15
A matching tree oriented abstract machine for Prolog
Zhou, N., Takagi, T., & Ushijima, K. (1990) · Cited by 15
Comparing tag scheme variations using an abstract machine generator
Morales, J. F., Carro, M., & Hermenegildo, M. V. (2008) · International Symposium on Principles and Practice of Declarative Programming (PPDP) · doi:10.1145/1389449.1389455 · Cited by 14
Schrijvers, T. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-89982-2_3 · Cited by 14
On the management of choicepoint and environment frames in the WAM
Mariën, A., & Demoen, B. (1989) · Lirias · Cited by 14
A Prolog Interpreter Working with Infinite Terms.
Filgueiras, M. (1984) · Cited by 14
Design, Implementation, and Evaluation of a Dynamic Compilation Framework for the YAP System
da Silva, A. F., & Costa, V. S. (2007) · Springer eBooks · doi:10.1007/978-3-540-74610-2_28 · Cited by 13
Self-citationKrall, A. (1996) · The Journal of Logic Programming · doi:10.1016/s0743-1066(96)00064-7 · Cited by 13
Antoy, S., & Albert, E. (2008) · Cited by 12
Improving the compilation of PROLOG in the framework of the Warren abstract machine
Mariën, A., & Louvain, K. U. (1993) · Lirias · Cited by 12
Proceedings of the 14th conference on Computational linguistics -
(1992) · doi:10.3115/992383 · Cited by 12
The Life of a Logic Programming System
Costa, V. S. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-89982-2_1 · Cited by 11
Self-citationA new scheme for unification in WAM
Mariën, A., & Demoen, B. (1991) · Lirias · Cited by 11
Aggoun, A., Chan, D., (ecrc, A. A., (ecrc, D. C., (ecrc, P. D., (icl-itc, E. F., (ecrc, A. H., (ecrc, G. M., Meier, M., (icl-itc, D. M., et al. (n.d.) · Cited by 11
A Register-Free Abstract Prolog Machine with Jumbo Instructions
Zhou, N. (2007) · Springer eBooks · doi:10.1007/978-3-540-74610-2_43 · Cited by 10
Vandecasteele, H., Demoen, B., & Janssens, G. (2000) · Lirias · Cited by 9
On Improving the Efficiency and Robustness of Table Storage Mechanisms for Tabled Evaluation
Rocha, R. (2006) · Lecture notes in computer science · doi:10.1007/978-3-540-69611-7_10 · Cited by 9
Self-citationProlog Performance on Larger Datasets
Costa, V. S. (2006) · Lecture notes in computer science · doi:10.1007/978-3-540-69611-7_12 · Cited by 7
Self-citationImproving the efficiency of inductive logic programming systems
Fonseca, N. A., Costa, V. S., Rocha, R., Camacho, R. C., & Silva, F. (2008) · Software Practice and Experience · doi:10.1002/spe.896 · Cited by 7
Self-citationOn Just in Time Indexing of Dynamic Predicates in Prolog
Costa, V. S. (2009) · Lecture notes in computer science · doi:10.1007/978-3-642-04686-5_11 · Cited by 7
Self-citationVaz, D., Costa, V. S., & Ferreira, M. (2009) · Lecture notes in computer science · doi:10.1007/978-3-642-02846-5_31 · Cited by 6
Self-citationHandling Incomplete and Complete Tables in Tabled Logic Programs
Rocha, R. (2006) · Lecture notes in computer science · doi:10.1007/11799573_34 · Cited by 6
Self-citationAchieving scalability in parallel tabled logic programs
Rocha, R., Silva, F., & Costa, V. S. (2002) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps.2002.1015488 · Cited by 6
Self-citationGarbage Collection for Prolog based on Twin Cells
Schimpf, J. (n.d.) · Cited by 5
Fast Frequent Querying with Lazy Control Flow Compilation
Tronçon, R., Janssens, G., Demoen, B., & Vandecasteele, H. (2007) · Theory and Practice of Logic Programming · doi:10.1017/s1471068406002894 · Cited by 4
Demoen, B., Mariën, A., & Callebaut, A. (1989) · Conference on Logic Programming · Cited by 4
Desirable Features of Rule Based Systems for Medical Knowledge.
Devitt, S., Roo, J. D., & Chen, H. W. (2005) · Cited by 3
Incremental copying garbage collection for WAM-based Prolog systems
Vandeginste, R., & Demoen, B. (2007) · Theory and Practice of Logic Programming · doi:10.1017/s147106840600278x · Cited by 2
Cited by
KnowRob: A knowledge processing infrastructure for cognition-enabled robots
Tenorth, M., & Beetz, M. (2013) · The International Journal of Robotics Research · doi:10.1177/0278364913481635 · Cited by 388
Logic-based technologies for multi-agent systems: a systematic literature review
Calegari, R., Ciatto, G., Mascardi, V., & Omicini, A. (2021) · Autonomous Agents and Multi-Agent Systems · doi:10.1007/s10458-020-09478-3 · Cited by 117
“General purpose 4QL [243], CCALC [163], CDF-Rules [164], Clingo [292], DR-Prolog [37], Inter4QL [199], InterProlog [62], Jess [177], JPF [170], KQML [143], Maude [86], MOCHA [7], OWL & SWRL [191], Pellet [321], PRISM [219], Progol [261], Protege [162], SICStus [63], Smodels [331], sparql [210], SPIN & Promela [188], S…”
BackgroundCoinductive Logic Programming and Its Applications
Gupta, G., Bansal, A., Min, R., Simon, L., & Mallya, A. (2007) · Springer eBooks · doi:10.1007/978-3-540-74610-2_4 · Cited by 97
Inductive Logic Programming At 30: A New Introduction
Cropper, A., & Dumančić, S. (2022) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.13507 · Cited by 186
Structure learning of probabilistic logic programs by searching the clause space
Bellodi, E., & Riguzzi, F. (2014) · Theory and Practice of Logic Programming · doi:10.1017/s1471068413000689 · Cited by 76
Metadata
- Authors
- COSTA, V. S., ROCHA, R., & DAMAS, L.
- Venue
- Theory and Practice of Logic Programming
- Publisher
- Cambridge University Press (CUP)
- Published
- 2011-10-18
- Volume
- 12
- Issue
- 1-2
- Pages
- 5-34
- ISSN
- 1471-0684 (ISSN-L)
- 1475-3081
- OpenAlex
- W1984187667
- Cited by
- 123
- References
- 91
- FWCI
- 14.49
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.