Queries and Export Tab
Queries and Export Tab
This plugin allows you to query knowledge-bases and export the results. An export button was added to the query-results window to allow for tabular export of selectable slot values of all found result-instances.
Contents
Versions & Compatibility
This section lists available versions of Queries and Export Tab.
No version information available.
If you click on the button below to add a new version of Queries and Export Tab, you will be asked to define a page title for the new version. Please adhere to the naming convention of Queries and Export Tab X.X.X when you define the new page!
Changelog
No version information available.
Querying the knowledge-base
The querying of the knowledge-base is described in detail in the Protege Getting Started Guide.
Exporting the query results to a tab delimited file
You can export the query results to a tab delimited file (the delimiter is configurable) by clicking on the E icon at the top of the search result list. The exported file will contain a row for each exported entity. The row will contain the values for the exported slots/properties separate by the slot delimiter.
After clicking on the Export icon, you will get a export configuration dialog that looks like this:
This configuration dialog allows you to configure:
- Exported file: the file where to export the results
- Slots to export: the slots/properties for which the values at the individuals will be exported. To add a new slot/property to export, click on the "Add slot" icon at the top of the "Slots to export" text area.
- Slot delimiter: the delimiter between different slots/properties
- Slot values delimiter: the delimiter between different values of a slot/property
- Export slot names as first line in the file: does what it says it does
- Export instances types: add a column to the exported file with the type of the exported instance
To start the export, press on "OK" button of the Export Configuration Dialog. After the export, you will get a message dialog of whether the export was successful or not. If the export was successful, a file was generated in the configured location. It can be opened either with a text editor, or a spreadsheet software (e.g. Open Office Spreadsheet, or Microsoft Office Excel). The result in Open Office will look like this (similar also in Excel):
This plugin is distributed with the Protege installation and it is supported and maintained by the Protege team.
Original documentation for exporting here (This documentation is outdated).