OWLFunctional (.ofn)


Import & Export

  • Import["file.ofn"] imports an OWL functional-style syntax file, returning an RDFStore.
  • Import["file.ofn",elements] imports the specified elements.
  • Export["file.ofn",expr] exports an RDFStore to an OWL functional-style syntax file.

Import Elements

  • General Import elements:
  • "Elements" list of elements and options available in this file
    "Rules"full list of rules for each element and option
    "Options"list of rules for options, properties and settings
  • Data representation elements:
  • "RDFStore"an RDFStore
    "Prefixes"association of prefixes to namespace IRIs


  • Export options:
  • "Prefixes"<||>produce prefixed names using these prefixes
  • A prefixed name has the form pre:local. The corresponding IRI is obtained by joining the namespace IRI associated with the prefix pre with the local part local.
  • "Prefixes" can be used to shorten an exported file. This option does not change the meaning of the RDFStore that the file represents.


Basic Examples  (1)

Import an OWL ontology about bikes: