6 Replies Latest reply: Apr 18, 2012 12:02 PM by alwu-Oracle RSS

    Problem with putting data in database


      I configured database for semantic technology and I tested it using scrip (in SQL DEVELOPER)t:

      CREATE TABLE articles_rdf_data (id NUMBER, triple SDO_RDF_TRIPLE_S);

      EXECUTE SEM_APIS.CREATE_RDF_MODEL('articles', 'articles_rdf_data', 'triple');

      INSERT INTO articles_rdf_data VALUES (1,
      SDO_RDF_TRIPLE_S ('articles','http://nature.example.com/Article1',
      *'http://purl.org/dc/elements/1.1/title','All about XYZ'));*

      INSERT INTO articles_rdf_data VALUES (2,
      SDO_RDF_TRIPLE_S ('articles','http://nature.example.com/Article1',
      *'Jane Smith'));*
      As result I had table with two column id and triple. But in triple I have got only MDSYS.SDO_RDF_TRIPLE_S not my insert data. What I should to have my insert data in table?
      Another problem is when i use SQL*Plus and do the same steps I get error there are not method translateQueryPattern in class oracle/spatial/rdf/server/SQLEntryPoints

      Edited by: user8894354 on 2012-04-15 13:22