2 Replies Latest reply on Dec 6, 2008 10:14 PM by 674296

    Is curly brace syntax and OPTIONAL realy enabled in Oracle 11g? (11.1.0.7)

    674296
      I have just installed Oracle 11g patchset to upgrade from 11.1.0.6 to 11.1.0.7.

      Oracle documentation states, that since 11.1.0.7 Curly brace syntax is allowed (http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28397/sdo_rdf_concepts.htm#CIHHDGDI).

      When I try to execute following SQL on sample family RDF data, I got an error. Is realy curly brace syntax and OPTIONAL feature enabled in 11.1.0.7?

      SQL> SELECT x, y
      2 FROM TABLE(SEM_MATCH(
      3 '{?x :grandParentOf ?y . ?x rdf:type :Male}',
      4 SEM_Models('family'),
      5 SEM_Rulebases('RDFS','family_rb'),
      6 SEM_ALIASES(SEM_ALIAS('','http://www.example.org/family/')),
      7 null));

      SELECT x, y
      FROM TABLE(SEM_MATCH(
      '{?x :grandParentOf ?y . ?x rdf:type :Male}',
      SEM_Models('family'),
      SEM_Rulebases('RDFS','family_rb'),
      SEM_ALIASES(SEM_ALIAS('','http://www.example.org/family/')),
      null))

      ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.TokenMgrError: Lexical error at line 1, column 1. Encountered: "{" (123), after : ""
      ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 178
      ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 67
      ORA-06512: at line 4