4-Facts || No vs False [PROLOG]

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • I hope you understood what facts are and how to build a KNOWLEDGE BASE consisting of facts.I will upload further lectures on PROLOG,so STAY TUNED.
    If you find any difficulty or have any query or SUGGESTION then do COMMENT below. LIKE and SUBSCRIBE to our channel for more such videos...CYA :)

КОМЕНТАРІ • 14

  • @techdose4u
    @techdose4u  5 років тому +5

    Please SUBSCRIBE to help our channel and keep me going :)

  • @edwardgrabczewski
    @edwardgrabczewski 5 років тому +17

    Two points regarding the knoweldge base:
    1. the relationship names could be clearer by using 'isFatherOf' instead of just 'father'. Similarly, 'andPlay' instead of 'play'.
    2. if I type father(john,sarah) I get the result "false", even though sarah is not in the knowledge-base. Surely the answer should be "unknown", so that we could distinguish between what is in the knowldge-base (KB) and what is unknown to the KB. Otherwise, the answers appear to go beyond what the KB knows.

  • @edwardgrabczewski
    @edwardgrabczewski 5 років тому +22

    To help those typing it into Prolog:
    valuable(gold).
    female(jane).
    owns(jane,gold).
    father(john,mary).
    gives(john,book,mary).
    play(john,mary,football).
    play(jane,jim,badminton).

  • @kavitasingh4909
    @kavitasingh4909 4 роки тому +8

    Sir u teach very well and way of ur explanation is very good. But don't why this channel has less like. Hope in future it will be best video channel for Prolog.

  • @nochu4835
    @nochu4835 3 роки тому +3

    your explanation is really good! thankyou for this!

  • @quvomiddinkamalov3292
    @quvomiddinkamalov3292 9 місяців тому +1

    Thank you

  • @johnbalvin5401
    @johnbalvin5401 6 років тому +1

    what program are you using in the painting?

    • @techdose4u
      @techdose4u  6 років тому +2

      This is just a relationship program. I have shown this in SWI-Prolog IDE in the next video. In this video, we have just created a knoledge base. This will be used to solve our queries. Suppose we wna ask , "If John is father of Mary" then the compiler will look for it in the knowledge base which we have created and if matches any given relationship then it will return True otherwise False. If you still have doubts then u shd continue with next videos after completing this and u will eventually understand in the next couple of videos. HOPE this helps. If you wnna c more of PROLOG then please comment below so that i can upload more videos. Or if u have any SUGGESTION for my video lectures about how should i make it to improve understandibility then feel free to advice in comment below. I hope this video is helpful.

  • @piyushlangi3436
    @piyushlangi3436 2 роки тому

    Sir can you please provide the notes of this whole playlist of prolog

  • @Sandy-hc5jx
    @Sandy-hc5jx 3 роки тому

    when john gives a book to mary
    doesn't that mean the book is owned by mary.(just curious)

    • @ggncmpsci
      @ggncmpsci 6 місяців тому

      No, because John is giving the book to marry not returning the book.