Hello Catrina;

Q1: Yes, the Jena adapter is used and required.

Q2: This is a question for Oracle.  Composer imposes no limit on the
name of a model, but Oracle may truncate names.

Q3: I'm not clear about the question.  sml:ExportToOracleRDFDatabase
exports a graph (from the script's sm:next properties) to Oracle.
File->New->RDF/OWL Oracle Database Connection creates a connector
file.  If the issue is different ways to save data in a back-end, then
a couple of choices are:

1) Build the triples you want to save to the back-end and use
sml:ExportToOracleRDFDatabase.  If you need to replace the contents,
then set sml:replace=true, otherwise the graph is added to the back-
end.

2) Use ImportRDFFromWorkspace to import the .oracle file.  This just
establishes the connection and base URI.  Use the base URI to specify
the graph in PerformUpdate modules to save new data in the back-end.
ExportToOracleRDFDatabase is not needed in this case.  This is the
recommended approach.

Please let us know if that's not what is meant by Q3.

-- Scott

On Aug 10, 11:50 am, Catrina <[email protected]>
wrote:
> Hello,
>
> The maximum "Internal Oracle model name" length that Composer allows
> (when I create File->New->RDF/OWL Oracle Database Connection) is 18.
>
> However, the "Oracle® Database Semantic Technologies Developer's
> Guide" documentation states the following:
>
>      The maximum length for the name of a semantic model created
>      using the Jena Adapter API is 22 characters.
>
> The Oracle documentation can be found 
> at:http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11828/sem_je...
> See 7 Jena Adapter for Oracle Database, the bottom of Section 7.4.
>
> Q1:
> Does Composer use the Jena Adapter API when creating rdf models in
> Oracle?
>
> If I create the rdf model in Oracle using the
> sml:ExportToOracleRDFDatabase SPARQLMotion script module from
> Composer, I can set the sml:modelName parameter to something longer
> than 22 characters (I used a model name of length 23 in my example)
> without any errors.  When I look at the tables in Oracle, I can see my
> model was created.
>
> Q2:
> What is the maximum length of a RDF model name in Oracle?
>
> Q3:
> Why the discrepencies between:
>  sml:ExportToOracleRDFDatabase
> AND
>  File->New->RDF/OWL Oracle Database Connection
>
> Thanks,
> Catrina

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to