There's no inherent reason you couldn't do that. That's another similarity to SQL: the underlying features of the language will depend on which runtime you're using.
SQL: Postgres, SQLite, MySql, etc. all have different features.
Prolog: SWI-Prolog, GNU Prolog, Scryer Prolog, etc. same thing.
It's true that Datalog is better for pure data querying. But there's no theoretical reason it couldn't be implemented in Prolog as well.
SQL: Postgres, SQLite, MySql, etc. all have different features. Prolog: SWI-Prolog, GNU Prolog, Scryer Prolog, etc. same thing.
It's true that Datalog is better for pure data querying. But there's no theoretical reason it couldn't be implemented in Prolog as well.