Difference between revisions of "PrF UG files rdf backend"
Line 2: | Line 2: | ||
== Using the {{#var:PrF}} RDF Backend == | == Using the {{#var:PrF}} RDF Backend == | ||
− | {{PrF_UG_TOC_files}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_files}}<div id='prf_ug'></noinclude> |
Although it is recommended to use {{#var:PrO}} for RDF(S) projects, | Although it is recommended to use {{#var:PrO}} for RDF(S) projects, | ||
Line 117: | Line 117: | ||
− | </div> | + | <noinclude></div></noinclude> |
Latest revision as of 16:47, November 13, 2008
Using the RDF Backend
Although it is recommended to use Protege-OWL for RDF(S) projects, Protege-Frames also has an RDF backend you can use for Protege-Frames projects. The backend does not work with Protege-OWL.
Creating an RDF(S) Project with the Protege-Frames Backend
Create a new project, either by selecting Create New Project from the start-up dialog or File | Create New in the Protege window.
Select Resource Description Framework (RDF) as the Project Type.
If you are importing an existing file, make sure to check Create from Existing Sources, located at the top of the dialog box. If you are creating a new RDF file, leave it unchecked (default).
To select or change the name or location of the .pprj file, enter the information you want in the Project line of the dialog box. Be sure to give the file a .pprj extension. If you do not specify a location for the project, by default, the project is saved in the directory where Protege is installed.
Protege-Frames will create two files: one for the schema (classes and slots) and the other for the instances. By default, these use the name of the existing .pprj file. If you wish to change the name of the schema file, type the new name in the Classes file name line of the dialog box. Make sure to give the file an .rdfs extension.
If you wish to change the name of the instances file, type the new name in the Instances file name line of the dialog box. Make sure to give the file an .rdf extension.
Click OK.
Note: You should create new RDF classes as subclasses of rdfs:Resource.
Converting a Protege-Frames Project to RDF Format
Note: Subclasses of :THING from a non-RDF project will become subclasses of rdfs:Resource when you save as RDF.
After you have chosen your format, choose the name and location for the project, as follows:
Select Convert to Format... from the File menu.
Select Resource Description Framework (RDF) in the Select Format dialog box.
When you have selected Resource Description Framework (RDF), the RDF dialog box will be displayed.
To select or change the name or location of the .pprj file, enter the information you want in the Project line of the dialog box. Be sure to give the file a .pprj extension. To browse for a new location, click the Add () button. If you do not specify a location for the project, by default, the project is saved in the directory where Protege is installed.
Protege-Frames will create two files: one for the schema (classes and slots) and the other for the instances. By default, these use the name of the existing .pprj file. If you wish to change the name of the schema file, type the new name in the Classes file name line of the dialog box. Make sure to give the file an .rdfs extension.
If you wish to change the name of the instances file, type the new name in the Instances file name line of the dialog box. Make sure to give the file an .rdf extension.
Click OK.