Oracle Jena Adaptor

We are pleased to announce the availability of the Oracle Jena Adaptor, that will enable the use of the Jena framework with Oracle RDF. Jena is an Open Source framework developed by Hewlett-Packard and is available under a BSD-style license; see http://jena.sf.net for details.
The Jena adaptor software implements the well-known Jena Graph and Model APIs. It extends the capabilities of Oracle semantic data management (Oracle 10gR2 RDF and Oracle 11gR1 RDF/OWL) with a set of easy-to-use Java APIs. Enhancements have been done to the server side to accommodate those APIs.
You can download the Oracle Jena Adaptor by visitng the Oracle Semantic Technologies page at http://www.oracle.com/technology/tech/semantic_technologies/index.html and clicking on 'Software' in the column on the right.
Melli Annamalai
Oracle Database Semantic Technologies

It appears like the readme.txt is not included in the zip file kept at the down location. Can you verify this please?
Thanks,
Rajesh.

Similar Messages

  • Ena Assemblers in the new Oracle Jena Adaptor?

    Hello,
    will there be Jena Assemblers in the new Oracle Jena Adaptor?
    I try to access the Oracle Spatial DBMS through Joseki, a Jena-HTTP Interface, and need Oracle Jena Assemblers for this.
    http://tech.groups.yahoo.com/group/jena-dev/message/35839
    By the way, can you tell me in round terms when native SPARQL/SPARUL-Support in Oracle Spatial is expexted?
    Thanks and Regards,
    Srdja Matovic

    Hmm. We haven't opened source this Oracle Jena Adaptor.
    Please let me know what exactly you are looking for. I may be able to help you quickly.
    Email me at alan dot wu at oracle dot com
    if you want to take this off line.
    Thanks.

  • One Tip on using Oracle Jena Adaptor

    To run Oracle Jena Adaptor smoothly, we recommend using the java executable under
    $ORACLE_HOME/jdk/bin
    and including in your classpath the JDBC library, ojdbc5.jar, under
    $ORACLE_HOME/jdbc/lib

    It appears like the readme.txt is not included in the zip file kept at the down location. Can you verify this please?
    Thanks,
    Rajesh.

  • SPARQL query through Jena adaptor not work when string literals used

    Hi,
    When I executed the following SPARQL query through Oracle Jena adaptor:
    SELECT ?personHasFirstName WHERE
    {?personHasFirstName foaf:firstName ?name . }
    I got the expected results.
    However it won't return anything when I narrowed the query to match a particular name like below:
    SELECT ?personHasFirstName WHERE
    {?personHasFirstName foaf:firstName \"Julie\" . }
    I also tried the Filter approach:
    SELECT ?personHasFirstName WHERE {?personHasFirstName foaf:firstName ?name . FILTER (?name =\"Julie\") }
    It still doesn't return any results.
    I saw from the release notes about the bug dealing with "\". My guess is that the above behavior is caused by that bug. What is the suggested way to walk-around this? Thanks,
    Weihua

    Could you please try this? It works as expected on my machine.
    GraphOracleSem graph = new GraphOracleSem( oracle, modelName);
    ModelOracleSem model = new ModelOracleSem(graph);
    Node sub = Node.createURI("http://test.com/employee123");
    Node pre = Node.createURI("http://xmlns.com/foaf/0.1/firstName");
    Node obj = Node.createLiteral("Julie");
    graph.add(Triple.create(sub, pre, obj));
    String queryString =
    " PREFIX foaf: <http://xmlns.com/foaf/0.1/> " +
    "SELECT ?person WHERE { ?person foaf:firstName \"Julie\" . } ";
    QueryExecution qexec = QueryExecutionFactory.create(
    QueryFactory.create(queryString), model);
    try {
    ResultSet results = qexec.execSelect();
    while (results.hasNext()) {
    QuerySolution soln = results.nextSolution();
    psOut.println("runQuery: soln " + soln);
    finally {
    if (qexec != null)
    qexec.close();
    output snippet:
    runQuery: soln ( ?person = <http://test.com/employee123> )

  • Sparql endpoint with Jena adaptor

    Hello,
    I'm using the Oracle-Jena adaptor. It works well. But we want now to get an sparql server (http sparql protocol)? Anyone here has any experience with that?

    Hi,
    It says the following in the readme instructions on how to install Jena adaptor.
    Please consult the Oracle® Database Semantic Technologies Developer's Guide 11g Release 2 (11.2) documentation for Jena Adaptor installation instructions.
    But can't seem to find the instructions in the developers guide, do you know if the installation instructions exist? if so can you point to the location?
    Thanks,

  • Two problems in BSBM benchmark of Oracle 10g with Jena Adaptor 2.0

    Hi, all.
    I'm proceeding BSBM benchmark for Oracle 10g with Jena Adaptor 2.0.
    I'm using the codes that were introduced in Jena Adaptor 2.0 guide document, and I've applied Jena patches to Oracle 10g (10.2.0).
    But, two problems are occured in benchmark process.
    The first problem is
         that 250k dataset(consisted of 250030 triples) loading time elapses over several hours, (See below code snippet.)
    and the other is
         that exceptions are occured in some sparql query execution.
    I used below queries which have no error in query syntax.
    I confirmed that through other benchmark tests.
    In case of oracle benchmark test, quey1 is ok. but, query2 makes exception.
    Please, look about the Exception message below.
    What should I do for getting much better benchmark result?
    I appreciate any help or any hint.
    Best regards ~
    ### Query 1 ###
    PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
    PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    SELECT DISTINCT ?product ?label
    WHERE {
    ?product rdfs:label ?label .
    ?product a <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductType18> .
    ?product bsbm:productFeature <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/ProductFeature833> .
    ?product bsbm:productFeature <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/ProductFeature61> .
    ?product bsbm:productPropertyNumeric1 ?value1 .
         FILTER (?value1 > 136)
    ORDER BY ?label
    LIMIT 10
    ### Query 2 ###
    PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
    PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX dc: <http://purl.org/dc/elements/1.1/>
    SELECT ?label ?comment ?producer ?productFeature ?propertyTextual1 ?propertyTextual2 ?
    propertyTextual3
    ?propertyNumeric1 ?propertyNumeric2 ?propertyTextual4 ?propertyTextual5 ?propertyNumeric4
    WHERE {
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    rdfs:label ?label .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    rdfs:comment ?comment .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:producer ?p .
    ?p rdfs:label ?producer .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    dc:publisher ?p .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productFeature ?f .
    ?f rdfs:label ?productFeature .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyTextual1 ?propertyTextual1 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyTextual2 ?propertyTextual2 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyTextual3 ?propertyTextual3 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyNumeric1 ?propertyNumeric1 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyNumeric2 ?propertyNumeric2 .
    OPTIONAL { <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual4 ?
    propertyTextual4 }
    OPTIONAL { <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual5 ?
    propertyTextual5 }
    OPTIONAL { <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyNumeric4 ?
    propertyNumeric4 }
    ### Exception Message (in query 2 execution) ###
    Exception in thread "main" java.sql.SQLException: ORA-00936: missing expression
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe
    (T4CPreparedStatement.java:799)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1038)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe
    (T4CPreparedStatement.java:839)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1133)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal
    (OraclePreparedStatement.java:3285)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery
    (OraclePreparedStatement.java:3329)
    at oracle.spatial.rdf.client.jena.Oracle.executeQuery(Oracle.java:255)
    at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings
    (OracleSemQueryPlan.java:302)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH$StagePattern.<init>
    (QueryIterBlockTriplesQH.java:89)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH.nextStage
    (QueryIterBlockTriplesQH.java:55)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:92)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:85)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:85)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:85)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding
    (QueryIterConvert.java:47)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding
    (QueryIteratorWrapper.java:29)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
    at benchmark.repository.oracle.OracleQuerying.getSelectQueryResult
    (OracleQuerying.java:148)
    at benchmark.repository.oracle.OracleQuerying.doSparqlQuery(OracleQuerying.java:101)
    at benchmark.repository.oracle.OracleQuerying.queryingData(OracleQuerying.java:90)
    at benchmark.repository.oracle.OracleQuerying.querying(OracleQuerying.java:49)
    at benchmark.repository.oracle.OracleQuerying.<init>(OracleQuerying.java:44)
    at benchmark.Benchmark.runTest(Benchmark.java:113)
    at benchmark.Benchmark.main(Benchmark.java:56)
    ### Loading Code Snippet ###
              String jdbcURL = "jdbc:oracle:thin:@" + Constants.HOST + ":1521:orcl";
              OracleDataSource ds = new OracleDataSource();
              ds.setURL(jdbcURL);
              ds.setUser(Constants.ORACLE_USER);
              ds.setPassword(Constants.ORACLE_PASSWORD);
              OracleConnection conn = (OracleConnection) ds.getConnection();
              oracle = new Oracle(conn);
              modelOracleSem = ModelOracleSem.createOracleSemModel(oracle, modelName);
              graphOracleSem = modelOracleSem.getGraph();
              graphOracleSem.createTables();
              graphOracleSem.clearRepository();
              for (int i = 0; i < fileList.length; i++) {
                   file = fileList;
                   if (file.isDirectory())
    continue;
                   inputFilePath = file.getAbsolutePath();
                   InputStream in = null;
                   try {
                        in = FileManager.get().open(inputFilePath);
                        if (in == null) {
                             throw new IllegalArgumentException("File: " + inputFilePath + " not found");
                        modelOracleSem.read(in, "", "N-TRIPLE");
                        modelOracleSem.commit();
                   } finally {
                        if (in != null)
                             in.close();

    Hi,
    The data loading was slow because incremental loading API was used. Please take a look at OracleBulkUpdateHandler. There is an addInBatch API that you can use.
    Now regarding queries, Jena Adaptor v2.0 was primarily designed for Oracle Database 11g Release 1.
    Recently, a new version of Jena Adaptor has been released and it's optimized for Oracle Database 11g
    Release 2.
    Is it possible to run your BSBM benchmark tests against Oracle Database 11g Release 2 using the latest
    Jena Adaptor (http://forums.oracle.com/forums/ann.jspa?annID=1179) ?
    Thanks,
    Zhe Wu

  • Jena adaptor doesn't use ID column in model _TPL table

    The Oracle semantic technology developers guide, recommends that the triple table for an RDF model have at least 2 columns, an ID column with values from a sequence, and a triple column. The Jena adaptor creates a table with only a triple column. This isn't consistent with recommended practice from the manual, and could be a problem for other software that expects this column. I'm not exactly sure what purpose the ID column serves except to distinguish mutiple copies of the same triple.
    Is it possible to configure the adaptor to do this?
    Currently I'm modifying my other software to conform to the Oracle RDF configuration that Jena prefers, but that might be a problem somewhere down the line.

    I don't think that ID column is recommended. The dev guide shows an application example with an ID column. It does not mean (or say) it is a recommended practice.
    For Jena Adaptor, one TRIPLE column is sufficient. An additional ID column does not provide additional value for the Jena functions provided.
    Cheers,
    Zhe Wu

  • Jena adaptor and sqlldr

    Hi,
    I am trying jena adaptor API. I succeeded in different kind of loading. I would like to know if it is the same tool that this api uses. Mainly, I wonder if the bulk loader uses a stage table and sqlldr like we directly use it in oracle .
    Thanks for your precision,
    Dacko

    Actually, we don't want you to worry about the underlying machinery :)
    When you use the Jena Adaptor's addInBatch API, then we use batch loading capabilities through JDBC.
    When you use the Jena Adaptor's addInBulk API, then we create, through JDBC, staging table, populate it and also a separate table for long literals, invoke bulk loader, and finally add those triples with long literals. As you can see, there is no SQLLoader involved.*
    Hope it helps,
    Zhe Wu

  • Oracle Jena Plugin and "?Resource" in select

    If I execute a SPARQL query like below:
    SELECT ?Resource where { ?Resource ?p ?o .}
    In Jena, it generates the following SEM_MATCH query that results in an error:
    (SimpleLog.java:57) - Final clause = SELECT Resource$RDFVTYP, decode(Resource$RDFVTYP, 'BLN', ('_:'||substr(Resource,instr(Resource,'m',4)+1)), Resource) Resource FROM table(sdo_rdf_match('(?Resource ?p ?o) ', sdo_rdf_models('model_name_here'), null, null, null, NULL,' '))
    which results in a ORA-00936: missing expression.
    If I change the select statement to something like ?Res rather than ?Resource, a proper statement is generated and I get no error. Is resource a reserved keyword or something? Are there a list of these somewhere?
    Thanks,
    Ryan

    So no PL/SQL keyword can appear in the select clause of a SPARQL statement? Shouldn't the code that translates a SPARQL statement into a SEM_MATCH statement just change that into a valid string? I'm not writing the PL/SQL statement, the Oracle Jena plugin is the one creating the improper statement.
    -Ryan

  • Which mapping populates W_INVOICE_FS in Oracle EBS Adaptor?

    Which mapping populates W_INVOICE_FS in Oracle EBS Adaptor?
    I was not able to find any mapping that populates W_INVOICE_FS staging table.
    Thanks
    Eric

    Also, another useful tool I've found is this:
    Open DAC Client.
    Design.
    Select the Tasks tab (in the top region).
    Right click any of the tasks, select Output Task Description.
    This creates an .html file (e.g. C:\OracleBI\DAC\log\tasks\tasks.html) that lists a lot of useful information, if you're looking to review/identify source/target tables.
    Chris.

  • SWRLB + Jena Adaptor ?

    Hi, i wanna ask how to integrate Jena Adaptor with SWRLB . is it possible ?
    Thanks

    Actually, we don't want you to worry about the underlying machinery :)
    When you use the Jena Adaptor's addInBatch API, then we use batch loading capabilities through JDBC.
    When you use the Jena Adaptor's addInBulk API, then we create, through JDBC, staging table, populate it and also a separate table for long literals, invoke bulk loader, and finally add those triples with long literals. As you can see, there is no SQLLoader involved.*
    Hope it helps,
    Zhe Wu

  • Oracle Resource Adaptor for Geronimo

    For Apache Geronimo 1.1.1, an Oracle Resource Adapter was not available, so we had to write a ʻproxyʼ between the JMS queue and the Oracle Advanced queue. Is there an Oracle Resource Adapter available for Geronimo 2.1.3?
    I actually want a JMS interface to Oracle's Advanced Queue product.
    Regards.

    i'm writin a program to extract info from SAP but i can't find where download the JCO.jar , in SAP site you need a user and password but i don't have it, dou you have already de jar file? could you send me tha jar? or may be i have to purchase that product? pleas help me!!!!
    my addres is [email protected]

  • WARNING: Unable to connect to URL:  in oracle b2b adaptor

    Hi
    I am facing the following error while configuring the b2b in jdev
    WARNING: Unable to connect to URL: http://localhost:7001/integration/services/b2b/B2BMetadataWSPort due to javax.xml.soap.SOAPException: Message send failed: emeacache.uk.oracle.com

    Hi,
    Check whether admin server is up and running.
    Regards,
    Anuj

  • Jena Driver Patch for Oracle 11.1.0.6 is missing

    I can no longer find the Jena Driver server-side patch for Oracle 11.1.0.6. I downloaded this a month ago from OTN but the link seems to have been removed. The installation guide is still available on the Jena Adaptor documentation page but I cannot locate the actual patch: jenadrv_patch111rdf.zip. Any idea what's going on?

    We are working on putting Oracle Jena Adaptor software on Metalink. After that, those links will be re-enabled on OTN.

  • Problems in inferencing large owls with Jena

    I am trying to use Jena OWL Reasoner APIs (Mini and full OWL Reasoner) to make inferences on large OWL file (approx. 40k lines). But Jena is throwing a out of memory error even after increasing the JVM heap space to 1GB.
    I think it is because the Jena creates an in-memory model of the ontology and then inferences out of it.
    So, is there any way out towards solving this problem?
    One thing I need to mention is that the Pellet Reasoner when tied with Jena OntModel is giving inferences quickly. The Jena OWLMicroReasoner also is giving the inferences but it is taking much more time. But, the latter generates more inferences than those generated by the Pellet Reasoner.

    Hi,
    Your question seems to be Jena specific, not related to the Oracle Jena Adaptor. A discussion forum at Jena might be the more appropriate place to ask this question.
    Details on the Oracle Jena Adaptor, which allows Jena to be used with Oracle's semantic technology is at: Oracle Jena Adaptor
    Melli

Maybe you are looking for

  • Shopping Cart Approvers for changed shopping carts

    Hi We're currently working on a patching process and are having problems with shopping cart approvals We have a 2 stage approval for carts over £75K The scenario that is not working is The approver 1, approves the cart Then approver 2 rejects the car

  • BEx Issue - BEx not connecting

    Gurus, Need your help. Recently we applied a Windows Security patch at company and now I am not able to get connected to BEx analyzer either thru RRMX or from BEx applications. The Micorsoft Excel opens up but it is not connected by default using RRM

  • Smart Object Display Issue CS5 - Anyone else?

    I created a new PS document (CS5 Mac latest version) I have a few layers I grouped and made a smart object for ease of updating and reuse. Problem is my smart object just randomly disappear or even sppear to be "erased" by other layters if i move the

  • My iPod Touch won't turn on, PLEASE HELP ME!

    Well, my iPod Touch 2G won't turn on, after I tried restoring the firmware, iTunes automatically closed during the restore. After that, my iPod doesn't turn on, doesn't go into DFU mode, not in recovery mode. What do I do? Sorry for the poor English.

  • Statspack Tables

    Hi All, How to identify whether STATSPACK is configured or not in 8x DB (thru an SQL)? We use the following tables for the purpose mentioned next to it in 9x. stats$snapshot -- Snapshot Details stats$sql_summary - Statistics of SQL executed during a