Skip to content

gopi-chandu/Dark-Family-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

☘️ Dark series check

Dark character database and family trees in Prolog

⚠️ Full of SPOILERS!

dark.pl analyses facts about parents, gender,of Dark series characters in all 3 worlds, and implements rules.

Queries include the following:

  • Relationship - Find the relationship between X and Y

    ?-relationship(X, Y).
  • Parents - X is the parent of Y. You can also query mother/father

    ?-parent(X, Y). 

    List all parents of a character X

    ?-parents(X, Parents).
  • Children - X is the child of Y. You can also query son/daughter

    ?-child(X, Y).

    List all children of a character X

    ?-children(X, Children).
  • Sibling - X the sibling of Y. Can also query brother/sister

    ?-sibling(X, Y).

    List all siblings of a character X

    ?-list_siblings(X, Siblings).
  • Aunt, Uncle, Neice, Nephew - Can all be queried like the above, where X is the relation to Y

  • Full Profile - Gathers all relationships of a character

    ?-about(X).

image

About

Dark character database and family trees in Prolog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages