|Oracle® Database Semantic Technologies Developer's Guide
11g Release 1 (11.1)
|PDF · Mobi · ePub|
For Oracle Database release 11.1, the focus of this manual expands to include Oracle Database semantic technologies, which include Resource Description Framework (RDF), which was supported in Release 10.2, and a subset of the Web Ontology Language (OWL), support for which is new in the current release.
In addition to expanded capabilities, some naming conventions associated with the API may changes. For example, names that include "SDO_RDF" may be changed for data types, function names, and PL/SQL package names. However, all applications created in the previous release using supported names for that release will continue to run.
Note:These changes are only partially reflected in the content of this draft; however, the organization and the content of this draft will be periodically updated to reflect the new capabilities and names
This section describes features that are included in a Release 188.8.131.52.0 patch that was made available on Oracle MetaLink in November, 2008.
Support for virtual models (see Section 1.3.8)
Curly brace syntax for SEM_MATCH graph pattern, including support for the OPTIONAL construct (see Section 1.6.2)
Using HINT0 ("hint-zero" ) in a SEM_MATCH query (see Section 1.6)
New columns returned from SEM_MATCH: id, _prefix, _suffix (see Section 1.6)
Ability to create and manage semantic network indexes on models and rules indexes (see Section 1.8)
SEM_APIS.BULK_LOAD_FROM_STAGING_TABLE procedure: New options in the
join_hint for tasks
Simplification of staging table definition (fewer columns) and privilege requirements (see Section 1.7.1)
Simpler event tracing during bulk load (see the information about the new RDF$ET_TAB table in Section 184.108.40.206)
The storage model has been enhanced to support OWL inferencing: some internal data structures and indexes have been changed, added, and removed. These changes also result in enhanced performance.
Because of the extent of these changes, if you have semantic data that you used with the previous release, you must upgrade that data to migrate it to the new format before you can use any new features for this release. Semantic data is upgraded as part of the required procedure described in Section 1.11.
Support has been added to support storing, validating, and querying Web Ontology Language (OWL)-based ontologies. Support is provided for a subset of the OWL DL language.
To query ontology data, you can use table functions and operators that examine semantic relationships, such as SEM_MATCH, SEM_RELATED, and SEM_DISTANCE.
You can go beyond syntactic matching to perform semantic relatedness-based querying of relational data, by associating an ontology with the data and using the new SEM_RELATED operator (and optionally its SEM_DISTANCE ancillary operator). The new SEM_INDEXTYPE index type improves performance for semantic queries.
Before you can use any types, synonyms, or PL/SQL packages related to Oracle semantic technologies support, you must run the
$ORACLE_HOME/md/admin/catsem11i.sql script, as explained in Section 1.11. This procedure installs Release 11.1 support for semantic technologies support, and it migrates any existing Release 10.2 RDF data to the Release 11.1 format.