File formats
sparqld selects a parser from a file's extension. Every loaded source is
loaded into its own named graph and participates in the same watching and
error-reporting behavior. Dataset formats load their declared named graphs; see
Named graphs.
-
.json,.jsonldLinked data in JSON. Declare any terms and keyword aliases in the document's
@context. -
.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 use the contexts their documents declare. See Contexts for the supported dollar-keyword context and local context files.