{"title":"Logic Programming","authors":"M. Carro","doi":"10.1081/E-ESE-120044145","DOIUrl":null,"url":null,"abstract":"• Prolog, Alain Colmerauer 1972 • Program = a knowledge base expressed as definite clauses • Queries to the knowledge base • Closed world assumption: we assume ¬ to be true if sentence is not entailed by the knowledge base • Syntax: • Capital characters denote variables, • Small character stand for constants, • The head of the rule precedes the body, Appending what two lists gives the list [1,2]? • As the answer we get back all possible substitutions A=[ ] B=[1,2] A=[1] B=[2] A=[1,2] B=[ ]","PeriodicalId":386020,"journal":{"name":"Encyclopedia of Software Engineering","volume":"89 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Encyclopedia of Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1081/E-ESE-120044145","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
• Prolog, Alain Colmerauer 1972 • Program = a knowledge base expressed as definite clauses • Queries to the knowledge base • Closed world assumption: we assume ¬ to be true if sentence is not entailed by the knowledge base • Syntax: • Capital characters denote variables, • Small character stand for constants, • The head of the rule precedes the body, Appending what two lists gives the list [1,2]? • As the answer we get back all possible substitutions A=[ ] B=[1,2] A=[1] B=[2] A=[1,2] B=[ ]