CINXE.COM

Prolog - Wikipedia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Prolog - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"6e415046-42b1-46d4-9a50-29751cf59bc6","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Prolog","wgTitle":"Prolog","wgCurRevisionId":1258463030,"wgRevisionId":1258463030,"wgArticleId":23485,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["All articles with dead external links","Articles with dead external links from February 2023","Articles with permanently dead external links","Articles with dead external links from November 2023","Webarchive template wayback links","CS1: long volume value","Articles with short description","Short description matches Wikidata","Wikipedia articles needing clarification from October 2012","All articles with unsourced statements","Articles with unsourced statements from November 2010", "Articles containing potentially dated statements from 2008","All articles containing potentially dated statements","Articles containing French-language text","Articles with unsourced statements from November 2022","All articles with specifically marked weasel-worded phrases","Articles with specifically marked weasel-worded phrases from February 2010","Articles with dead external links from August 2019","Articles with dead external links from September 2019","Dynamically typed programming languages","Logic programming languages","Pattern matching programming languages","Programming languages created in 1972","Programming languages with an ISO standard","Prolog programming language family","Homoiconic programming languages","French inventions"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Prolog","wgRelevantArticleId":23485,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[], "wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":70000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q163468","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false, "wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap", "ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Prolog - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Prolog"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Prolog&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Prolog"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Prolog rootpage-Prolog skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Prolog" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Prolog" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Prolog" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Prolog" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Syntax_and_semantics" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Syntax_and_semantics"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Syntax and semantics</span> </div> </a> <button aria-controls="toc-Syntax_and_semantics-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Syntax and semantics subsection</span> </button> <ul id="toc-Syntax_and_semantics-sublist" class="vector-toc-list"> <li id="toc-Data_types" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Data_types"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Data types</span> </div> </a> <ul id="toc-Data_types-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Rules_and_facts" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Rules_and_facts"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Rules and facts</span> </div> </a> <ul id="toc-Rules_and_facts-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Predicates_and_programs" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Predicates_and_programs"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>Predicates and programs</span> </div> </a> <ul id="toc-Predicates_and_programs-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Loops_and_recursion" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Loops_and_recursion"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>Loops and recursion</span> </div> </a> <ul id="toc-Loops_and_recursion-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Execution" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Execution"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5</span> <span>Execution</span> </div> </a> <ul id="toc-Execution-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Negation" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Negation"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.6</span> <span>Negation</span> </div> </a> <ul id="toc-Negation-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Programming_in_Prolog" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Programming_in_Prolog"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Programming in Prolog</span> </div> </a> <button aria-controls="toc-Programming_in_Prolog-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Programming in Prolog subsection</span> </button> <ul id="toc-Programming_in_Prolog-sublist" class="vector-toc-list"> <li id="toc-Hello_World" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Hello_World"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Hello World</span> </div> </a> <ul id="toc-Hello_World-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Compiler_optimization" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Compiler_optimization"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>Compiler optimization</span> </div> </a> <ul id="toc-Compiler_optimization-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Quicksort" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Quicksort"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>Quicksort</span> </div> </a> <ul id="toc-Quicksort-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Design_patterns_of_Prolog" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Design_patterns_of_Prolog"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Design patterns of Prolog</span> </div> </a> <ul id="toc-Design_patterns_of_Prolog-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Higher-order_programming" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Higher-order_programming"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Higher-order programming</span> </div> </a> <ul id="toc-Higher-order_programming-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Modules" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Modules"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Modules</span> </div> </a> <ul id="toc-Modules-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Parsing" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Parsing"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Parsing</span> </div> </a> <ul id="toc-Parsing-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Meta-interpreters_and_reflection" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Meta-interpreters_and_reflection"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Meta-interpreters and reflection</span> </div> </a> <ul id="toc-Meta-interpreters_and_reflection-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Turing_completeness" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Turing_completeness"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Turing completeness</span> </div> </a> <ul id="toc-Turing_completeness-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Implementation" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Implementation"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Implementation</span> </div> </a> <button aria-controls="toc-Implementation-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Implementation subsection</span> </button> <ul id="toc-Implementation-sublist" class="vector-toc-list"> <li id="toc-ISO_Prolog" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ISO_Prolog"> <div class="vector-toc-text"> <span class="vector-toc-numb">9.1</span> <span>ISO Prolog</span> </div> </a> <ul id="toc-ISO_Prolog-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Compilation" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Compilation"> <div class="vector-toc-text"> <span class="vector-toc-numb">9.2</span> <span>Compilation</span> </div> </a> <ul id="toc-Compilation-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Tail_recursion" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Tail_recursion"> <div class="vector-toc-text"> <span class="vector-toc-numb">9.3</span> <span>Tail recursion</span> </div> </a> <ul id="toc-Tail_recursion-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Term_indexing" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Term_indexing"> <div class="vector-toc-text"> <span class="vector-toc-numb">9.4</span> <span>Term indexing</span> </div> </a> <ul id="toc-Term_indexing-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Hashing" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Hashing"> <div class="vector-toc-text"> <span class="vector-toc-numb">9.5</span> <span>Hashing</span> </div> </a> <ul id="toc-Hashing-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Tabling" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Tabling"> <div class="vector-toc-text"> <span class="vector-toc-numb">9.6</span> <span>Tabling</span> </div> </a> <ul id="toc-Tabling-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Implementation_in_hardware" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Implementation_in_hardware"> <div class="vector-toc-text"> <span class="vector-toc-numb">9.7</span> <span>Implementation in hardware</span> </div> </a> <ul id="toc-Implementation_in_hardware-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Limits" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Limits"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Limits</span> </div> </a> <ul id="toc-Limits-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Extensions" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Extensions"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>Extensions</span> </div> </a> <button aria-controls="toc-Extensions-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Extensions subsection</span> </button> <ul id="toc-Extensions-sublist" class="vector-toc-list"> <li id="toc-Types" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Types"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.1</span> <span>Types</span> </div> </a> <ul id="toc-Types-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Modes" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Modes"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.2</span> <span>Modes</span> </div> </a> <ul id="toc-Modes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Constraints" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Constraints"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.3</span> <span>Constraints</span> </div> </a> <ul id="toc-Constraints-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Object-orientation" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Object-orientation"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.4</span> <span>Object-orientation</span> </div> </a> <ul id="toc-Object-orientation-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Graphics" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Graphics"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.5</span> <span>Graphics</span> </div> </a> <ul id="toc-Graphics-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Concurrency" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Concurrency"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.6</span> <span>Concurrency</span> </div> </a> <ul id="toc-Concurrency-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Web_programming" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Web_programming"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.7</span> <span>Web programming</span> </div> </a> <ul id="toc-Web_programming-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Adobe_Flash" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Adobe_Flash"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.8</span> <span>Adobe Flash</span> </div> </a> <ul id="toc-Adobe_Flash-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Other" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Other"> <div class="vector-toc-text"> <span class="vector-toc-numb">11.9</span> <span>Other</span> </div> </a> <ul id="toc-Other-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Interfaces_to_other_languages" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Interfaces_to_other_languages"> <div class="vector-toc-text"> <span class="vector-toc-numb">12</span> <span>Interfaces to other languages</span> </div> </a> <ul id="toc-Interfaces_to_other_languages-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-History" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#History"> <div class="vector-toc-text"> <span class="vector-toc-numb">13</span> <span>History</span> </div> </a> <ul id="toc-History-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Use_in_industry" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Use_in_industry"> <div class="vector-toc-text"> <span class="vector-toc-numb">14</span> <span>Use in industry</span> </div> </a> <ul id="toc-Use_in_industry-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">15</span> <span>See also</span> </div> </a> <button aria-controls="toc-See_also-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle See also subsection</span> </button> <ul id="toc-See_also-sublist" class="vector-toc-list"> <li id="toc-Related_languages" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Related_languages"> <div class="vector-toc-text"> <span class="vector-toc-numb">15.1</span> <span>Related languages</span> </div> </a> <ul id="toc-Related_languages-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Notes" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Notes"> <div class="vector-toc-text"> <span class="vector-toc-numb">16</span> <span>Notes</span> </div> </a> <ul id="toc-Notes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">17</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Further_reading" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Further_reading"> <div class="vector-toc-text"> <span class="vector-toc-numb">18</span> <span>Further reading</span> </div> </a> <ul id="toc-Further_reading-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Prolog</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 58 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-58" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">58 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%A8%D8%B1%D9%88%D9%84%D9%88%D8%BA" title="برولوغ – Arabic" lang="ar" hreflang="ar" data-title="برولوغ" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-an mw-list-item"><a href="https://an.wikipedia.org/wiki/Prolog" title="Prolog – Aragonese" lang="an" hreflang="an" data-title="Prolog" data-language-autonym="Aragonés" data-language-local-name="Aragonese" class="interlanguage-link-target"><span>Aragonés</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/Prolog" title="Prolog – Asturian" lang="ast" hreflang="ast" data-title="Prolog" data-language-autonym="Asturianu" data-language-local-name="Asturian" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/Proloq_dili" title="Proloq dili – Azerbaijani" lang="az" hreflang="az" data-title="Proloq dili" data-language-autonym="Azərbaycanca" data-language-local-name="Azerbaijani" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/%D0%9F%D1%80%D0%B0%D0%BB%D0%BE%D0%B3_(%D0%BC%D0%BE%D0%B2%D0%B0_%D0%BF%D1%80%D0%B0%D0%B3%D1%80%D0%B0%D0%BC%D0%B0%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F)" title="Пралог (мова праграмавання) – Belarusian" lang="be" hreflang="be" data-title="Пралог (мова праграмавання)" data-language-autonym="Беларуская" data-language-local-name="Belarusian" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D0%BB%D0%BE%D0%B3_(%D0%B5%D0%B7%D0%B8%D0%BA_%D0%B7%D0%B0_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%B8%D1%80%D0%B0%D0%BD%D0%B5)" title="Пролог (език за програмиране) – Bulgarian" lang="bg" hreflang="bg" data-title="Пролог (език за програмиране)" data-language-autonym="Български" data-language-local-name="Bulgarian" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Prolog" title="Prolog – Catalan" lang="ca" hreflang="ca" data-title="Prolog" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Prolog_(programovac%C3%AD_jazyk)" title="Prolog (programovací jazyk) – Czech" lang="cs" hreflang="cs" data-title="Prolog (programovací jazyk)" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Prolog_(programmeringssprog)" title="Prolog (programmeringssprog) – Danish" lang="da" hreflang="da" data-title="Prolog (programmeringssprog)" data-language-autonym="Dansk" data-language-local-name="Danish" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-pdc mw-list-item"><a href="https://pdc.wikipedia.org/wiki/Prolog" title="Prolog – Pennsylvania German" lang="pdc" hreflang="pdc" data-title="Prolog" data-language-autonym="Deitsch" data-language-local-name="Pennsylvania German" class="interlanguage-link-target"><span>Deitsch</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Prolog_(Programmiersprache)" title="Prolog (Programmiersprache) – German" lang="de" hreflang="de" data-title="Prolog (Programmiersprache)" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/Prolog" title="Prolog – Estonian" lang="et" hreflang="et" data-title="Prolog" data-language-autonym="Eesti" data-language-local-name="Estonian" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/Prolog" title="Prolog – Greek" lang="el" hreflang="el" data-title="Prolog" data-language-autonym="Ελληνικά" data-language-local-name="Greek" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Prolog" title="Prolog – Spanish" lang="es" hreflang="es" data-title="Prolog" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Prologo_(programlingvo)" title="Prologo (programlingvo) – Esperanto" lang="eo" hreflang="eo" data-title="Prologo (programlingvo)" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Prolog" title="Prolog – Basque" lang="eu" hreflang="eu" data-title="Prolog" data-language-autonym="Euskara" data-language-local-name="Basque" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D9%BE%D8%B1%D9%88%D9%84%D9%88%DA%AF" title="پرولوگ – Persian" lang="fa" hreflang="fa" data-title="پرولوگ" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Prolog" title="Prolog – French" lang="fr" hreflang="fr" data-title="Prolog" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/Prolog" title="Prolog – Irish" lang="ga" hreflang="ga" data-title="Prolog" data-language-autonym="Gaeilge" data-language-local-name="Irish" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Prolog" title="Prolog – Galician" lang="gl" hreflang="gl" data-title="Prolog" data-language-autonym="Galego" data-language-local-name="Galician" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-hak mw-list-item"><a href="https://hak.wikipedia.org/wiki/Prolog" title="Prolog – Hakka Chinese" lang="hak" hreflang="hak" data-title="Prolog" data-language-autonym="客家語 / Hak-kâ-ngî" data-language-local-name="Hakka Chinese" class="interlanguage-link-target"><span>客家語 / Hak-kâ-ngî</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%ED%94%84%EB%A1%A4%EB%A1%9C%EA%B7%B8_(%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D_%EC%96%B8%EC%96%B4)" title="프롤로그 (프로그래밍 언어) – Korean" lang="ko" hreflang="ko" data-title="프롤로그 (프로그래밍 언어)" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/Prolog" title="Prolog – Ido" lang="io" hreflang="io" data-title="Prolog" data-language-autonym="Ido" data-language-local-name="Ido" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Prolog" title="Prolog – Indonesian" lang="id" hreflang="id" data-title="Prolog" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Prolog" title="Prolog – Icelandic" lang="is" hreflang="is" data-title="Prolog" data-language-autonym="Íslenska" data-language-local-name="Icelandic" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Prolog" title="Prolog – Italian" lang="it" hreflang="it" data-title="Prolog" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A4%D7%A8%D7%95%D7%9C%D7%95%D7%92_(%D7%A9%D7%A4%D7%AA_%D7%AA%D7%9B%D7%A0%D7%95%D7%AA)" title="פרולוג (שפת תכנות) – Hebrew" lang="he" hreflang="he" data-title="פרולוג (שפת תכנות)" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-lv mw-list-item"><a href="https://lv.wikipedia.org/wiki/Prolog" title="Prolog – Latvian" lang="lv" hreflang="lv" data-title="Prolog" data-language-autonym="Latviešu" data-language-local-name="Latvian" class="interlanguage-link-target"><span>Latviešu</span></a></li><li class="interlanguage-link interwiki-jbo mw-list-item"><a href="https://jbo.wikipedia.org/wiki/prolog" title="prolog – Lojban" lang="jbo" hreflang="jbo" data-title="prolog" data-language-autonym="La .lojban." data-language-local-name="Lojban" class="interlanguage-link-target"><span>La .lojban.</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Prolog" title="Prolog – Hungarian" lang="hu" hreflang="hu" data-title="Prolog" data-language-autonym="Magyar" data-language-local-name="Hungarian" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D0%BB%D0%BE%D0%B3_(%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D1%81%D0%BA%D0%B8_%D1%98%D0%B0%D0%B7%D0%B8%D0%BA)" title="Пролог (програмски јазик) – Macedonian" lang="mk" hreflang="mk" data-title="Пролог (програмски јазик)" data-language-autonym="Македонски" data-language-local-name="Macedonian" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Prolog" title="Prolog – Malay" lang="ms" hreflang="ms" data-title="Prolog" data-language-autonym="Bahasa Melayu" data-language-local-name="Malay" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-nl badge-Q17437796 badge-featuredarticle mw-list-item" title="featured article badge"><a href="https://nl.wikipedia.org/wiki/Prolog" title="Prolog – Dutch" lang="nl" hreflang="nl" data-title="Prolog" data-language-autonym="Nederlands" data-language-local-name="Dutch" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Prolog" title="Prolog – Japanese" lang="ja" hreflang="ja" data-title="Prolog" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Prolog_(programmeringsspr%C3%A5k)" title="Prolog (programmeringsspråk) – Norwegian Bokmål" lang="nb" hreflang="nb" data-title="Prolog (programmeringsspråk)" data-language-autonym="Norsk bokmål" data-language-local-name="Norwegian Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/Programmeringsspr%C3%A5ket_Prolog" title="Programmeringsspråket Prolog – Norwegian Nynorsk" lang="nn" hreflang="nn" data-title="Programmeringsspråket Prolog" data-language-autonym="Norsk nynorsk" data-language-local-name="Norwegian Nynorsk" class="interlanguage-link-target"><span>Norsk nynorsk</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/Prolog" title="Prolog – Uzbek" lang="uz" hreflang="uz" data-title="Prolog" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="Uzbek" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Prolog_(j%C4%99zyk_programowania)" title="Prolog (język programowania) – Polish" lang="pl" hreflang="pl" data-title="Prolog (język programowania)" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Prolog" title="Prolog – Portuguese" lang="pt" hreflang="pt" data-title="Prolog" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/Prolog_(limbaj_de_programare)" title="Prolog (limbaj de programare) – Romanian" lang="ro" hreflang="ro" data-title="Prolog (limbaj de programare)" data-language-autonym="Română" data-language-local-name="Romanian" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-rue mw-list-item"><a href="https://rue.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D0%BB%D0%BE%D2%91_(%D1%8F%D0%B7%D1%8B%D0%BA_%D0%BF%D1%80%D0%BE%D2%91%D1%80%D0%B0%D0%BC%D0%BE%D0%B2%D0%B0%D0%BD%D1%8F)" title="Пролоґ (язык проґрамованя) – Rusyn" lang="rue" hreflang="rue" data-title="Пролоґ (язык проґрамованя)" data-language-autonym="Русиньскый" data-language-local-name="Rusyn" class="interlanguage-link-target"><span>Русиньскый</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D0%BB%D0%BE%D0%B3_(%D1%8F%D0%B7%D1%8B%D0%BA_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F)" title="Пролог (язык программирования) – Russian" lang="ru" hreflang="ru" data-title="Пролог (язык программирования)" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Prolog" title="Prolog – Simple English" lang="en-simple" hreflang="en-simple" data-title="Prolog" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/Prolog" title="Prolog – Slovak" lang="sk" hreflang="sk" data-title="Prolog" data-language-autonym="Slovenčina" data-language-local-name="Slovak" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Prolog_(programski_jezik)" title="Prolog (programski jezik) – Slovenian" lang="sl" hreflang="sl" data-title="Prolog (programski jezik)" data-language-autonym="Slovenščina" data-language-local-name="Slovenian" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/Prolog_(programski_jezik)" title="Prolog (programski jezik) – Serbian" lang="sr" hreflang="sr" data-title="Prolog (programski jezik)" data-language-autonym="Српски / srpski" data-language-local-name="Serbian" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Prolog" title="Prolog – Finnish" lang="fi" hreflang="fi" data-title="Prolog" data-language-autonym="Suomi" data-language-local-name="Finnish" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Prolog_(programspr%C3%A5k)" title="Prolog (programspråk) – Swedish" lang="sv" hreflang="sv" data-title="Prolog (programspråk)" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%AA%E0%AF%81%E0%AE%B0%E0%AF%8A%E0%AE%B2%E0%AE%BE%E0%AE%95%E0%AF%8D" title="புரொலாக் – Tamil" lang="ta" hreflang="ta" data-title="புரொலாக்" data-language-autonym="தமிழ்" data-language-local-name="Tamil" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B9%82%E0%B8%9B%E0%B8%A3%E0%B8%A5%E0%B9%87%E0%B8%AD%E0%B8%81" title="ภาษาโปรล็อก – Thai" lang="th" hreflang="th" data-title="ภาษาโปรล็อก" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D0%BB%D0%BE%D0%B3_(%D0%B7%D0%B0%D0%B1%D0%BE%D0%BD%D0%B8_%D0%B1%D0%B0%D1%80%D0%BD%D0%BE%D0%BC%D0%B0%D0%BD%D0%B0%D0%B2%D0%B8%D1%81%D3%A3)" title="Пролог (забони барноманависӣ) – Tajik" lang="tg" hreflang="tg" data-title="Пролог (забони барноманависӣ)" data-language-autonym="Тоҷикӣ" data-language-local-name="Tajik" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Prolog" title="Prolog – Turkish" lang="tr" hreflang="tr" data-title="Prolog" data-language-autonym="Türkçe" data-language-local-name="Turkish" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D0%BB%D0%BE%D0%B3_(%D0%BC%D0%BE%D0%B2%D0%B0_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F)" title="Пролог (мова програмування) – Ukrainian" lang="uk" hreflang="uk" data-title="Пролог (мова програмування)" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Prolog" title="Prolog – Vietnamese" lang="vi" hreflang="vi" data-title="Prolog" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamese" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-yo mw-list-item"><a href="https://yo.wikipedia.org/wiki/Prolog" title="Prolog – Yoruba" lang="yo" hreflang="yo" data-title="Prolog" data-language-autonym="Yorùbá" data-language-local-name="Yoruba" class="interlanguage-link-target"><span>Yorùbá</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Prolog" title="Prolog – Cantonese" lang="yue" hreflang="yue" data-title="Prolog" data-language-autonym="粵語" data-language-local-name="Cantonese" class="interlanguage-link-target"><span>粵語</span></a></li><li class="interlanguage-link interwiki-bat-smg mw-list-item"><a href="https://bat-smg.wikipedia.org/wiki/Prolog" title="Prolog – Samogitian" lang="sgs" hreflang="sgs" data-title="Prolog" data-language-autonym="Žemaitėška" data-language-local-name="Samogitian" class="interlanguage-link-target"><span>Žemaitėška</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Prolog" title="Prolog – Chinese" lang="zh" hreflang="zh" data-title="Prolog" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q163468#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Prolog" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Prolog" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Prolog"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Prolog&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Prolog&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Prolog"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Prolog&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Prolog&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Prolog" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Prolog" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Prolog&amp;oldid=1258463030" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Prolog&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&amp;page=Prolog&amp;id=1258463030&amp;wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FProlog"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FProlog"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Prolog&amp;action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Prolog&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Prolog_programming_language" hreflang="en"><span>Wikimedia Commons</span></a></li><li class="wb-otherproject-link wb-otherproject-wikibooks mw-list-item"><a href="https://en.wikibooks.org/wiki/Prolog" hreflang="en"><span>Wikibooks</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q163468" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Programming language that uses first order logic</div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">This article is about the programming language. For the narrative device, see <a href="/wiki/Prologue" title="Prologue">Prologue</a>. For other uses, see <a href="/wiki/Prologue_(disambiguation)" class="mw-disambig" title="Prologue (disambiguation)">Prologue (disambiguation)</a>.</div> <style data-mw-deduplicate="TemplateStyles:r1129693374">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}</style><style data-mw-deduplicate="TemplateStyles:r1257001546">.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme) div:not(.notheme){background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table tr{display:table-row!important}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}</style><table class="infobox vevent"><caption class="infobox-title summary">Prolog</caption><tbody><tr><th scope="row" class="infobox-label"><a href="/wiki/Programming_paradigm" title="Programming paradigm">Paradigm</a></th><td class="infobox-data"><a href="/wiki/Logic_programming" title="Logic programming">Logic</a></td></tr><tr><th scope="row" class="infobox-label"><a href="/wiki/Software_design" title="Software design">Designed&#160;by</a></th><td class="infobox-data"><a href="/wiki/Alain_Colmerauer" title="Alain Colmerauer">Alain Colmerauer</a></td></tr><tr><th scope="row" class="infobox-label">First&#160;appeared</th><td class="infobox-data">1972<span class="noprint">&#59;&#32;52&#160;years ago</span><span style="display:none">&#160;(<span class="bday dtstart published updated">1972</span>)</span></td></tr><tr><td colspan="2" class="infobox-full-data"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1257001546"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/Software_release_life_cycle" title="Software release life cycle">Stable release</a></th><td class="infobox-data"><div style="margin:0px;">Part 1: General core-Edition 1 (June&#160;1995<span class="noprint">&#59;&#32;29&#160;years ago</span><span style="display:none">&#160;(<span class="bday dtstart published updated">1995-06</span>)</span>)<br />Part 2: Modules-Edition 1 (June&#160;2000<span class="noprint">&#59;&#32;24&#160;years ago</span><span style="display:none">&#160;(<span class="bday dtstart published updated">2000-06</span>)</span>) </div></td></tr><tr style="display:none"><td colspan="2"> </td></tr><tr><th scope="row" class="infobox-label"><a href="/wiki/Type_system" title="Type system">Typing discipline</a></th><td class="infobox-data">Untyped (its single data type is "term")</td></tr><tr><th scope="row" class="infobox-label"><a href="/wiki/Filename_extension" title="Filename extension">Filename extensions</a></th><td class="infobox-data"><code>.pl</code>, <code>.pro</code>, <code>.P</code></td></tr><tr><th scope="row" class="infobox-label">Website</th><td class="infobox-data">Part 1: <span class="url"><a rel="nofollow" class="external text" href="https://www.iso.org/standard/21413.html">www<wbr />.iso<wbr />.org<wbr />/standard<wbr />/21413<wbr />.html</a></span><br /> Part 2: <span class="url"><a rel="nofollow" class="external text" href="https://www.iso.org/standard/20775.html">www<wbr />.iso<wbr />.org<wbr />/standard<wbr />/20775<wbr />.html</a></span></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #eee;">Major <a href="/wiki/Programming_language_implementation" title="Programming language implementation">implementations</a></th></tr><tr><td colspan="2" class="infobox-full-data"><a rel="nofollow" class="external text" href="http://www.amzi.com/#apls">Amzi! Prolog</a>, <a href="/wiki/B-Prolog" title="B-Prolog">B-Prolog</a>, <a href="/wiki/Ciao_(programming_language)" title="Ciao (programming language)">Ciao</a>, <a href="/wiki/ECLiPSe" title="ECLiPSe">ECLiPSe</a>, <a href="/wiki/GNU_Prolog" title="GNU Prolog">GNU Prolog</a>, <a href="/wiki/Logic_Programming_Associates" title="Logic Programming Associates">LPA Prolog</a>, <a href="/wiki/Poplog" title="Poplog">Poplog</a>, <a rel="nofollow" class="external text" href="https://homepages.inf.ed.ac.uk/stg/research/Psharp/">P#</a>, <a href="/wiki/Quintus_Prolog" title="Quintus Prolog">Quintus Prolog</a>, <a rel="nofollow" class="external text" href="https://www.scryer.pl/">Scryer Prolog</a>, <a rel="nofollow" class="external text" href="https://sicstus.sics.se/">SICStus</a>, <a rel="nofollow" class="external text" href="https://dobrev.com/">Strawberry</a>, <a href="/wiki/SWI-Prolog" title="SWI-Prolog">SWI-Prolog</a>, <a rel="nofollow" class="external text" href="http://tau-prolog.org/">Tau Prolog</a>, <a rel="nofollow" class="external text" href="http://tuprolog.unibo.it/">tuProlog</a>, <a rel="nofollow" class="external text" href="https://www.lpa.co.uk/win.htm">WIN-PROLOG</a> <a href="/wiki/XSB" title="XSB">XSB</a>, <a href="/wiki/YAP_(Prolog)" title="YAP (Prolog)">YAP</a>.</td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #eee;"><a href="/wiki/Programming_language#Dialects,_flavors_and_implementations" title="Programming language">Dialects</a></th></tr><tr><td colspan="2" class="infobox-full-data"><a href="#ISO_Prolog">ISO Prolog</a>, Edinburgh Prolog</td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #eee;">Influenced by</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="/wiki/Planner_(programming_language)" title="Planner (programming language)">Planner</a></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #eee;">Influenced</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="/wiki/Constraint_Handling_Rules" title="Constraint Handling Rules">CHR</a>, <a href="/wiki/Clojure" title="Clojure">Clojure</a>, <a href="/wiki/Datalog" title="Datalog">Datalog</a>, <a href="/wiki/Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a>, <a rel="nofollow" class="external text" href="http://epilog.stanford.edu/">Epilog</a>, <a href="/wiki/KL0" title="KL0">KL0</a>, <a href="/wiki/KL1" title="KL1">KL1</a>, <a href="/wiki/Logtalk" title="Logtalk">Logtalk</a>, <a href="/wiki/Mercury_(programming_language)" title="Mercury (programming language)">Mercury</a>, <a href="/wiki/Oz_(programming_language)" title="Oz (programming language)">Oz</a>, <a href="/wiki/Strand_(programming_language)" title="Strand (programming language)">Strand</a>, <a href="/wiki/Visual_Prolog" title="Visual Prolog">Visual Prolog</a></td></tr><tr><td colspan="2" class="infobox-below hlist" style="border-top: 1px solid #aaa; padding-top: 3px;"> <ul><li><span class="noviewer" typeof="mw:File"><a href="/wiki/File:Wikibooks-logo-en-noslogan.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/16px-Wikibooks-logo-en-noslogan.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/24px-Wikibooks-logo-en-noslogan.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/32px-Wikibooks-logo-en-noslogan.svg.png 2x" data-file-width="400" data-file-height="400" /></a></span> <a href="https://en.wikibooks.org/wiki/Prolog" class="extiw" title="wikibooks:Prolog">Prolog</a> at Wikibooks</li></ul> </td></tr></tbody></table> <p><b>Prolog</b> is a <a href="/wiki/Logic_programming" title="Logic programming">logic programming</a> language that has its origins in <a href="/wiki/Artificial_intelligence" title="Artificial intelligence">artificial intelligence</a>, <a href="/wiki/Automated_theorem_proving" title="Automated theorem proving">automated theorem proving</a> and <a href="/wiki/Computational_linguistics" title="Computational linguistics">computational linguistics</a>.<sup id="cite_ref-Clocksin2003_1-0" class="reference"><a href="#cite_note-Clocksin2003-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-Bratko2012_2-0" class="reference"><a href="#cite_note-Bratko2012-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-Covington1994_3-0" class="reference"><a href="#cite_note-Covington1994-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup> </p><p>Prolog has its roots in <a href="/wiki/First-order_logic" title="First-order logic">first-order logic</a>, a <a href="/wiki/Formal_logic" class="mw-redirect" title="Formal logic">formal logic</a>, and unlike many other <a href="/wiki/Programming_language" title="Programming language">programming languages</a>, Prolog is intended primarily as a <a href="/wiki/Declarative_programming" title="Declarative programming">declarative programming</a> language: the program is a set of facts and <a href="/wiki/Horn_clause" title="Horn clause">rules</a>, which define <a href="/wiki/Finitary_relation" title="Finitary relation">relations</a>. A <a href="/wiki/Computation" title="Computation">computation</a> is initiated by running a <i>query</i> over the program.<sup id="cite_ref-lloyd84_4-0" class="reference"><a href="#cite_note-lloyd84-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup> </p><p>Prolog was one of the first logic programming languages<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">&#91;</span>5<span class="cite-bracket">&#93;</span></a></sup> and remains the most popular such language today, with several free and commercial implementations available. The language has been used for <a href="/wiki/Automated_theorem_proving" title="Automated theorem proving">theorem proving</a>,<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">&#91;</span>6<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Expert_system" title="Expert system">expert systems</a>,<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">&#91;</span>7<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Term_rewriting" class="mw-redirect" title="Term rewriting">term rewriting</a>,<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">&#91;</span>8<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Type_system" title="Type system">type systems</a>,<sup id="cite_ref-Lee2015_9-0" class="reference"><a href="#cite_note-Lee2015-9"><span class="cite-bracket">&#91;</span>9<span class="cite-bracket">&#93;</span></a></sup> and <a href="/wiki/Automated_planning" class="mw-redirect" title="Automated planning">automated planning</a>,<sup id="cite_ref-Schmid2003_10-0" class="reference"><a href="#cite_note-Schmid2003-10"><span class="cite-bracket">&#91;</span>10<span class="cite-bracket">&#93;</span></a></sup> as well as its original intended field of use, <a href="/wiki/Natural_language_processing" title="Natural language processing">natural language processing</a>.<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">&#91;</span>11<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-lally_12-0" class="reference"><a href="#cite_note-lally-12"><span class="cite-bracket">&#91;</span>12<span class="cite-bracket">&#93;</span></a></sup> </p><p>Prolog is a Turing-complete, general-purpose programming language, which is well-suited for intelligent knowledge-processing applications. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Syntax_and_semantics">Syntax and semantics</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=1" title="Edit section: Syntax and semantics"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="/wiki/Prolog_syntax_and_semantics" title="Prolog syntax and semantics">Prolog syntax and semantics</a></div> <p>In Prolog, program logic is expressed in terms of relations, and a computation is initiated by running a <i>query</i> over these relations. Relations and queries are constructed using Prolog's single data type, the <i>term</i>.<sup id="cite_ref-lloyd84_4-1" class="reference"><a href="#cite_note-lloyd84-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup> Relations are defined by <i>clauses</i>. Given a query, the Prolog engine attempts to find a <a href="/wiki/Resolution_(logic)" title="Resolution (logic)">resolution</a> <a href="/wiki/Refutation" class="mw-redirect" title="Refutation">refutation</a> of the negated query. If the negated query can be refuted, i.e., an instantiation for all free variables is found that makes the union of clauses and the singleton set consisting of the negated query false, it follows that the original query, with the found instantiation applied, is a <a href="/wiki/Logical_consequence" title="Logical consequence">logical consequence</a> of the program. This makes Prolog (and other logic programming languages) particularly useful for database, <a href="/wiki/Symbolic_mathematics" class="mw-redirect" title="Symbolic mathematics">symbolic mathematics</a>, and language parsing applications. Because Prolog allows impure <a href="/wiki/Predicate_(mathematical_logic)" title="Predicate (mathematical logic)">predicates</a>, checking the <a href="/wiki/Truth_value" title="Truth value">truth value</a> of certain special predicates may have some deliberate <a href="/wiki/Side_effect_(computer_science)" title="Side effect (computer science)">side effect</a>, such as printing a value to the screen. Because of this, the programmer is permitted to use some amount of conventional <a href="/wiki/Imperative_programming" title="Imperative programming">imperative programming</a> when the logical paradigm is inconvenient. It has a purely logical subset, called "pure Prolog", as well as a number of extralogical features. </p> <div class="mw-heading mw-heading3"><h3 id="Data_types">Data types</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=2" title="Edit section: Data types"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog's single <a href="/wiki/Data_type" title="Data type">data type</a> is the <i>term</i>. Terms are either <i><a href="/wiki/Symbol_(programming)#Prolog" title="Symbol (programming)">atoms</a></i>, <i>numbers</i>, <i>variables</i> or <i>compound terms</i>.<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">&#91;</span>note 1<span class="cite-bracket">&#93;</span></a></sup> </p> <ul><li>An <b>atom</b> is a symbol name starting with a lower case letter or guarded by quotes. Examples of atoms include <code>x</code>, <code>red</code>, <code>'Taco'</code>, <code>'some atom'</code>, and <code>'p(a)'</code>.</li> <li><b>Numbers</b> can be <a href="/wiki/Floating-point_arithmetic" title="Floating-point arithmetic">floats</a> or <a href="/wiki/Integer" title="Integer">integers</a>. Most of the major Prolog systems support arbitrary length integer numbers.</li> <li><b>Variables</b> are denoted by a string consisting of letters, numbers and underscore characters, and beginning with an upper-case letter or underscore. Variables closely resemble variables in logic in that they are placeholders for arbitrary terms.</li> <li>A <b>compound term</b> is composed of an atom called a "functor" and a number of "arguments", which are again terms. Compound terms are ordinarily written as a functor followed by a comma-separated list of argument terms, which is contained in parentheses. The number of arguments is called the term's <a href="/wiki/Arity" title="Arity">arity</a>. An atom can be regarded as a compound term with <a href="/wiki/Arity" title="Arity">arity</a> zero. An example of a compound term is <code>person_friends(zelda,[tom,jim])</code>.</li></ul> <p>Special cases of compound terms: </p> <ul><li>A <i>List</i> is an ordered collection of terms. It is denoted by square brackets with the terms separated by commas, or in the case of the empty list, by <code>[]</code>. For example, <code>[1,2,3,4]</code> or <code>[red,green,blue]</code>.</li> <li><i>Strings</i>: A sequence of characters surrounded by quotes is equivalent to either a list of (numeric) character codes, a list of characters (atoms of length 1), or an atom depending on the value of the Prolog flag <code>double_quotes</code>. For example, <code>"to be, or not to be"</code>.<sup id="cite_ref-ISO_13211-1_6.3.7_14-0" class="reference"><a href="#cite_note-ISO_13211-1_6.3.7-14"><span class="cite-bracket">&#91;</span>13<span class="cite-bracket">&#93;</span></a></sup></li></ul> <div class="mw-heading mw-heading3"><h3 id="Rules_and_facts">Rules and facts</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=3" title="Edit section: Rules and facts"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog programs describe relations, defined by means of clauses. Pure Prolog is restricted to <a href="/wiki/Horn_clause" title="Horn clause">Horn clauses</a>. Two types of Horn clauses are used to define Prolog programs: rules and facts. A rule is of the form </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">Head</span> <span class="p">:-</span> <span class="nv">Body</span><span class="p">.</span> </pre></div> <p>and is read as "Head is true if Body is true". A rule's body consists of calls to predicates, which are called the rule's <b>goals</b>. The built-in <a href="/wiki/Logical_operator" class="mw-redirect" title="Logical operator">logical operator</a> <code>,/2</code> (meaning an arity 2 <a href="/wiki/Operator_(programming)" class="mw-redirect" title="Operator (programming)">operator</a> with name <code>,</code>) denotes <a href="/wiki/Logical_conjunction" title="Logical conjunction">conjunction</a> of goals, and <code>;/2</code> denotes <a href="/wiki/Logical_disjunction" title="Logical disjunction">disjunction</a>. Conjunctions and disjunctions can only appear in the body, not in the head of a rule. </p><p>Clauses with empty bodies are called <b>facts</b>. An example of a fact is: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">human</span><span class="p">(</span><span class="s s-Atom">socrates</span><span class="p">).</span> </pre></div> <p>which is equivalent to the rule: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">human</span><span class="p">(</span><span class="s s-Atom">socrates</span><span class="p">)</span> <span class="p">:-</span> <span class="s s-Atom">true</span><span class="p">.</span> </pre></div> <p>The built-in predicate <code>true/0</code> is always true. </p><p>Given the above fact, one can ask: </p><p><i>is socrates a human?</i> </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span> <span class="s s-Atom">?-</span> <span class="nf">human</span><span class="p">(</span><span class="s s-Atom">socrates</span><span class="p">).</span> <span class="nv">Yes</span> </pre></div> <p><i>what things are humans?</i> </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span> <span class="s s-Atom">?-</span> <span class="nf">human</span><span class="p">(</span><span class="nv">X</span><span class="p">).</span> <span class="nv">X</span> <span class="o">=</span> <span class="s s-Atom">socrates</span> </pre></div> <p>Clauses with bodies are called <b>rules</b>. An example of a rule is: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">mortal</span><span class="p">(</span><span class="nv">X</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">human</span><span class="p">(</span><span class="nv">X</span><span class="p">).</span> </pre></div> <p>If we add that rule and ask <i>what things are mortals?</i> </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span> <span class="s s-Atom">?-</span> <span class="nf">mortal</span><span class="p">(</span><span class="nv">X</span><span class="p">).</span> <span class="nv">X</span> <span class="o">=</span> <span class="s s-Atom">socrates</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Predicates_and_programs">Predicates and programs</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=4" title="Edit section: Predicates and programs"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div><p> A <i>predicate</i> (or <i>procedure definition</i>) is a collection of clauses whose heads have the same name and arity. We use the notation <i>name/arity</i> to refer to predicates. A <i>logic program</i> is a set of predicates. For example, the following Prolog program, which defines some family relations, has four predicates: </p><div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">mother_child</span><span class="p">(</span><span class="s s-Atom">trude</span><span class="p">,</span> <span class="s s-Atom">sally</span><span class="p">).</span> <span class="nf">father_child</span><span class="p">(</span><span class="s s-Atom">tom</span><span class="p">,</span> <span class="s s-Atom">sally</span><span class="p">).</span> <span class="nf">father_child</span><span class="p">(</span><span class="s s-Atom">tom</span><span class="p">,</span> <span class="s s-Atom">erica</span><span class="p">).</span> <span class="nf">father_child</span><span class="p">(</span><span class="s s-Atom">mike</span><span class="p">,</span> <span class="s s-Atom">tom</span><span class="p">).</span> <span class="nf">sibling</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">parent_child</span><span class="p">(</span><span class="nv">Z</span><span class="p">,</span> <span class="nv">X</span><span class="p">),</span> <span class="nf">parent_child</span><span class="p">(</span><span class="nv">Z</span><span class="p">,</span> <span class="nv">Y</span><span class="p">).</span> <span class="nf">parent_child</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">father_child</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">).</span> <span class="nf">parent_child</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">mother_child</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">).</span> </pre></div> <p>Predicate <code>father_child/2</code> has three clauses, all of which are facts, and predicate <code>parent_child/2</code> has two clauses, both are rules. </p><p>Due to the relational nature of many built-in predicates, they can typically be used in several directions. For example, <code>length/2</code> can be used to determine the length of a list (<code>length(List, L)</code>, given a list <code>List</code>), and to generate a list skeleton of a given length (<code>length(X, 5)</code>), and to generate both list skeletons and their lengths together (<code>length(X, L)</code>). Similarly, <code>append/3</code> can be used both to append two lists (<code>append(ListA, ListB, X)</code> given lists <code>ListA</code> and <code>ListB</code>), and to split a given list into parts (<code>append(X, Y, List)</code>, given a list <code>List</code>). For this reason, a comparatively small set of library predicates suffices for many Prolog programs. </p><p>As a general purpose language, Prolog also provides various built-in predicates to perform routine activities like <a href="/wiki/Input/output" title="Input/output">input/output</a>, using graphics and otherwise communicating with the operating system. These predicates are not given a relational meaning and are only useful for the side-effects they exhibit on the system. For example, the predicate <code>write/1</code> displays a term on the screen. </p> <div class="mw-heading mw-heading3"><h3 id="Loops_and_recursion">Loops and recursion</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=5" title="Edit section: Loops and recursion"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Iterative algorithms can be implemented by means of recursive predicates.<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">&#91;</span>14<span class="cite-bracket">&#93;</span></a></sup> </p><p> Consider the <code>parent_child/2</code> predicate defined in the family relation program above. The following Prolog program defines the <i>ancestor</i> relation:</p><div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">ancestor</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">parent_child</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">).</span> <span class="nf">ancestor</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">parent_child</span><span class="p">(</span><span class="nv">X</span><span class="p">,</span> <span class="nv">Z</span><span class="p">),</span> <span class="nf">ancestor</span><span class="p">(</span><span class="nv">Z</span><span class="p">,</span> <span class="nv">Y</span><span class="p">).</span> </pre></div><p>It expresses that X is an ancestor of Y if X is parent of Y or X is parent of an ancestor of Y. It is recursive because it is defined in terms of itself (there is a call to predicate <code>ancestor/2</code> in the body of the second clause). </p><div class="mw-heading mw-heading3"><h3 id="Execution">Execution</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=6" title="Edit section: Execution"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Execution of a Prolog program is initiated by the user's posting of a single goal, called the query. Logically, the Prolog engine tries to find a <a href="/wiki/Resolution_(logic)" title="Resolution (logic)">resolution</a> refutation of the negated query. The resolution method used by Prolog is called <a href="/wiki/SLD_resolution" title="SLD resolution">SLD resolution</a>. If the negated query can be refuted, it follows that the query, with the appropriate variable bindings in place, is a logical consequence of the program. In that case, all generated variable bindings are reported to the user, and the query is said to have succeeded. Operationally, Prolog's execution strategy can be thought of as a generalization of function calls in other languages, one difference being that multiple clause heads can match a given call. In that case, the system creates a choice-point, <a href="/wiki/Unification_(computer_science)" title="Unification (computer science)">unifies</a> the goal with the clause head of the first alternative, and continues with the goals of that first alternative. If any goal fails in the course of executing the program, all variable bindings that were made since the most recent choice-point was created are undone, and execution continues with the next alternative of that choice-point. This execution strategy is called chronological <a href="/wiki/Backtracking" title="Backtracking">backtracking</a>. For example, given the family relation program defined above, the following query will be evaluated to true: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span> <span class="s s-Atom">?-</span> <span class="nf">sibling</span><span class="p">(</span><span class="s s-Atom">sally</span><span class="p">,</span> <span class="s s-Atom">erica</span><span class="p">).</span> <span class="nv">Yes</span> </pre></div> <p>This is obtained as follows: Initially, the only matching clause-head for the query <code>sibling(sally, erica)</code> is the first one, so proving the query is equivalent to proving the body of that clause with the appropriate variable bindings in place, i.e., the conjunction <code>(parent_child(Z,sally), parent_child(Z,erica))</code>. The next goal to be proved is the leftmost one of this conjunction, i.e., <code>parent_child(Z, sally)</code>. Two clause heads match this goal. The system creates a choice-point and tries the first alternative, whose body is <code>father_child(Z, sally)</code>. This goal can be proved using the fact <code>father_child(tom, sally)</code>, so the binding <code>Z = tom</code> is generated, and the next goal to be proved is the second part of the above conjunction: <code>parent_child(tom, erica)</code>. Again, this can be proved by the corresponding fact. Since all goals could be proved, the query succeeds. Since the query contained no variables, no bindings are reported to the user. A query with variables, like: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="s s-Atom">?-</span> <span class="nf">father_child</span><span class="p">(</span><span class="nv">Father</span><span class="p">,</span> <span class="nv">Child</span><span class="p">).</span> </pre></div> <p>enumerates all valid answers on backtracking. </p><p>Notice that with the code as stated above, the query <code>?- sibling(sally, sally).</code> also succeeds. One would insert additional goals to describe the relevant restrictions, if desired. </p> <div class="mw-heading mw-heading3"><h3 id="Negation">Negation</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=7" title="Edit section: Negation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The built-in Prolog predicate <code>\+/1</code> provides <a href="/wiki/Negation_as_failure" title="Negation as failure">negation as failure</a>, which allows for <a href="/wiki/Non-monotonic_logic" title="Non-monotonic logic">non-monotonic</a> reasoning. The goal <code>\+ illegal(X)</code> in the rule </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">legal</span><span class="p">(</span><span class="nv">X</span><span class="p">)</span> <span class="p">:-</span> <span class="s s-Atom">\+</span> <span class="nf">illegal</span><span class="p">(</span><span class="nv">X</span><span class="p">).</span> </pre></div> <p>is evaluated as follows: Prolog attempts to prove <code>illegal(X)</code>. If a proof for that goal can be found, the original goal (i.e., <code>\+ illegal(X)</code>) fails. If no proof can be found, the original goal succeeds. Therefore, the <code>\+/1</code> prefix operator is called the "not provable" operator, since the query <code>?- \+ Goal.</code> succeeds if Goal is not provable. This kind of negation is <a href="/wiki/Soundness" title="Soundness">sound</a> if its argument is <a href="/wiki/Ground_expression" title="Ground expression">"ground"</a> (i.e. contains no variables). Soundness is lost if the argument contains variables and the proof procedure is complete. In particular, the query <code>?- legal(X).</code> now cannot be used to enumerate all things that are legal. </p> <div class="mw-heading mw-heading2"><h2 id="Programming_in_Prolog">Programming in Prolog</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=8" title="Edit section: Programming in Prolog"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>In Prolog, loading code is referred to as <i>consulting</i>. Prolog can be used interactively by entering queries at the Prolog prompt <code>?-</code>. If there is no solution, Prolog writes <code>no</code>. If a solution exists then it is printed. If there are multiple solutions to the query, then these can be requested by entering a semi-colon <code>;</code>. There are guidelines on good programming practice to improve code efficiency, readability and maintainability.<sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">&#91;</span>15<span class="cite-bracket">&#93;</span></a></sup> </p><p>Here follow some example programs written in Prolog. </p> <div class="mw-heading mw-heading3"><h3 id="Hello_World">Hello World</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=9" title="Edit section: Hello World"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Example of a basic query in a couple of popular Prolog dialects: </p> <table> <tbody><tr> <th><a href="/wiki/SWI-Prolog" title="SWI-Prolog">SWI-Prolog</a> </th> <th><a href="/wiki/GNU_Prolog" title="GNU Prolog">GNU Prolog</a> </th></tr> <tr> <td><div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="s s-Atom">?-</span> <span class="nf">write</span><span class="p">(</span><span class="s s-Atom">&#39;Hello World!&#39;</span><span class="p">),</span> <span class="s s-Atom">nl</span><span class="p">.</span> <span class="nv">Hello</span> <span class="nv">World</span><span class="p">!</span> <span class="s s-Atom">true</span><span class="p">.</span> <span class="s s-Atom">?-</span> </pre></div> </td> <td><div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="p">|</span> <span class="s s-Atom">?-</span> <span class="nf">write</span><span class="p">(</span><span class="s s-Atom">&#39;Hello World!&#39;</span><span class="p">),</span> <span class="s s-Atom">nl</span><span class="p">.</span> <span class="nv">Hello</span> <span class="nv">World</span><span class="p">!</span> <span class="s s-Atom">yes</span> <span class="p">|</span> <span class="s s-Atom">?-</span> </pre></div> </td></tr></tbody></table> <p>This comparison shows the prompt ("?-" vs "|&#160;?-") and resolution status ("true." vs "yes", "false." vs "no") can differ from one Prolog implementation to another. </p> <div class="mw-heading mw-heading3"><h3 id="Compiler_optimization">Compiler optimization</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=10" title="Edit section: Compiler optimization"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Any computation can be expressed declaratively as a sequence of state transitions. As an example, an <a href="/wiki/Optimizing_compiler" title="Optimizing compiler">optimizing compiler</a> with three optimization passes could be implemented as a relation between an initial program and its optimized form: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">program_optimized</span><span class="p">(</span><span class="nv">Prog0</span><span class="p">,</span> <span class="nv">Prog</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">optimization_pass_1</span><span class="p">(</span><span class="nv">Prog0</span><span class="p">,</span> <span class="nv">Prog1</span><span class="p">),</span> <span class="nf">optimization_pass_2</span><span class="p">(</span><span class="nv">Prog1</span><span class="p">,</span> <span class="nv">Prog2</span><span class="p">),</span> <span class="nf">optimization_pass_3</span><span class="p">(</span><span class="nv">Prog2</span><span class="p">,</span> <span class="nv">Prog</span><span class="p">).</span> </pre></div> <p>or equivalently using <a href="/wiki/Definite_clause_grammar" title="Definite clause grammar">DCG</a> notation: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">program_optimized</span> <span class="o">--&gt;</span> <span class="s s-Atom">optimization_pass_1</span><span class="p">,</span> <span class="s s-Atom">optimization_pass_2</span><span class="p">,</span> <span class="s s-Atom">optimization_pass_3</span><span class="p">.</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Quicksort">Quicksort</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=11" title="Edit section: Quicksort"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The <a href="/wiki/Quicksort" title="Quicksort">quicksort</a> sorting algorithm, relating a list to its sorted version: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">partition</span><span class="p">([],</span> <span class="k">_</span><span class="p">,</span> <span class="p">[],</span> <span class="p">[]).</span> <span class="nf">partition</span><span class="p">([</span><span class="nv">X</span><span class="p">|</span><span class="nv">Xs</span><span class="p">],</span> <span class="nv">Pivot</span><span class="p">,</span> <span class="nv">Smalls</span><span class="p">,</span> <span class="nv">Bigs</span><span class="p">)</span> <span class="p">:-</span> <span class="p">(</span> <span class="nv">X</span> <span class="s s-Atom">@&lt;</span> <span class="nv">Pivot</span> <span class="s s-Atom">-&gt;</span> <span class="nv">Smalls</span> <span class="o">=</span> <span class="p">[</span><span class="nv">X</span><span class="p">|</span><span class="nv">Rest</span><span class="p">],</span> <span class="nf">partition</span><span class="p">(</span><span class="nv">Xs</span><span class="p">,</span> <span class="nv">Pivot</span><span class="p">,</span> <span class="nv">Rest</span><span class="p">,</span> <span class="nv">Bigs</span><span class="p">)</span> <span class="p">;</span> <span class="nv">Bigs</span> <span class="o">=</span> <span class="p">[</span><span class="nv">X</span><span class="p">|</span><span class="nv">Rest</span><span class="p">],</span> <span class="nf">partition</span><span class="p">(</span><span class="nv">Xs</span><span class="p">,</span> <span class="nv">Pivot</span><span class="p">,</span> <span class="nv">Smalls</span><span class="p">,</span> <span class="nv">Rest</span><span class="p">)</span> <span class="p">).</span> <span class="nf">quicksort</span><span class="p">([])</span> <span class="p">--&gt;</span> <span class="p">[].</span> <span class="nf">quicksort</span><span class="p">([</span><span class="nv">X</span><span class="p">|</span><span class="nv">Xs</span><span class="p">])</span> <span class="p">--&gt;</span> <span class="p">{</span> <span class="nf">partition</span><span class="p">(</span><span class="nv">Xs</span><span class="p">,</span> <span class="nv">X</span><span class="p">,</span> <span class="nv">Smaller</span><span class="p">,</span> <span class="nv">Bigger</span><span class="p">)</span> <span class="p">},</span> <span class="nf">quicksort</span><span class="p">(</span><span class="nv">Smaller</span><span class="p">),</span> <span class="p">[</span><span class="nv">X</span><span class="p">],</span> <span class="nf">quicksort</span><span class="p">(</span><span class="nv">Bigger</span><span class="p">).</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Design_patterns_of_Prolog">Design patterns of Prolog</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=12" title="Edit section: Design patterns of Prolog"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A <a href="/wiki/Design_pattern_(computer_science)" class="mw-redirect" title="Design pattern (computer science)">design pattern</a> is a general reusable solution to a commonly occurring problem in <a href="/wiki/Software_design" title="Software design">software design</a>. Some design patterns in Prolog are skeletons, techniques,<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">&#91;</span>16<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">&#91;</span>17<span class="cite-bracket">&#93;</span></a></sup> cliches,<sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">&#91;</span>18<span class="cite-bracket">&#93;</span></a></sup> program schemata,<sup id="cite_ref-Gegg-harrison1995_20-0" class="reference"><a href="#cite_note-Gegg-harrison1995-20"><span class="cite-bracket">&#91;</span>19<span class="cite-bracket">&#93;</span></a></sup> logic description schemata,<sup id="cite_ref-Deville1990_21-0" class="reference"><a href="#cite_note-Deville1990-21"><span class="cite-bracket">&#91;</span>20<span class="cite-bracket">&#93;</span></a></sup> and <a href="/wiki/Higher-order_programming" title="Higher-order programming">higher-order programming</a>.<sup id="cite_ref-Naish1996_22-0" class="reference"><a href="#cite_note-Naish1996-22"><span class="cite-bracket">&#91;</span>21<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Higher-order_programming">Higher-order programming</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=13" title="Edit section: Higher-order programming"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Main articles: <a href="/wiki/Higher-order_logic" title="Higher-order logic">Higher-order logic</a> and <a href="/wiki/Higher-order_programming" title="Higher-order programming">Higher-order programming</a></div> <p>A higher-order predicate is a predicate that takes one or more other predicates as arguments. Although support for higher-order programming takes Prolog outside the domain of first-order logic, which does not allow quantification over predicates,<sup id="cite_ref-23" class="reference"><a href="#cite_note-23"><span class="cite-bracket">&#91;</span>22<span class="cite-bracket">&#93;</span></a></sup> ISO Prolog now has some built-in higher-order predicates such as <code>call/1</code>, <code>call/2</code>, <code>call/3</code>, <code>findall/3</code>, <code>setof/3</code>, and <code>bagof/3</code>.<sup id="cite_ref-ISO_13211_24-0" class="reference"><a href="#cite_note-ISO_13211-24"><span class="cite-bracket">&#91;</span>23<span class="cite-bracket">&#93;</span></a></sup> Furthermore, since arbitrary Prolog goals can be constructed and evaluated at run-time, it is easy to write higher-order predicates like <code>maplist/2</code>, which applies an arbitrary predicate to each member of a given list, and <code>sublist/3</code>, which filters elements that satisfy a given predicate, also allowing for <a href="/wiki/Currying" title="Currying">currying</a>.<sup id="cite_ref-Naish1996_22-1" class="reference"><a href="#cite_note-Naish1996-22"><span class="cite-bracket">&#91;</span>21<span class="cite-bracket">&#93;</span></a></sup> </p><p>To convert solutions from temporal representation (answer substitutions on backtracking) to spatial representation (terms), Prolog has various all-solutions predicates that collect all answer substitutions of a given query in a list. This can be used for <a href="/wiki/List_comprehension" title="List comprehension">list comprehension</a>. For example, <a href="/wiki/Perfect_numbers" class="mw-redirect" title="Perfect numbers">perfect numbers</a> equal the sum of their proper divisors: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span> <span class="nf">perfect</span><span class="p">(</span><span class="nv">N</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">between</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="s s-Atom">inf</span><span class="p">,</span> <span class="nv">N</span><span class="p">),</span> <span class="nv">U</span> <span class="o">is</span> <span class="nv">N</span> <span class="o">//</span> <span class="mi">2</span><span class="p">,</span> <span class="nf">findall</span><span class="p">(</span><span class="nv">D</span><span class="p">,</span> <span class="p">(</span><span class="nf">between</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span><span class="nv">U</span><span class="p">,</span><span class="nv">D</span><span class="p">),</span> <span class="nv">N</span> <span class="o">mod</span> <span class="nv">D</span> <span class="o">=:=</span> <span class="mi">0</span><span class="p">),</span> <span class="nv">Ds</span><span class="p">),</span> <span class="nf">sumlist</span><span class="p">(</span><span class="nv">Ds</span><span class="p">,</span> <span class="nv">N</span><span class="p">).</span> </pre></div> <p>This can be used to enumerate perfect numbers, and to check if a number is perfect. </p><p>As another example, the predicate <code>maplist</code> applies a predicate <code>P</code> to all corresponding positions in a pair of lists: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">maplist</span><span class="p">(</span><span class="k">_</span><span class="p">,</span> <span class="p">[],</span> <span class="p">[]).</span> <span class="nf">maplist</span><span class="p">(</span><span class="nv">P</span><span class="p">,</span> <span class="p">[</span><span class="nv">X</span><span class="p">|</span><span class="nv">Xs</span><span class="p">],</span> <span class="p">[</span><span class="nv">Y</span><span class="p">|</span><span class="nv">Ys</span><span class="p">])</span> <span class="p">:-</span> <span class="nf">call</span><span class="p">(</span><span class="nv">P</span><span class="p">,</span> <span class="nv">X</span><span class="p">,</span> <span class="nv">Y</span><span class="p">),</span> <span class="nf">maplist</span><span class="p">(</span><span class="nv">P</span><span class="p">,</span> <span class="nv">Xs</span><span class="p">,</span> <span class="nv">Ys</span><span class="p">).</span> </pre></div> <p>When <code>P</code> is a predicate that for all <code>X</code>, <code>P(X,Y)</code> unifies <code>Y</code> with a single unique value, <code>maplist(P, Xs, Ys)</code> is equivalent to applying the <a href="/wiki/Map_(higher-order_function)" title="Map (higher-order function)">map</a> function in <a href="/wiki/Functional_programming" title="Functional programming">functional programming</a> as <code>Ys = map(Function, Xs)</code>. </p><p>Higher-order programming style in Prolog was pioneered in <a href="/wiki/HiLog" title="HiLog">HiLog</a> and <a href="/wiki/%CE%9BProlog" title="ΛProlog">λProlog</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Modules">Modules</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=14" title="Edit section: Modules"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>For <a href="/wiki/Programming_in_the_large_and_programming_in_the_small#Programming_in_the_large" title="Programming in the large and programming in the small">programming in the large</a>, Prolog provides a <a href="/wiki/Modular_programming" title="Modular programming">module system</a>, which is in the ISO Standard.<sup id="cite_ref-25" class="reference"><a href="#cite_note-25"><span class="cite-bracket">&#91;</span>24<span class="cite-bracket">&#93;</span></a></sup> However, while most Prolog systems support structuring the code into modules, virtually no implementation adheres to the modules part of the ISO standard. Instead, most <a href="/wiki/Comparison_of_Prolog_implementations" title="Comparison of Prolog implementations">Prolog systems</a> have decided to support as <i>de-facto</i> module standard the <a href="/wiki/Quintus_Prolog" title="Quintus Prolog">Quintus</a>/<a href="/wiki/SICStus" class="mw-redirect" title="SICStus">SICStus</a> module system. However, further convenience predicates concerning modules are provided by some implementations only and often have subtle differences in their semantics.<sup id="cite_ref-auto_26-0" class="reference"><a href="#cite_note-auto-26"><span class="cite-bracket">&#91;</span>25<span class="cite-bracket">&#93;</span></a></sup> </p><p>Some systems chose to implement module concepts as source-to-source compilation into base ISO Prolog, as is the case of <a href="/wiki/Logtalk" title="Logtalk">Logtalk</a>.<sup id="cite_ref-cs.kuleuven.ac.be_27-0" class="reference"><a href="#cite_note-cs.kuleuven.ac.be-27"><span class="cite-bracket">&#91;</span>26<span class="cite-bracket">&#93;</span></a></sup> GNU Prolog initially diverted from ISO modules, opting instead for <a href="/w/index.php?title=Contextual_Logic_Programming&amp;action=edit&amp;redlink=1" class="new" title="Contextual Logic Programming (page does not exist)">Contextual Logic Programming</a>, in which unit (module) loading and unloading can be made dynamically.<sup id="cite_ref-28" class="reference"><a href="#cite_note-28"><span class="cite-bracket">&#91;</span>27<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Ciao_(programming_language)" title="Ciao (programming language)">Ciao</a> designed a strict module system that, while being basically compatible with the <i>de-facto</i> standard used by other Prolog systems, is amenable to precise static analysis, supports term hiding, and facilitates programming in the large.<sup id="cite_ref-29" class="reference"><a href="#cite_note-29"><span class="cite-bracket">&#91;</span>28<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/XSB" title="XSB">XSB</a> takes a different approach and offers an <i>atom-based</i> module system.<sup id="cite_ref-30" class="reference"><a href="#cite_note-30"><span class="cite-bracket">&#91;</span>29<span class="cite-bracket">&#93;</span></a></sup> The latter two Prolog systems allow controlling the <i>visibility of terms</i> in addition to that of predicates.<sup id="cite_ref-auto_26-1" class="reference"><a href="#cite_note-auto-26"><span class="cite-bracket">&#91;</span>25<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Parsing">Parsing</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=15" title="Edit section: Parsing"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Main articles: <a href="/wiki/Prolog_syntax_and_semantics#Definite_clause_grammars" title="Prolog syntax and semantics">Prolog syntax and semantics §&#160;Definite clause grammars</a>, and <a href="/wiki/Definite_clause_grammar" title="Definite clause grammar">Definite clause grammar</a></div> <p>There is a special notation called <a href="/wiki/Definite_clause_grammar" title="Definite clause grammar">definite clause grammars</a> (DCGs). A rule defined via <code>--&gt;/2</code> instead of <code>:-/2</code> is expanded by the preprocessor (<code>expand_term/2</code>, a facility analogous to macros in other languages) according to a few straightforward rewriting rules, resulting in ordinary Prolog clauses. Most notably, the rewriting equips the predicate with two additional arguments, which can be used to implicitly thread state around,<sup class="noprint Inline-Template" style="margin-left:0.1em; white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Please_clarify" title="Wikipedia:Please clarify"><span title="The text near this tag may need clarification or removal of jargon. (October 2012)">clarification needed</span></a></i>&#93;</sup> analogous to <a href="/wiki/Monads_in_functional_programming" class="mw-redirect" title="Monads in functional programming">monads</a> in other languages. DCGs are often used to write parsers or list generators, as they also provide a convenient interface to difference lists. </p> <div class="mw-heading mw-heading2"><h2 id="Meta-interpreters_and_reflection">Meta-interpreters and reflection</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=16" title="Edit section: Meta-interpreters and reflection"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog is a <a href="/wiki/Homoiconic" class="mw-redirect" title="Homoiconic">homoiconic</a> language and provides many facilities for <a href="/wiki/Reflective_programming" title="Reflective programming">reflective programming</a> (reflection). Its implicit execution strategy makes it possible to write a concise <a href="/wiki/Meta-circular_evaluator" title="Meta-circular evaluator">meta-circular evaluator</a> (also called <i>meta-interpreter</i>) for pure Prolog code: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">solve</span><span class="p">(</span><span class="s s-Atom">true</span><span class="p">).</span> <span class="nf">solve</span><span class="p">((</span><span class="nv">Subgoal1</span><span class="p">,</span><span class="nv">Subgoal2</span><span class="p">))</span> <span class="p">:-</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Subgoal1</span><span class="p">),</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Subgoal2</span><span class="p">).</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Head</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">clause</span><span class="p">(</span><span class="nv">Head</span><span class="p">,</span> <span class="nv">Body</span><span class="p">),</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Body</span><span class="p">).</span> </pre></div> <p>where <code>true</code> represents an empty conjunction, and <code>clause(Head, Body)</code> unifies with clauses in the database of the form <code>Head&#160;:- Body</code>. </p><p>Since Prolog programs are themselves sequences of Prolog terms (<code>:-/2</code> is an infix <a href="/wiki/Operator_(programming)" class="mw-redirect" title="Operator (programming)">operator</a>) that are easily read and inspected using built-in mechanisms (like <code>read/1</code>), it is possible to write customized interpreters that augment Prolog with domain-specific features. For example, Sterling and Shapiro present a meta-interpreter that performs reasoning with uncertainty, reproduced here with slight modifications:<sup id="cite_ref-AOP94_31-0" class="reference"><a href="#cite_note-AOP94-31"><span class="cite-bracket">&#91;</span>30<span class="cite-bracket">&#93;</span></a></sup><sup class="reference nowrap"><span title="Page / location: 330">&#58;&#8202;330&#8202;</span></sup> </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">solve</span><span class="p">(</span><span class="s s-Atom">true</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span> <span class="p">:-</span> <span class="p">!.</span> <span class="nf">solve</span><span class="p">((</span><span class="nv">Subgoal1</span><span class="p">,</span><span class="nv">Subgoal2</span><span class="p">),</span> <span class="nv">Certainty</span><span class="p">)</span> <span class="p">:-</span> <span class="p">!,</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Subgoal1</span><span class="p">,</span> <span class="nv">Certainty1</span><span class="p">),</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Subgoal2</span><span class="p">,</span> <span class="nv">Certainty2</span><span class="p">),</span> <span class="nv">Certainty</span> <span class="o">is</span> <span class="nf">min</span><span class="p">(</span><span class="nv">Certainty1</span><span class="p">,</span> <span class="nv">Certainty2</span><span class="p">).</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Goal</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">builtin</span><span class="p">(</span><span class="nv">Goal</span><span class="p">),</span> <span class="p">!,</span> <span class="nv">Goal</span><span class="p">.</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Head</span><span class="p">,</span> <span class="nv">Certainty</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">clause_cf</span><span class="p">(</span><span class="nv">Head</span><span class="p">,</span> <span class="nv">Body</span><span class="p">,</span> <span class="nv">Certainty1</span><span class="p">),</span> <span class="nf">solve</span><span class="p">(</span><span class="nv">Body</span><span class="p">,</span> <span class="nv">Certainty2</span><span class="p">),</span> <span class="nv">Certainty</span> <span class="o">is</span> <span class="nv">Certainty1</span> <span class="o">*</span> <span class="nv">Certainty2</span><span class="p">.</span> </pre></div> <p>This interpreter uses a table of built-in Prolog predicates of the form<sup id="cite_ref-AOP94_31-1" class="reference"><a href="#cite_note-AOP94-31"><span class="cite-bracket">&#91;</span>30<span class="cite-bracket">&#93;</span></a></sup><sup class="reference nowrap"><span title="Page / location: 327">&#58;&#8202;327&#8202;</span></sup> </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">builtin</span><span class="p">(</span><span class="nv">A</span> <span class="o">is</span> <span class="nv">B</span><span class="p">).</span> <span class="nf">builtin</span><span class="p">(</span><span class="nf">read</span><span class="p">(</span><span class="nv">X</span><span class="p">)).</span> <span class="c1">% etc.</span> </pre></div> <p>and clauses represented as <code>clause_cf(Head, Body, Certainty)</code>. Given those, it can be called as <code>solve(Goal, Certainty)</code> to execute <code>Goal</code> and obtain a measure of certainty about the result. </p> <div class="mw-heading mw-heading2"><h2 id="Turing_completeness">Turing completeness</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=17" title="Edit section: Turing completeness"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Pure Prolog is based on a subset of first-order <a href="/wiki/Predicate_logic" class="mw-redirect" title="Predicate logic">predicate logic</a>, <a href="/wiki/Horn_clause" title="Horn clause">Horn clauses</a>, which is <a href="/wiki/Turing_completeness" title="Turing completeness">Turing-complete</a>. Turing completeness of Prolog can be shown by using it to simulate a Turing machine: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">turing</span><span class="p">(</span><span class="nv">Tape0</span><span class="p">,</span> <span class="nv">Tape</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">perform</span><span class="p">(</span><span class="s s-Atom">q0</span><span class="p">,</span> <span class="p">[],</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Tape0</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">),</span> <span class="nf">reverse</span><span class="p">(</span><span class="nv">Ls</span><span class="p">,</span> <span class="nv">Ls1</span><span class="p">),</span> <span class="nf">append</span><span class="p">(</span><span class="nv">Ls1</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">,</span> <span class="nv">Tape</span><span class="p">).</span> <span class="nf">perform</span><span class="p">(</span><span class="s s-Atom">qf</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">)</span> <span class="p">:-</span> <span class="p">!.</span> <span class="nf">perform</span><span class="p">(</span><span class="nv">Q0</span><span class="p">,</span> <span class="nv">Ls0</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Rs0</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">symbol</span><span class="p">(</span><span class="nv">Rs0</span><span class="p">,</span> <span class="nv">Sym</span><span class="p">,</span> <span class="nv">RsRest</span><span class="p">),</span> <span class="nf">once</span><span class="p">(</span><span class="nf">rule</span><span class="p">(</span><span class="nv">Q0</span><span class="p">,</span> <span class="nv">Sym</span><span class="p">,</span> <span class="nv">Q1</span><span class="p">,</span> <span class="nv">NewSym</span><span class="p">,</span> <span class="nv">Action</span><span class="p">)),</span> <span class="nf">action</span><span class="p">(</span><span class="nv">Action</span><span class="p">,</span> <span class="nv">Ls0</span><span class="p">,</span> <span class="nv">Ls1</span><span class="p">,</span> <span class="p">[</span><span class="nv">NewSym</span><span class="p">|</span><span class="nv">RsRest</span><span class="p">],</span> <span class="nv">Rs1</span><span class="p">),</span> <span class="nf">perform</span><span class="p">(</span><span class="nv">Q1</span><span class="p">,</span> <span class="nv">Ls1</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Rs1</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">).</span> <span class="nf">symbol</span><span class="p">([],</span> <span class="s s-Atom">b</span><span class="p">,</span> <span class="p">[]).</span> <span class="nf">symbol</span><span class="p">([</span><span class="nv">Sym</span><span class="p">|</span><span class="nv">Rs</span><span class="p">],</span> <span class="nv">Sym</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">).</span> <span class="nf">action</span><span class="p">(</span><span class="s s-Atom">left</span><span class="p">,</span> <span class="nv">Ls0</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Rs0</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">)</span> <span class="p">:-</span> <span class="nf">left</span><span class="p">(</span><span class="nv">Ls0</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Rs0</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">).</span> <span class="nf">action</span><span class="p">(</span><span class="s s-Atom">stay</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">).</span> <span class="nf">action</span><span class="p">(</span><span class="s s-Atom">right</span><span class="p">,</span> <span class="nv">Ls0</span><span class="p">,</span> <span class="p">[</span><span class="nv">Sym</span><span class="p">|</span><span class="nv">Ls0</span><span class="p">],</span> <span class="p">[</span><span class="nv">Sym</span><span class="p">|</span><span class="nv">Rs</span><span class="p">],</span> <span class="nv">Rs</span><span class="p">).</span> <span class="nf">left</span><span class="p">([],</span> <span class="p">[],</span> <span class="nv">Rs0</span><span class="p">,</span> <span class="p">[</span><span class="s s-Atom">b</span><span class="p">|</span><span class="nv">Rs0</span><span class="p">]).</span> <span class="nf">left</span><span class="p">([</span><span class="nv">L</span><span class="p">|</span><span class="nv">Ls</span><span class="p">],</span> <span class="nv">Ls</span><span class="p">,</span> <span class="nv">Rs</span><span class="p">,</span> <span class="p">[</span><span class="nv">L</span><span class="p">|</span><span class="nv">Rs</span><span class="p">]).</span> </pre></div> <p>A simple example Turing machine is specified by the facts: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="nf">rule</span><span class="p">(</span><span class="s s-Atom">q0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="s s-Atom">q0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="s s-Atom">right</span><span class="p">).</span> <span class="nf">rule</span><span class="p">(</span><span class="s s-Atom">q0</span><span class="p">,</span> <span class="s s-Atom">b</span><span class="p">,</span> <span class="s s-Atom">qf</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="s s-Atom">stay</span><span class="p">).</span> </pre></div> <p>This machine performs incrementation by one of a number in unary encoding: It loops over any number of "1" cells and appends an additional "1" at the end. Example query and result: </p> <div class="mw-highlight mw-highlight-lang-prolog mw-content-ltr" dir="ltr"><pre><span></span><span class="s s-Atom">?-</span> <span class="nf">turing</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="mi">1</span><span class="p">],</span> <span class="nv">Ts</span><span class="p">).</span> <span class="nv">Ts</span> <span class="o">=</span> <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">]</span> <span class="p">;</span> </pre></div> <p>This illustrates how any computation can be expressed declaratively as a sequence of state transitions, implemented in Prolog as a relation between successive states of interest. </p> <div class="mw-heading mw-heading2"><h2 id="Implementation">Implementation</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=18" title="Edit section: Implementation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Further information: <a href="/wiki/Comparison_of_Prolog_implementations" title="Comparison of Prolog implementations">Comparison of Prolog implementations</a></div> <div class="mw-heading mw-heading3"><h3 id="ISO_Prolog">ISO Prolog</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=19" title="Edit section: ISO Prolog"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The <a href="/wiki/International_Organization_for_Standardization" title="International Organization for Standardization">International Organization for Standardization</a> (ISO) Prolog <a href="/wiki/Technical_standard" title="Technical standard">technical standard</a> consists of two parts. ISO/IEC 13211-1,<sup id="cite_ref-ISO_13211_24-1" class="reference"><a href="#cite_note-ISO_13211-24"><span class="cite-bracket">&#91;</span>23<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-32" class="reference"><a href="#cite_note-32"><span class="cite-bracket">&#91;</span>31<span class="cite-bracket">&#93;</span></a></sup> published in 1995, aims to standardize the existing practices of the many implementations of the core elements of Prolog. It has clarified aspects of the language that were previously ambiguous and leads to portable programs. There are three corrigenda: Cor.1:2007,<sup id="cite_ref-Cor.1_33-0" class="reference"><a href="#cite_note-Cor.1-33"><span class="cite-bracket">&#91;</span>32<span class="cite-bracket">&#93;</span></a></sup> Cor.2:2012,<sup id="cite_ref-Cor.2_34-0" class="reference"><a href="#cite_note-Cor.2-34"><span class="cite-bracket">&#91;</span>33<span class="cite-bracket">&#93;</span></a></sup> and Cor.3:2017.<sup id="cite_ref-Cor.3_35-0" class="reference"><a href="#cite_note-Cor.3-35"><span class="cite-bracket">&#91;</span>34<span class="cite-bracket">&#93;</span></a></sup> ISO/IEC 13211-2,<sup id="cite_ref-ISO_13211_24-2" class="reference"><a href="#cite_note-ISO_13211-24"><span class="cite-bracket">&#91;</span>23<span class="cite-bracket">&#93;</span></a></sup> published in 2000, adds support for modules to the standard. The standard is maintained by the <a href="/wiki/JTC1" class="mw-redirect" title="JTC1">ISO/IEC JTC1</a>/<a href="/wiki/SC22" class="mw-redirect" title="SC22">SC22</a>/WG17<sup id="cite_ref-WG17_36-0" class="reference"><a href="#cite_note-WG17-36"><span class="cite-bracket">&#91;</span>35<span class="cite-bracket">&#93;</span></a></sup> working group. ANSI X3J17 is the US Technical Advisory Group for the standard.<sup id="cite_ref-X3J17_37-0" class="reference"><a href="#cite_note-X3J17-37"><span class="cite-bracket">&#91;</span>36<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Compilation">Compilation</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=20" title="Edit section: Compilation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>For efficiency, Prolog code is typically compiled to abstract machine code, often influenced by the register-based <a href="/wiki/Warren_Abstract_Machine" title="Warren Abstract Machine">Warren Abstract Machine</a> (WAM) instruction set.<sup id="cite_ref-38" class="reference"><a href="#cite_note-38"><span class="cite-bracket">&#91;</span>37<span class="cite-bracket">&#93;</span></a></sup> Some implementations employ <a href="/wiki/Abstract_interpretation" title="Abstract interpretation">abstract interpretation</a> to derive type and mode information of predicates at compile time, or compile to real machine code for high performance.<sup id="cite_ref-39" class="reference"><a href="#cite_note-39"><span class="cite-bracket">&#91;</span>38<span class="cite-bracket">&#93;</span></a></sup> Devising efficient implementation methods for Prolog code is a field of active research in the logic programming community, and various other execution methods are employed in some implementations. These include <a href="/w/index.php?title=Clause_binarization&amp;action=edit&amp;redlink=1" class="new" title="Clause binarization (page does not exist)">clause binarization</a> and <a href="/wiki/Stack_machines" class="mw-redirect" title="Stack machines">stack-based virtual machines</a>.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (November 2010)">citation needed</span></a></i>&#93;</sup> </p> <div class="mw-heading mw-heading3"><h3 id="Tail_recursion">Tail recursion</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=21" title="Edit section: Tail recursion"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog systems typically implement a well-known optimization method called <a href="/wiki/Tail_call#Tail_call_optimization" title="Tail call">tail call optimization</a> (TCO) for deterministic predicates exhibiting <a href="/wiki/Tail_recursion" class="mw-redirect" title="Tail recursion">tail recursion</a> or, more generally, tail calls: A clause's stack frame is discarded before performing a call in a tail position. Therefore, deterministic tail-recursive predicates are executed with constant stack space, like loops in other languages. </p> <div class="mw-heading mw-heading3"><h3 id="Term_indexing">Term indexing</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=22" title="Edit section: Term indexing"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="/wiki/Term_indexing" title="Term indexing">Term indexing</a></div> <p>Finding clauses that are unifiable with a term in a query is linear in the number of clauses. <a href="/wiki/Term_indexing" title="Term indexing">Term indexing</a> uses a <a href="/wiki/Data_structure" title="Data structure">data structure</a> that enables <a href="/wiki/Sublinear_time" class="mw-redirect" title="Sublinear time">sub-linear-time</a> lookups.<sup id="cite_ref-40" class="reference"><a href="#cite_note-40"><span class="cite-bracket">&#91;</span>39<span class="cite-bracket">&#93;</span></a></sup> Indexing only affects program performance, it does not affect semantics. Most Prologs only use indexing on the first term, as indexing on all terms is expensive, but techniques based on <i>field-encoded words</i> or <i><a href="/wiki/Superimposed_code" title="Superimposed code">superimposed</a> codewords</i> provide fast indexing across the full query and head.<sup id="cite_ref-WisePowers_41-0" class="reference"><a href="#cite_note-WisePowers-41"><span class="cite-bracket">&#91;</span>40<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-Colomb_42-0" class="reference"><a href="#cite_note-Colomb-42"><span class="cite-bracket">&#91;</span>41<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Hashing">Hashing</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=23" title="Edit section: Hashing"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Some Prolog systems, such as <a href="/wiki/Logic_Programming_Associates" title="Logic Programming Associates">WIN-PROLOG</a> and SWI-Prolog, now implement hashing to help handle large datasets more efficiently. This tends to yield very large performance gains when working with large corpora such as <a href="/wiki/WordNet" title="WordNet">WordNet</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Tabling">Tabling</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=24" title="Edit section: Tabling"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="/wiki/Tabled_logic_programming" title="Tabled logic programming">Tabled logic programming</a></div> <p>Some Prolog systems, (<a href="/wiki/B-Prolog" title="B-Prolog">B-Prolog</a>, <a href="/wiki/XSB" title="XSB">XSB</a>, <a href="/wiki/SWI-Prolog" title="SWI-Prolog">SWI-Prolog</a>, <a href="/wiki/YAP_(Prolog)" title="YAP (Prolog)">YAP</a>, and <a href="/wiki/Ciao_(programming_language)" title="Ciao (programming language)">Ciao</a>), implement a <a href="/wiki/Memoization" title="Memoization">memoization</a> method called <i>tabling</i>, which frees the user from manually storing intermediate results. Tabling is a <a href="/wiki/Space%E2%80%93time_tradeoff" title="Space–time tradeoff">space–time tradeoff</a>; execution time can be reduced by using more memory to store intermediate results:<sup id="cite_ref-43" class="reference"><a href="#cite_note-43"><span class="cite-bracket">&#91;</span>42<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-44" class="reference"><a href="#cite_note-44"><span class="cite-bracket">&#91;</span>43<span class="cite-bracket">&#93;</span></a></sup> </p> <blockquote><p>Subgoals encountered in a query evaluation are maintained in a table, along with answers to these subgoals. If a subgoal is re-encountered, the evaluation reuses information from the table rather than re-performing resolution against program clauses.<sup id="cite_ref-45" class="reference"><a href="#cite_note-45"><span class="cite-bracket">&#91;</span>44<span class="cite-bracket">&#93;</span></a></sup></p></blockquote> <p>Tabling can be extended in various directions. It can support recursive predicates through <b>SLG resolution</b> or linear tabling. In a multi-threaded Prolog system tabling results could be kept private to a thread or shared among all threads. And in incremental tabling, tabling might react to changes. </p> <div class="mw-heading mw-heading3"><h3 id="Implementation_in_hardware">Implementation in hardware</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=25" title="Edit section: Implementation in hardware"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>During the <a href="/wiki/Fifth_Generation_Computer_Systems_project" class="mw-redirect" title="Fifth Generation Computer Systems project">Fifth Generation Computer Systems project</a>, there were attempts to implement Prolog in hardware with the aim of achieving faster execution with dedicated architectures.<sup id="cite_ref-46" class="reference"><a href="#cite_note-46"><span class="cite-bracket">&#91;</span>45<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-47" class="reference"><a href="#cite_note-47"><span class="cite-bracket">&#91;</span>46<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-48" class="reference"><a href="#cite_note-48"><span class="cite-bracket">&#91;</span>47<span class="cite-bracket">&#93;</span></a></sup> Furthermore, Prolog has a number of properties that may allow speed-up through parallel execution.<sup id="cite_ref-49" class="reference"><a href="#cite_note-49"><span class="cite-bracket">&#91;</span>48<span class="cite-bracket">&#93;</span></a></sup> A more recent approach has been to compile restricted Prolog programs to a <a href="/wiki/Field_programmable_gate_array" class="mw-redirect" title="Field programmable gate array">field programmable gate array</a>.<sup id="cite_ref-50" class="reference"><a href="#cite_note-50"><span class="cite-bracket">&#91;</span>49<span class="cite-bracket">&#93;</span></a></sup> However, rapid progress in general-purpose hardware has consistently overtaken more specialised architectures. </p><p>In 1982, computers operated at around 10,000 to 100,000 LIPS [logical inferences per second]. The FGCS planned to produce computers operating at 0.1 to 1 GLIPS.<sup id="cite_ref-51" class="reference"><a href="#cite_note-51"><span class="cite-bracket">&#91;</span>50<span class="cite-bracket">&#93;</span></a></sup> The Institute for New Generation Computer Technology documents estimated that 1 LIP took about 100 operations on a conventional computer. The plan was to produce at the end of the project (in 1992) a machine with 1000 processors achieving 1 GLIPS, implying at least 1 MLIPS per processor.<sup id="cite_ref-52" class="reference"><a href="#cite_note-52"><span class="cite-bracket">&#91;</span>51<span class="cite-bracket">&#93;</span></a></sup> </p><p><a href="/wiki/Sega" title="Sega">Sega</a> implemented Prolog for use with the Sega AI Computer, released for the Japanese market in 1986. Prolog was used for reading <a href="/wiki/Natural_language" title="Natural language">natural language</a> inputs, in the <a href="/wiki/Japanese_language" title="Japanese language">Japanese language</a>, via a <a href="/wiki/Touch_pad" class="mw-redirect" title="Touch pad">touch pad</a>.<sup id="cite_ref-53" class="reference"><a href="#cite_note-53"><span class="cite-bracket">&#91;</span>52<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Limits">Limits</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=26" title="Edit section: Limits"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Although Prolog is widely used in research and education,<sup id="cite_ref-54" class="reference"><a href="#cite_note-54"><span class="cite-bracket">&#91;</span>53<span class="cite-bracket">&#93;</span></a></sup> Prolog and other logic programming languages have not had a significant impact on the computer industry in general.<sup id="cite_ref-RealWorld_55-0" class="reference"><a href="#cite_note-RealWorld-55"><span class="cite-bracket">&#91;</span>54<span class="cite-bracket">&#93;</span></a></sup> Most applications are small by industrial standards, with few exceeding 100,000 lines of code.<sup id="cite_ref-RealWorld_55-1" class="reference"><a href="#cite_note-RealWorld-55"><span class="cite-bracket">&#91;</span>54<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-The_Prolog_1000_database_56-0" class="reference"><a href="#cite_note-The_Prolog_1000_database-56"><span class="cite-bracket">&#91;</span>55<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Programming_in_the_large" class="mw-redirect" title="Programming in the large">Programming in the large</a> is considered to be complex because not all Prolog compilers support modules, and there are compatibility problems between the module systems of the major Prolog compilers.<sup id="cite_ref-cs.kuleuven.ac.be_27-1" class="reference"><a href="#cite_note-cs.kuleuven.ac.be-27"><span class="cite-bracket">&#91;</span>26<span class="cite-bracket">&#93;</span></a></sup> Portability of Prolog code across implementations has also been a problem, but developments since 2007 have meant: "the portability within the family of Edinburgh/Quintus derived Prolog implementations is good enough to allow for maintaining portable real-world applications."<sup id="cite_ref-57" class="reference"><a href="#cite_note-57"><span class="cite-bracket">&#91;</span>56<span class="cite-bracket">&#93;</span></a></sup> </p><p>Software developed in Prolog has been criticised for having a high performance penalty compared to conventional programming languages. In particular, Prolog's non-deterministic evaluation strategy can be problematic when programming deterministic computations, or when even using "don't care non-determinism" (where a single choice is made instead of backtracking over all possibilities). Cuts and other language constructs may have to be used to achieve desirable performance, destroying one of Prolog's main attractions, the ability to run programs "backwards and forwards".<sup id="cite_ref-rethinking_58-0" class="reference"><a href="#cite_note-rethinking-58"><span class="cite-bracket">&#91;</span>57<span class="cite-bracket">&#93;</span></a></sup> </p><p>Prolog is not purely declarative: because of constructs like the <a href="/wiki/Cut_(logic_programming)" title="Cut (logic programming)">cut operator</a>, a procedural reading of a Prolog program is needed to understand it.<sup id="cite_ref-59" class="reference"><a href="#cite_note-59"><span class="cite-bracket">&#91;</span>58<span class="cite-bracket">&#93;</span></a></sup> The order of clauses in a Prolog program is significant, as the execution strategy of the language depends on it.<sup id="cite_ref-60" class="reference"><a href="#cite_note-60"><span class="cite-bracket">&#91;</span>59<span class="cite-bracket">&#93;</span></a></sup> Other logic programming languages, such as <a href="/wiki/Datalog" title="Datalog">Datalog</a>, are truly declarative but restrict the language. As a result, many practical Prolog programs are written to conform to Prolog's <a href="/wiki/Depth-first_search" title="Depth-first search">depth-first search</a> order, rather than as purely declarative logic programs.<sup id="cite_ref-rethinking_58-1" class="reference"><a href="#cite_note-rethinking-58"><span class="cite-bracket">&#91;</span>57<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Extensions">Extensions</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=27" title="Edit section: Extensions"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Various implementations have been developed from Prolog to extend logic programming abilities in many directions. These include <a href="/wiki/Type_system" title="Type system">types</a>, modes, <a href="/wiki/Constraint_logic_programming" title="Constraint logic programming">constraint logic programming</a> (CLP), <a href="/wiki/Object-oriented_programming" title="Object-oriented programming">object-oriented</a> logic programming (OOLP), concurrency, <a href="/wiki/Linear_logic" title="Linear logic">linear logic</a> (LLP), functional and <a href="/wiki/Higher-order_logic" title="Higher-order logic">higher-order logic</a> programming abilities, plus interoperability with <a href="/wiki/Knowledge_base" title="Knowledge base">knowledge bases</a>: </p> <div class="mw-heading mw-heading3"><h3 id="Types">Types</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=28" title="Edit section: Types"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog is an untyped language. Attempts to introduce and extend Prolog with types began in the 1980s,<sup id="cite_ref-61" class="reference"><a href="#cite_note-61"><span class="cite-bracket">&#91;</span>60<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-62" class="reference"><a href="#cite_note-62"><span class="cite-bracket">&#91;</span>61<span class="cite-bracket">&#93;</span></a></sup> and continue as of 2008<sup class="plainlinks noexcerpt noprint asof-tag update" style="display:none;"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=Prolog&amp;action=edit">&#91;update&#93;</a></sup>.<sup id="cite_ref-63" class="reference"><a href="#cite_note-63"><span class="cite-bracket">&#91;</span>62<span class="cite-bracket">&#93;</span></a></sup> Type information is useful not only for <a href="/wiki/Type_safety" title="Type safety">type safety</a> but also for reasoning about Prolog programs.<sup id="cite_ref-cite_doi&#124;10.1007/BF01213601_64-0" class="reference"><a href="#cite_note-cite_doi|10.1007/BF01213601-64"><span class="cite-bracket">&#91;</span>63<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Modes">Modes</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=29" title="Edit section: Modes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <table style="float: right;" class="wikitable" border="1"> <tbody><tr> <th>Mode specifier </th> <th>Interpretation </th></tr> <tr> <td><code>+</code> </td> <td><code>nonvar</code> on entry </td></tr> <tr> <td><code>-</code> </td> <td><code>var</code> on entry </td></tr> <tr> <td><code>?</code> </td> <td>Not specified </td></tr></tbody></table> <p>The syntax of Prolog does not specify which arguments of a predicate are inputs and which are outputs.<sup id="cite_ref-craft_65-0" class="reference"><a href="#cite_note-craft-65"><span class="cite-bracket">&#91;</span>64<span class="cite-bracket">&#93;</span></a></sup> However, this information is significant and it is recommended that it be included in the comments.<sup id="cite_ref-66" class="reference"><a href="#cite_note-66"><span class="cite-bracket">&#91;</span>65<span class="cite-bracket">&#93;</span></a></sup> Modes provide valuable information when reasoning about Prolog programs<sup id="cite_ref-cite_doi&#124;10.1007/BF01213601_64-1" class="reference"><a href="#cite_note-cite_doi|10.1007/BF01213601-64"><span class="cite-bracket">&#91;</span>63<span class="cite-bracket">&#93;</span></a></sup> and can also be used to accelerate execution.<sup id="cite_ref-67" class="reference"><a href="#cite_note-67"><span class="cite-bracket">&#91;</span>66<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Constraints">Constraints</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=30" title="Edit section: Constraints"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Constraint_logic_programming" title="Constraint logic programming">Constraint logic programming</a> extends Prolog to include concepts from <a href="/wiki/Constraint_satisfaction" title="Constraint satisfaction">constraint satisfaction</a>.<sup id="cite_ref-68" class="reference"><a href="#cite_note-68"><span class="cite-bracket">&#91;</span>67<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-69" class="reference"><a href="#cite_note-69"><span class="cite-bracket">&#91;</span>68<span class="cite-bracket">&#93;</span></a></sup> A constraint logic program allows constraints in the body of clauses, such as: <code>A(X,Y)&#160;:- X+Y&gt;0.</code> It is suited to large-scale <a href="/wiki/Combinatorial_optimisation" class="mw-redirect" title="Combinatorial optimisation">combinatorial optimisation</a> problems<sup id="cite_ref-70" class="reference"><a href="#cite_note-70"><span class="cite-bracket">&#91;</span>69<span class="cite-bracket">&#93;</span></a></sup> and is thus useful for applications in industrial settings, such as automated time-tabling and <a href="/wiki/Production_scheduling" class="mw-redirect" title="Production scheduling">production scheduling</a>. Most Prolog systems ship with at least one constraint solver for finite domains, and often also with solvers for other domains like <a href="/wiki/Rational_number" title="Rational number">rational numbers</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Object-orientation">Object-orientation</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=31" title="Edit section: Object-orientation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Flora-2" title="Flora-2">Flora-2</a> is an object-oriented knowledge representation and reasoning system based on <a href="/wiki/F-logic" title="F-logic">F-logic</a> and incorporates <a href="/wiki/HiLog" title="HiLog">HiLog</a>, <a href="/wiki/Transaction_logic" title="Transaction logic">Transaction logic</a>, and <a href="/wiki/Defeasible_reasoning" title="Defeasible reasoning">defeasible reasoning</a>. </p><p><a href="/wiki/Logtalk" title="Logtalk">Logtalk</a> is an object-oriented logic programming language that can use most Prolog implementations as a back-end compiler. As a multi-paradigm language, it includes support for both prototypes and classes. </p><p><a href="/w/index.php?title=Oblog&amp;action=edit&amp;redlink=1" class="new" title="Oblog (page does not exist)">Oblog</a> is a small, portable, object-oriented extension to Prolog by Margaret McDougall of EdCAAD, University of Edinburgh. </p><p><a href="/wiki/Objlog" title="Objlog">Objlog</a> was a frame-based language combining objects and Prolog II from CNRS, Marseille, France. </p><p><a href="/wiki/Prolog%2B%2B" title="Prolog++">Prolog++</a> was developed by <a href="/wiki/Logic_Programming_Associates" title="Logic Programming Associates">Logic Programming Associates</a> and first released in 1989 for MS-DOS PCs. Support for other platforms was added, and a second version was released in 1995. A book about Prolog++ by Chris Moss was published by Addison-Wesley in 1994. </p><p><a href="/wiki/Visual_Prolog" title="Visual Prolog">Visual Prolog</a> is a multi-paradigm language with interfaces, classes, implementations and object expressions. </p> <div class="mw-heading mw-heading3"><h3 id="Graphics">Graphics</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=32" title="Edit section: Graphics"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog systems that provide a <a href="/wiki/Graphics_library" title="Graphics library">graphics library</a> are <a href="/wiki/SWI-Prolog" title="SWI-Prolog">SWI-Prolog</a>,<sup id="cite_ref-71" class="reference"><a href="#cite_note-71"><span class="cite-bracket">&#91;</span>70<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Visual_Prolog" title="Visual Prolog">Visual Prolog</a>, <a href="/wiki/Logic_Programming_Associates" title="Logic Programming Associates">WIN-PROLOG</a>, and <a href="/wiki/B-Prolog" title="B-Prolog">B-Prolog</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Concurrency">Concurrency</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=33" title="Edit section: Concurrency"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog-MPI is an open-source <a href="/wiki/SWI-Prolog" title="SWI-Prolog">SWI-Prolog</a> extension for <a href="/wiki/Distributed_computing" title="Distributed computing">distributed computing</a> over the <a href="/wiki/Message_Passing_Interface" title="Message Passing Interface">Message Passing Interface</a>.<sup id="cite_ref-72" class="reference"><a href="#cite_note-72"><span class="cite-bracket">&#91;</span>71<span class="cite-bracket">&#93;</span></a></sup> Also there are various concurrent Prolog programming languages.<sup id="cite_ref-73" class="reference"><a href="#cite_note-73"><span class="cite-bracket">&#91;</span>72<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Web_programming">Web programming</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=34" title="Edit section: Web programming"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Some Prolog implementations, notably <a href="/wiki/Visual_Prolog" title="Visual Prolog">Visual Prolog</a>, <a href="/wiki/SWI-Prolog" title="SWI-Prolog">SWI-Prolog</a> and <a href="/wiki/Ciao_(programming_language)" title="Ciao (programming language)">Ciao</a>, support <a href="/wiki/Server-side" class="mw-redirect" title="Server-side">server-side</a> <a href="/wiki/Web_programming" class="mw-redirect" title="Web programming">web programming</a> with support for web protocols, <a href="/wiki/HTML" title="HTML">HTML</a> and <a href="/wiki/XML" title="XML">XML</a>.<sup id="cite_ref-74" class="reference"><a href="#cite_note-74"><span class="cite-bracket">&#91;</span>73<span class="cite-bracket">&#93;</span></a></sup> There are also extensions to support <a href="/wiki/Semantic_web" class="mw-redirect" title="Semantic web">semantic web</a> formats such as <a href="/wiki/Resource_Description_Framework" title="Resource Description Framework">Resource Description Framework</a> (RDF) and <a href="/wiki/Web_Ontology_Language" title="Web Ontology Language">Web Ontology Language</a> (OWL).<sup id="cite_ref-75" class="reference"><a href="#cite_note-75"><span class="cite-bracket">&#91;</span>74<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-76" class="reference"><a href="#cite_note-76"><span class="cite-bracket">&#91;</span>75<span class="cite-bracket">&#93;</span></a></sup> Prolog has also been suggested as a <a href="/wiki/Client-side" class="mw-redirect" title="Client-side">client-side</a> language.<sup id="cite_ref-77" class="reference"><a href="#cite_note-77"><span class="cite-bracket">&#91;</span>76<span class="cite-bracket">&#93;</span></a></sup> In addition, Visual Prolog supports <a href="/wiki/JSON-RPC" title="JSON-RPC">JSON-RPC</a> and <a href="/wiki/Websockets" class="mw-redirect" title="Websockets">Websockets</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Adobe_Flash">Adobe Flash</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=35" title="Edit section: Adobe Flash"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a rel="nofollow" class="external text" href="https://sites.google.com/site/cedarprolog/">Cedar</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20101019074143/http://sites.google.com/site/cedarprolog/">Archived</a> 2010-10-19 at the <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a> is a free and basic Prolog interpreter. From version 4 and above Cedar has a FCA (Flash Cedar App) support. This provides a new platform to programming in Prolog through <a href="/wiki/ActionScript" title="ActionScript">ActionScript</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Other">Other</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=36" title="Edit section: Other"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/F-logic" title="F-logic">F-logic</a> extends Prolog with frames/objects for <a href="/wiki/Knowledge_representation" class="mw-redirect" title="Knowledge representation">knowledge representation</a>.</li> <li><a href="/wiki/Transaction_logic" title="Transaction logic">Transaction logic</a> extends Prolog with a logical theory of state-changing update operators. It has both a model-theoretic and procedural semantics.</li> <li><a href="/w/index.php?title=OW_Prolog&amp;action=edit&amp;redlink=1" class="new" title="OW Prolog (page does not exist)">OW Prolog</a> has been created in order to answer Prolog's lack of graphics and interface.</li></ul> <div class="mw-heading mw-heading2"><h2 id="Interfaces_to_other_languages">Interfaces to other languages</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=37" title="Edit section: Interfaces to other languages"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Frameworks exist which can bridge between Prolog and other languages: </p> <ul><li>The <a rel="nofollow" class="external text" href="https://www.lpa.co.uk/int.htm">LPA Intelligence Server</a> allows embedding <a rel="nofollow" class="external text" href="https://www.lpa.co.uk/win.htm">LPA Prolog for Windows</a> in other programming languages, including: <a href="/wiki/C_(programming_language)" title="C (programming language)">C</a>, <span class="nowrap"><a href="/wiki/C%2B%2B" title="C++">C++</a></span>, <a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a>, <a href="/wiki/Java_(programming_language)" title="Java (programming language)">Java</a>, <a href="/wiki/Visual_Basic_(classic)" title="Visual Basic (classic)">Visual Basic</a> (VB), <a href="/wiki/Delphi_(software)" title="Delphi (software)">Delphi</a>, <a href="/wiki/.NET" title=".NET">.NET</a>, <a href="/wiki/Lua_(programming_language)" title="Lua (programming language)">Lua</a>, <a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a>, and others. It exploits the dedicated string data type which LPA Prolog provides</li> <li>The <a rel="nofollow" class="external text" href="http://www.amzi.com/#apls">Logic Server</a> Application Programming Interface (<a href="/wiki/API" title="API">API</a>) allows both the extension and embedding of Prolog in <a href="/wiki/C_(programming_language)" title="C (programming language)">C</a>, <span class="nowrap"><a href="/wiki/C%2B%2B" title="C++">C++</a></span>, <a href="/wiki/Java_(programming_language)" title="Java (programming language)">Java</a>, <a href="/wiki/Visual_Basic_(classic)" title="Visual Basic (classic)">Visual Basic</a> (VB), <a href="/wiki/Delphi_(software)" title="Delphi (software)">Delphi</a>, <a href="/wiki/.NET" title=".NET">.NET</a>, and any language or environment which can call a .dll or .so. It is implemented for <a rel="nofollow" class="external text" href="http://www.amzi.com/#apls">Amzi! Prolog + Logic Server</a> but the API specification can be made available for any implementation.</li> <li><a rel="nofollow" class="external text" href="https://jpl7.org/">JPL</a> is a bi-directional Java Prolog bridge which ships with SWI-Prolog by default, allowing Java and Prolog to call each other (recursively). It is known to have good concurrency support and is under active development.</li> <li><a rel="nofollow" class="external text" href="http://interprolog.com/">InterProlog</a>, a programming <a href="/wiki/Library_(computing)" title="Library (computing)">library</a> bridge between <a href="/wiki/Java_platform" class="mw-redirect" title="Java platform">Java</a> and Prolog, implementing bi-directional predicate/method calling between both languages. Java objects can be mapped into Prolog terms and vice versa. Allows the development of <a href="/wiki/Graphical_user_interface" title="Graphical user interface">graphical user interfaces</a> (GUIs) and other functions in Java while leaving logic processing in the Prolog layer. Supports <a href="/wiki/XSB" title="XSB">XSB</a> and <a href="/wiki/SWI-Prolog" title="SWI-Prolog">SWI-Prolog</a>.</li> <li><a href="/wiki/Prova" title="Prova">Prova</a> provides native syntax integration with Java, agent messaging and reaction rules. Prova positions itself as a rule-based scripting (RBS) system for middleware. The language breaks new ground in combining <a href="/wiki/Imperative_programming" title="Imperative programming">imperative</a> and <a href="/wiki/Declarative_programming" title="Declarative programming">declarative programming</a>.</li> <li><a rel="nofollow" class="external text" href="https://github.com/raydac/jprol/">PROL</a> An embeddable Prolog engine for Java. It includes a small IDE and a few libraries.</li> <li><a rel="nofollow" class="external text" href="https://www.gnu.org/software/gnuprologjava/">GNU Prolog for Java</a> is an implementation of ISO Prolog as a Java library (gnu.prolog)</li> <li><a href="/wiki/Ciao_(programming_language)" title="Ciao (programming language)">Ciao</a> provides interfaces to C, <span class="nowrap">C++</span>, Java, and relational databases.</li> <li><a rel="nofollow" class="external text" href="http://sourceforge.net/projects/cs-prolog/">C#-Prolog</a> is a Prolog interpreter written in (managed) C#. Can easily be integrated in C# programs. Characteristics: reliable and fairly fast interpreter, command line interface, Windows-interface, builtin DCG, XML-predicates, SQL-predicates, extendible. The complete source code is available, including a parser generator that can be used for adding special purpose extensions.</li> <li><a rel="nofollow" class="external text" href="https://github.com/Trismegiste/WamBundle">A Warren Abstract Machine for PHP</a> A Prolog compiler and interpreter in PHP 5.3. A library that can be used standalone or within Symfony2.1 framework which was translated from <a rel="nofollow" class="external text" href="http://stefan.buettcher.org/">Stephan Buettcher's</a> work in Java which can be found [here <span class="url"><a rel="nofollow" class="external text" href="http://stefan.buettcher.org/cs/wam/">stefan<wbr />.buettcher<wbr />.org<wbr />/cs<wbr />/wam<wbr />/</a></span>]</li> <li><a rel="nofollow" class="external text" href="http://tuprolog.unibo.it">tuProlog</a> is a lightweight Prolog system for distributed applications and infrastructures, intentionally designed around a minimal core, to be either statically or dynamically configured by loading/unloading libraries of predicates. tuProlog natively supports multi-paradigm programming, providing a clean, seamless integration model between Prolog and mainstream object-oriented languages, namely Java, for tuProlog Java version, and any .NET-based language (C#, F#..), for tuProlog .NET version.</li> <li><a rel="nofollow" class="external text" href="https://www.swi-prolog.org/pldoc/doc_for?object=section(%27packages/janus.html%27)">Janus</a> is a bi-directional interface between Prolog and Python using portable low-level primitives. It was initially developed for XSB by Anderson and Swift,<sup id="cite_ref-78" class="reference"><a href="#cite_note-78"><span class="cite-bracket">&#91;</span>77<span class="cite-bracket">&#93;</span></a></sup> but has been adopted as a joint initiative by the XSB, Ciao and SWI-Prolog teams.</li></ul> <div class="mw-heading mw-heading2"><h2 id="History">History</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=38" title="Edit section: History"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Early_Prolog_timeline.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/4/49/Early_Prolog_timeline.svg/440px-Early_Prolog_timeline.svg.png" decoding="async" width="440" height="176" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/49/Early_Prolog_timeline.svg/660px-Early_Prolog_timeline.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/49/Early_Prolog_timeline.svg/880px-Early_Prolog_timeline.svg.png 2x" data-file-width="600" data-file-height="240" /></a><figcaption>Timeline of early developments in Prolog</figcaption></figure> <p>The name <i>Prolog</i> was chosen by Philippe Roussel, at the suggestion of his wife, as an abbreviation for <i><span title="French-language text"><i lang="fr">programmation en logique</i></span></i> (<a href="/wiki/French_language" title="French language">French</a> for <i>programming in <a href="/wiki/Logic" title="Logic">logic</a></i>).<sup id="cite_ref-79" class="reference"><a href="#cite_note-79"><span class="cite-bracket">&#91;</span>78<span class="cite-bracket">&#93;</span></a></sup> It was created around 1972 by <a href="/wiki/Alain_Colmerauer" title="Alain Colmerauer">Alain Colmerauer</a> with Philippe Roussel, based on <a href="/wiki/Robert_Kowalski" title="Robert Kowalski">Robert Kowalski</a>'s procedural interpretation of <a href="/wiki/Horn_clause" title="Horn clause">Horn clauses</a>. It was motivated in part by the desire to reconcile the use of logic as a declarative knowledge representation language with the procedural representation of knowledge that was popular in North America in the late 1960s and early 1970s. According to <a href="/wiki/Robert_Kowalski" title="Robert Kowalski">Robert Kowalski</a>, the first Prolog system was developed in 1972 by Colmerauer and Phillipe Roussel.<sup id="cite_ref-Kowalski_80-0" class="reference"><a href="#cite_note-Kowalski-80"><span class="cite-bracket">&#91;</span>79<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-81" class="reference"><a href="#cite_note-81"><span class="cite-bracket">&#91;</span>80<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-82" class="reference"><a href="#cite_note-82"><span class="cite-bracket">&#91;</span>81<span class="cite-bracket">&#93;</span></a></sup> The first implementation of Prolog was an interpreter written in <a href="/wiki/Fortran" title="Fortran">Fortran</a> by Gerard Battani and Henri Meloni. <a href="/wiki/David_H._D._Warren" title="David H. D. Warren">David H. D. Warren</a> took this interpreter to the <a href="/wiki/University_of_Edinburgh" title="University of Edinburgh">University of Edinburgh</a>, and there implemented an alternative front-end, which came to define the "Edinburgh Prolog" syntax used by most modern implementations. Warren also implemented the first compiler for Prolog, creating the influential DEC-10 Prolog in collaboration with Fernando Pereira. Warren later generalised the ideas behind DEC-10 Prolog, to create the <a href="/wiki/Warren_Abstract_Machine" title="Warren Abstract Machine">Warren Abstract Machine</a>. </p><p>European AI researchers favored Prolog while Americans favored <a href="/wiki/Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a>, reportedly causing many nationalistic debates on the merits of the languages.<sup id="cite_ref-pountain198410_83-0" class="reference"><a href="#cite_note-pountain198410-83"><span class="cite-bracket">&#91;</span>82<span class="cite-bracket">&#93;</span></a></sup> Much of the modern development of Prolog came from the impetus of the <a href="/wiki/Fifth_Generation_Computer_Systems_project" class="mw-redirect" title="Fifth Generation Computer Systems project">Fifth Generation Computer Systems project</a> (FGCS), which developed a variant of Prolog named <i><a href="/wiki/KL1" title="KL1">Kernel Language</a></i> for its first <a href="/wiki/Operating_system" title="Operating system">operating system</a>. </p><p>Pure Prolog was originally restricted to the use of a <a href="/wiki/Resolution_(logic)" title="Resolution (logic)">resolution</a> theorem prover with <a href="/wiki/Horn_clause" title="Horn clause">Horn clauses</a> of the form: </p> <pre>H&#160;:- B<sub>1</sub>, ..., B<sub>n</sub>. </pre> <p>The application of the theorem-prover treats such clauses as procedures: </p> <pre>to show/solve H, show/solve B<sub>1</sub> and ... and B<sub>n</sub>. </pre> <p>Pure Prolog was soon extended, however, to include <a href="/wiki/Negation_as_failure" title="Negation as failure">negation as failure</a>, in which negative conditions of the form not(B<sub>i</sub>) are shown by trying and failing to solve the corresponding positive conditions B<sub>i</sub>. </p><p>Subsequent extensions of Prolog by the original team introduced <a href="/wiki/Constraint_logic_programming" title="Constraint logic programming">constraint logic programming</a> abilities into the implementations. </p> <div class="mw-heading mw-heading2"><h2 id="Use_in_industry">Use in industry</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=39" title="Edit section: Use in industry"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Prolog has been used in <a href="/wiki/Watson_(computer)" class="mw-redirect" title="Watson (computer)">Watson</a>. Watson uses IBM's DeepQA software and the Apache <a href="/wiki/UIMA" title="UIMA">UIMA</a> (Unstructured Information Management Architecture) framework. The system was written in various languages, including Java, <span class="nowrap">C++</span>, and Prolog, and runs on the <a href="/wiki/SUSE_Linux_Enterprise_Server" class="mw-redirect" title="SUSE Linux Enterprise Server">SUSE Linux Enterprise Server</a> 11 operating system using <a href="/wiki/Apache_Hadoop" title="Apache Hadoop">Apache Hadoop</a> framework to provide distributed computing. Prolog is used for <a href="/wiki/Pattern_matching" title="Pattern matching">pattern matching</a> over natural language parse trees. The developers have stated: "We required a language in which we could conveniently express pattern matching rules over the parse trees and other annotations (such as named entity recognition results), and a technology that could execute these rules very efficiently. We found that Prolog was the ideal choice for the language due to its simplicity and <a href="/wiki/Expressive_power_(computer_science)" title="Expressive power (computer science)">expressiveness</a>."<sup id="cite_ref-lally_12-1" class="reference"><a href="#cite_note-lally-12"><span class="cite-bracket">&#91;</span>12<span class="cite-bracket">&#93;</span></a></sup> Prolog is being used in the Low-Code Development Platform <a href="/wiki/GeneXus" title="GeneXus">GeneXus</a>, which is focused around AI.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (November 2022)">citation needed</span></a></i>&#93;</sup> Open source <a href="/wiki/Graph_database" title="Graph database">graph database</a> <a href="/wiki/TerminusDB" title="TerminusDB">TerminusDB</a> is implemented in Prolog.<sup id="cite_ref-84" class="reference"><a href="#cite_note-84"><span class="cite-bracket">&#91;</span>83<span class="cite-bracket">&#93;</span></a></sup> TerminusDB is designed for collaboratively building and curating <a href="/wiki/Knowledge_graph" title="Knowledge graph">knowledge graphs</a>. </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=40" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Comparison_of_Prolog_implementations" title="Comparison of Prolog implementations">Comparison of Prolog implementations</a></li> <li><a href="/wiki/Logico-linguistic_modeling" title="Logico-linguistic modeling">Logico-linguistic modeling</a>. A method for building knowledge-based system that uses Prolog.</li> <li><a href="/wiki/Answer_set_programming" title="Answer set programming">Answer set programming</a>. A fully declarative approach to logic programming.</li> <li><a href="/wiki/Association_for_Logic_Programming" title="Association for Logic Programming">Association for Logic Programming</a></li></ul> <div class="mw-heading mw-heading3"><h3 id="Related_languages">Related languages</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=41" title="Edit section: Related languages"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li>The <a href="/wiki/G%C3%B6del_(programming_language)" title="Gödel (programming language)">Gödel</a> language is a strongly typed implementation of <a href="/wiki/Concurrent_constraint_logic_programming" title="Concurrent constraint logic programming">concurrent constraint logic programming</a>. It is built on <a href="/wiki/SICStus_Prolog" title="SICStus Prolog">SICStus Prolog</a>.</li> <li><a href="/wiki/Visual_Prolog" title="Visual Prolog">Visual Prolog</a>, formerly named PDC Prolog and Turbo Prolog, is a <a href="/wiki/Data_type" title="Data type">strongly typed</a> <a href="/wiki/Object-oriented_programming" title="Object-oriented programming">object-oriented</a> dialect of Prolog, which is very different from standard Prolog. As Turbo Prolog, it was marketed by Borland, but is now developed and marketed by the Danish firm Prolog Development Center (PDC) that originally produced it.</li> <li><a href="/wiki/Datalog" title="Datalog">Datalog</a> is a subset of Prolog. It is limited to relationships that may be stratified and does not allow compound terms. In contrast to Prolog, Datalog is not <a href="/wiki/Turing-complete" class="mw-redirect" title="Turing-complete">Turing-complete</a>.</li> <li><a href="/wiki/Mercury_(programming_language)" title="Mercury (programming language)">Mercury</a> is an offshoot of Prolog geared toward software engineering in the large with a static, polymorphic type system, as well as a mode and determinism system.</li> <li>GraphTalk is a proprietary implementation of Warren's Abstract Machine, with additional object-oriented properties.</li> <li>In some ways<sup class="noprint Inline-Template" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Avoid_weasel_words" class="mw-redirect" title="Wikipedia:Avoid weasel words"><span title="The material near this tag possibly uses too vague attribution or weasel words. (February 2010)">which?</span></a></i>&#93;</sup> Prolog is a subset of <a href="/wiki/Planner_(programming_language)" title="Planner (programming language)">Planner</a>. The ideas in Planner were later further developed in the <a href="/wiki/Scientific_Community_Metaphor" class="mw-redirect" title="Scientific Community Metaphor">Scientific Community Metaphor</a>.</li> <li><a href="/wiki/AgentSpeak" title="AgentSpeak">AgentSpeak</a> is a variant of Prolog for programming agent behavior in <a href="/wiki/Multi-agent_system" title="Multi-agent system">multi-agent systems</a>.</li> <li><a href="/wiki/Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a> began life with a Prolog-based implementation and maintains much of Prolog's unification-based syntax.</li> <li><a rel="nofollow" class="external text" href="https://picolisp.com/wiki/?accessToLispFunctionFromPilog">Pilog</a> is a declarative language built on top of <a href="/wiki/PicoLisp" title="PicoLisp">PicoLisp</a>, that has the semantics of Prolog, but uses the syntax of Lisp.</li> <li><a href="/wiki/%CE%9BProlog" title="ΛProlog">λProlog</a> is an extension of core Prolog that features polymorphic typing, modular programming, and higher-order programming, including direct support for terms with variable-binding operators through so-called λ-tree syntax and higher-order pattern unification.</li></ul> <div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=42" title="Edit section: Notes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239543626">.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist"> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text"> The Prolog terminology differs from that of <a href="/wiki/First-order_logic" title="First-order logic">logic</a>. A term of Prolog is (depending on the context) a <a href="/wiki/Term_(logic)" title="Term (logic)">term</a> or an <a href="/wiki/Atomic_formula" title="Atomic formula">atomic formula</a> of logic. An atom in a standard logic terminology means an <a href="/wiki/Atomic_formula" title="Atomic formula">atomic formula</a>; an atom of Prolog (depending on the context) is a constant, function symbol or predicate symbol of logic.</span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=43" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239543626"><div class="reflist"> <div class="mw-references-wrap mw-references-columns"><ol class="references"> <li id="cite_note-Clocksin2003-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-Clocksin2003_1-0">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite id="CITEREFClocksinMellish2003" class="citation book cs1">Clocksin, William F.; Mellish, Christopher S. (2003). <i>Programming in Prolog</i>. Berlin; New York: Springer-Verlag. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-00678-7" title="Special:BookSources/978-3-540-00678-7"><bdi>978-3-540-00678-7</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Programming+in+Prolog&amp;rft.place=Berlin%3B+New+York&amp;rft.pub=Springer-Verlag&amp;rft.date=2003&amp;rft.isbn=978-3-540-00678-7&amp;rft.aulast=Clocksin&amp;rft.aufirst=William+F.&amp;rft.au=Mellish%2C+Christopher+S.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Bratko2012-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-Bratko2012_2-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBratko2012" class="citation book cs1">Bratko, Ivan (2012). <i>Prolog programming for artificial intelligence</i> (4th&#160;ed.). Harlow, England; New York: Addison Wesley. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-321-41746-6" title="Special:BookSources/978-0-321-41746-6"><bdi>978-0-321-41746-6</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Prolog+programming+for+artificial+intelligence&amp;rft.place=Harlow%2C+England%3B+New+York&amp;rft.edition=4th&amp;rft.pub=Addison+Wesley&amp;rft.date=2012&amp;rft.isbn=978-0-321-41746-6&amp;rft.aulast=Bratko&amp;rft.aufirst=Ivan&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Covington1994-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-Covington1994_3-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCovington1994" class="citation book cs1">Covington, Michael A. (1994). <i>Natural language processing for Prolog programmers</i>. Englewood Cliffs, N.J.: Prentice Hall. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-13-629213-5" title="Special:BookSources/978-0-13-629213-5"><bdi>978-0-13-629213-5</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Natural+language+processing+for+Prolog+programmers&amp;rft.place=Englewood+Cliffs%2C+N.J.&amp;rft.pub=Prentice+Hall&amp;rft.date=1994&amp;rft.isbn=978-0-13-629213-5&amp;rft.aulast=Covington&amp;rft.aufirst=Michael+A.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-lloyd84-4"><span class="mw-cite-backlink">^ <a href="#cite_ref-lloyd84_4-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-lloyd84_4-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFLloyd,_J._W.1984" class="citation book cs1">Lloyd, J. W. (1984). <i>Foundations of logic programming</i>. Berlin: Springer-Verlag. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-13299-8" title="Special:BookSources/978-3-540-13299-8"><bdi>978-3-540-13299-8</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Foundations+of+logic+programming&amp;rft.place=Berlin&amp;rft.pub=Springer-Verlag&amp;rft.date=1984&amp;rft.isbn=978-3-540-13299-8&amp;rft.au=Lloyd%2C+J.+W.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text">See <a href="/wiki/Logic_programming#History" title="Logic programming">Logic programming §&#160;History</a>.</span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFStickel1988" class="citation journal cs1">Stickel, M. E. (1988). "A prolog technology theorem prover: Implementation by an extended prolog compiler". <i><a href="/wiki/Journal_of_Automated_Reasoning" title="Journal of Automated Reasoning">Journal of Automated Reasoning</a></i>. <b>4</b> (4): 353–380. <a href="/wiki/CiteSeerX_(identifier)" class="mw-redirect" title="CiteSeerX (identifier)">CiteSeerX</a>&#160;<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.47.3057">10.1.1.47.3057</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2FBF00297245">10.1007/BF00297245</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:14621218">14621218</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Journal+of+Automated+Reasoning&amp;rft.atitle=A+prolog+technology+theorem+prover%3A+Implementation+by+an+extended+prolog+compiler&amp;rft.volume=4&amp;rft.issue=4&amp;rft.pages=353-380&amp;rft.date=1988&amp;rft_id=https%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fsummary%3Fdoi%3D10.1.1.47.3057%23id-name%3DCiteSeerX&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A14621218%23id-name%3DS2CID&amp;rft_id=info%3Adoi%2F10.1007%2FBF00297245&amp;rft.aulast=Stickel&amp;rft.aufirst=M.+E.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMerritt,_Dennis1989" class="citation book cs1">Merritt, Dennis (1989). <span class="id-lock-registration" title="Free registration required"><a rel="nofollow" class="external text" href="https://archive.org/details/buildingexpertsy0000merr"><i>Building expert systems in Prolog</i></a></span>. Berlin: Springer-Verlag. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-387-97016-5" title="Special:BookSources/978-0-387-97016-5"><bdi>978-0-387-97016-5</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Building+expert+systems+in+Prolog&amp;rft.place=Berlin&amp;rft.pub=Springer-Verlag&amp;rft.date=1989&amp;rft.isbn=978-0-387-97016-5&amp;rft.au=Merritt%2C+Dennis&amp;rft_id=https%3A%2F%2Farchive.org%2Fdetails%2Fbuildingexpertsy0000merr&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text">Felty, Amy. "A logic programming approach to implementing higher-order term rewriting." Extensions of Logic Programming (1992): 135-161.</span> </li> <li id="cite_note-Lee2015-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-Lee2015_9-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKent_D._Lee2015" class="citation book cs1">Kent D. Lee (19 January 2015). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=dERFBgAAQBAJ&amp;q=prolog+type+inference&amp;pg=PA298"><i>Foundations of Programming Languages</i></a>. Springer. pp.&#160;298–. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-319-13314-0" title="Special:BookSources/978-3-319-13314-0"><bdi>978-3-319-13314-0</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Foundations+of+Programming+Languages&amp;rft.pages=298-&amp;rft.pub=Springer&amp;rft.date=2015-01-19&amp;rft.isbn=978-3-319-13314-0&amp;rft.au=Kent+D.+Lee&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DdERFBgAAQBAJ%26q%3Dprolog%2Btype%2Binference%26pg%3DPA298&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Schmid2003-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-Schmid2003_10-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFUte_Schmid2003" class="citation book cs1"><a href="/wiki/Ute_Schmid" title="Ute Schmid">Ute Schmid</a> (21 August 2003). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=p-Fy25LE4lMC"><i>Inductive Synthesis of Functional Programs: Universal Planning, Folding of Finite Programs, and Schema Abstraction by Analogical Reasoning</i></a>. Springer Science &amp; Business Media. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-40174-2" title="Special:BookSources/978-3-540-40174-2"><bdi>978-3-540-40174-2</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Inductive+Synthesis+of+Functional+Programs%3A+Universal+Planning%2C+Folding+of+Finite+Programs%2C+and+Schema+Abstraction+by+Analogical+Reasoning&amp;rft.pub=Springer+Science+%26+Business+Media&amp;rft.date=2003-08-21&amp;rft.isbn=978-3-540-40174-2&amp;rft.au=Ute+Schmid&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3Dp-Fy25LE4lMC&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFFernando_C._N._PereiraStuart_M._Shieber2005" class="citation book cs1"><a href="/wiki/Fernando_Pereira" title="Fernando Pereira">Fernando C. N. Pereira</a>; Stuart M. Shieber (2005). <a rel="nofollow" class="external text" href="http://mtome.com/Publications/PNLA/pnla.html"><i>Prolog and Natural Language Analysis</i></a>. Microtome.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Prolog+and+Natural+Language+Analysis&amp;rft.pub=Microtome&amp;rft.date=2005&amp;rft.au=Fernando+C.+N.+Pereira&amp;rft.au=Stuart+M.+Shieber&amp;rft_id=http%3A%2F%2Fmtome.com%2FPublications%2FPNLA%2Fpnla.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-lally-12"><span class="mw-cite-backlink">^ <a href="#cite_ref-lally_12-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-lally_12-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFAdam_LallyPaul_Fodor2011" class="citation web cs1">Adam Lally; Paul Fodor (31 March 2011). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20140903064037/http://www.cs.nmsu.edu/ALP/2011/03/natural-language-processing-with-prolog-in-the-ibm-watson-system/">"Natural Language Processing With Prolog in the IBM Watson System"</a>. Association for Logic Programming. Archived from <a rel="nofollow" class="external text" href="http://www.cs.nmsu.edu/ALP/2011/03/natural-language-processing-with-prolog-in-the-ibm-watson-system/">the original</a> on 3 September 2014<span class="reference-accessdate">. Retrieved <span class="nowrap">13 June</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Natural+Language+Processing+With+Prolog+in+the+IBM+Watson+System&amp;rft.pub=Association+for+Logic+Programming&amp;rft.date=2011-03-31&amp;rft.au=Adam+Lally&amp;rft.au=Paul+Fodor&amp;rft_id=http%3A%2F%2Fwww.cs.nmsu.edu%2FALP%2F2011%2F03%2Fnatural-language-processing-with-prolog-in-the-ibm-watson-system%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span> See also <a href="/wiki/Watson_(computer)" class="mw-redirect" title="Watson (computer)">Watson (computer)</a>.</span> </li> <li id="cite_note-ISO_13211-1_6.3.7-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-ISO_13211-1_6.3.7_14-0">^</a></b></span> <span class="reference-text">ISO/IEC 13211-1:1995 Prolog, 6.3.7 Terms - double quoted list notation. <a href="/wiki/International_Organization_for_Standardization" title="International Organization for Standardization">International Organization for Standardization</a>, Geneva.</span> </li> <li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCarlsson2014" class="citation book cs1">Carlsson, Mats (27 May 2014). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=dZimAwAAQBAJ&amp;q=prolog%20failure%20driven%20loop%20%22iteration%22&amp;pg=PA148"><i>SICStus Prolog User's Manual 4.3: Core reference documentation</i></a>. BoD – Books on Demand. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-7357-3744-1" title="Special:BookSources/978-3-7357-3744-1"><bdi>978-3-7357-3744-1</bdi></a> &#8211; via Google Books.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=SICStus+Prolog+User%27s+Manual+4.3%3A+Core+reference+documentation&amp;rft.pub=BoD+%E2%80%93+Books+on+Demand&amp;rft.date=2014-05-27&amp;rft.isbn=978-3-7357-3744-1&amp;rft.aulast=Carlsson&amp;rft.aufirst=Mats&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DdZimAwAAQBAJ%26q%3Dprolog%2520failure%2520driven%2520loop%2520%2522iteration%2522%26pg%3DPA148&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCovingtonBagnaraO&#39;KeefeWielemaker2011" class="citation journal cs1">Covington, Michael A.; Bagnara, Roberto; <a href="/wiki/Richard_O%27Keefe" title="Richard O&#39;Keefe">O'Keefe, Richard A.</a>; Wielemaker, Jan; Price, Simon (2011). "Coding guidelines for Prolog". <i><a href="/wiki/Theory_and_Practice_of_Logic_Programming" class="mw-redirect" title="Theory and Practice of Logic Programming">Theory and Practice of Logic Programming</a></i>. <b>12</b> (6): 889–927. <a href="/wiki/ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/0911.2899">0911.2899</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FS1471068411000391">10.1017/S1471068411000391</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:438363">438363</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Theory+and+Practice+of+Logic+Programming&amp;rft.atitle=Coding+guidelines+for+Prolog&amp;rft.volume=12&amp;rft.issue=6&amp;rft.pages=889-927&amp;rft.date=2011&amp;rft_id=info%3Aarxiv%2F0911.2899&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A438363%23id-name%3DS2CID&amp;rft_id=info%3Adoi%2F10.1017%2FS1471068411000391&amp;rft.aulast=Covington&amp;rft.aufirst=Michael+A.&amp;rft.au=Bagnara%2C+Roberto&amp;rft.au=O%27Keefe%2C+Richard+A.&amp;rft.au=Wielemaker%2C+Jan&amp;rft.au=Price%2C+Simon&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKirschenbaumSterling1993" class="citation journal cs1">Kirschenbaum, M.; Sterling, L.S. (1993). "Applying Techniques to Skeletons - Patterns for Prolog Programming". <i>Constructing Logic Programs, (Ed. J.M.J. Jacquet)</i>. Lecture Notes in Computer Science / Lecture Notes in Artificial Intelligence: 27–140. <a href="/wiki/CiteSeerX_(identifier)" class="mw-redirect" title="CiteSeerX (identifier)">CiteSeerX</a>&#160;<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.56.7278">10.1.1.56.7278</a></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Constructing+Logic+Programs%2C+%28Ed.+J.M.J.+Jacquet%29&amp;rft.atitle=Applying+Techniques+to+Skeletons+-+Patterns+for+Prolog+Programming&amp;rft.pages=27-140&amp;rft.date=1993&amp;rft_id=https%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fsummary%3Fdoi%3D10.1.1.56.7278%23id-name%3DCiteSeerX&amp;rft.aulast=Kirschenbaum&amp;rft.aufirst=M.&amp;rft.au=Sterling%2C+L.S.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSterling2002" class="citation book cs1">Sterling, Leon (2002). <i>Computational Logic: Logic Programming and Beyond</i>. Vol.&#160;2407. pp.&#160;17–26. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F3-540-45628-7_15">10.1007/3-540-45628-7_15</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-43959-2" title="Special:BookSources/978-3-540-43959-2"><bdi>978-3-540-43959-2</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Computational+Logic%3A+Logic+Programming+and+Beyond&amp;rft.pages=17-26&amp;rft.date=2002&amp;rft_id=info%3Adoi%2F10.1007%2F3-540-45628-7_15&amp;rft.isbn=978-3-540-43959-2&amp;rft.aulast=Sterling&amp;rft.aufirst=Leon&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text">D. Barker-Plummer. Cliche programming in Prolog. In M. Bruynooghe, editor, Proc. Second Workshop on Meta-Programming in Logic, pages 247--256. Dept. of Comp. Sci., Katholieke Univ. Leuven, 1990.</span> </li> <li id="cite_note-Gegg-harrison1995-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-Gegg-harrison1995_20-0">^</a></b></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFGegg-harrison1995" class="citation conference cs1">Gegg-harrison, T. S. (1995). <i>Representing Logic Program Schemata in Prolog</i>. Procs Twelfth International Conference on Logic Programming. pp.&#160;467–481.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=conference&amp;rft.btitle=Representing+Logic+Program+Schemata+in+Prolog&amp;rft.pages=467-481&amp;rft.date=1995&amp;rft.aulast=Gegg-harrison&amp;rft.aufirst=T.+S.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Deville1990-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-Deville1990_21-0">^</a></b></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDeville1990" class="citation book cs1">Deville, Yves (1990). <i>Logic programming: systematic program development</i>. Wokingham, England: Addison-Wesley. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-201-17576-9" title="Special:BookSources/978-0-201-17576-9"><bdi>978-0-201-17576-9</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Logic+programming%3A+systematic+program+development&amp;rft.place=Wokingham%2C+England&amp;rft.pub=Addison-Wesley&amp;rft.date=1990&amp;rft.isbn=978-0-201-17576-9&amp;rft.aulast=Deville&amp;rft.aufirst=Yves&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Naish1996-22"><span class="mw-cite-backlink">^ <a href="#cite_ref-Naish1996_22-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Naish1996_22-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFNaish1996" class="citation report cs1">Naish, Lee (1996). Higher-order logic programming in Prolog (Report). Department of Computer Science, <a href="/wiki/University_of_Melbourne" title="University of Melbourne">University of Melbourne</a>. <a href="/wiki/CiteSeerX_(identifier)" class="mw-redirect" title="CiteSeerX (identifier)">CiteSeerX</a>&#160;<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.4505">10.1.1.35.4505</a></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=report&amp;rft.btitle=Higher-order+logic+programming+in+Prolog&amp;rft.pub=Department+of+Computer+Science%2C+University+of+Melbourne&amp;rft.date=1996&amp;rft_id=https%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fsummary%3Fdoi%3D10.1.1.35.4505%23id-name%3DCiteSeerX&amp;rft.aulast=Naish&amp;rft.aufirst=Lee&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-23">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://okmij.org/ftp/Prolog/quantification.txt">"With regard to Prolog variables, variables only in the head are implicitly universally quantified, and those only in the body are implicitly existentially quantified"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2013-05-04</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=With+regard+to+Prolog+variables%2C+variables+only+in+the+head+are+implicitly+universally+quantified%2C+and+those+only+in+the+body+are+implicitly+existentially+quantified&amp;rft_id=http%3A%2F%2Fokmij.org%2Fftp%2FProlog%2Fquantification.txt&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-ISO_13211-24"><span class="mw-cite-backlink">^ <a href="#cite_ref-ISO_13211_24-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-ISO_13211_24-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-ISO_13211_24-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text">ISO/IEC 13211: Information technology – Programming languages – Prolog. <a href="/wiki/International_Organization_for_Standardization" title="International Organization for Standardization">International Organization for Standardization</a>, Geneva.</span> </li> <li id="cite_note-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-25">^</a></b></span> <span class="reference-text">ISO/IEC 13211-2: Modules.</span> </li> <li id="cite_note-auto-26"><span class="mw-cite-backlink">^ <a href="#cite_ref-auto_26-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-auto_26-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFPhilipp_KörnerMichael_LeuschelJoão_BarbosaVítor_Santos_Costa2022" class="citation cs2">Philipp Körner; Michael Leuschel; João Barbosa; Vítor Santos Costa; Verónica Dahl; Manuel V. Hermenegildo; Jose F. Morales; Jan Wielemaker; Daniel Diaz; Salvador Abreu; Giovanni Ciatto (November 2022), "Fifty Years of Prolog and Beyond", <i>Theory and Practice of Logic Programming</i>, <b>22</b> (6): 776–858, <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FS1471068422000102">10.1017/S1471068422000102</a></span>, <a href="/wiki/Hdl_(identifier)" class="mw-redirect" title="Hdl (identifier)">hdl</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://hdl.handle.net/10174%2F33387">10174/33387</a></span></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Theory+and+Practice+of+Logic+Programming&amp;rft.atitle=Fifty+Years+of+Prolog+and+Beyond&amp;rft.volume=22&amp;rft.issue=6&amp;rft.pages=776-858&amp;rft.date=2022-11&amp;rft_id=info%3Ahdl%2F10174%2F33387&amp;rft_id=info%3Adoi%2F10.1017%2FS1471068422000102&amp;rft.au=Philipp+K%C3%B6rner&amp;rft.au=Michael+Leuschel&amp;rft.au=Jo%C3%A3o+Barbosa&amp;rft.au=V%C3%ADtor+Santos+Costa&amp;rft.au=Ver%C3%B3nica+Dahl&amp;rft.au=Manuel+V.+Hermenegildo&amp;rft.au=Jose+F.+Morales&amp;rft.au=Jan+Wielemaker&amp;rft.au=Daniel+Diaz&amp;rft.au=Salvador+Abreu&amp;rft.au=Giovanni+Ciatto&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-cs.kuleuven.ac.be-27"><span class="mw-cite-backlink">^ <a href="#cite_ref-cs.kuleuven.ac.be_27-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-cs.kuleuven.ac.be_27-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMoura2004" class="citation cs2">Moura, Paulo (August 2004), <a rel="nofollow" class="external text" href="https://web.archive.org/web/20100412151301/http://www.cs.kuleuven.ac.be/~dtai/projects/ALP/newsletter/aug04/nav/print/all.html#logtalk">"Logtalk"</a>, <i>Association of Logic Programming</i>, <b>17</b> (3), archived from <a rel="nofollow" class="external text" href="http://www.cs.kuleuven.ac.be/~dtai/projects/ALP/newsletter/aug04/nav/print/all.html#logtalk">the original</a> on 2010-04-12<span class="reference-accessdate">, retrieved <span class="nowrap">2010-02-16</span></span></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Association+of+Logic+Programming&amp;rft.atitle=Logtalk&amp;rft.volume=17&amp;rft.issue=3&amp;rft.date=2004-08&amp;rft.aulast=Moura&amp;rft.aufirst=Paulo&amp;rft_id=http%3A%2F%2Fwww.cs.kuleuven.ac.be%2F~dtai%2Fprojects%2FALP%2Fnewsletter%2Faug04%2Fnav%2Fprint%2Fall.html%23logtalk&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-28"><span class="mw-cite-backlink"><b><a href="#cite_ref-28">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFAbreuNogueira2005" class="citation cs2">Abreu; Nogueira (2005), "Using a Logic Programming Language with Persistence and Contexts", <i>Lecture Notes in Artificia Intelligence</i>, <b>4369</b></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Lecture+Notes+in+Artificia+Intelligence&amp;rft.atitle=Using+a+Logic+Programming+Language+with+Persistence+and+Contexts&amp;rft.volume=4369&amp;rft.date=2005&amp;rft.au=Abreu&amp;rft.au=Nogueira&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-29"><span class="mw-cite-backlink"><b><a href="#cite_ref-29">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCabezaHermenegildo2000" class="citation cs2">Cabeza; Hermenegildo (2000), <i>A new module system for Prolog</i>, Lecture Notes in Computer Science, vol.&#160;1861</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=A+new+module+system+for+Prolog&amp;rft.series=Lecture+Notes+in+Computer+Science&amp;rft.date=2000&amp;rft.au=Cabeza&amp;rft.au=Hermenegildo&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-30"><span class="mw-cite-backlink"><b><a href="#cite_ref-30">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSagonasSwiftWarren1994" class="citation cs2">Sagonas; Swift; Warren (1994), "XSB as an efficient deductive database engine", <i>SIGMOD</i></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=SIGMOD&amp;rft.atitle=XSB+as+an+efficient+deductive+database+engine&amp;rft.date=1994&amp;rft.au=Sagonas&amp;rft.au=Swift&amp;rft.au=Warren&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-AOP94-31"><span class="mw-cite-backlink">^ <a href="#cite_ref-AOP94_31-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-AOP94_31-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFShapiro,_Ehud_Y.Sterling,_Leon1994" class="citation book cs1">Shapiro, Ehud Y.; Sterling, Leon (1994). <i>The Art of Prolog: Advanced Programming Techniques</i>. Cambridge, Massachusetts: MIT Press. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-262-19338-2" title="Special:BookSources/978-0-262-19338-2"><bdi>978-0-262-19338-2</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=The+Art+of+Prolog%3A+Advanced+Programming+Techniques&amp;rft.place=Cambridge%2C+Massachusetts&amp;rft.pub=MIT+Press&amp;rft.date=1994&amp;rft.isbn=978-0-262-19338-2&amp;rft.au=Shapiro%2C+Ehud+Y.&amp;rft.au=Sterling%2C+Leon&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-32"><span class="mw-cite-backlink"><b><a href="#cite_ref-32">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFEd-DbaliDeransartCervoni1996" class="citation book cs1">Ed-Dbali, A.; Deransart, Pierre; Cervoni, L. (1996). <i>Prolog: the standard: reference manual</i>. Berlin: Springer. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-59304-1" title="Special:BookSources/978-3-540-59304-1"><bdi>978-3-540-59304-1</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Prolog%3A+the+standard%3A+reference+manual&amp;rft.place=Berlin&amp;rft.pub=Springer&amp;rft.date=1996&amp;rft.isbn=978-3-540-59304-1&amp;rft.aulast=Ed-Dbali&amp;rft.aufirst=A.&amp;rft.au=Deransart%2C+Pierre&amp;rft.au=Cervoni%2C+L.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Cor.1-33"><span class="mw-cite-backlink"><b><a href="#cite_ref-Cor.1_33-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.iso.org/cms/render/live/en/sites/isoorg/contents/data/standard/05/04/50405.html">"ISO/IEC 13211-1:1995/Cor 1:2007"</a>. <i>ISO</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=ISO&amp;rft.atitle=ISO%2FIEC+13211-1%3A1995%2FCor+1%3A2007&amp;rft_id=https%3A%2F%2Fwww.iso.org%2Fcms%2Frender%2Flive%2Fen%2Fsites%2Fisoorg%2Fcontents%2Fdata%2Fstandard%2F05%2F04%2F50405.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Cor.2-34"><span class="mw-cite-backlink"><b><a href="#cite_ref-Cor.2_34-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.iso.org/cms/render/live/en/sites/isoorg/contents/data/standard/05/80/58033.html">"ISO/IEC 13211-1:1995/Cor 2:2012"</a>. <i>ISO</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=ISO&amp;rft.atitle=ISO%2FIEC+13211-1%3A1995%2FCor+2%3A2012&amp;rft_id=https%3A%2F%2Fwww.iso.org%2Fcms%2Frender%2Flive%2Fen%2Fsites%2Fisoorg%2Fcontents%2Fdata%2Fstandard%2F05%2F80%2F58033.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Cor.3-35"><span class="mw-cite-backlink"><b><a href="#cite_ref-Cor.3_35-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.iso.org/cms/render/live/en/sites/isoorg/contents/data/standard/07/31/73194.html">"ISO/IEC 13211-1:1995/Cor 3:2017"</a>. <i>ISO</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=ISO&amp;rft.atitle=ISO%2FIEC+13211-1%3A1995%2FCor+3%3A2017&amp;rft_id=https%3A%2F%2Fwww.iso.org%2Fcms%2Frender%2Flive%2Fen%2Fsites%2Fisoorg%2Fcontents%2Fdata%2Fstandard%2F07%2F31%2F73194.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-WG17-36"><span class="mw-cite-backlink"><b><a href="#cite_ref-WG17_36-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://iso.org/jtc1sc22wg17">"ISO/IEC JTC1 SC22 WG17"</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=ISO%2FIEC+JTC1+SC22+WG17&amp;rft_id=http%3A%2F%2Fiso.org%2Fjtc1sc22wg17&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span><sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i><a href="/wiki/Wikipedia:Link_rot" title="Wikipedia:Link rot"><span title="&#160;Dead link tagged February 2023">permanent dead link</span></a></i><span style="visibility:hidden; color:transparent; padding-left:2px">&#8205;</span>&#93;</span></sup></span> </li> <li id="cite_note-X3J17-37"><span class="mw-cite-backlink"><b><a href="#cite_ref-X3J17_37-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20090823160951/http://www.sju.edu/~jhodgson/x3j17.html">"X3J17 and the Prolog Standard"</a>. Archived from <a rel="nofollow" class="external text" href="http://www.sju.edu/~jhodgson/x3j17.html">the original</a> on 2009-08-23<span class="reference-accessdate">. Retrieved <span class="nowrap">2009-10-02</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=X3J17+and+the+Prolog+Standard&amp;rft_id=http%3A%2F%2Fwww.sju.edu%2F~jhodgson%2Fx3j17.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-38"><span class="mw-cite-backlink"><b><a href="#cite_ref-38">^</a></b></span> <span class="reference-text">David H. D. Warren. <a rel="nofollow" class="external text" href="https://www.ai.sri.com/pubs/files/641.pdf">"An abstract Prolog instruction set"</a>. Technical Note 309, <a href="/wiki/SRI_International" title="SRI International">SRI International</a>, Menlo Park, CA, October 1983.</span> </li> <li id="cite_note-39"><span class="mw-cite-backlink"><b><a href="#cite_ref-39">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFVan_RoyDespain1992" class="citation journal cs1">Van Roy, P.; Despain, A. M. (1992). "High-performance logic programming with the Aquarius Prolog compiler". <i>Computer</i>. <b>25</b>: 54–68. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1109%2F2.108055">10.1109/2.108055</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:16447071">16447071</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Computer&amp;rft.atitle=High-performance+logic+programming+with+the+Aquarius+Prolog+compiler&amp;rft.volume=25&amp;rft.pages=54-68&amp;rft.date=1992&amp;rft_id=info%3Adoi%2F10.1109%2F2.108055&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A16447071%23id-name%3DS2CID&amp;rft.aulast=Van+Roy&amp;rft.aufirst=P.&amp;rft.au=Despain%2C+A.+M.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-40"><span class="mw-cite-backlink"><b><a href="#cite_ref-40">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFGraf1995" class="citation book cs1">Graf, Peter (1995). <i>Term indexing</i>. Springer. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-61040-3" title="Special:BookSources/978-3-540-61040-3"><bdi>978-3-540-61040-3</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Term+indexing&amp;rft.pub=Springer&amp;rft.date=1995&amp;rft.isbn=978-3-540-61040-3&amp;rft.aulast=Graf&amp;rft.aufirst=Peter&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-WisePowers-41"><span class="mw-cite-backlink"><b><a href="#cite_ref-WisePowers_41-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFWisePowers1986" class="citation conference cs1">Wise, Michael J.; Powers, David M. W. (1986). <i>Indexing Prolog Clauses via Superimposed Code Words and Field Encoded Words</i>. <i>International Symposium on Logic Programming</i>. pp.&#160;203–210.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=conference&amp;rft.jtitle=International+Symposium+on+Logic+Programming&amp;rft.atitle=Indexing+Prolog+Clauses+via+Superimposed+Code+Words+and+Field+Encoded+Words&amp;rft.pages=203-210&amp;rft.date=1986&amp;rft.aulast=Wise&amp;rft.aufirst=Michael+J.&amp;rft.au=Powers%2C+David+M.+W.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-Colomb-42"><span class="mw-cite-backlink"><b><a href="#cite_ref-Colomb_42-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFColomb1991" class="citation journal cs1">Colomb, Robert M. (1991). "Enhancing unification in PROLOG through clause indexing". <i>The Journal of Logic Programming</i>. <b>10</b>: 23–44. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0743-1066%2891%2990004-9">10.1016/0743-1066(91)90004-9</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=The+Journal+of+Logic+Programming&amp;rft.atitle=Enhancing+unification+in+PROLOG+through+clause+indexing&amp;rft.volume=10&amp;rft.pages=23-44&amp;rft.date=1991&amp;rft_id=info%3Adoi%2F10.1016%2F0743-1066%2891%2990004-9&amp;rft.aulast=Colomb&amp;rft.aufirst=Robert+M.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-43"><span class="mw-cite-backlink"><b><a href="#cite_ref-43">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSwift1999" class="citation journal cs1">Swift, T. (1999). "Tabling for non-monotonic programming". <i>Annals of Mathematics and Artificial Intelligence</i>. <b>25</b> (3/4): 201–240. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1023%2FA%3A1018990308362">10.1023/A:1018990308362</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:16695800">16695800</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Annals+of+Mathematics+and+Artificial+Intelligence&amp;rft.atitle=Tabling+for+non-monotonic+programming&amp;rft.volume=25&amp;rft.issue=3%2F4&amp;rft.pages=201-240&amp;rft.date=1999&amp;rft_id=info%3Adoi%2F10.1023%2FA%3A1018990308362&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A16695800%23id-name%3DS2CID&amp;rft.aulast=Swift&amp;rft.aufirst=T.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-44"><span class="mw-cite-backlink"><b><a href="#cite_ref-44">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFZhouSato2003" class="citation journal cs1">Zhou, Neng-Fa; Sato, Taisuke (2003). <a rel="nofollow" class="external text" href="http://www.sci.brooklyn.cuny.edu/~zhou/papers/ppdp03.pdf">"Efficient Fixpoint Computation in Linear Tabling"</a> <span class="cs1-format">(PDF)</span>. <i>Proceedings of the 5th ACM SIGPLAN International Conference on Principles and Practice of Declarative Programming</i>: 275–283.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Proceedings+of+the+5th+ACM+SIGPLAN+International+Conference+on+Principles+and+Practice+of+Declarative+Programming&amp;rft.atitle=Efficient+Fixpoint+Computation+in+Linear+Tabling&amp;rft.pages=275-283&amp;rft.date=2003&amp;rft.aulast=Zhou&amp;rft.aufirst=Neng-Fa&amp;rft.au=Sato%2C+Taisuke&amp;rft_id=http%3A%2F%2Fwww.sci.brooklyn.cuny.edu%2F~zhou%2Fpapers%2Fppdp03.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-45"><span class="mw-cite-backlink"><b><a href="#cite_ref-45">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSwiftWarren2011" class="citation journal cs1">Swift, T.; Warren, D. S. (2011). "XSB: Extending Prolog with Tabled Logic Programming". <i>Theory and Practice of Logic Programming</i>. <b>12</b> (1–2): 157–187. <a href="/wiki/ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1012.5123">1012.5123</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FS1471068411000500">10.1017/S1471068411000500</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:6153112">6153112</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Theory+and+Practice+of+Logic+Programming&amp;rft.atitle=XSB%3A+Extending+Prolog+with+Tabled+Logic+Programming&amp;rft.volume=12&amp;rft.issue=1%E2%80%932&amp;rft.pages=157-187&amp;rft.date=2011&amp;rft_id=info%3Aarxiv%2F1012.5123&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A6153112%23id-name%3DS2CID&amp;rft_id=info%3Adoi%2F10.1017%2FS1471068411000500&amp;rft.aulast=Swift&amp;rft.aufirst=T.&amp;rft.au=Warren%2C+D.+S.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-46"><span class="mw-cite-backlink"><b><a href="#cite_ref-46">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFAbeBandohYamaguchiKurosawa1987" class="citation book cs1">Abe, S.; Bandoh, T.; Yamaguchi, S.; Kurosawa, K.; Kiriyama, K. (1987). "High performance integrated Prolog processor IPP". <i>Proceedings of the 14th annual international symposium on Computer architecture - ISCA '87</i>. p.&#160;100. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F30350.30362">10.1145/30350.30362</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-8186-0776-9" title="Special:BookSources/978-0-8186-0776-9"><bdi>978-0-8186-0776-9</bdi></a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:10283148">10283148</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=High+performance+integrated+Prolog+processor+IPP&amp;rft.btitle=Proceedings+of+the+14th+annual+international+symposium+on+Computer+architecture+-+ISCA+%2787&amp;rft.pages=100&amp;rft.date=1987&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A10283148%23id-name%3DS2CID&amp;rft_id=info%3Adoi%2F10.1145%2F30350.30362&amp;rft.isbn=978-0-8186-0776-9&amp;rft.aulast=Abe&amp;rft.aufirst=S.&amp;rft.au=Bandoh%2C+T.&amp;rft.au=Yamaguchi%2C+S.&amp;rft.au=Kurosawa%2C+K.&amp;rft.au=Kiriyama%2C+K.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-47"><span class="mw-cite-backlink"><b><a href="#cite_ref-47">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFRobinson1986" class="citation conference cs1">Robinson, Ian (1986). <i>A Prolog processor based on a pattern matching memory device</i>. Third International Conference on Logic Programming. Lecture Notes in Computer Science. Vol.&#160;225. Springer. pp.&#160;172–179. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F3-540-16492-8_73">10.1007/3-540-16492-8_73</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-16492-0" title="Special:BookSources/978-3-540-16492-0"><bdi>978-3-540-16492-0</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=conference&amp;rft.btitle=A+Prolog+processor+based+on+a+pattern+matching+memory+device&amp;rft.series=Lecture+Notes+in+Computer+Science&amp;rft.pages=172-179&amp;rft.pub=Springer&amp;rft.date=1986&amp;rft_id=info%3Adoi%2F10.1007%2F3-540-16492-8_73&amp;rft.isbn=978-3-540-16492-0&amp;rft.aulast=Robinson&amp;rft.aufirst=Ian&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-48"><span class="mw-cite-backlink"><b><a href="#cite_ref-48">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFTakiNakajimaNakashimaIkeda1987" class="citation journal cs1">Taki, K.; Nakajima, K.; Nakashima, H.; Ikeda, M. (1987). <a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F36205.36195">"Performance and architectural evaluation of the PSI machine"</a>. <i>ACM SIGPLAN Notices</i>. <b>22</b> (10): 128. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F36205.36195">10.1145/36205.36195</a></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=ACM+SIGPLAN+Notices&amp;rft.atitle=Performance+and+architectural+evaluation+of+the+PSI+machine&amp;rft.volume=22&amp;rft.issue=10&amp;rft.pages=128&amp;rft.date=1987&amp;rft_id=info%3Adoi%2F10.1145%2F36205.36195&amp;rft.aulast=Taki&amp;rft.aufirst=K.&amp;rft.au=Nakajima%2C+K.&amp;rft.au=Nakashima%2C+H.&amp;rft.au=Ikeda%2C+M.&amp;rft_id=https%3A%2F%2Fdoi.org%2F10.1145%252F36205.36195&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-49"><span class="mw-cite-backlink"><b><a href="#cite_ref-49">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFGuptaPontelliAliCarlsson2001" class="citation journal cs1">Gupta, G.; Pontelli, E.; Ali, K. A. M.; Carlsson, M.; Hermenegildo, M. V. (2001). <a rel="nofollow" class="external text" href="http://oa.upm.es/11160/">"Parallel execution of prolog programs: a survey"</a>. <i><a href="/wiki/ACM_Transactions_on_Programming_Languages_and_Systems" title="ACM Transactions on Programming Languages and Systems">ACM Transactions on Programming Languages and Systems</a></i>. <b>23</b> (4): 472. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F504083.504085">10.1145/504083.504085</a></span>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:2978041">2978041</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=ACM+Transactions+on+Programming+Languages+and+Systems&amp;rft.atitle=Parallel+execution+of+prolog+programs%3A+a+survey&amp;rft.volume=23&amp;rft.issue=4&amp;rft.pages=472&amp;rft.date=2001&amp;rft_id=info%3Adoi%2F10.1145%2F504083.504085&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A2978041%23id-name%3DS2CID&amp;rft.aulast=Gupta&amp;rft.aufirst=G.&amp;rft.au=Pontelli%2C+E.&amp;rft.au=Ali%2C+K.+A.+M.&amp;rft.au=Carlsson%2C+M.&amp;rft.au=Hermenegildo%2C+M.+V.&amp;rft_id=http%3A%2F%2Foa.upm.es%2F11160%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-50"><span class="mw-cite-backlink"><b><a href="#cite_ref-50">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.cl.cam.ac.uk/~am21/research/sa/byrdbox.ps.gz">"Statically Allocated Systems"</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Statically+Allocated+Systems&amp;rft_id=http%3A%2F%2Fwww.cl.cam.ac.uk%2F~am21%2Fresearch%2Fsa%2Fbyrdbox.ps.gz&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-51"><span class="mw-cite-backlink"><b><a href="#cite_ref-51">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBramerBramer1984" class="citation book cs1">Bramer, M. A.; Bramer, Dawn (1984). <a rel="nofollow" class="external text" href="https://archive.org/details/fifthgenerationa0000bram"><i>The fifth generation: an annotated bibliography</i></a>. Wokingham, England&#160;; Reading, Mass: Addison-Wesley. p.&#160;6. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-201-14427-7" title="Special:BookSources/978-0-201-14427-7"><bdi>978-0-201-14427-7</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=The+fifth+generation%3A+an+annotated+bibliography&amp;rft.place=Wokingham%2C+England+%3B+Reading%2C+Mass&amp;rft.pages=6&amp;rft.pub=Addison-Wesley&amp;rft.date=1984&amp;rft.isbn=978-0-201-14427-7&amp;rft.aulast=Bramer&amp;rft.aufirst=M.+A.&amp;rft.au=Bramer%2C+Dawn&amp;rft_id=https%3A%2F%2Farchive.org%2Fdetails%2Ffifthgenerationa0000bram&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-52"><span class="mw-cite-backlink"><b><a href="#cite_ref-52">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFFeigenbaumShrobe1993" class="citation journal cs1">Feigenbaum, Edward; Shrobe, Howard (1993-07-01). <a rel="nofollow" class="external text" href="https://www.sciencedirect.com/science/article/pii/0167739X93900038">"The Japanese national Fifth Generation project: Introduction, survey, and evaluation"</a>. <i>Future Generation Computer Systems</i>. FGCS Conference. <b>9</b> (2): 105–117. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0167-739X%2893%2990003-8">10.1016/0167-739X(93)90003-8</a></span>. <a href="/wiki/ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a>&#160;<a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0167-739X">0167-739X</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Future+Generation+Computer+Systems&amp;rft.atitle=The+Japanese+national+Fifth+Generation+project%3A+Introduction%2C+survey%2C+and+evaluation&amp;rft.volume=9&amp;rft.issue=2&amp;rft.pages=105-117&amp;rft.date=1993-07-01&amp;rft_id=info%3Adoi%2F10.1016%2F0167-739X%2893%2990003-8&amp;rft.issn=0167-739X&amp;rft.aulast=Feigenbaum&amp;rft.aufirst=Edward&amp;rft.au=Shrobe%2C+Howard&amp;rft_id=https%3A%2F%2Fwww.sciencedirect.com%2Fscience%2Farticle%2Fpii%2F0167739X93900038&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-53"><span class="mw-cite-backlink"><b><a href="#cite_ref-53">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation magazine cs1"><a rel="nofollow" class="external text" href="https://books.google.com/books?id=RI51dkpbcGoC&amp;pg=PA34">"Software that takes games seriously"</a>. <i><a href="/wiki/New_Scientist" title="New Scientist">New Scientist</a></i>. <a href="/wiki/Reed_Business_Information" class="mw-redirect" title="Reed Business Information">Reed Business Information</a>. March 26, 1987. p.&#160;34 &#8211; via <a href="/wiki/Google_Books" title="Google Books">Google Books</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=New+Scientist&amp;rft.atitle=Software+that+takes+games+seriously&amp;rft.pages=34&amp;rft.date=1987-03-26&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DRI51dkpbcGoC%26pg%3DPA34&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span><sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i><a href="/wiki/Wikipedia:Link_rot" title="Wikipedia:Link rot"><span title="&#160;Dead link tagged November 2023">permanent dead link</span></a></i><span style="visibility:hidden; color:transparent; padding-left:2px">&#8205;</span>&#93;</span></sup></span> </li> <li id="cite_note-54"><span class="mw-cite-backlink"><b><a href="#cite_ref-54">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.britannica.com/science/computer-science/Programming-languages">"Computer science - Programming Languages, Syntax, Algorithms | Britannica"</a>. <i>www.britannica.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2023-07-12</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=www.britannica.com&amp;rft.atitle=Computer+science+-+Programming+Languages%2C+Syntax%2C+Algorithms+%7C+Britannica&amp;rft_id=https%3A%2F%2Fwww.britannica.com%2Fscience%2Fcomputer-science%2FProgramming-languages&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-RealWorld-55"><span class="mw-cite-backlink">^ <a href="#cite_ref-RealWorld_55-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-RealWorld_55-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text">Logic programming for the real world. Zoltan Somogyi, Fergus Henderson, Thomas Conway, Richard O'Keefe. Proceedings of the ILPS'95 Postconference Workshop on Visions for the Future of Logic Programming.</span> </li> <li id="cite_note-The_Prolog_1000_database-56"><span class="mw-cite-backlink"><b><a href="#cite_ref-The_Prolog_1000_database_56-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.faqs.org/faqs/prolog/resource-guide/part1/section-9.html">"FAQ: Prolog Resource Guide 1/2 &#91;Monthly posting&#93;Section - &#91;1-8&#93; The Prolog 1000 Database"</a>. <i>Faqs.org</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=Faqs.org&amp;rft.atitle=FAQ%3A+Prolog+Resource+Guide+1%2F2+%5BMonthly+posting%5DSection+-+%5B1-8%5D+The+Prolog+1000+Database&amp;rft_id=http%3A%2F%2Fwww.faqs.org%2Ffaqs%2Fprolog%2Fresource-guide%2Fpart1%2Fsection-9.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-57"><span class="mw-cite-backlink"><b><a href="#cite_ref-57">^</a></b></span> <span class="reference-text">Jan Wielemaker and Vıtor Santos Costa: <a rel="nofollow" class="external text" href="http://www.swi-prolog.org/download/publications/porting.pdf">Portability of Prolog programs: theory and case-studies</a>. <a rel="nofollow" class="external text" href="http://www.floc-conference.org/CICLOPS-WLPE-accepted.html">CICLOPS-WLPE Workshop 2010</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20100716184811/http://www.floc-conference.org/CICLOPS-WLPE-accepted.html">Archived</a> 2010-07-16 at the <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a>.</span> </li> <li id="cite_note-rethinking-58"><span class="mw-cite-backlink">^ <a href="#cite_ref-rethinking_58-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-rethinking_58-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKiselyovKameyama2014" class="citation conference cs1">Kiselyov, Oleg; Kameyama, Yukiyoshi (2014). <a rel="nofollow" class="external text" href="http://okmij.org/ftp/kakuritu/logic-programming.html#vs-prolog"><i>Re-thinking Prolog</i></a>. Proc. 31st meeting of the Japan Society for Software Science and Technology.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=conference&amp;rft.btitle=Re-thinking+Prolog&amp;rft.date=2014&amp;rft.aulast=Kiselyov&amp;rft.aufirst=Oleg&amp;rft.au=Kameyama%2C+Yukiyoshi&amp;rft_id=http%3A%2F%2Fokmij.org%2Fftp%2Fkakuritu%2Flogic-programming.html%23vs-prolog&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-59"><span class="mw-cite-backlink"><b><a href="#cite_ref-59">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFFranzen1994" class="citation cs2">Franzen, Torkel (1994), <a rel="nofollow" class="external text" href="http://dtai.cs.kuleuven.be/projects/ALP/newsletter/archive_93_96/comment/decl.html">"Declarative vs procedural"</a>, <i>Association of Logic Programming</i>, <b>7</b> (3)</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Association+of+Logic+Programming&amp;rft.atitle=Declarative+vs+procedural&amp;rft.volume=7&amp;rft.issue=3&amp;rft.date=1994&amp;rft.aulast=Franzen&amp;rft.aufirst=Torkel&amp;rft_id=http%3A%2F%2Fdtai.cs.kuleuven.be%2Fprojects%2FALP%2Fnewsletter%2Farchive_93_96%2Fcomment%2Fdecl.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-60"><span class="mw-cite-backlink"><b><a href="#cite_ref-60">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFDantsinEiterGottlobVoronkov2001" class="citation journal cs1">Dantsin, Evgeny; Eiter, Thomas; Gottlob, Georg; Voronkov, Andrei (2001). "Complexity and Expressive Power of Logic Programming". <i><a href="/wiki/ACM_Computing_Surveys" title="ACM Computing Surveys">ACM Computing Surveys</a></i>. <b>33</b> (3): 374–425. <a href="/wiki/CiteSeerX_(identifier)" class="mw-redirect" title="CiteSeerX (identifier)">CiteSeerX</a>&#160;<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.616.6372">10.1.1.616.6372</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F502807.502810">10.1145/502807.502810</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:518049">518049</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=ACM+Computing+Surveys&amp;rft.atitle=Complexity+and+Expressive+Power+of+Logic+Programming&amp;rft.volume=33&amp;rft.issue=3&amp;rft.pages=374-425&amp;rft.date=2001&amp;rft_id=https%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fsummary%3Fdoi%3D10.1.1.616.6372%23id-name%3DCiteSeerX&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A518049%23id-name%3DS2CID&amp;rft_id=info%3Adoi%2F10.1145%2F502807.502810&amp;rft.aulast=Dantsin&amp;rft.aufirst=Evgeny&amp;rft.au=Eiter%2C+Thomas&amp;rft.au=Gottlob%2C+Georg&amp;rft.au=Voronkov%2C+Andrei&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-61"><span class="mw-cite-backlink"><b><a href="#cite_ref-61">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMycroftO&#39;Keefe1984" class="citation journal cs1">Mycroft, A.; O'Keefe, R. A. (1984). "A polymorphic type system for prolog". <i><a href="/wiki/Artificial_Intelligence_(journal)" title="Artificial Intelligence (journal)">Artificial Intelligence</a></i>. <b>23</b> (3): 295. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0004-3702%2884%2990017-1">10.1016/0004-3702(84)90017-1</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Artificial+Intelligence&amp;rft.atitle=A+polymorphic+type+system+for+prolog&amp;rft.volume=23&amp;rft.issue=3&amp;rft.pages=295&amp;rft.date=1984&amp;rft_id=info%3Adoi%2F10.1016%2F0004-3702%2884%2990017-1&amp;rft.aulast=Mycroft&amp;rft.aufirst=A.&amp;rft.au=O%27Keefe%2C+R.+A.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-62"><span class="mw-cite-backlink"><b><a href="#cite_ref-62">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFPfenning,_Frank1992" class="citation book cs1">Pfenning, Frank (1992). <i>Types in logic programming</i>. Cambridge, Massachusetts: MIT Press. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-262-16131-2" title="Special:BookSources/978-0-262-16131-2"><bdi>978-0-262-16131-2</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Types+in+logic+programming&amp;rft.place=Cambridge%2C+Massachusetts&amp;rft.pub=MIT+Press&amp;rft.date=1992&amp;rft.isbn=978-0-262-16131-2&amp;rft.au=Pfenning%2C+Frank&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-63"><span class="mw-cite-backlink"><b><a href="#cite_ref-63">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSchrijversSantos_CostaWielemakerDemoen2008" class="citation book cs1">Schrijvers, Tom; Santos Costa, Vitor; Wielemaker, Jan; Demoen, Bart (2008). <a rel="nofollow" class="external text" href="https://lirias.kuleuven.be/handle/123456789/197561">"Towards Typed Prolog"</a>. In <a href="/wiki/Mar%C3%ADa_Garc%C3%ADa_de_la_Banda" title="María García de la Banda">María García de la Banda</a>; Enrico Pontelli (eds.). <i>Logic programming: 24th international conference, ICLP 2008, Udine, Italy, December 9-13, 2008: proceedings</i>. Lecture Notes in Computer Science. Vol.&#160;5366. pp.&#160;693–697. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-3-540-89982-2_59">10.1007/978-3-540-89982-2_59</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-89982-2" title="Special:BookSources/978-3-540-89982-2"><bdi>978-3-540-89982-2</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=Towards+Typed+Prolog&amp;rft.btitle=Logic+programming%3A+24th+international+conference%2C+ICLP+2008%2C+Udine%2C+Italy%2C+December+9-13%2C+2008%3A+proceedings&amp;rft.series=Lecture+Notes+in+Computer+Science&amp;rft.pages=693-697&amp;rft.date=2008&amp;rft_id=info%3Adoi%2F10.1007%2F978-3-540-89982-2_59&amp;rft.isbn=978-3-540-89982-2&amp;rft.aulast=Schrijvers&amp;rft.aufirst=Tom&amp;rft.au=Santos+Costa%2C+Vitor&amp;rft.au=Wielemaker%2C+Jan&amp;rft.au=Demoen%2C+Bart&amp;rft_id=https%3A%2F%2Flirias.kuleuven.be%2Fhandle%2F123456789%2F197561&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-cite_doi&#124;10.1007/BF01213601-64"><span class="mw-cite-backlink">^ <a href="#cite_ref-cite_doi|10.1007/BF01213601_64-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-cite_doi|10.1007/BF01213601_64-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFAptMarchiori1994" class="citation journal cs1">Apt, K. R.; Marchiori, E. (1994). <a rel="nofollow" class="external text" href="http://www.cwi.nl/~apt/am.ps">"Reasoning about Prolog programs: From modes through types to assertions"</a>. <i>Formal Aspects of Computing</i>. <b>6</b> (S1): 743. <a href="/wiki/CiteSeerX_(identifier)" class="mw-redirect" title="CiteSeerX (identifier)">CiteSeerX</a>&#160;<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.57.395">10.1.1.57.395</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2FBF01213601">10.1007/BF01213601</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:12235465">12235465</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Formal+Aspects+of+Computing&amp;rft.atitle=Reasoning+about+Prolog+programs%3A+From+modes+through+types+to+assertions&amp;rft.volume=6&amp;rft.issue=S1&amp;rft.pages=743&amp;rft.date=1994&amp;rft_id=https%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fsummary%3Fdoi%3D10.1.1.57.395%23id-name%3DCiteSeerX&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A12235465%23id-name%3DS2CID&amp;rft_id=info%3Adoi%2F10.1007%2FBF01213601&amp;rft.aulast=Apt&amp;rft.aufirst=K.+R.&amp;rft.au=Marchiori%2C+E.&amp;rft_id=http%3A%2F%2Fwww.cwi.nl%2F~apt%2Fam.ps&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-craft-65"><span class="mw-cite-backlink"><b><a href="#cite_ref-craft_65-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFO&#39;Keefe,_Richard_A.1990" class="citation book cs1">O'Keefe, Richard A. (1990). <i>The craft of Prolog</i>. Cambridge, Massachusetts: MIT Press. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-262-15039-2" title="Special:BookSources/978-0-262-15039-2"><bdi>978-0-262-15039-2</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=The+craft+of+Prolog&amp;rft.place=Cambridge%2C+Massachusetts&amp;rft.pub=MIT+Press&amp;rft.date=1990&amp;rft.isbn=978-0-262-15039-2&amp;rft.au=O%27Keefe%2C+Richard+A.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-66"><span class="mw-cite-backlink"><b><a href="#cite_ref-66">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCovingtonBagnaraO&#39;KeefeWielemaker2010" class="citation arxiv cs1">Covington, Michael; Bagnara, Roberto; et&#160;al. (2010). "Coding guidelines for Prolog". <a href="/wiki/ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/0911.2899">0911.2899</a></span> [<a rel="nofollow" class="external text" href="https://arxiv.org/archive/cs.PL">cs.PL</a>].</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=preprint&amp;rft.jtitle=arXiv&amp;rft.atitle=Coding+guidelines+for+Prolog&amp;rft.date=2010&amp;rft_id=info%3Aarxiv%2F0911.2899&amp;rft.aulast=Covington&amp;rft.aufirst=Michael&amp;rft.au=Bagnara%2C+Roberto&amp;rft.au=O%27Keefe%2C+Richard&amp;rft.au=Wielemaker%2C+Jan&amp;rft.au=Price%2C+Simon&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-67"><span class="mw-cite-backlink"><b><a href="#cite_ref-67">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFRoyDemoenWillems1987" class="citation book cs1">Roy, P.; Demoen, B.; Willems, Y. D. (1987). <a rel="nofollow" class="external text" href="https://archive.org/details/tapsoft87proceed0000inte/page/111">"Improving the execution speed of compiled Prolog with modes, clause selection, and determinism"</a>. <i>Tapsoft '87</i>. Lecture Notes in Computer Science. Vol.&#160;250. pp.&#160;<a rel="nofollow" class="external text" href="https://archive.org/details/tapsoft87proceed0000inte/page/111">111</a>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2FBFb0014976">10.1007/BFb0014976</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-17611-4" title="Special:BookSources/978-3-540-17611-4"><bdi>978-3-540-17611-4</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=Improving+the+execution+speed+of+compiled+Prolog+with+modes%2C+clause+selection%2C+and+determinism&amp;rft.btitle=Tapsoft+%2787&amp;rft.series=Lecture+Notes+in+Computer+Science&amp;rft.pages=111&amp;rft.date=1987&amp;rft_id=info%3Adoi%2F10.1007%2FBFb0014976&amp;rft.isbn=978-3-540-17611-4&amp;rft.aulast=Roy&amp;rft.aufirst=P.&amp;rft.au=Demoen%2C+B.&amp;rft.au=Willems%2C+Y.+D.&amp;rft_id=https%3A%2F%2Farchive.org%2Fdetails%2Ftapsoft87proceed0000inte%2Fpage%2F111&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-68"><span class="mw-cite-backlink"><b><a href="#cite_ref-68">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFJaffar1994" class="citation journal cs1 cs1-prop-long-vol">Jaffar, J. (1994). <a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0743-1066%2894%2990033-7">"Constraint logic programming: a survey"</a>. <i>The Journal of Logic Programming</i>. 19–20: 503–581. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0743-1066%2894%2990033-7">10.1016/0743-1066(94)90033-7</a></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=The+Journal+of+Logic+Programming&amp;rft.atitle=Constraint+logic+programming%3A+a+survey&amp;rft.volume=19%E2%80%9320&amp;rft.pages=503-581&amp;rft.date=1994&amp;rft_id=info%3Adoi%2F10.1016%2F0743-1066%2894%2990033-7&amp;rft.aulast=Jaffar&amp;rft.aufirst=J.&amp;rft_id=https%3A%2F%2Fdoi.org%2F10.1016%252F0743-1066%252894%252990033-7&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-69"><span class="mw-cite-backlink"><b><a href="#cite_ref-69">^</a></b></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFColmerauer1987" class="citation journal cs1 cs1-prop-long-vol">Colmerauer, Alain (1987). "Opening the Prolog III Universe". <i>Byte</i>. August.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Byte&amp;rft.atitle=Opening+the+Prolog+III+Universe&amp;rft.volume=August&amp;rft.date=1987&amp;rft.aulast=Colmerauer&amp;rft.aufirst=Alain&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-70"><span class="mw-cite-backlink"><b><a href="#cite_ref-70">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFWallace2002" class="citation book cs1">Wallace, M. (2002). "Constraint Logic Programming". <i>Computational Logic: Logic Programming and Beyond</i>. Lecture Notes in Computer Science. Vol.&#160;2407. pp.&#160;512–556. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F3-540-45628-7_19">10.1007/3-540-45628-7_19</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-45628-5" title="Special:BookSources/978-3-540-45628-5"><bdi>978-3-540-45628-5</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=Constraint+Logic+Programming&amp;rft.btitle=Computational+Logic%3A+Logic+Programming+and+Beyond&amp;rft.series=Lecture+Notes+in+Computer+Science&amp;rft.pages=512-556&amp;rft.date=2002&amp;rft_id=info%3Adoi%2F10.1007%2F3-540-45628-7_19&amp;rft.isbn=978-3-540-45628-5&amp;rft.aulast=Wallace&amp;rft.aufirst=M.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-71"><span class="mw-cite-backlink"><b><a href="#cite_ref-71">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.swi-prolog.org/packages/xpce/">"XPCE: the SWI-Prolog native GUI library"</a>. <i>swi-prolog.org</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=swi-prolog.org&amp;rft.atitle=XPCE%3A+the+SWI-Prolog+native+GUI+library&amp;rft_id=https%3A%2F%2Fwww.swi-prolog.org%2Fpackages%2Fxpce%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-72"><span class="mw-cite-backlink"><b><a href="#cite_ref-72">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://apps.lumii.lv/prolog-mpi/">"prolog-mpi"</a>. Apps.lumii.lv<span class="reference-accessdate">. Retrieved <span class="nowrap">2010-09-16</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=prolog-mpi&amp;rft.pub=Apps.lumii.lv&amp;rft_id=http%3A%2F%2Fapps.lumii.lv%2Fprolog-mpi%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-73"><span class="mw-cite-backlink"><b><a href="#cite_ref-73">^</a></b></span> <span class="reference-text">Ehud Shapiro. <i>The family of concurrent logic programming languages</i> <a href="/wiki/ACM_Computing_Surveys" title="ACM Computing Surveys">ACM Computing Surveys</a>. September 1989.</span> </li> <li id="cite_note-74"><span class="mw-cite-backlink"><b><a href="#cite_ref-74">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFWielemakerHuangVan_Der_Meij2008" class="citation journal cs1">Wielemaker, J.; Huang, Z.; Van Der Meij, L. (2008). <a rel="nofollow" class="external text" href="https://pure.uva.nl/ws/files/4221287/58604_285112.pdf">"SWI-Prolog and the web"</a> <span class="cs1-format">(PDF)</span>. <i>Theory and Practice of Logic Programming</i>. <b>8</b> (3): 363. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FS1471068407003237">10.1017/S1471068407003237</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:5404048">5404048</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Theory+and+Practice+of+Logic+Programming&amp;rft.atitle=SWI-Prolog+and+the+web&amp;rft.volume=8&amp;rft.issue=3&amp;rft.pages=363&amp;rft.date=2008&amp;rft_id=info%3Adoi%2F10.1017%2FS1471068407003237&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A5404048%23id-name%3DS2CID&amp;rft.aulast=Wielemaker&amp;rft.aufirst=J.&amp;rft.au=Huang%2C+Z.&amp;rft.au=Van+Der+Meij%2C+L.&amp;rft_id=https%3A%2F%2Fpure.uva.nl%2Fws%2Ffiles%2F4221287%2F58604_285112.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-75"><span class="mw-cite-backlink"><b><a href="#cite_ref-75">^</a></b></span> <span class="reference-text"> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFWielemakerHildebrandvan_Ossenbruggen2007" class="citation cs2">Wielemaker, Jan; Hildebrand, Michiel; van Ossenbruggen, Jacco (2007), Heymans, S.; Polleres, A.; Ruckhaus, E.; Pearse, D.; Gupta, G. (eds.), <a rel="nofollow" class="external text" href="http://ftp.informatik.rwth-aachen.de/Publications/CEUR-WS/Vol-287/paper_1.pdf">"Using {Prolog} as the fundament for applications on the semantic web"</a> <span class="cs1-format">(PDF)</span>, <i>Proceedings of the 2nd Workshop on Applications of Logic Programming and to the Web, Semantic Web and Semantic Web Services</i>, CEUR Workshop Proceedings, vol.&#160;287, Porto, Portugal: CEUR-WS.org, pp.&#160;84–98</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Proceedings+of+the+2nd+Workshop+on+Applications+of+Logic+Programming+and+to+the+Web%2C+Semantic+Web+and+Semantic+Web+Services&amp;rft.atitle=Using+%7BProlog%7D+as+the+fundament+for+applications+on+the+semantic+web&amp;rft.volume=287&amp;rft.pages=84-98&amp;rft.date=2007&amp;rft.aulast=Wielemaker&amp;rft.aufirst=Jan&amp;rft.au=Hildebrand%2C+Michiel&amp;rft.au=van+Ossenbruggen%2C+Jacco&amp;rft_id=http%3A%2F%2Fftp.informatik.rwth-aachen.de%2FPublications%2FCEUR-WS%2FVol-287%2Fpaper_1.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-76"><span class="mw-cite-backlink"><b><a href="#cite_ref-76">^</a></b></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://ceur-ws.org/Vol-529/owled2009_submission_43.pdf">Processing OWL2 Ontologies using Thea: An Application of Logic Programming</a>. Vangelis Vassiliadis, Jan Wielemaker and Chris Mungall. Proceedings of the 5th International Workshop on OWL: Experiences and Directions (OWLED 2009), Chantilly, VA, United States, October 23–24, 2009</span> </li> <li id="cite_note-77"><span class="mw-cite-backlink"><b><a href="#cite_ref-77">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFLokeDavison2001" class="citation journal cs1">Loke, S. W.; Davison, A. (2001). "Secure Prolog-based mobile code". <i>Theory and Practice of Logic Programming</i>. <b>1</b> (3): 321. <a href="/wiki/ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/cs/0406012">cs/0406012</a></span>. <a href="/wiki/CiteSeerX_(identifier)" class="mw-redirect" title="CiteSeerX (identifier)">CiteSeerX</a>&#160;<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.58.6610">10.1.1.58.6610</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FS1471068401001211">10.1017/S1471068401001211</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:11754347">11754347</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Theory+and+Practice+of+Logic+Programming&amp;rft.atitle=Secure+Prolog-based+mobile+code&amp;rft.volume=1&amp;rft.issue=3&amp;rft.pages=321&amp;rft.date=2001&amp;rft_id=info%3Aarxiv%2Fcs%2F0406012&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A11754347%23id-name%3DS2CID&amp;rft_id=https%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fsummary%3Fdoi%3D10.1.1.58.6610%23id-name%3DCiteSeerX&amp;rft_id=info%3Adoi%2F10.1017%2FS1471068401001211&amp;rft.aulast=Loke&amp;rft.aufirst=S.+W.&amp;rft.au=Davison%2C+A.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-78"><span class="mw-cite-backlink"><b><a href="#cite_ref-78">^</a></b></span> <span class="reference-text">Andersen, C. and Swift, T., 2023. The Janus System: a bridge to new prolog applications. In Prolog: The Next 50 Years (pp. 93-104). Cham: Springer Nature Switzerland.</span> </li> <li id="cite_note-79"><span class="mw-cite-backlink"><b><a href="#cite_ref-79">^</a></b></span> <span class="reference-text"> Colmerauer, A. and Roussel, P., 1996. The birth of Prolog. In History of programming languages---II (pp. 331-367).</span> </li> <li id="cite_note-Kowalski-80"><span class="mw-cite-backlink"><b><a href="#cite_ref-Kowalski_80-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFKowalski1988" class="citation journal cs1">Kowalski, R. A. (1988). <a rel="nofollow" class="external text" href="http://www.doc.ic.ac.uk/~rak/papers/the%20early%20years.pdf">"The early years of logic programming"</a> <span class="cs1-format">(PDF)</span>. <i><a href="/wiki/Communications_of_the_ACM" title="Communications of the ACM">Communications of the ACM</a></i>. <b>31</b>: 38. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F35043.35046">10.1145/35043.35046</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:12259230">12259230</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Communications+of+the+ACM&amp;rft.atitle=The+early+years+of+logic+programming&amp;rft.volume=31&amp;rft.pages=38&amp;rft.date=1988&amp;rft_id=info%3Adoi%2F10.1145%2F35043.35046&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A12259230%23id-name%3DS2CID&amp;rft.aulast=Kowalski&amp;rft.aufirst=R.+A.&amp;rft_id=http%3A%2F%2Fwww.doc.ic.ac.uk%2F~rak%2Fpapers%2Fthe%2520early%2520years.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-81"><span class="mw-cite-backlink"><b><a href="#cite_ref-81">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFColmerauerRoussel1993" class="citation journal cs1">Colmerauer, A.; Roussel, P. (1993). <a rel="nofollow" class="external text" href="http://alain.colmerauer.free.fr/alcol/ArchivesPublications/PrologHistory/19november92.pdf">"The birth of Prolog"</a> <span class="cs1-format">(PDF)</span>. <i><a href="/wiki/ACM_SIGPLAN_Notices" class="mw-redirect" title="ACM SIGPLAN Notices">ACM SIGPLAN Notices</a></i>. <b>28</b> (3): 37. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F155360.155362">10.1145/155360.155362</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=ACM+SIGPLAN+Notices&amp;rft.atitle=The+birth+of+Prolog&amp;rft.volume=28&amp;rft.issue=3&amp;rft.pages=37&amp;rft.date=1993&amp;rft_id=info%3Adoi%2F10.1145%2F155360.155362&amp;rft.aulast=Colmerauer&amp;rft.aufirst=A.&amp;rft.au=Roussel%2C+P.&amp;rft_id=http%3A%2F%2Falain.colmerauer.free.fr%2Falcol%2FArchivesPublications%2FPrologHistory%2F19november92.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-82"><span class="mw-cite-backlink"><b><a href="#cite_ref-82">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.mta.ca/~rrosebru/oldcourse/371199/prolog/history.html">"Prolog: a brief history"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">21 November</span> 2021</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Prolog%3A+a+brief+history&amp;rft_id=https%3A%2F%2Fwww.mta.ca%2F~rrosebru%2Foldcourse%2F371199%2Fprolog%2Fhistory.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-pountain198410-83"><span class="mw-cite-backlink"><b><a href="#cite_ref-pountain198410_83-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFPountain1984" class="citation news cs1">Pountain, Dick (October 1984). <a rel="nofollow" class="external text" href="https://archive.org/stream/byte-magazine-1984-10/1984_10_BYTE_09-11_Databases#page/n377/mode/2up">"POP and SNAP"</a>. <i><a href="/wiki/Byte_(magazine)" title="Byte (magazine)">Byte</a></i>. p.&#160;381<span class="reference-accessdate">. Retrieved <span class="nowrap">23 October</span> 2013</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Byte&amp;rft.atitle=POP+and+SNAP&amp;rft.pages=381&amp;rft.date=1984-10&amp;rft.aulast=Pountain&amp;rft.aufirst=Dick&amp;rft_id=https%3A%2F%2Farchive.org%2Fstream%2Fbyte-magazine-1984-10%2F1984_10_BYTE_09-11_Databases%23page%2Fn377%2Fmode%2F2up&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> <li id="cite_note-84"><span class="mw-cite-backlink"><b><a href="#cite_ref-84">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation cs2"><a rel="nofollow" class="external text" href="https://github.com/terminusdb/terminusdb"><i>terminusdb/terminusdb</i></a>, TerminusDB, 2020-12-13<span class="reference-accessdate">, retrieved <span class="nowrap">2020-12-15</span></span></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=terminusdb%2Fterminusdb&amp;rft.pub=TerminusDB&amp;rft.date=2020-12-13&amp;rft_id=https%3A%2F%2Fgithub.com%2Fterminusdb%2Fterminusdb&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="Further_reading">Further reading</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Prolog&amp;action=edit&amp;section=44" title="Edit section: Further reading"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239549316">.mw-parser-output .refbegin{margin-bottom:0.5em}.mw-parser-output .refbegin-hanging-indents>ul{margin-left:0}.mw-parser-output .refbegin-hanging-indents>ul>li{margin-left:0;padding-left:3.2em;text-indent:-3.2em}.mw-parser-output .refbegin-hanging-indents ul,.mw-parser-output .refbegin-hanging-indents ul li{list-style:none}@media(max-width:720px){.mw-parser-output .refbegin-hanging-indents>ul>li{padding-left:1.6em;text-indent:-1.6em}}.mw-parser-output .refbegin-columns{margin-top:0.3em}.mw-parser-output .refbegin-columns ul{margin-top:0}.mw-parser-output .refbegin-columns li{page-break-inside:avoid;break-inside:avoid-column}@media screen{.mw-parser-output .refbegin{font-size:90%}}</style><div class="refbegin refbegin-columns references-column-width" style="column-width: 30em"> <ul><li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBlackburnBosStriegnitz2006" class="citation book cs1">Blackburn, Patrick; Bos, Johan; Striegnitz, Kristina (2006). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20070826231318/http://www.learnprolognow.org/"><i>Learn Prolog Now!</i></a>. College Publications. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-1-904987-17-8" title="Special:BookSources/978-1-904987-17-8"><bdi>978-1-904987-17-8</bdi></a>. Archived from <a rel="nofollow" class="external text" href="http://www.learnprolognow.org/">the original</a> on 2007-08-26<span class="reference-accessdate">. Retrieved <span class="nowrap">2008-12-02</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Learn+Prolog+Now%21&amp;rft.pub=College+Publications&amp;rft.date=2006&amp;rft.isbn=978-1-904987-17-8&amp;rft.aulast=Blackburn&amp;rft.aufirst=Patrick&amp;rft.au=Bos%2C+Johan&amp;rft.au=Striegnitz%2C+Kristina&amp;rft_id=http%3A%2F%2Fwww.learnprolognow.org%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AProlog" class="Z3988"></span></li> <li><a href="/wiki/Ivan_Bratko_(computer_scientist)" title="Ivan Bratko (computer scientist)">Ivan Bratko</a>, <i>Prolog Programming for Artificial Intelligence</i>, 4th ed., 2012, <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-321-41746-6" title="Special:BookSources/978-0-321-41746-6">978-0-321-41746-6</a>. <a rel="nofollow" class="external text" href="https://ailab.si/ivan/datoteke/dokumenti/32/107_19_Bratko_Prolog_book_web_resources.htm">Book supplements and source code</a><sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i><a href="/wiki/Wikipedia:Link_rot" title="Wikipedia:Link rot"><span title="&#160;Dead link tagged August 2019">permanent dead link</span></a></i><span style="visibility:hidden; color:transparent; padding-left:2px">&#8205;</span>&#93;</span></sup></li> <li>William F. Clocksin, Christopher S. Mellish: <i>Programming in Prolog: Using the ISO Standard</i>. Springer, 5th ed., 2003, <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-00678-7" title="Special:BookSources/978-3-540-00678-7">978-3-540-00678-7</a>. <i>(This edition is updated for ISO Prolog. Prior editions described Edinburgh Prolog.)</i></li> <li>William F. Clocksin: <i>Clause and Effect. Prolog Programming for the Working Programmer</i>. Springer, 2003, <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-3-540-62971-9" title="Special:BookSources/978-3-540-62971-9">978-3-540-62971-9</a>.</li> <li><a href="/w/index.php?title=Michael_A._Covington&amp;action=edit&amp;redlink=1" class="new" title="Michael A. Covington (page does not exist)">Michael A. Covington</a>, Donald Nute, Andre Vellino, <i>Prolog Programming in Depth</i>, 1996, <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/0-13-138645-X" title="Special:BookSources/0-13-138645-X">0-13-138645-X</a>.</li> <li>Michael A. Covington, <i>Natural Language Processing for Prolog Programmers</i>, 1994, <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-13-629213-5" title="Special:BookSources/978-0-13-629213-5">978-0-13-629213-5</a></li> <li>M. S. Dawe and C.M.Dawe, <i>Prolog for Computer Sciences</i>, Springer Verlag 1992.</li> <li><i>ISO/IEC 13211: Information technology – Programming languages – Prolog</i>. <a href="/wiki/International_Organization_for_Standardization" title="International Organization for Standardization">International Organization for Standardization</a>, Geneva.</li> <li>Feliks Kluźniak and Stanisław Szpakowicz (with a contribution by Janusz S. Bień). <i>Prolog for Programmers</i>. Academic Press Inc. (London), 1985, 1987 (available under a <a href="/wiki/Creative_Commons" title="Creative Commons">Creative Commons</a> license at <span class="url"><a rel="nofollow" class="external text" href="https://sites.google.com/site/prologforprogrammers/">sites<wbr />.google<wbr />.com<wbr />/site<wbr />/prologforprogrammers<wbr />/</a></span><sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i><a href="/wiki/Wikipedia:Link_rot" title="Wikipedia:Link rot"><span title="&#160;Dead link tagged September 2019">permanent dead link</span></a></i><span style="visibility:hidden; color:transparent; padding-left:2px">&#8205;</span>&#93;</span></sup>). <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/0-12-416521-4" title="Special:BookSources/0-12-416521-4">0-12-416521-4</a>.</li> <li><a href="/wiki/Richard_O%27Keefe" title="Richard O&#39;Keefe">Richard O'Keefe</a>, <i>The Craft of Prolog</i>, <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/0-262-15039-5" title="Special:BookSources/0-262-15039-5">0-262-15039-5</a>.</li> <li>Robert Smith, John Gibson, <a href="/wiki/Aaron_Sloman" title="Aaron Sloman">Aaron Sloman</a>: 'POPLOG's two-level virtual machine support for interactive languages', in <i>Research Directions in Cognitive Science Volume 5: Artificial Intelligence</i>, Eds <a href="/wiki/Derek_H._Sleeman" title="Derek H. Sleeman">D. Sleeman</a> and N. Bernsen, Lawrence Erlbaum Associates, pp 203–231, 1992.</li> <li><a href="/wiki/Leon_Sterling" title="Leon Sterling">Leon Sterling</a> and <a href="/wiki/Ehud_Shapiro" title="Ehud Shapiro">Ehud Shapiro</a>, <i>The Art of Prolog: Advanced Programming Techniques</i>, 1994, <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/0-262-19338-8" title="Special:BookSources/0-262-19338-8">0-262-19338-8</a>.</li> <li>David H D Warren, Luis M. Pereira and Fernando Pereira, Prolog - the language and its implementation compared with Lisp. ACM SIGART Bulletin archive, Issue 64. Proceedings of the 1977 symposium on Artificial intelligence and programming languages, pp 109–115.</li></ul> </div> <style data-mw-deduplicate="TemplateStyles:r1235681985">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}</style><style data-mw-deduplicate="TemplateStyles:r1237033735">@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}</style><div class="side-box side-box-right plainlinks sistersitebox"><style data-mw-deduplicate="TemplateStyles:r1126788409">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style> <div class="side-box-flex"> <div class="side-box-image"><span class="noviewer" typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/40px-Wikibooks-logo-en-noslogan.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/60px-Wikibooks-logo-en-noslogan.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/80px-Wikibooks-logo-en-noslogan.svg.png 2x" data-file-width="400" data-file-height="400" /></span></span></div> <div class="side-box-text plainlist">Wikibooks has more on the topic of: <i><b><a href="https://en.wikibooks.org/wiki/Special:Search/Prolog" class="extiw" title="wikibooks:Special:Search/Prolog">Prolog</a></b></i></div></div> </div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><style data-mw-deduplicate="TemplateStyles:r1236075235">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-labelledby="Programming_languages" style="padding:3px"><table class="nowraplinks hlist mw-collapsible expanded navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><style data-mw-deduplicate="TemplateStyles:r1239400231">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:Programming_languages" title="Template:Programming languages"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Programming_languages" title="Template talk:Programming languages"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Programming_languages" title="Special:EditPage/Template:Programming languages"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="Programming_languages" style="font-size:114%;margin:0 4em"><a href="/wiki/Programming_language" title="Programming language">Programming languages</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li><a href="/wiki/Comparison_of_programming_languages" title="Comparison of programming languages">Comparison</a></li> <li><a href="/wiki/Timeline_of_programming_languages" title="Timeline of programming languages">Timeline</a></li> <li><a href="/wiki/History_of_programming_languages" title="History of programming languages">History</a></li></ul> </div></td></tr><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Ada_(programming_language)" title="Ada (programming language)">Ada</a></li> <li><a href="/wiki/ALGOL" title="ALGOL">ALGOL</a> <ul><li><a href="/wiki/Simula" title="Simula">Simula</a></li></ul></li> <li><a href="/wiki/APL_(programming_language)" title="APL (programming language)">APL</a></li> <li><a href="/wiki/Assembly_language" title="Assembly language">Assembly</a></li> <li><a href="/wiki/BASIC" title="BASIC">BASIC</a> <ul><li><a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a> <ul><li><a href="/wiki/Visual_Basic_(classic)" title="Visual Basic (classic)">classic</a></li> <li><a href="/wiki/Visual_Basic_(.NET)" title="Visual Basic (.NET)">.NET</a></li></ul></li></ul></li> <li><a href="/wiki/C_(programming_language)" title="C (programming language)">C</a></li> <li><a href="/wiki/C%2B%2B" title="C++">C++</a></li> <li><a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a></li> <li><a href="/wiki/COBOL" title="COBOL">COBOL</a></li> <li><a href="/wiki/Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a></li> <li><a href="/wiki/Forth_(programming_language)" title="Forth (programming language)">Forth</a></li> <li><a href="/wiki/Fortran" title="Fortran">Fortran</a></li> <li><a href="/wiki/Go_(programming_language)" title="Go (programming language)">Go</a></li> <li><a href="/wiki/Haskell" title="Haskell">Haskell</a></li> <li><a href="/wiki/Java_(programming_language)" title="Java (programming language)">Java</a></li> <li><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a></li> <li><a href="/wiki/Julia_(programming_language)" title="Julia (programming language)">Julia</a></li> <li><a href="/wiki/Kotlin_(programming_language)" title="Kotlin (programming language)">Kotlin</a></li> <li><a href="/wiki/Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a></li> <li><a href="/wiki/Lua_(programming_language)" title="Lua (programming language)">Lua</a></li> <li><a href="/wiki/MATLAB" title="MATLAB">MATLAB</a></li> <li><a href="/wiki/ML_(programming_language)" title="ML (programming language)">ML</a></li> <li><a href="/wiki/Pascal_(programming_language)" title="Pascal (programming language)">Pascal</a> <ul><li><a href="/wiki/Object_Pascal" title="Object Pascal">Object Pascal</a></li></ul></li> <li><a href="/wiki/Perl" title="Perl">Perl</a></li> <li><a href="/wiki/PHP" title="PHP">PHP</a></li> <li><a class="mw-selflink selflink">Prolog</a></li> <li><a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a></li> <li><a href="/wiki/R_(programming_language)" title="R (programming language)">R</a></li> <li><a href="/wiki/Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a></li> <li><a href="/wiki/Rust_(programming_language)" title="Rust (programming language)">Rust</a></li> <li><a href="/wiki/SQL" title="SQL">SQL</a></li> <li><a href="/wiki/Scratch_(programming_language)" title="Scratch (programming language)">Scratch</a></li> <li><a href="/wiki/Shell_script" title="Shell script">Shell</a></li> <li><a href="/wiki/Smalltalk" title="Smalltalk">Smalltalk</a></li> <li><a href="/wiki/Swift_(programming_language)" title="Swift (programming language)">Swift</a></li> <li><i><a href="/wiki/List_of_programming_languages" title="List of programming languages">more...</a></i></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li><span class="noviewer" typeof="mw:File"><span title="List-Class article"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/d/db/Symbol_list_class.svg/16px-Symbol_list_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/d/db/Symbol_list_class.svg/23px-Symbol_list_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/d/db/Symbol_list_class.svg/31px-Symbol_list_class.svg.png 2x" data-file-width="180" data-file-height="185" /></span></span> <b>Lists:</b> <a href="/wiki/List_of_programming_languages" title="List of programming languages">Alphabetical</a></li> <li><a href="/wiki/List_of_programming_languages_by_type" title="List of programming languages by type">Categorical</a></li> <li><a href="/wiki/Generational_list_of_programming_languages" title="Generational list of programming languages">Generational</a></li> <li><a href="/wiki/Non-English-based_programming_languages" title="Non-English-based programming languages">Non-English-based</a></li> <li><span class="noviewer" typeof="mw:File"><span title="Category"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/16px-Symbol_category_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/23px-Symbol_category_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/31px-Symbol_category_class.svg.png 2x" data-file-width="180" data-file-height="185" /></span></span> <a href="/wiki/Category:Programming_languages" title="Category:Programming languages">Category</a></li></ul> </div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"><style data-mw-deduplicate="TemplateStyles:r886047488">.mw-parser-output .nobold{font-weight:normal}</style></div><div role="navigation" class="navbox" aria-labelledby="ISO_standards_by_standard_number" style="padding:3px"><table class="nowraplinks hlist mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239400231"><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:ISO_standards" title="Template:ISO standards"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:ISO_standards" title="Template talk:ISO standards"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:ISO_standards" title="Special:EditPage/Template:ISO standards"><abbr title="Edit this template">e</abbr></a></li></ul></div><div id="ISO_standards_by_standard_number" style="font-size:114%;margin:0 4em"><a href="/wiki/International_Organization_for_Standardization" title="International Organization for Standardization">ISO</a> standards <span class="nobold">by standard number</span></div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>List of <a href="/wiki/List_of_ISO_standards" title="List of ISO standards">ISO standards</a> – <a href="/wiki/List_of_ISO_romanizations" title="List of ISO romanizations">ISO romanizations</a> – <a href="/wiki/List_of_IEC_standards" title="List of IEC standards">IEC standards</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">1–9999</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO_1" title="ISO 1">1</a></li> <li><a href="/wiki/ISO_2" title="ISO 2">2</a></li> <li><a href="/wiki/Renard_series" title="Renard series">3</a></li> <li><a href="/wiki/ISO_4" title="ISO 4">4</a></li> <li><a href="/wiki/Film_speed" title="Film speed">6</a></li> <li><a href="/wiki/British_Standard_Pipe" title="British Standard Pipe">7</a></li> <li><a href="/wiki/ISO_9" title="ISO 9">9</a></li> <li><a href="/wiki/A440_(pitch_standard)" title="A440 (pitch standard)">16</a></li> <li><a href="/wiki/Renard_series" title="Renard series">17</a></li> <li><a href="/wiki/ISO_31" title="ISO 31">31</a> <ul><li><a href="/wiki/ISO_31-0" title="ISO 31-0">-0</a></li> <li><a href="/wiki/ISO_31-1" title="ISO 31-1">-1</a></li> <li><a href="/wiki/ISO_31-3" title="ISO 31-3">-3</a></li> <li><a href="/wiki/ISO_31-4" title="ISO 31-4">-4</a></li> <li><a href="/wiki/ISO_31-5" title="ISO 31-5">-5</a></li> <li><a href="/wiki/ISO_31-6" title="ISO 31-6">-6</a></li> <li><a href="/wiki/ISO_31-7" title="ISO 31-7">-7</a></li> <li><a href="/wiki/ISO_31-8" title="ISO 31-8">-8</a></li> <li><a href="/wiki/ISO_31-9" class="mw-redirect" title="ISO 31-9">-9</a></li> <li><a href="/wiki/ISO_31-10" title="ISO 31-10">-10</a></li> <li><a href="/wiki/ISO_31-11" title="ISO 31-11">-11</a></li> <li><a href="/wiki/ISO_31-12" class="mw-redirect" title="ISO 31-12">-12</a></li> <li><a href="/wiki/ISO_31-13" class="mw-redirect" title="ISO 31-13">-13</a></li></ul></li> <li><a href="/wiki/ISO_metric_screw_thread" title="ISO metric screw thread">68-1</a></li> <li><a href="/wiki/ISO_128" title="ISO 128">128</a></li> <li><a href="/wiki/ISO_216" title="ISO 216">216</a></li> <li><a href="/wiki/ISO_217" title="ISO 217">217</a></li> <li><a href="/wiki/Equal-loudness_contour" title="Equal-loudness contour">226</a></li> <li><a href="/wiki/British_Standard_Pipe" title="British Standard Pipe">228</a></li> <li><a href="/wiki/ISO_233" title="ISO 233">233</a></li> <li><a href="/wiki/ISO_259" title="ISO 259">259</a></li> <li><a href="/wiki/ISO_metric_screw_thread" title="ISO metric screw thread">261</a></li> <li><a href="/wiki/ISO_metric_screw_thread" title="ISO metric screw thread">262</a></li> <li><a href="/wiki/Kappa_number" title="Kappa number">302</a></li> <li><a href="/wiki/Vicat_softening_point" title="Vicat softening point">306</a></li> <li><a href="/wiki/Hazard_symbol#Ionizing_radiation_symbol" title="Hazard symbol">361</a></li> <li><a href="/wiki/Power_take-off" title="Power take-off">500</a></li> <li><a href="/wiki/Hot_shoe" title="Hot shoe">518</a></li> <li><a href="/wiki/Prontor-Compur" title="Prontor-Compur">519</a></li> <li><a href="/wiki/ISO_639" title="ISO 639">639</a> <ul><li><a href="/wiki/ISO_639-1" title="ISO 639-1">-1</a></li> <li><a href="/wiki/ISO_639-2" title="ISO 639-2">-2</a></li> <li><a href="/wiki/ISO_639-3" title="ISO 639-3">-3</a></li> <li><a href="/wiki/ISO_639-5" title="ISO 639-5">-5</a></li> <li><a href="/wiki/ISO_639-6" title="ISO 639-6">-6</a></li></ul></li> <li><a href="/wiki/ISO/IEC_646" title="ISO/IEC 646">646</a></li> <li><a href="/wiki/ISO_657" title="ISO 657">657</a></li> <li><a href="/wiki/ISO_668" title="ISO 668">668</a></li> <li><a href="/wiki/ISO_690" title="ISO 690">690</a></li> <li><a href="/wiki/ISO_704" title="ISO 704">704</a></li> <li><a href="/wiki/ISO_732" title="ISO 732">732</a></li> <li><a href="/wiki/Antimagnetic_watch" title="Antimagnetic watch">764</a></li> <li><a href="/wiki/Hole_punch" title="Hole punch">838</a></li> <li><a href="/wiki/ISO_843" title="ISO 843">843</a></li> <li><a href="/wiki/ISO_860" title="ISO 860">860</a></li> <li><a href="/wiki/ISO_898" title="ISO 898">898</a></li> <li><a href="/wiki/ISO_965" title="ISO 965">965</a></li> <li><a href="/wiki/ISO_999" title="ISO 999">999</a></li> <li><a href="/wiki/ISO_1000" title="ISO 1000">1000</a></li> <li><a href="/wiki/Magnetic_ink_character_recognition" title="Magnetic ink character recognition">1004</a></li> <li><a href="/wiki/135_film" title="135 film">1007</a></li> <li><a href="/wiki/OCR-A" title="OCR-A">1073-1</a></li> <li><a href="/wiki/OCR-B" title="OCR-B">1073-2</a></li> <li><a href="/wiki/Longitudinal_redundancy_check" title="Longitudinal redundancy check">1155</a></li> <li><a href="/wiki/Shock-resistant_watch#ISO_1413_shock-resistant_standard" title="Shock-resistant watch">1413</a></li> <li><a href="/wiki/ALGOL_60" title="ALGOL 60">1538</a></li> <li><a href="/wiki/ISO_1629" title="ISO 1629">1629</a></li> <li><a href="/wiki/ISO_1745" title="ISO 1745">1745</a></li> <li><a href="/wiki/COBOL" title="COBOL">1989</a></li> <li><a href="/wiki/ISO_2014" title="ISO 2014">2014</a></li> <li><a href="/wiki/ISO_2015" title="ISO 2015">2015</a></li> <li><a href="/wiki/ISO/IEC_2022" title="ISO/IEC 2022">2022</a></li> <li><a href="/wiki/ISO_2033" title="ISO 2033">2033</a></li> <li><a href="/wiki/ISO_2047" title="ISO 2047">2047</a></li> <li><a href="/wiki/ISBN" title="ISBN">2108</a></li> <li><a href="/wiki/ISO_2145" title="ISO 2145">2145</a></li> <li><a href="/wiki/ISO_2146" title="ISO 2146">2146</a></li> <li><a href="/wiki/Film_speed" title="Film speed">2240</a></li> <li><a href="/wiki/Water_Resistant_mark" title="Water Resistant mark">2281</a></li> <li><a href="/wiki/International_Standard_Atmosphere" title="International Standard Atmosphere">2533</a></li> <li><a href="/wiki/ISO_2709" title="ISO 2709">2709</a></li> <li><a href="/wiki/ISO_2711" title="ISO 2711">2711</a></li> <li><a href="/wiki/Film_speed" title="Film speed">2720</a></li> <li><a href="/wiki/ISO_2788" title="ISO 2788">2788</a></li> <li><a href="/wiki/ISO_2848" title="ISO 2848">2848</a></li> <li><a href="/wiki/ISO_2852" title="ISO 2852">2852</a></li> <li><a href="/wiki/ISO_2921" title="ISO 2921">2921</a></li> <li><a href="/wiki/126_film" title="126 film">3029</a></li> <li><a href="/wiki/ISO_3103" title="ISO 3103">3103</a></li> <li><a href="/wiki/ISO_3166" title="ISO 3166">3166</a> <ul><li><a href="/wiki/ISO_3166-1" title="ISO 3166-1">-1</a></li> <li><a href="/wiki/ISO_3166-2" title="ISO 3166-2">-2</a></li> <li><a href="/wiki/ISO_3166-3" title="ISO 3166-3">-3</a></li></ul></li> <li><a href="/wiki/International_Standard_Serial_Number" class="mw-redirect" title="International Standard Serial Number">3297</a></li> <li><a href="/wiki/ISO_3307" title="ISO 3307">3307</a></li> <li><a href="/wiki/O-ring" title="O-ring">3601</a></li> <li><a href="/wiki/Kunrei-shiki_romanization" title="Kunrei-shiki romanization">3602</a></li> <li><a href="/wiki/ISO_3864" title="ISO 3864">3864</a></li> <li><a href="/wiki/International_Standard_Recording_Code" title="International Standard Recording Code">3901</a></li> <li><a href="/wiki/FDI_World_Dental_Federation_notation" title="FDI World Dental Federation notation">3950</a></li> <li><a href="/wiki/ISO_3977" title="ISO 3977">3977</a></li> <li><a href="/wiki/ISO_4031" title="ISO 4031">4031</a></li> <li><a href="/wiki/ISO_4157" title="ISO 4157">4157</a></li> <li><a href="/wiki/ISO_4165" title="ISO 4165">4165</a></li> <li><a href="/wiki/ISO_4217" title="ISO 4217">4217</a></li> <li><a href="/wiki/ISO/IEC_4909" title="ISO/IEC 4909">4909</a></li> <li><a href="/wiki/ISO/IEC_5218" title="ISO/IEC 5218">5218</a></li> <li><a href="/wiki/ISO_5426" title="ISO 5426">5426</a></li> <li><a href="/wiki/ISO_5427" title="ISO 5427">5427</a></li> <li><a href="/wiki/ISO_5428" title="ISO 5428">5428</a></li> <li><a href="/wiki/Accuracy_and_precision" title="Accuracy and precision">5725</a></li> <li><a href="/wiki/ISO_5775" title="ISO 5775">5775</a></li> <li><a href="/wiki/ISO_5776" title="ISO 5776">5776</a></li> <li><a href="/wiki/Film_speed" title="Film speed">5800</a></li> <li><a href="/wiki/Flowchart" title="Flowchart">5807</a></li> <li><a href="/wiki/ISO_5964" title="ISO 5964">5964</a></li> <li><a href="/wiki/International_Securities_Identification_Number" title="International Securities Identification Number">6166</a></li> <li><a href="/wiki/ISO_6344" title="ISO 6344">6344</a></li> <li><a href="/wiki/ISO_6346" title="ISO 6346">6346</a></li> <li><a href="/wiki/Minimal_BASIC" title="Minimal BASIC">6373</a></li> <li><a href="/wiki/ISO_6385" title="ISO 6385">6385</a></li> <li><a href="/wiki/Water_Resistant_mark" title="Water Resistant mark">6425</a></li> <li><a href="/wiki/ANSI_escape_code" title="ANSI escape code">6429</a></li> <li><a href="/wiki/ISO_6438" title="ISO 6438">6438</a></li> <li><a href="/wiki/ISO/IEC_6523" title="ISO/IEC 6523">6523</a></li> <li><a href="/wiki/ISO_6709" title="ISO 6709">6709</a></li> <li><a href="/wiki/ISO_6943" title="ISO 6943">6943</a></li> <li><a href="/wiki/ISO_7001" title="ISO 7001">7001</a></li> <li><a href="/wiki/ISO_7002" title="ISO 7002">7002</a></li> <li><a href="/wiki/ISO_7010" title="ISO 7010">7010</a></li> <li><a href="/wiki/ISO_7027" title="ISO 7027">7027</a></li> <li><a href="/wiki/ISO/IEC_7064" title="ISO/IEC 7064">7064</a></li> <li><a href="/wiki/Pinyin" class="mw-redirect" title="Pinyin">7098</a></li> <li><a href="/wiki/Pascal_(programming_language)" title="Pascal (programming language)">7185</a></li> <li><a href="/wiki/ISO_7200" title="ISO 7200">7200</a></li> <li><a href="/wiki/OSI_model" title="OSI model">7498</a> <ul><li><a href="/wiki/OSI_model" title="OSI model">-1</a></li></ul></li> <li><a href="/wiki/ISO_7637" title="ISO 7637">7637</a></li> <li><a href="/wiki/ISO_7736" title="ISO 7736">7736</a></li> <li><a href="/wiki/ISO/IEC_7810" title="ISO/IEC 7810">7810</a></li> <li><a href="/wiki/ISO/IEC_7811" title="ISO/IEC 7811">7811</a></li> <li><a href="/wiki/ISO/IEC_7812" title="ISO/IEC 7812">7812</a></li> <li><a href="/wiki/ISO/IEC_7813" title="ISO/IEC 7813">7813</a></li> <li><a href="/wiki/ISO/IEC_7816" title="ISO/IEC 7816">7816</a></li> <li><a href="/wiki/Graphical_Kernel_System" title="Graphical Kernel System">7942</a></li> <li><a href="/wiki/ISO_8000" title="ISO 8000">8000</a></li> <li><a href="/wiki/On-board_diagnostics" title="On-board diagnostics">8093</a></li> <li><a href="/wiki/ISO_8178" title="ISO 8178">8178</a></li> <li><a href="/wiki/Fuel_oil" title="Fuel oil">8217</a></li> <li><a href="/wiki/ISO_8373" class="mw-redirect" title="ISO 8373">8373</a></li> <li><a href="/wiki/ISO_8501-1" title="ISO 8501-1">8501-1</a></li> <li><a href="/wiki/FTAM" title="FTAM">8571</a></li> <li><a href="/wiki/ISO_8583" title="ISO 8583">8583</a></li> <li><a href="/wiki/ISO_8601" title="ISO 8601">8601</a></li> <li><a href="/wiki/Open_Document_Architecture" title="Open Document Architecture">8613</a></li> <li><a href="/wiki/Computer_Graphics_Metafile" title="Computer Graphics Metafile">8632</a></li> <li><a href="/wiki/Graphical_Kernel_System" title="Graphical Kernel System">8651</a></li> <li><a href="/wiki/ISO/IEC_8652" title="ISO/IEC 8652">8652</a></li> <li><a href="/wiki/ISO_8691" title="ISO 8691">8691</a></li> <li><a href="/wiki/Graphical_Kernel_System" title="Graphical Kernel System">8805/8806</a></li> <li><a href="/wiki/Language_Of_Temporal_Ordering_Specification" class="mw-redirect" title="Language Of Temporal Ordering Specification">8807</a></li> <li><a href="/wiki/Fuse_(automotive)" class="mw-redirect" title="Fuse (automotive)">8820-5</a></li> <li><a href="/wiki/ISO/IEC_8859" title="ISO/IEC 8859">8859</a> <ul><li><a href="/wiki/ISO/IEC_8859-1" title="ISO/IEC 8859-1">-1</a></li> <li><a href="/wiki/ISO/IEC_8859-2" title="ISO/IEC 8859-2">-2</a></li> <li><a href="/wiki/ISO/IEC_8859-3" title="ISO/IEC 8859-3">-3</a></li> <li><a href="/wiki/ISO/IEC_8859-4" title="ISO/IEC 8859-4">-4</a></li> <li><a href="/wiki/ISO/IEC_8859-5" title="ISO/IEC 8859-5">-5</a></li> <li><a href="/wiki/ISO/IEC_8859-6" title="ISO/IEC 8859-6">-6</a></li> <li><a href="/wiki/ISO/IEC_8859-7" title="ISO/IEC 8859-7">-7</a></li> <li><a href="/wiki/ISO/IEC_8859-8" title="ISO/IEC 8859-8">-8</a></li> <li><a href="/wiki/ISO-8859-8-I" title="ISO-8859-8-I">-8-I</a></li> <li><a href="/wiki/ISO/IEC_8859-9" title="ISO/IEC 8859-9">-9</a></li> <li><a href="/wiki/ISO/IEC_8859-10" title="ISO/IEC 8859-10">-10</a></li> <li><a href="/wiki/ISO/IEC_8859-11" title="ISO/IEC 8859-11">-11</a></li> <li><a href="/wiki/ISO/IEC_8859-12" class="mw-redirect" title="ISO/IEC 8859-12">-12</a></li> <li><a href="/wiki/ISO/IEC_8859-13" title="ISO/IEC 8859-13">-13</a></li> <li><a href="/wiki/ISO/IEC_8859-14" title="ISO/IEC 8859-14">-14</a></li> <li><a href="/wiki/ISO/IEC_8859-15" title="ISO/IEC 8859-15">-15</a></li> <li><a href="/wiki/ISO/IEC_8859-16" title="ISO/IEC 8859-16">-16</a></li></ul></li> <li><a href="/wiki/Standard_Generalized_Markup_Language" title="Standard Generalized Markup Language">8879</a></li> <li><a href="/wiki/ISO_9000" class="mw-redirect" title="ISO 9000">9000/9001</a></li> <li><a href="/wiki/ASMO_449" title="ASMO 449">9036</a></li> <li><a href="/wiki/SQL" title="SQL">9075</a></li> <li><a href="/wiki/ISO/IEC_9126" title="ISO/IEC 9126">9126</a></li> <li><a href="/wiki/On-board_diagnostics" title="On-board diagnostics">9141</a></li> <li><a href="/wiki/Salt_spray_test" title="Salt spray test">9227</a></li> <li><a href="/wiki/ISO_9241" title="ISO 9241">9241</a></li> <li><a href="/wiki/File_Allocation_Table" title="File Allocation Table">9293</a></li> <li><a href="/wiki/Fiber_Distributed_Data_Interface" title="Fiber Distributed Data Interface">9314</a></li> <li><a href="/wiki/ISO_9362" title="ISO 9362">9362</a></li> <li><a href="/wiki/Shoe_size" title="Shoe size">9407</a></li> <li><a href="/wiki/CHILL" title="CHILL">9496</a></li> <li><a href="/wiki/Manufacturing_Message_Specification" title="Manufacturing Message Specification">9506</a></li> <li><a href="/wiki/ISO/IEC_9529" title="ISO/IEC 9529">9529</a></li> <li><a href="/wiki/ISO_9564" title="ISO 9564">9564</a></li> <li><a href="/wiki/PHIGS" title="PHIGS">9592/9593</a></li> <li><a href="/wiki/X.500" title="X.500">9594</a></li> <li><a href="/wiki/ISO_9660" title="ISO 9660">9660</a></li> <li><a href="/wiki/ISO/IEC_9797-1" title="ISO/IEC 9797-1">9797-1</a></li> <li><a href="/wiki/ISO_9897" title="ISO 9897">9897</a></li> <li><a href="/wiki/ANSI_C" title="ANSI C">9899</a></li> <li><a href="/wiki/POSIX" title="POSIX">9945</a></li> <li><a href="/wiki/Romanization_of_Georgian" title="Romanization of Georgian">9984</a></li> <li><a href="/wiki/Romanization_of_Armenian" title="Romanization of Armenian">9985</a></li> <li><a href="/wiki/ISO/IEC_9995" title="ISO/IEC 9995">9995</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">10000–19999</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO_10006" title="ISO 10006">10006</a></li> <li><a href="/wiki/ISO_10007" title="ISO 10007">10007</a></li> <li><a href="/wiki/ISO/IEC_10116" title="ISO/IEC 10116">10116</a></li> <li><a href="/wiki/Whirlpool_(hash_function)" title="Whirlpool (hash function)">10118-3</a></li> <li><a href="/wiki/ISO_10160" title="ISO 10160">10160</a></li> <li><a href="/wiki/ISO_10161" title="ISO 10161">10161</a></li> <li><a href="/wiki/Guidelines_for_the_Definition_of_Managed_Objects" title="Guidelines for the Definition of Managed Objects">10165</a></li> <li><a href="/wiki/Document_Style_Semantics_and_Specification_Language" title="Document Style Semantics and Specification Language">10179</a></li> <li><a href="/wiki/Pascal_(programming_language)#ISO/IEC_10206:1990_Extended_Pascal" title="Pascal (programming language)">10206</a></li> <li><a href="/wiki/ISO_10218" title="ISO 10218">10218</a></li> <li><a href="/wiki/Full_BASIC" title="Full BASIC">10279</a></li> <li><a href="/wiki/ISO_10303" title="ISO 10303">10303</a> <ul><li><a href="/wiki/EXPRESS_(data_modeling_language)" title="EXPRESS (data modeling language)">-11</a></li> <li><a href="/wiki/ISO_10303-21" title="ISO 10303-21">-21</a></li> <li><a href="/wiki/ISO_10303-22" title="ISO 10303-22">-22</a></li> <li><a href="/wiki/ISO_10303-28" title="ISO 10303-28">-28</a></li> <li><a href="/wiki/STEP-NC" title="STEP-NC">-238</a></li></ul></li> <li><a href="/wiki/Market_Identifier_Code" title="Market Identifier Code">10383</a></li> <li><a href="/wiki/ArmSCII" title="ArmSCII">10585</a></li> <li><a href="/wiki/IS-IS" title="IS-IS">10589</a></li> <li><a href="/wiki/ISO_10628" title="ISO 10628">10628</a></li> <li><a href="/wiki/Universal_Coded_Character_Set" title="Universal Coded Character Set">10646</a></li> <li><a href="/wiki/Torx" title="Torx">10664</a></li> <li><a href="/wiki/RM-ODP" title="RM-ODP">10746</a></li> <li><a href="/wiki/Multibus" title="Multibus">10861</a></li> <li><a href="/wiki/International_Standard_Music_Number" title="International Standard Music Number">10957</a></li> <li><a href="/wiki/ISO_10962" title="ISO 10962">10962</a></li> <li><a href="/wiki/ISO/IEC_10967" title="ISO/IEC 10967">10967</a></li> <li><a href="/wiki/ISO/IEEE_11073" title="ISO/IEEE 11073">11073</a></li> <li><a href="/wiki/ISO_11170" title="ISO 11170">11170</a></li> <li><a href="/wiki/MPEG-1" title="MPEG-1">11172</a></li> <li><a href="/wiki/ISO/IEC_11179" title="ISO/IEC 11179">11179</a></li> <li><a href="/wiki/ISO/IEC_11404" title="ISO/IEC 11404">11404</a></li> <li><a href="/wiki/JBIG" title="JBIG">11544</a></li> <li><a href="/wiki/ISO_11783" title="ISO 11783">11783</a></li> <li><a href="/wiki/ISO_11784_and_ISO_11785" title="ISO 11784 and ISO 11785">11784</a></li> <li><a href="/wiki/ISO_11784_and_ISO_11785" title="ISO 11784 and ISO 11785">11785</a></li> <li><a href="/wiki/ISO/IEC_11801" title="ISO/IEC 11801">11801</a></li> <li><a href="/wiki/Trusted_Platform_Module" title="Trusted Platform Module">11889</a></li> <li><a href="/wiki/CAN_bus#CAN_lower-layer_standards" title="CAN bus">11898</a></li> <li><a href="/wiki/ISO_11940" title="ISO 11940">11940</a> (<a href="/wiki/ISO_11940-2" title="ISO 11940-2">-2</a>)</li> <li><a href="/wiki/ISO/TR_11941" title="ISO/TR 11941">11941</a></li> <li><a href="/wiki/ISO/TR_11941" title="ISO/TR 11941">11941 (TR)</a></li> <li><a href="/wiki/ISO_11992" title="ISO 11992">11992</a></li> <li><a href="/wiki/ISO_12006" title="ISO 12006">12006</a></li> <li><a href="/wiki/DICOM" title="DICOM">12052</a></li> <li><a href="/wiki/ISO/IEC_TR_12182" title="ISO/IEC TR 12182">12182</a></li> <li><a href="/wiki/ISO/IEC_12207" title="ISO/IEC 12207">12207</a></li> <li><a href="/wiki/TIFF/EP" title="TIFF/EP">12234-2</a></li> <li><a href="/wiki/Linguistic_categories#ISO_12620_(ISO_TC37_Data_Category_Registry,_ISOcat)" title="Linguistic categories">12620</a></li> <li><a class="mw-selflink selflink">13211</a> <ul><li><a class="mw-selflink selflink">-1</a></li> <li><a class="mw-selflink selflink">-2</a></li></ul></li> <li><a href="/wiki/Isofix" title="Isofix">13216</a></li> <li><a href="/wiki/Topic_map" title="Topic map">13250</a></li> <li><a href="/wiki/ISO_13399" title="ISO 13399">13399</a></li> <li><a href="/wiki/ISO_13406-2" title="ISO 13406-2">13406-2</a></li> <li><a href="/wiki/110_film" title="110 film">13450</a></li> <li><a href="/wiki/ISO_13485" title="ISO 13485">13485</a></li> <li><a href="/wiki/ISO_13490" title="ISO 13490">13490</a></li> <li><a href="/wiki/ISO_13567" title="ISO 13567">13567</a></li> <li><a href="/wiki/Z_notation" title="Z notation">13568</a></li> <li><a href="/wiki/ISO_13584" title="ISO 13584">13584</a></li> <li><a href="/wiki/International_Bank_Account_Number" title="International Bank Account Number">13616</a></li> <li><a href="/wiki/ISLISP" title="ISLISP">13816</a></li> <li><a href="/wiki/MPEG-2" title="MPEG-2">13818</a></li> <li><a href="/wiki/ISO_14000" class="mw-redirect" title="ISO 14000">14000</a></li> <li><a href="/wiki/ISO_14031" title="ISO 14031">14031</a></li> <li><a href="/wiki/ISO_14224" title="ISO 14224">14224</a></li> <li><a href="/wiki/PDF/UA" title="PDF/UA">14289</a></li> <li><a href="/wiki/Horsepower" title="Horsepower">14396</a></li> <li><a href="/wiki/ISO/IEC_14443" title="ISO/IEC 14443">14443</a></li> <li><a href="/wiki/MPEG-4" title="MPEG-4">14496</a> <ul><li><a href="/wiki/MPEG-4_Part_2" title="MPEG-4 Part 2">-2</a></li> <li><a href="/wiki/MPEG-4_Part_3" title="MPEG-4 Part 3">-3</a></li> <li><a href="/wiki/Delivery_Multimedia_Integration_Framework" title="Delivery Multimedia Integration Framework">-6</a></li> <li><a href="/wiki/Advanced_Video_Coding" title="Advanced Video Coding">-10</a></li> <li><a href="/wiki/MPEG-4_Part_11" title="MPEG-4 Part 11">-11</a></li> <li><a href="/wiki/ISO_base_media_file_format" title="ISO base media file format">-12</a></li> <li><a href="/wiki/MP4_file_format" title="MP4 file format">-14</a></li> <li><a href="/wiki/MP4_file_format" title="MP4 file format">-17</a></li> <li><a href="/wiki/MP4_file_format" title="MP4 file format">-20</a></li></ul></li> <li><a href="/wiki/ISO_14617" title="ISO 14617">14617</a></li> <li><a href="/wiki/ISO_14644" title="ISO 14644">14644</a></li> <li><a href="/wiki/STEP-NC" title="STEP-NC">14649</a></li> <li><a href="/wiki/ISO/IEC_14651" title="ISO/IEC 14651">14651</a></li> <li><a href="/wiki/ISO_14698" title="ISO 14698">14698</a></li> <li><a href="/wiki/Software_maintenance" title="Software maintenance">14764</a></li> <li><a href="/wiki/C%2B%2B" title="C++">14882</a></li> <li><a href="/wiki/ISO_14971" title="ISO 14971">14971</a></li> <li><a href="/wiki/ISO_15022" title="ISO 15022">15022</a></li> <li><a href="/wiki/ISO_15189" title="ISO 15189">15189</a></li> <li><a href="/wiki/ISO/IEC_15288" title="ISO/IEC 15288">15288</a></li> <li><a href="/wiki/Ada_Semantic_Interface_Specification" title="Ada Semantic Interface Specification">15291</a></li> <li><a href="/wiki/ISO_15398" title="ISO 15398">15398</a></li> <li><a href="/wiki/Common_Criteria" title="Common Criteria">15408</a></li> <li><a href="/wiki/JPEG_2000" title="JPEG 2000">15444</a> <ul><li><a href="/wiki/Motion_JPEG_2000" title="Motion JPEG 2000">-3</a></li> <li><a href="/wiki/JPIP" title="JPIP">-9</a></li></ul></li> <li><a href="/wiki/HTML" title="HTML">15445</a></li> <li><a href="/wiki/PDF417" title="PDF417">15438</a></li> <li><a href="/wiki/ISO/IEC_15504" title="ISO/IEC 15504">15504</a></li> <li><a href="/wiki/International_Standard_Identifier_for_Libraries_and_Related_Organizations" title="International Standard Identifier for Libraries and Related Organizations">15511</a></li> <li><a href="/wiki/ISO_15686" title="ISO 15686">15686</a></li> <li><a href="/wiki/ISO/IEC_15693" title="ISO/IEC 15693">15693</a></li> <li><a href="/wiki/International_Standard_Audiovisual_Number" title="International Standard Audiovisual Number">15706</a> <ul><li><a href="/wiki/International_Standard_Audiovisual_Number" title="International Standard Audiovisual Number">-2</a></li></ul></li> <li><a href="/wiki/International_Standard_Musical_Work_Code" title="International Standard Musical Work Code">15707</a></li> <li><a href="/wiki/ISO/IEC_15897" title="ISO/IEC 15897">15897</a></li> <li><a href="/wiki/ISO_15919" title="ISO 15919">15919</a></li> <li><a href="/wiki/ISO_15924" title="ISO 15924">15924</a></li> <li><a href="/wiki/ISO_15926" title="ISO 15926">15926</a></li> <li><a href="/wiki/ISO_15926_WIP" title="ISO 15926 WIP">15926 WIP</a></li> <li><a href="/wiki/PDF/X" title="PDF/X">15930</a></li> <li><a href="/wiki/MPEG-7" title="MPEG-7">15938</a></li> <li><a href="/wiki/MaxiCode" title="MaxiCode">16023</a></li> <li><a href="/wiki/ECMAScript" title="ECMAScript">16262</a></li> <li><a href="/wiki/Quality_function_deployment" title="Quality function deployment">16355-1</a></li> <li><a href="/wiki/Mixed_raster_content" title="Mixed raster content">16485</a></li> <li><a href="/wiki/PDF/VT" title="PDF/VT">16612-2</a></li> <li><a href="/wiki/ISO_16750" title="ISO 16750">16750</a></li> <li><a href="/wiki/IATF_16949" title="IATF 16949">16949 (TS)</a></li> <li><a href="/wiki/ISO/IEC_17024" title="ISO/IEC 17024">17024</a></li> <li><a href="/wiki/ISO/IEC_17025" title="ISO/IEC 17025">17025</a></li> <li><a href="/wiki/ISO_17100" title="ISO 17100">17100</a></li> <li><a href="/wiki/Open_Virtualization_Format" title="Open Virtualization Format">17203</a></li> <li><a href="/wiki/SDMX" title="SDMX">17369</a></li> <li><a href="/wiki/Legal_Entity_Identifier" title="Legal Entity Identifier">17442</a></li> <li><a href="/wiki/COLLADA" title="COLLADA">17506</a></li> <li><a href="/wiki/ISO/IEC_27002" title="ISO/IEC 27002">17799</a></li> <li><a href="/wiki/QR_code" title="QR code">18004</a></li> <li><a href="/wiki/ISO/IEC_18014" title="ISO/IEC 18014">18014</a></li> <li><a href="/wiki/JPEG_XL" title="JPEG XL">18181</a></li> <li><a href="/wiki/ISO_18245" title="ISO 18245">18245</a></li> <li><a href="/wiki/Process_Specification_Language" title="Process Specification Language">18629</a></li> <li><a href="/wiki/Photographic_Activity_Test" title="Photographic Activity Test">18916</a></li> <li><a href="/wiki/PDF/A" title="PDF/A">19005</a></li> <li><a href="/wiki/ISO_19011" title="ISO 19011">19011</a></li> <li><a href="/wiki/ISO_19092-1" class="mw-redirect" title="ISO 19092-1">19092</a> <ul><li><a href="/wiki/ISO_19092-1" class="mw-redirect" title="ISO 19092-1">-1</a></li> <li><a href="/wiki/ISO_19092-2" class="mw-redirect" title="ISO 19092-2">-2</a></li></ul></li> <li><a href="/wiki/ISO_19114" title="ISO 19114">19114</a></li> <li><a href="/wiki/Geospatial_metadata#ISO_19115:_Geographic_information_–_Metadata" title="Geospatial metadata">19115</a></li> <li><a href="/wiki/Simple_Features" title="Simple Features">19125</a></li> <li><a href="/wiki/Geography_Markup_Language#ISO_19136" title="Geography Markup Language">19136</a></li> <li><a href="/wiki/Shoe_size" title="Shoe size">19407</a></li> <li><a href="/wiki/ISO_19439" title="ISO 19439">19439</a></li> <li><a href="/wiki/Common_Object_Request_Broker_Architecture" title="Common Object Request Broker Architecture">19500</a></li> <li><a href="/wiki/Unified_Modeling_Language" title="Unified Modeling Language">19501</a></li> <li><a href="/wiki/Meta-Object_Facility" title="Meta-Object Facility">19502</a></li> <li><a href="/wiki/XML_Metadata_Interchange" title="XML Metadata Interchange">19503</a></li> <li><a href="/wiki/Unified_Modeling_Language" title="Unified Modeling Language">19505</a></li> <li><a href="/wiki/Knowledge_Discovery_Metamodel" title="Knowledge Discovery Metamodel">19506</a></li> <li><a href="/wiki/Object_Constraint_Language" title="Object Constraint Language">19507</a></li> <li><a href="/wiki/Meta-Object_Facility" title="Meta-Object Facility">19508</a></li> <li><a href="/wiki/XML_Metadata_Interchange" title="XML Metadata Interchange">19509</a></li> <li><a href="/wiki/Business_Process_Model_and_Notation" title="Business Process Model and Notation">19510</a></li> <li><a href="/wiki/ISO_19600" title="ISO 19600">19600</a></li> <li><a href="/wiki/ISO/IEC_19752" title="ISO/IEC 19752">19752</a></li> <li><a href="/wiki/RELAX_NG" title="RELAX NG">19757</a></li> <li><a href="/wiki/ISO/IEC_19770" title="ISO/IEC 19770">19770</a></li> <li><a href="/wiki/X3D" title="X3D">19775-1</a></li> <li><a href="/wiki/ISO/IEC_19794-5" title="ISO/IEC 19794-5">19794-5</a></li> <li><a href="/wiki/Cloud_Infrastructure_Management_Interface" title="Cloud Infrastructure Management Interface">19831</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">20000–29999</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/ISO/IEC_20000" title="ISO/IEC 20000">20000</a></li> <li><a href="/wiki/ISO_20022" title="ISO 20022">20022</a></li> <li><a href="/wiki/ISO_20121" title="ISO 20121">20121</a></li> <li><a href="/wiki/ISO_20400" title="ISO 20400">20400</a></li> <li><a href="/wiki/Open_Data_Protocol" title="Open Data Protocol">20802</a></li> <li><a href="/wiki/Han_Xin_code" title="Han Xin code">20830</a></li> <li><a href="/wiki/MPEG-21" title="MPEG-21">21000</a></li> <li><a href="/wiki/ISO_21001" title="ISO 21001">21001</a></li> <li><a href="/wiki/International_Standard_Text_Code" title="International Standard Text Code">21047</a></li> <li><a href="/wiki/JPEG_XS" title="JPEG XS">21122</a></li> <li><a href="/wiki/ISO_21500" title="ISO 21500">21500</a></li> <li><a href="/wiki/ISO/IEC_21827" title="ISO/IEC 21827">21827</a></li> <li><a href="/wiki/ISO_22000" title="ISO 22000">22000</a></li> <li><a href="/wiki/ECMAScript" title="ECMAScript">22275</a></li> <li><a href="/wiki/ISO_22300" title="ISO 22300">22300</a></li> <li><a href="/wiki/ISO_22301" title="ISO 22301">22301</a></li> <li><a href="/wiki/ISO_22395" title="ISO 22395">22395</a></li> <li><a href="/wiki/ECMAScript_for_XML" title="ECMAScript for XML">22537</a></li> <li><a href="/wiki/MPEG-A" title="MPEG-A">23000</a></li> <li><a href="/wiki/MPEG-D" title="MPEG-D">23003</a></li> <li><a href="/wiki/MPEG-H" title="MPEG-H">23008</a></li> <li><a href="/wiki/Dynamic_Adaptive_Streaming_over_HTTP" title="Dynamic Adaptive Streaming over HTTP">23009</a></li> <li><a href="/wiki/Versatile_Video_Coding" title="Versatile Video Coding">23090-3</a></li> <li><a href="/wiki/MPEG-G" title="MPEG-G">23092</a></li> <li><a href="/wiki/Essential_Video_Coding" title="Essential Video Coding">23094-1</a></li> <li><a href="/wiki/LCEVC" title="LCEVC">23094-2</a></li> <li><a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">23270</a></li> <li><a href="/wiki/Common_Language_Infrastructure" title="Common Language Infrastructure">23271</a></li> <li><a href="/wiki/Linux_Standard_Base" title="Linux Standard Base">23360</a></li> <li><a href="/wiki/Rectangular_Micro_QR_Code" title="Rectangular Micro QR Code">23941</a></li> <li><a href="/wiki/PDF/E" title="PDF/E">24517</a></li> <li><a href="/wiki/Lexical_Markup_Framework" title="Lexical Markup Framework">24613</a></li> <li><a href="/wiki/ISO-TimeML" title="ISO-TimeML">24617</a></li> <li><a href="/wiki/Common_Logic" title="Common Logic">24707</a></li> <li><a href="/wiki/MicroPDF417" title="MicroPDF417">24728</a></li> <li><a href="/wiki/ISO_25178" title="ISO 25178">25178</a></li> <li><a href="/wiki/ISO_25964" title="ISO 25964">25964</a></li> <li><a href="/wiki/ISO_26000" title="ISO 26000">26000</a></li> <li><a href="/wiki/ISO_26262" title="ISO 26262">26262</a></li> <li><a href="/wiki/OpenDocument" title="OpenDocument">26300</a></li> <li><a href="/wiki/Digital_object_identifier" title="Digital object identifier">26324</a></li> <li><a href="/wiki/ISO/IEC_27000-series" class="mw-redirect" title="ISO/IEC 27000-series">27000 series</a></li> <li><a href="/wiki/ISO/IEC_27000" title="ISO/IEC 27000">27000</a></li> <li><a href="/wiki/ISO/IEC_27001" title="ISO/IEC 27001">27001</a></li> <li><a href="/wiki/ISO/IEC_27002" title="ISO/IEC 27002">27002</a></li> <li><a href="/wiki/ISO/IEC_27005" title="ISO/IEC 27005">27005</a></li> <li><a href="/wiki/ISO/IEC_27006" title="ISO/IEC 27006">27006</a></li> <li><a href="/wiki/International_Standard_Name_Identifier" title="International Standard Name Identifier">27729</a></li> <li><a href="/wiki/ISO_28000" title="ISO 28000">28000</a></li> <li>29110</li> <li><a href="/wiki/Requirements_engineering" title="Requirements engineering">29148</a></li> <li><a href="/wiki/JPEG_XR" title="JPEG XR">29199-2</a></li> <li><a href="/wiki/Office_Open_XML" title="Office Open XML">29500</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">30000+</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/Ruby_(programming_language)" title="Ruby (programming language)">30170</a></li> <li><a href="/wiki/ISO_31000" title="ISO 31000">31000</a></li> <li><a href="/wiki/PDF" title="PDF">32000</a></li> <li><a href="/wiki/ISO_37001" title="ISO 37001">37001</a></li> <li><a href="/wiki/ISO/IEC_38500" title="ISO/IEC 38500">38500</a></li> <li><a href="/wiki/Graph_Query_Language" title="Graph Query Language">39075</a></li> <li><a href="/wiki/Web_Content_Accessibility_Guidelines" title="Web Content Accessibility Guidelines">40500</a></li> <li><a href="/wiki/ISO/IEC_42010" title="ISO/IEC 42010">42010</a></li> <li><a href="/wiki/ISO_45001" title="ISO 45001">45001</a></li> <li><a href="/wiki/ISO_50001" title="ISO 50001">50001</a></li> <li><a href="/wiki/ISO_55000" title="ISO 55000">55000</a></li> <li><a href="/wiki/ISO_56000" title="ISO 56000">56000</a></li> <li><a href="/wiki/ISO/IEC_80000" title="ISO/IEC 80000">80000</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li><span class="noviewer" typeof="mw:File"><span title="Category"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/16px-Symbol_category_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/23px-Symbol_category_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/9/96/Symbol_category_class.svg/31px-Symbol_category_class.svg.png 2x" data-file-width="180" data-file-height="185" /></span></span> <a href="/wiki/Category:ISO_standards" title="Category:ISO standards">Category</a></li></ul> </div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236075235"><style data-mw-deduplicate="TemplateStyles:r1038841319">.mw-parser-output .tooltip-dotted{border-bottom:1px dotted;cursor:help}</style></div><div role="navigation" class="navbox authority-control" aria-labelledby="Authority_control_databases_frameless&amp;#124;text-top&amp;#124;10px&amp;#124;alt=Edit_this_at_Wikidata&amp;#124;link=https&amp;#58;//www.wikidata.org/wiki/Q163468#identifiers&amp;#124;class=noprint&amp;#124;Edit_this_at_Wikidata" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Authority_control_databases_frameless&amp;#124;text-top&amp;#124;10px&amp;#124;alt=Edit_this_at_Wikidata&amp;#124;link=https&amp;#58;//www.wikidata.org/wiki/Q163468#identifiers&amp;#124;class=noprint&amp;#124;Edit_this_at_Wikidata" style="font-size:114%;margin:0 4em"><a href="/wiki/Help:Authority_control" title="Help:Authority control">Authority control databases</a> <span class="mw-valign-text-top noprint" typeof="mw:File/Frameless"><a href="https://www.wikidata.org/wiki/Q163468#identifiers" title="Edit this at Wikidata"><img alt="Edit this at Wikidata" src="//upload.wikimedia.org/wikipedia/en/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">National</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://id.loc.gov/authorities/sh85107397">United States</a></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://catalogue.bnf.fr/ark:/12148/cb11970224v">France</a></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="https://data.bnf.fr/ark:/12148/cb11970224v">BnF data</a></span></li><li><span class="uid"><span class="rt-commentedText tooltip tooltip-dotted" title="Prolog (programovací jazyk)"><a rel="nofollow" class="external text" href="https://aleph.nkp.cz/F/?func=find-c&amp;local_base=aut&amp;ccl_term=ica=ph117111&amp;CON_LNG=ENG">Czech Republic</a></span></span></li><li><span class="uid"><a rel="nofollow" class="external text" href="http://olduli.nli.org.il/F/?func=find-b&amp;local_base=NLX10&amp;find_code=UID&amp;request=987007538888605171">Israel</a></span></li></ul></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://www.idref.fr/027719774">IdRef</a></span></li></ul></div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐f69cdc8f6‐chdqs Cached time: 20241122141726 Cache expiry: 726166 Reduced expiry: true Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 1.584 seconds Real time usage: 1.860 seconds Preprocessor visited node count: 9743/1000000 Post‐expand include size: 234591/2097152 bytes Template argument size: 14024/2097152 bytes Highest expansion depth: 22/100 Expensive parser function count: 46/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 332838/5000000 bytes Lua time usage: 0.916/10.000 seconds Lua memory usage: 21405431/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 1545.113 1 -total 40.24% 621.784 2 Template:Reflist 15.70% 242.626 22 Template:Cite_book 10.46% 161.668 2 Template:Infobox 9.11% 140.751 1 Template:Infobox_programming_language 8.66% 133.872 1 Template:Lang 8.06% 124.488 20 Template:Cite_journal 6.95% 107.384 1 Template:Short_description 4.83% 74.623 2 Template:Navbox 4.73% 73.154 2 Template:Pagetype --> <!-- Saved in parser cache with key enwiki:pcache:idhash:23485-0!canonical and timestamp 20241122141726 and revision id 1258463030. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Prolog&amp;oldid=1258463030">https://en.wikipedia.org/w/index.php?title=Prolog&amp;oldid=1258463030</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Dynamically_typed_programming_languages" title="Category:Dynamically typed programming languages">Dynamically typed programming languages</a></li><li><a href="/wiki/Category:Logic_programming_languages" title="Category:Logic programming languages">Logic programming languages</a></li><li><a href="/wiki/Category:Pattern_matching_programming_languages" title="Category:Pattern matching programming languages">Pattern matching programming languages</a></li><li><a href="/wiki/Category:Programming_languages_created_in_1972" title="Category:Programming languages created in 1972">Programming languages created in 1972</a></li><li><a href="/wiki/Category:Programming_languages_with_an_ISO_standard" title="Category:Programming languages with an ISO standard">Programming languages with an ISO standard</a></li><li><a href="/wiki/Category:Prolog_programming_language_family" title="Category:Prolog programming language family">Prolog programming language family</a></li><li><a href="/wiki/Category:Homoiconic_programming_languages" title="Category:Homoiconic programming languages">Homoiconic programming languages</a></li><li><a href="/wiki/Category:French_inventions" title="Category:French inventions">French inventions</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:All_articles_with_dead_external_links" title="Category:All articles with dead external links">All articles with dead external links</a></li><li><a href="/wiki/Category:Articles_with_dead_external_links_from_February_2023" title="Category:Articles with dead external links from February 2023">Articles with dead external links from February 2023</a></li><li><a href="/wiki/Category:Articles_with_permanently_dead_external_links" title="Category:Articles with permanently dead external links">Articles with permanently dead external links</a></li><li><a href="/wiki/Category:Articles_with_dead_external_links_from_November_2023" title="Category:Articles with dead external links from November 2023">Articles with dead external links from November 2023</a></li><li><a href="/wiki/Category:Webarchive_template_wayback_links" title="Category:Webarchive template wayback links">Webarchive template wayback links</a></li><li><a href="/wiki/Category:CS1:_long_volume_value" title="Category:CS1: long volume value">CS1: long volume value</a></li><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_matches_Wikidata" title="Category:Short description matches Wikidata">Short description matches Wikidata</a></li><li><a href="/wiki/Category:Wikipedia_articles_needing_clarification_from_October_2012" title="Category:Wikipedia articles needing clarification from October 2012">Wikipedia articles needing clarification from October 2012</a></li><li><a href="/wiki/Category:All_articles_with_unsourced_statements" title="Category:All articles with unsourced statements">All articles with unsourced statements</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_November_2010" title="Category:Articles with unsourced statements from November 2010">Articles with unsourced statements from November 2010</a></li><li><a href="/wiki/Category:Articles_containing_potentially_dated_statements_from_2008" title="Category:Articles containing potentially dated statements from 2008">Articles containing potentially dated statements from 2008</a></li><li><a href="/wiki/Category:All_articles_containing_potentially_dated_statements" title="Category:All articles containing potentially dated statements">All articles containing potentially dated statements</a></li><li><a href="/wiki/Category:Articles_containing_French-language_text" title="Category:Articles containing French-language text">Articles containing French-language text</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_November_2022" title="Category:Articles with unsourced statements from November 2022">Articles with unsourced statements from November 2022</a></li><li><a href="/wiki/Category:All_articles_with_specifically_marked_weasel-worded_phrases" title="Category:All articles with specifically marked weasel-worded phrases">All articles with specifically marked weasel-worded phrases</a></li><li><a href="/wiki/Category:Articles_with_specifically_marked_weasel-worded_phrases_from_February_2010" title="Category:Articles with specifically marked weasel-worded phrases from February 2010">Articles with specifically marked weasel-worded phrases from February 2010</a></li><li><a href="/wiki/Category:Articles_with_dead_external_links_from_August_2019" title="Category:Articles with dead external links from August 2019">Articles with dead external links from August 2019</a></li><li><a href="/wiki/Category:Articles_with_dead_external_links_from_September_2019" title="Category:Articles with dead external links from September 2019">Articles with dead external links from September 2019</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 19 November 2024, at 21:48<span class="anonymous-show">&#160;(UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Prolog&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-jmw2b","wgBackendResponseTime":203,"wgPageParseReport":{"limitreport":{"cputime":"1.584","walltime":"1.860","ppvisitednodes":{"value":9743,"limit":1000000},"postexpandincludesize":{"value":234591,"limit":2097152},"templateargumentsize":{"value":14024,"limit":2097152},"expansiondepth":{"value":22,"limit":100},"expensivefunctioncount":{"value":46,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":332838,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 1545.113 1 -total"," 40.24% 621.784 2 Template:Reflist"," 15.70% 242.626 22 Template:Cite_book"," 10.46% 161.668 2 Template:Infobox"," 9.11% 140.751 1 Template:Infobox_programming_language"," 8.66% 133.872 1 Template:Lang"," 8.06% 124.488 20 Template:Cite_journal"," 6.95% 107.384 1 Template:Short_description"," 4.83% 74.623 2 Template:Navbox"," 4.73% 73.154 2 Template:Pagetype"]},"scribunto":{"limitreport-timeusage":{"value":"0.916","limit":"10.000"},"limitreport-memusage":{"value":21405431,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-chdqs","timestamp":"20241122141726","ttl":726166,"transientcontent":true}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Prolog","url":"https:\/\/en.wikipedia.org\/wiki\/Prolog","sameAs":"http:\/\/www.wikidata.org\/entity\/Q163468","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q163468","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2001-08-07T13:04:11Z","dateModified":"2024-11-19T21:48:07Z","headline":"programming language that uses first order logic"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10