Fix LITERAL_SINGLE/LITERAL confusion.
Modernize list creation.
Unify base/prefix rules to be case-insensitive and have optional `@` and closing `.`.
The `a` for `rdf:type` is also case-insensitive.