Prolog - Family Relationship in Prolog

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 24

  • @TutorialsPoint_
    @TutorialsPoint_  Рік тому

    Get Certification in Prolog in Artificial Intelligence: bitly.ws/WpVp
    Use coupon ""UA-cam12"" to get “FLAT 12%’’ OFF at Checkout.

  • @hcv1648
    @hcv1648 3 роки тому +4

    the best video series on prolog present on the internet. thanks for your efforts to upload this series Arnab Sir.

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

    Thank you so much, tomorrow is my practical exam and I've understood the prolog codes now 🙏🙏🙏

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

    01:30 Jim's parents, Peter and Pat, are either full siblings or half-siblings, since Bob is a parent of both!! In any case Peter is not even shown on the graphical tree, but is shown in the prolog statements.

  • @bwheldale
    @bwheldale Рік тому

    Thank you for so many videos. I have a scenario where names are not unique causing conflict.
    #1 parent(joe, joe).
    #2 parent(sam,sue).
    #3 parent(sam,sue).
    Although renaming (first come first entitled to their original name), while duplicates have a unique identifier added is a simple solution, but is also a distraction from the pure logic aspect of the problem at hand. Just thought I'd mention this because my project exercise is facing this dilemma.

  • @rupakparui8663
    @rupakparui8663 3 роки тому

    thank you sooo much sir , without these prolog videos maybe it was not possible to learn it.

  • @shraddhayadav7818
    @shraddhayadav7818 6 років тому +4

    Perfectly explained
    Awesome

  • @mustafaalkan5866
    @mustafaalkan5866 3 роки тому

    this video equal of all prolog lessons.

  • @millatipratiwi4582
    @millatipratiwi4582 6 років тому +7

    It will be better if you add caption or subtitle

  • @wandersongomes8405
    @wandersongomes8405 3 роки тому

    Muitissimo obrigado. Estava ja doido procurando esse assunto.

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

    thanks alot

  • @stoufa
    @stoufa 4 роки тому

    In Prolog, can the relationship be the unknown search for?
    For example, I want to know the Kinship between john and jane, can I use something like X(john, jane). ?

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

    She`s Leach or anyway Liz?

  • @asadujjamanasad7616
    @asadujjamanasad7616 6 років тому

    sir i have a Doubt in the tree of parent(bob,peter). and parent(peter,jim).

  • @saifabdalluhalgholee2792
    @saifabdalluhalgholee2792 4 роки тому +1

    Extend the program by adding rules for the following family relationships (add more facts as you need ).
    Rules
    father(X.Y) >
    Father (z,w)
    where X is Y's father
    father(X,Y):>male(X),Parent(X, Y).
    brother(X, Y):
    where X is Y's brother brother(X,Y):-male().praent(X,Y).
    Brother (y.w)
    sister(X,Y):-famale(X),praent(X, Y).
    sister(X,
    Y):
    where X is Y's sister
    Sister(w.y)
    son(X, Y)>
    son(X,Y):-male(X), praent(Y,X).
    where X is Y's son
    Son(y.z)
    daughter(X, Y) :- Daughter (w,x)
    where X is Y's daughter daughter(X,Y):-famale(X), praent(Y.X).
    where X and Y are sibling Sibling(X, Y):-praent(X,Y), praent(X, Y).
    Sibling(X.Y): Sibling(w.y)
    hint) Solved example:
    female(mary).
    Facts
    male(joe).
    parent(mary, joe).
    mother(MX)- female(M). parenx(M, X)
    Rule
    Question →
    ?-mother (mary. joe).
    Answer
    True.
    (hint) draw a family tree if you need.

  • @meerasolgama7324
    @meerasolgama7324 4 роки тому

    sir faces many warnings during execution of this program

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

    You are explaining so much you must be getting tired... Reading the ppt is your art...

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

    Can we get the program file please

  • @meerasolgama7324
    @meerasolgama7324 4 роки тому

    how i solve warnings

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

    I think for international audience it`s better to provide English translation (British or American variants).

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

    Too much reading from slides

  • @Searcher626
    @Searcher626 5 років тому

    Why does a professional of such a high level explain the basics?