Difference between revisions of "PrF UG files export clips"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
Line 7: Line 7:
 
(C Language Integrated Production System)
 
(C Language Integrated Production System)
 
as its internal file format.
 
as its internal file format.
However,
+
However, in order to support advanced {{#var:Pr}} features,
in order to support advanced {{#var:Pr}} features,
 
 
the CLIPS generated by {{#var:PrF}} may not conform to the CLIPS standard.
 
the CLIPS generated by {{#var:PrF}} may not conform to the CLIPS standard.
  
Line 14: Line 13:
 
This will not affect the format of your project;
 
This will not affect the format of your project;
 
it simply produces a CLIPS file that reflects the project's current state.
 
it simply produces a CLIPS file that reflects the project's current state.
Note,
+
Note, however, that because of the limitations of CLIPS with respect to {{#var:Pr}},
however,
 
that because of the limitations of CLIPS with respect to {{#var:Pr}},
 
 
you may lose information during exporting.
 
you may lose information during exporting.
This means,
+
This means, for example,
for example,
 
 
that if you re-import an exported file,
 
that if you re-import an exported file,
 
it may not fully recapture the original project.
 
it may not fully recapture the original project.
Line 27: Line 23:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Select <b>Export to Format</b> from the <b>File</b> menu and select <b>CLIPS</b> from the submenu.
+
     Select <b>Export to Format</b> from the <b>File</b> menu
 +
    and select <b>CLIPS</b> from the submenu.
 
     The <b>Clips Files to Export</b> dialog box will be displayed.
 
     The <b>Clips Files to Export</b> dialog box will be displayed.
   
 
    </p><p> <div>[[Image:PrF_UG_files_export_clips.png|files_export_clips]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_files_export_clips.png|files_export_clips]]</div>
  
 
   <li><p>
 
   <li><p>
 
     Enter the names for your classes and instances files.
 
     Enter the names for your classes and instances files.
 
     If you want to save the file(s) in a different location from the default,
 
     If you want to save the file(s) in a different location from the default,
     type the new location in the Output Directory line or click the
+
     type the new location in the Output Directory line
    [[Image:PrF_UG_all_object.add.gif|all_object.add]]
+
    or click the [[Image:PrF_UG_all_object.add.gif|all_object.add]] button
     button to navigate to the desired location.
+
     to navigate to the desired location.
 
     </p>
 
     </p>
  

Revision as of 14:00, October 15, 2008

Exporting a Project to CLIPS


Protege-Frames User's Guide
Project Types
Understanding Project Types
Protege Files
Protege DB Format
Experimental XML Format
Protege-OWL
RDF(S) Support in Protege
Using the RDF Backend
Exporting a Project to CLIPS
Exporting a Project to HTML
Glossary, Editing Help

The current version of Protege-Frames uses CLIPS (C Language Integrated Production System) as its internal file format. However, in order to support advanced Protege features, the CLIPS generated by Protege-Frames may not conform to the CLIPS standard.

You can export a conformant CLIPS view of your Protege project. This will not affect the format of your project; it simply produces a CLIPS file that reflects the project's current state. Note, however, that because of the limitations of CLIPS with respect to Protege, you may lose information during exporting. This means, for example, that if you re-import an exported file, it may not fully recapture the original project.

To export your project to CLIPS text files:

  1. Select Export to Format from the File menu and select CLIPS from the submenu. The Clips Files to Export dialog box will be displayed.

    files_export_clips
  2. Enter the names for your classes and instances files. If you want to save the file(s) in a different location from the default, type the new location in the Output Directory line or click the all_object.add button to navigate to the desired location.

  3. Click OK. The CLIPS files will be created in the selected location.