I want to edit Turtle (RDF) files in the most convenient way possible.
Formal requirements: The solution must be FLOSS and a local/offline client that runs natively on GNU/Linux.
I don’t expect (but hope) to find a client that has all these features, so please also recommend editors which are only partial matches. There might also be really helpful features I can’t think of right now, so feel free to recommend editors that shine in other Turtle editing areas.
Maybe differentiating between URIs, prefixed names, and literals, but I’m open for anything (just as long there is some sensible coloring).
Warn/highlight when there is a syntactical error, for example, as soon as a prefix is used which is not declared, or when a trailing dot is missing.
(Simple) semantic validation.
Warn/highlight when there is a semantic error, for example, when the local part of a prefixed name is not defined in the corresponding vocabulary. (*)
Offer autocomplete when declaring prefixes (e.g., when typing
@prefix foa, the tool should offer to complete to
@prefix foaf: <http://xmlns.com/foaf/0.1/> .) and when using prefixed names (e.g., when typing
foaf:n, the tool should offer to complete to
Construct URLs for prefixed names.
Right-clicking on a prefixed name should offer a way to copy the full URL into the clipboard or open it in the default browser.
Offer a way to search for possible optimizations, i.e., use of predicate/object lists, and execute them.
(*): For semantic validation and autocomplete, I’m fine with adding vocabularies (with all their terms) and the corresponding prefixes I like to use manually to the editor somehow. A RDF(S) import function for vocabularies would, of course, be even better.