SEM_MATCH Table Function PLS-00306: wrong number or types of arguments in call to ODCITABLEDESCRIBE (Doc ID 1563044.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

The named version of the SEM_MATCH does not work

This query works:

SELECT count(*)
  FROM TABLE(
  SEM_MATCH(
  query =>'(?s ?p ?o)',
  models => SEM_Models('family'),
  rulebases => NULL,
  aliases => SEM_ALIASES(SEM_ALIAS('','http://www.example.org/family/')),
  filter => null));

  COUNT(*)
----------
  2

We switch aliases and rulebases and then we get an error:

SELECT count(*)
  FROM TABLE(
  SEM_MATCH(
  query =>'(?s ?p ?o)',
  models => SEM_Models('family'),
  aliases => SEM_ALIASES(SEM_ALIAS('','http://www.example.org/family/')),
  rulebases => NULL,
  filter => null));

SELECT count(*)
*
ERROR at line 1:
ORA-06550: line 4, column 13:
PLS-00306: wrong number or types of arguments in call to 'ODCITABLEDESCRIBE'
ORA-06550: line 4, column 6:
PL/SQL: Statement ignored

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms