Prolog is still the best query language out there. If it had as much attention as other languages like python or javascript, we'd have some real space-age programming systems.
I get the feeling there's more to Prolog than I was able to unlock - can you recommend any reference materials for beginners?