← View in Interactive Graph

3. Knowledge representation using logic

knowledge representation methods plays a key role in how we model allow machines to reason about the world, make decisions, and infer new knowledge based on existing facts.

2. Predicate Logic (First-Order Logic)

Example:

We can express: $$ \forall x (Human(x) \rightarrow Mortal(x)) \quad \text{(All humans are mortal)} $$


3. Rules → If-Then

Example:


4. Semantic Networks (Google Graph, Meaning Graph)

Example:


5. Frames → Slots and Fillers

Example:


6. Objects and Attributes

Example:

An object can also represent a real-world entity with specific properties, and these properties can be used to reason about the object.


7. Scripts

Example:


Summary


Tags: #ai #ai-foundations

Logic_and_Math_In_Programming