Skip to content

RDFS

Generate RDFS, serialized as N-Triples or Turtle.

Terminal window
ohi get w3c/prov-o
ohi linkml to rdfs --only-classes-from-root-schema \
--to prov-o.rdfs.ttl prov-o.linkml.yaml
Try it in the playground, with PROV-O
formatRdfFormatdefault ttl
CLI --format

The RDF serialization of the output.

  • ttl Turtle, with prefixes and pretty-printed.
  • nt N-Triples, one statement per line.
only_classes_from_root_schemabooleandefault false
CLI --only-classes-from-root-schemaScala onlyClassesFromRootSchema

Whether to include only the classes and enums of the root schema. This is useful for one output file per schema file, without the imported classes in each.