Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 1.17 KB

README.md

File metadata and controls

43 lines (39 loc) · 1.17 KB

☘️ 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