Knotation Context
We often have a number of prefixes, labels, and defaults that we want to use for our Knotation content. By putting this context information in a separate file, we can reuse it for many content files.
- prefixes let us shorten long IRIs to concise CURIEs, just like in Turtle and SPARQL
- labels are defined by the
rdfs:label
predicate; once defined, a label can be used wherever a CURIE or IRI is used
- default datatypes are used when a statement does not specify a datatype
- default languages work in the same way
When we convert Knotation to Turtle (or other formats) we can choose whether or not to include the full context, just the prefixes, or none of it. In the Turtle tab, none of the context information is included, just the content.
Knotation is ...
- a text format that's easy for people and machines to read and write
- a tool for working wth Linked Data and ontologies
- a concrete syntax for RDF and OWL
- free and open source
- work in progress!
Knotation combines the best features of ...
- Turtle: prefixed names, subject stanzas, multiline strings, comments
- JSON-LD: labels, default datatypes, contexts
- Manchester: human-readable OWL expressions
- YAML: lightweight line-based syntax
Use the interactive editor to learn more. Click on a line for details.
Please give us your feedback on our mailing list or issue tracker.
Knotation is still in early development. Several planned features have not yet been implemented.
Knotation is an open source project written by our contributors, and shared under a BSD licence. See our GitHub organization https://github.com/knotation for details.