www.altova.com
Previous  Top  Next

File Menu


The commands in the File menu enable you to create, open, save, export, and print SemanticWorks files. (SemanticWorks files are files with the .nt, .rdf, .rdfs, and .owl file extensions.)

 

 

New (Ctrl+N)

Opens a new blank document in the GUI with a name of UntitledX (where X is an integer). This document can subsequently be saved as an RDF (.rdf), RDF Schema (.rdfs), or OWL (.owl) file, or in the XML (.xml) or text (.txt) formats. To save to the N-Triples (.nt) format, use the File | Export to .nt command. Note that since all OWL files are valid RDF files, they are typically saved as .rdf files.  The new document is created with the following rudimentary content:

 

<?xml version="1.0"?>

<rdf:RDF xmlns:owl="http://www.w3.org/2002/07/owl#"

               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

               xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"/>

 

Notice that the RDF, RDF Schema, and OWL namespaces are automatically declared on the rdf:RDF element.

 

 

Open (Ctrl+O)

Opens .rdf, .rdfs, .owl , .nt, and .xml files in the RDF/OWL view.

 

 

Save (Ctrl+S), Save As

Saves the active document as an RDF (.rdf), RDF Schema (.rdfs), OWL (.owl) file, or in the XML (.xml) or text (.txt) formats. To save to the N-Triples (.nt) format, use the File | Export to .nt command. Note that once a file is saved in a particular format, it is available only in that format and can, therefore, only be viewed in that format in other editors. For example, a .nt file can be viewed in a standard text editor in N-Triples format only; the graphical view of this .nt file are features special to SemanticWorks.

 

 

Save Diagram as Image

This command is active in the Detail View of RDF/OWL View and saves the active Detail View document as an image in PNG or EMF format.

 

 

Export to .nt and .xml

Exports the active SemanticWorks document as an N-Triples or XML file to the desired location. The file is exported with the .nt or .xml file extension, respectively.

 

 

Close, Close All

Closes, respectively, the active document and all open documents.

 

 

Encoding

Pops up the Encoding dialog, in which you can set the encoding of the RDF/XML, RDF Schema, or OWL document. The encoding you select is entered as the value of the encoding attribute of the XML declaration of the document, as in <?xml version="1.0" encoding="UTF-8"?>. Note that default encoding is set in the Encoding tab of the Options dialog (Tools | Options).

 

 

Print, Print Preview, Print Setup

The Print and Print Preview commands are available for Text View and Detail View, and enable these two views to be printed. The Print Setup command enables you to configure a printer for the print job.

 

 

Recently Used Files

Displays the four most recently opened documents.

 

 

Exit

Closes all open documents and exits the application. If a document has unsaved changes, you are prompted about whether you wish to save the changes.

 


Previous  Top  Next

© 2008 Altova