2 facts about queries
Answers
Answered by
1
Explanation:
Facts Top
A fact must start with a predicate (which is an atom) and end with a fullstop. The predicate may be followed by one or more arguments which are enclosed by parentheses. The arguments can be atoms (in this case, these atoms are treated as constants), numbers, variables or lists. Arguments are separated by commas.
If we consider the arguments in a fact to be objects, then the predicate of the fact describes a property of the objects.
In a Prolog program, a presence of a fact indicates a statement that is true. An absence of a fact indicates a statement that is not true. See the following example:
please mark as brilliant ❤️⭐ please
Similar questions
Physics,
9 days ago
English,
9 days ago
Computer Science,
19 days ago
Computer Science,
9 months ago
English,
9 months ago
English,
9 months ago