SEM_APIS.VALIDATE_RDF_GRAPH

Format

SEM_APIS.VALIDATE_RDF_GRAPH(
     rdf_graphs_in    IN SEM_MODELS,
     criteria_in      IN VARCHAR2 DEFAULT NULL,
     max_conflict     IN NUMBER DEFAULT 100,
     options          IN VARCHAR2 DEFAULT NULL,
     network_owner    IN VARCHAR2(128) DEFAULT,
     network_name     IN VARCHAR2 DEFAULT
    ) RETURN RDF_LONGVARCHARARRAY;

Description

Validates one or more RDF graphs.

Parameters

rdf_graphs_in

One or more RDF graph names. Its data type is SEM_MODELS, which has the following definition: TABLE OF VARCHAR2(25)

criteria_in

A comma-delimited string of validation checks to run. If you do not specify this parameter, by default all of the following checks are run:

To specify fewer checks, specify a string with only the checks to be performed. For example, criteria_in => 'UNSAT' causes the validation process to search only for unsatisfiable classes.

max_conflict

The maximum number of conflicts to find before the validation process stops. The default value is 100.

options

(Not currently used. Reserved for Oracle use.).

network_owner

Owner of the RDF network. (See Table: network_owner and network_name Parameters.)

network_name

Name of the RDF network. (See Table: network_owner and network_name Parameters.)

Usage Notes

This procedure can be used to detect inconsistencies in the original RDF graph. For more information, see Validating OWL Models and Entailments.

This procedure returns a null value if no errors are detected or (if errors are detected) an object of type RDF_LONGVARCHARARRAY, which has the following definition: VARRAY(32767) OF VARCHAR2(4000)

Examples

The following example validates the RDF graph named family.

SELECT SEM_APIS.VALIDATE_RDF_GRAPH(SEM_MODELS('family')) FROM DUAL;