Skip to content

Instantly share code, notes, and snippets.

@JGalego
Created March 11, 2025 15:52
Show Gist options
  • Select an option

  • Save JGalego/5036485ffdc9780e50758196341302bb to your computer and use it in GitHub Desktop.

Select an option

Save JGalego/5036485ffdc9780e50758196341302bb to your computer and use it in GitHub Desktop.
Just a glorified database in Prolog 🦉
% This Prolog program is just a glorified database.
%
% "You use glorified to indicate that something is less important
% or impressive than its name actually suggests." (Collins Dictionary)
%
% @author João Galego
%
% Facts (according to the Internet)
glorified('Docker Image', tarball).
glorified('DevOps', 'SysAdmin').
glorified('Artificial Intelligence', 'IF-THEN-ELSE rules').
glorified('Machine Learning', 'Statistics').
glorified('Machine Learning', 'Linear Algebra').
glorified('Machine Learning', 'curve fitting').
glorified('Backpropagation', 'chain rule').
glorified('Blockhain', 'linked lists').
glorified('Physics', 'Mathematics').
glorified('Chemistry', 'Physics').
glorified('Mathematics', counting).
glorified(yoga, stretching).
% Let's make the 'glorified' relation transitive
glorified(X, Y) :- glorified(X, Z),
glorified(Z, Y).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment