![]() |
| Previous Top Next |
Main Window |
SemanticWorks documents are opened in the Main Window, and are viewed and edited in the Main Window. The Main Window has two views, Text View and RDF/OWL View (screenshots below), between which you can switch by clicking the respective tabs.

RDF/OWL View window, showing Overview (main pane, with subsidiary pane below). To switch
from Overview to Detail View of an item, click the Detail View button to the left of that item.
RDF/OWL View provides (i) an Overview of the document, and (ii) a Detail View of an item listed in the Overview. To switch from Overview to the Detail View of an item, click the Detail View icon
to the left of that item's Overview listing. Notice that the entire Overview (main pane and subsidiary pane) is replaced by Detail View (screenshot below). To switch from the Detail View of an item back to Overview, click the Overview icon
located at the top left of Detail View .

The Overview of ontologies is structured into five categories of items (see first screenshot in this section):
| • | Classes, which lists all ontology classes. If the Show Blank Nodes option (View | Show Blank Nodes) is selected, then anonymous classes are also listed. When a class is selected in the main pane, then the subsidiary pane shows (i) the properties of the class, and (ii) the instances of the class. |
| • | Properties, which lists all properties in the ontology. When a property is selected in the main pane, then the domain of that property is displayed in the subsidiary pane. |
| • | Instances (aka individuals), which lists all the ontology's instances of classes. |
| • | All-Different items, which lists the owl:AllDifferent items in the ontology. |
| • | Ontologies, which lists all ontologies in the document, including imported and prior-version ontologies. |
Each category has a tab in the main pane of the Overview, with tab labels located at the top of the main pane. To view the items in a particular category, click that category's tab label. When either the Classes or Properties tab is selected, and an individual class or property, respectively, in that tab is selected, additional information related to the selected class or property is displayed in a subsidiary pane located below the main pane. When a class in the Classes tab is selected, its individuals and properties can be viewed in the subsidiary pane. When a property in the Properties tab is selected, its domain is displayed in the subsidiary pane.
The Overview of RDF documents lists items in a single category: Resources.
Note: If an ontology imports other ontologies, then the classes, properties, instances, and all-different items of the imported ontologies are also displayed. If an RDF document correctly references an ontology, the items of the ontology are displayed as resources in the GUI.
In Detail View, you add or edit the details of an ontology item. Items are added by right-clicking an item and selecting the new item to insert from a context menu. Items that can be inserted are listed and described in the section, Icons in Detail View.
Text View
In Text View, you can display and edit a document in its RDF/XML notation (screenshot below) as well as in N-Triples notation.

Text View supports syntax coloring, line numbering, source folding of elements, and standard GUI editing features, such as cut-and-paste and drag-and-drop.
|