This is an autocompleter for the Atom editor, compatible with AutoComplete+ that knows common ontologies and will suggest predicates based on your typing. Both the Turtle and TriG serializations are supported.
Current ontologies are:
If you'd like others added either raise an issue on the atom package, comment on gitter, tweet @nonodename or do a pull request with the conversion. Contributions are greatly appreciated. Note that the ontology is matched based on common prefixes.
Known ontologies are referenced from the file ontologies.json
in \lib
. Each ontology has a JSON file that contains the completion info.
To generate a new file, run convert.py
over a ttl version of the ontology to generate the JSON. convert.py supports a few command line options, run without any parameters to see them.
Note that quality of anchor links into the specs varies on whether the naming convention for the anchors is sufficiently predictable. Feel free to fix any that are wrong in the relevant JSON file and do a pull request to get added.
To test a new ontology without the palaver of pull requests:
\lib
For example:
"tr":{
"title":"My First ontology",
"spec":"URL of the spec",
"prefix":"tr",
"docprefix":"URL prefix for documentation",
"ontology":"/users/dan/ontologies/tr.json"
}
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.