This is a collection of advice about how to use Protégé for your application purpose. (3EZ)
Summary (3F0)
- RunSPARQLQueryAPI - A simple tool demonstrates how to interact with the Protégé OWL API (5M7)
- URIsURLsAndVersioning - Strategies for making sure that users of your ontology will be able to use new versions with the minimal amount of pain. (9Y9)
Querying your ontology (3F3)
Depending on your configuration and your requirements, there are several possibilities: (3F4)
- Use the SQWRL query language and run queries with the SQWRLQueryTab or SQWRLQueryAPI. (A5J)
- Use the Query tab (3F5)
- If your ontology is in OWL-DL, create your query as a defined class and use a classifier (3F6)
- Interact with the Protégé API using plugins such as the Script console, the CLIPS plugin, the Jess tab or Algernon (3F7)
Converting an RDF ontology to an OWL ontology (A5E)
Some RDF/RDFS ontologies can be converted to OWL. For example, standard RDFS constructs such as rdfs:Class, rdfs:subClassOf and the like can be mapped correctly to corresponding OWL constructs. (A5F)
In Protege-OWL, the process is as follows: (A5G)
In the Protege-OWL GUI, select the "File | New Project" menu option, check "Create from Existing Sources", and select "RDF Files" as the project type; then click the "Next" button, which will bring you to the "Create New Project" dialog box. Here it gets slightly confusing because you will be prompted for both an RDF and an RDFS file. If you only have one (it does not matter which), you will have to create an empty corresponding file. Fill in both file names and then click on the "Finish" button. You can then attempt to save the ontology as OWL using the "File | Export to Format" menu option. No errors should appear during the saving process if the RDF ontology is mappable to OWL. (A5H)