Computer Science, asked by gamiparesh3297, 11 months ago

Write the syntax and semantics of datalog language

Answers

Answered by bashirgujjer032
0
Answer of your Question is also known as here
Attachments:
Answered by smartbrainz
1

Syntax and semantics of datalog language:

The following are 'syntax' and semantics of datalog language.

  • A variable begins with an uppercase letter.
  • A constant is a sequence of digits or begins with a 'lowercase letter'.  
  • A 'term' is either a constant or a variable.
  • A predicate symbol begins with a 'lowercase' letter.
  • An 'atomic symbol (atom)' is of the style 'p or p(t1, . . . , tn)' where p is a 'predicate symbol' and ti are terms.
  • A 'definite clause' is either an 'atomic' symbol of a fact.
  • A knowledge base is a group of 'definite clauses'.

To know more

Difference between syntax and semantics error with example

https://brainly.in/question/13161422

What do you mean by Syntax and semantic errors?

https://brainly.in/question/1102717

Similar questions