File formats
sparqld selects a parser from a file's extension. Every source enters its own
named graph and shares the same watching and error-reporting behavior. Dataset
formats keep their declared named graphs; see Named graphs.
-
.json,.jsonldLinked data in JSON. Declare terms in the document's
@context; the default context already supplies the dollar keyword aliases. -
.yamlldJSON-LD authored as YAML 1.2.
-
.mdYAML-LD front matter. Any YAML front matter is treated as linked data; the Markdown body is ignored, and Markdown without YAML front matter is ignored entirely.
-
.n3Compact RDF graph syntax with additional Notation3 features.
-
.nqLine-oriented RDF dataset syntax.
-
.nt,.txtLine-oriented RDF graph syntax.
-
.rdf,.xmlXML serialization of an RDF graph.
-
.trigTurtle syntax for RDF datasets.
-
.ttlCompact RDF graph syntax.
Contexts
JSON-LD, YAML-LD, and Markdown-LD start from the default context and then use the contexts their documents declare. See Contexts.