Set up a Turtle Editor
A decent editor setup is crucial for my workflow. Autocompletion, validation and spell checking are some essential features for me. They make our life more comfortable and lead to an increase in productivity. After some research, I tried to set up and test the LNKD.tech Editor in IntelliJ, Xturtle in Eclipse, Tawny-OWL and Protégé.
Tawny-OWL looks promising since it allows the construction of OWL ontologies, in an evaluative, functional and fully programmatic environment. Unfortaultaly, I was not able to set it up. Mostly because I never used Clojure. Protégé also had to clear the field to be my primary editor quickly, since I like my Vim bindings over the click experience. Nevertheless, Protégé is also a convenient tool when it comes to converting RDF files from and to other RDF serialization. Quite some vocabularies which I use are not available serialized as Turtle files. But thanks to Protégé, we can load the namespace directly from an URL
File>Open form URL... and export it as RDF/XML Syntax, Turtle Syntax, OWL/XML Syntax, OWL Functional Syntax, OWL Manchester Syntax or JSON-LD
Finally, LNKD.tech Editor and Xturtle are both equivalent. For me, LNKD.tech Editor seemed to work out of the box. Most likely, this is because I frequently used IntelliJ over the past few years. Hence, if you are used to Eclipse, Xturtle might work better for you. In both cases, you need to provide all the namespaces you want to use, within the project.
This sample project contains a simple car ontology and all the dependencies which I downloaded. Just clone the repository and open it with IntelliJ. Autocompletion might be slow since the schema.org folder holds over 2000 namespaces. If it bothers you, delete all unused namespaces.
The namespaces listed here are all contained in the dependencies folder.
- An Ontology for Relating Generic and Specific Information Resources
- Basic Access Control Ontology
- Creative Commons Ontology
- DCMI Metadata Terms - other
- Friend of a Friend (FOAF)
- Posix Stat
- SKOS Core Vocabulary
- Solid Terms
- Solid Web Application
- The OWL 2 Schema vocabulary (OWL 2)
- The RDF Concepts Vocabulary (RDF)
- The RDF Schema vocabulary (RDFS)
- The W3C Linked Data Platform (LDP) Vocabulary
- The W3C Log vocabulary
- vCard Ontology - for describing People and Organizations
- Workspace Ontology
- XSD Namespace Document