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.

Similar Messages

  • 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.

  • 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.

  • 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> )

  • 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

  • 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,

  • 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

  • How to integrate android application with oracle database using oracle mobile database server.

    Hi,
    I developed one web application using oracle database. I want to implement same web application in android. My problem is how to integrate android application with existing oracle database using oracle database mobile server. Can u please guide me how to install oracle database mobile server and how to integrate android app with existing oracle database..
    Thank you.

    In the Database Mobile Doc set there is an entire book that covers the Installation of Oracle Database Mobile Server.   Chap 4 of that book contains screen shots and all kinds of information that will help guide you through the installation.   We also have a doc on the different mobile clients.  Chap 2 of that guide covers installs and integration of an android app. 
    thanks
    mike

  • 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

  • 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

  • Can I use Oracle database Standar Edition One?

    Hi,
    In what versions of database can use Oracle Lite, to my central Database?
    Can Oracle Lite support Oracle Standar Edition ONE?
    In the official documentation only mentions Enterprise Edition and Standar Edition
    Thanks in advance

    Just quickly viewing oracle's datasheet on the product, I don't see why you couldn't. I don't think it is supported to work with Oracle Mobile Server though. Also, the maximum CPUs supported are 2 on Standard One. Depending on how many mobile users you require, this could be a bottleneck.

  • With multiple Oracle Clients how do you know which one ADO is using

    Currently using Oracle client 8.1.7 to connect to a 10g database with the following connection string.
    Driver={Microsoft ODBC for Oracle}; CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=10001))(CONNECT_DATA=(SERVICE_NAME=Falcon2))); uid=Falcon;pwd=*******;"
    If I add a second, newer client, how do I tell ADO to use the newer client?
    Thanks,
    Dave

    Go to icloud.com, sign into each of your iCloud accounts and see which one(s) contain your data.

  • Patch 9004119 to use Oracle RAC One Node Utilities

    Hi all,
    I am installing Oracle Grid Infrastructure (11.2.0.3), I am following DOC ug-raconenode-2009-130760.pdf, about RAC One Node installation, as Oracle recomendation, and this DOC talk about install patch 9004119 to use Oracle RAC One Node Utilities (such as Omotion). If I am using 11.2.0.3, is it necessary install patch 9004119 ?
    Thanks in advance.
    Leonardo.

    user10674190 wrote:
    Hi all,
    I am installing Oracle Grid Infrastructure (11.2.0.3), I am following DOC ug-raconenode-2009-130760.pdf, about RAC One Node installation, as Oracle recomendation, and this DOC talk about install patch 9004119 to use Oracle RAC One Node Utilities (such as Omotion). If I am using 11.2.0.3, is it necessary install patch 9004119 ?
    Thanks in advance.
    Leonardo.9004119:PATCH FOR RAC ONE NODE SCRIPTS can applied only on 11.2.0.1 , As you are in 11.2.0.3 so no need of it.

  • Could you some one help me how to send a message on twitter using Oracle SOA?

    Hi Team,
              I am trying to send a message from Oracle SOA to Twitter, But i am not able to do the scenario.Could you some one help me how to send a message on twitter using Oracle SOA?
    Regards,
    Kiran

    Very challenging and doubtful at the same time !
    I don't think, its going to be a straight-forward one... Read about OAuth twitter authentication, before you try to post tweets.

  • Move all data from one database to other using oracle expdp and impdp tool

    I need to move all of the data from one database to another. For that I am using oracle expdp and impdp tool.
    I have the full database export dump file. I moved that dump file to my other database.
    Now when I try to use impdp tools it gives lots of error regarding path mismatch,user not exists, role not exists.
    As my datafile path of source database does not match with the target database path , also the users are not there in target database. I dont want to create all the tablespaces that in my source database as there are 82 tablespaces.Is there any way by which I can move my all data without using remap option for tablespaces or users and grants.

    The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax.
    The user must have the privielge of EXP_FULL_DATABASE
    expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
    impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.logGO through below linkfor more details...
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    Regards
    Umi
    Edited by: Umi on Feb 4, 2011 2:27 AM

Maybe you are looking for

  • Safari/Firefox need to Cmd+Q twice to quit.

    No big deal, but it's bored. It has been a long time, everytime I quit the Safari or Firefox, few secs later, the icon on the dock jumps again - the browser starts again. And I need to Cmd+Q one more time to quit it. Someone told me to delete the .pl

  • 6310i Bluetooth

    I am using a 6310i and trying to set up with a BT4517T headset. I have fallen at the first fence! Having accessed the Bluetooth menu (and turned BT on at the phone) there do not appear to be any further submenus like Search for audio devices. Whic sh

  • How to see the length of a call made or received on my BB 9360

    How do I see the length of a call made or received on my Blacberry 9360? I've tried to set it or see in the caller log history, but no success. Where or how do I do this? In my previous blackberry I could do this.

  • Is there a way to undo or restore previous device software?

    Hi All, I just updated the device software on my blackberry and the device seems to run much slower than previously!  Is there any way to undo all the changes that were made to the system software and apps?  I installed the apps using IE from off the

  • Standard Headphones with Smart Connect thinking its a Headset

    Hi, I'm currently having an issue when I connect headphones (via the jack) to my new Z1. It brings up the smart connect "Search for more applications" window with the choice of "None". I have to tell it every time that I don't want it to do anything.