Oracle semantic tech inference + Protege plugin
Hi
From the Protege Plugin, I've installed a simple Ontology for testing on Oracle 11g, I've added a few individuals to the database with no problem at all, though I can't see the inference on the database!!.
Jena Adapter for Oracle Database I am using these instructions to install Joseki and a Java client. Everything seems okay, I can query the RDF database and the individuals using Joseki and a Jena client.
This snippet is part of the client to perform the inference.
Oracle oracle = new Oracle("jdbc:oracle:thin:@161.x.y.z:1521:NTCSHIST", "user", "password");
Attachment attachment = Attachment.createInstance(new String[] {}, "OWLPRIME",
InferenceMaintenanceMode.NO_UPDATE, QueryOptions.DEFAULT);
final GraphOracleSem graph = new GraphOracleSem(oracle, "M_NAMED_GRAPHS", attachment);
System.out.println("Analyzing db...");
graph.analyze();
System.out.println("Infering db...");
graph.performInference();
After running this code the database it seems inferred, but when I query it, it looks to me the data wasn't inferred.
Does anyone have any clue to see how to infer data on Oracle?. Maybe I doing something wrong or I misunderstood something because I got empty response when I query for data that it should be inferred. The ontology should be okay, because when i create individuals on Protege and run the reasoner, the inferred data shows up perfectly.
Cheers
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY geosparql "http://www.opengis.net/ont/geosparql#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
<!ENTITY starguidecatalog "http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#" >
]>
<rdf:RDF xmlns="http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#"
xml:base="http://www.tng.iac.es/ontologies/2014/6/starguidecatalog"
xmlns:geosparql="http://www.opengis.net/ont/geosparql#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:starguidecatalog="http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#">
<owl:Ontology rdf:about="http://www.tng.iac.es/ontologies/2014/6/starguidecatalog">
<owl:imports rdf:resource="http://www.opengis.net/ont/geosparql"/>
<owl:imports rdf:resource="http://www.opengis.net/ont/sf"/>
</owl:Ontology>
<!--
// Object Properties
-->
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#border -->
<owl:ObjectProperty rdf:about="&starguidecatalog;border">
<rdf:type rdf:resource="&owl;SymmetricProperty"/>
<rdfs:domain rdf:resource="&starguidecatalog;Tile"/>
<rdfs:range rdf:resource="&starguidecatalog;Tile"/>
<owl:inverseOf rdf:resource="&starguidecatalog;border"/>
</owl:ObjectProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#hasPointGeometry -->
<owl:ObjectProperty rdf:about="&starguidecatalog;hasPointGeometry">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:subPropertyOf rdf:resource="&geosparql;hasGeometry"/>
<rdfs:range rdf:resource="http://www.opengis.net/ont/sf#Point"/>
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
</owl:ObjectProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#insideOf -->
<owl:ObjectProperty rdf:about="&starguidecatalog;insideOf">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:range rdf:resource="&starguidecatalog;Tile"/>
</owl:ObjectProperty>
<!--
// Data properties
-->
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#astroClass -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;astroClass">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;targetInfo"/>
<rdfs:range rdf:resource="&xsd;float"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#coordinates -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;coordinates">
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;targetInfo"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#dec -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;dec">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;coordinates"/>
<rdfs:range rdf:resource="&xsd;float"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#epoch -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;epoch">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;targetInfo"/>
<rdfs:range rdf:resource="&xsd;integer"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#f -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;f">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;magnitude"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#id -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;id">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;targetInfo"/>
<rdfs:range rdf:resource="&xsd;integer"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#j -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;j">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;magnitude"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#magnitude -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;magnitude">
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;targetInfo"/>
<rdfs:range rdf:resource="&xsd;float"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#n -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;n">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;magnitude"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#ra -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;ra">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:domain rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;coordinates"/>
<rdfs:range rdf:resource="&xsd;float"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#targetInfo -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;targetInfo">
<owl:propertyDisjointWith rdf:resource="&starguidecatalog;tileInfo"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#tileInfo -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;tileInfo">
<rdfs:domain rdf:resource="&starguidecatalog;Tile"/>
<rdfs:range rdf:resource="&xsd;float"/>
</owl:DatatypeProperty>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#v -->
<owl:DatatypeProperty rdf:about="&starguidecatalog;v">
<rdf:type rdf:resource="&owl;FunctionalProperty"/>
<rdfs:subPropertyOf rdf:resource="&starguidecatalog;magnitude"/>
</owl:DatatypeProperty>
<!--
// Classes
-->
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#AstronomicalCoordinate -->
<owl:Class rdf:about="&starguidecatalog;AstronomicalCoordinate">
<rdfs:subClassOf rdf:resource="http://www.opengis.net/ont/sf#Point"/>
<rdfs:subClassOf rdf:resource="&starguidecatalog;Sky"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;hasPointGeometry"/>
<owl:allValuesFrom rdf:resource="http://www.opengis.net/ont/sf#Point"/>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#AstronomicalObject -->
<owl:Class rdf:about="&starguidecatalog;AstronomicalObject">
<owl:equivalentClass>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<rdf:Description rdf:about="&starguidecatalog;Galaxy"/>
<rdf:Description rdf:about="&starguidecatalog;Star"/>
<rdf:Description rdf:about="&starguidecatalog;Supernova"/>
</owl:unionOf>
</owl:Class>
</owl:equivalentClass>
<rdfs:subClassOf rdf:resource="&starguidecatalog;Sky"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;hasPointGeometry"/>
<owl:allValuesFrom rdf:resource="http://www.opengis.net/ont/sf#Point"/>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#Galaxy -->
<owl:Class rdf:about="&starguidecatalog;Galaxy">
<owl:equivalentClass>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="&starguidecatalog;AstronomicalObject"/>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;astroClass"/>
<owl:hasValue rdf:datatype="&xsd;float">3.0</owl:hasValue>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
<rdfs:subClassOf rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;border"/>
<owl:allValuesFrom rdf:resource="&starguidecatalog;Tile"/>
</owl:Restriction>
</rdfs:subClassOf>
<owl:disjointWith rdf:resource="&starguidecatalog;Star"/>
<owl:disjointWith rdf:resource="&starguidecatalog;Supernova"/>
</owl:Class>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#Sky -->
<owl:Class rdf:about="&starguidecatalog;Sky"/>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#Star -->
<owl:Class rdf:about="&starguidecatalog;Star">
<owl:equivalentClass>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="&starguidecatalog;AstronomicalObject"/>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;astroClass"/>
<owl:hasValue rdf:datatype="&xsd;float">2.0</owl:hasValue>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
<rdfs:subClassOf rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;border"/>
<owl:allValuesFrom rdf:resource="&starguidecatalog;Tile"/>
</owl:Restriction>
</rdfs:subClassOf>
<owl:disjointWith rdf:resource="&starguidecatalog;Supernova"/>
</owl:Class>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#Supernova -->
<owl:Class rdf:about="&starguidecatalog;Supernova">
<owl:equivalentClass>
<owl:Class>
<owl:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="&starguidecatalog;AstronomicalObject"/>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;astroClass"/>
<owl:hasValue rdf:datatype="&xsd;float">1.0</owl:hasValue>
</owl:Restriction>
</owl:intersectionOf>
</owl:Class>
</owl:equivalentClass>
<rdfs:subClassOf rdf:resource="&starguidecatalog;AstronomicalObject"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&starguidecatalog;border"/>
<owl:allValuesFrom rdf:resource="&starguidecatalog;Tile"/>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#Tile -->
<owl:Class rdf:about="&starguidecatalog;Tile">
<rdfs:subClassOf rdf:resource="http://www.opengis.net/ont/sf#Polygon"/>
<rdfs:subClassOf rdf:resource="&starguidecatalog;Sky"/>
</owl:Class>
<!--
// Individuals
-->
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#Sun -->
<owl:NamedIndividual rdf:about="&starguidecatalog;Sun">
<rdf:type rdf:resource="&starguidecatalog;Star"/>
<dec rdf:datatype="&xsd;float">0.773</dec>
<ra rdf:datatype="&xsd;float">1.0</ra>
<astroClass rdf:datatype="&xsd;float">2.0</astroClass>
<hasPointGeometry rdf:resource="&starguidecatalog;SunCoordinates"/>
</owl:NamedIndividual>
<!-- http://www.tng.iac.es/ontologies/2014/6/starguidecatalog#SunCoordinates -->
<owl:NamedIndividual rdf:about="&starguidecatalog;SunCoordinates">
<rdf:type rdf:resource="&starguidecatalog;AstronomicalCoordinate"/>
<geosparql:asWKT rdf:datatype="&geosparql;wktLiteral">Point(12.0 13.3)</geosparql:asWKT>
</owl:NamedIndividual>
</rdf:RDF>
<!-- Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net -->
Please note this is a scenario for testing proposes only. It's not meant to be a real scenario !
Cheers
Similar Messages
-
Problems setting up Semantic tech in Orac le 11G running Linux.
Hi Every1,
Am a novice at this Semantic Techno stuff and am trying to overcome that. Am trying to set up an 11G semantic tech baseline on a Linux box and am having difficulties getting everything loaded. Here is where I am at:
1. Installed JDK V5.
2. Installed Oracle 11Gr2 w/spatial and partitioning.
3. Installed Jena V 2.6.2 (jena-2.6.2.zip) IAW Oracle Semantic Technologies Developers guide.
4. Installed Jena Adaptor (jena_adaptor_for_release11-2.zip) IAW Oracle Semantic Technologies Developers guide.
5. Installed Oracle WebLogic Server 11g Release 1(10.3.1).
6. Installed Java 6.1.
7. Installed Joseki 3.4.0 IAW Oracle Semantic Technologies Developers guide.
8. Created J2EE data source in WebLogic Server admin console IAW Oracle Semantic Technologies Developers guide.
9. Completed the autodeploy tasks IAW Oracle Semantic Technologies Developers guide.
10. Restarted WebLogic Server.
11. Attempted to verify the deployment via web browser (http://localhost.localdomain:7001/joseki) and received an Error 404—Not Found From RFC 2068 message vice the Oracle SPARQL Service Endpoint page as expected.
Am at a loss … can anyone identify where I went wrong and how to fix this problem?Here are the steps I used loading Joseki.
1. Download and Install Oracle WebLogic Server 11g Release 1 (10.3.1). For details, see http://www.oracle.com/technology/products/weblogic/.
2. Ensure that you have Java 1.6 installed, because it is required by Joseki 3.4.0.
3. Download Joseki 3.4.0 (joseki-3.4.0.zip) from http://sourceforge.net/projects/joseki/files/Joseki-SPARQL/.
4. Unpack joseki-3.4.0.zip into a temporary directory. For example:
mkdir /tmp/joseki
cp joseki-3.4.0.zip /tmp/joseki
cd /tmp/joseki
unzip joseki-3.4.0.zip
5. Ensure that you have downloaded and unzipped the Jena Adaptor for Oracle Database, as explained in Section 7.1.
6. Create a directory named joseki.war at the same level as the jena_adaptor directory, and go to it. For example:
mkdir /tmp/joseki.war
cd /tmp/joseki.war
7. Copy necessary files into the directory created in the preceding step:
cp /tmp/jena_adaptor/joseki/* /tmp/joseki.war
cp -rf /tmp/joseki/Joseki-3.4.0/webapps/joseki/StyleSheets /tmp/joseki.war
8. Create directories and copy necessary files into them, as follows:
mkdir /tmp/joseki.war/WEB-INF
cp /tmp/jena_adaptor/web/* /tmp/joseki.war/WEB-INF
mkdir /tmp/joseki.war/WEB-INF/lib
cp /tmp/joseki/Joseki-3.4.0/lib/*.jar /tmp/joseki.war/WEB-INF/lib
cp /tmp/jena_adaptor/jar/*.jar /tmp/joseki.war/WEB-INF/lib
cp $ORACLE_HOME/md/jlib/sdordf.jar /tmp/joseki.war/WEB-INF/lib
cp $ORACLE_HOME/jdbc/lib/ojdbc6.jar /tmp/joseki.war/WEB-INF/lib
Note that in the last command, you can specify ojdbc6.jar instead of ojdbc5.jar if you are using JDK 6.
9. Using the WebLogic Server Administration console, create a J2EE data source named OracleSemDS. During the data source creation, you can specify a user and password for the database schema that contains the relevant semantic data against which SPARQL queries are to be executed.
If you need help in creating this data source, see Section 7.2.1, "Creating the
Required Data Source Using WebLogic Server".
7.2.1 Creating the Required Data Source Using WebLogic Server
If you need help creating the required J2EE data source using the WebLogic Server admin console, you can follow these steps:
1. Login to: http://<hostname>:7001/console
2. In the Domain Structure panel, click Services.
3. Click JDBC
4. Click Data Services.
5. In the Summary of JDBC Data Sources panel, click New under the Data Sources table.
6. In the Create a New JDBC Data Source panel, enter or select the following values.
Name: OracleSemDS
JNDI Name: OracleSemDS
Database Type: Oracle
Database Driver: Oracle's Driver (Thin) For Instance Connections Versions: 9.0.1,9.2.0,10,11
7. Click Next twice.
8. In the Connection Properties panel, enter the appropriate values for the Database Name, Host Name, Port, Database User Name (schema that contains semantic data), Password fields.
DATABASE NAME: orcl
HOST NAME: orcl.localdomain
PORT: 1521
DATABASE USWER NAME: nciuser
PASSWORD: <password>
CONFIRM PASSWORD: <password>
9. Click Next.
10. Select (check) the target server or servers) to which you want to deploy this OracleSemDS data source.
11. Click Finish.
You should see a message that all changes have been activated and no restart is necessary.
10. Go to the autodeploy directory of WebLogic Server and copy files, as follows.(For information about auto-deploying applications in development domains, see: http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html)
cd <domain_name>/autodeploy
cp -rf /tmp/joseki.war <domain_name>/autodeploy
In the preceding example, <domain_name> is the name of a WebLogic Server domain.
Note that while you can run a WebLogic Server domain in two different modes, development and production, only development mode allows you use the auto-deployment feature.
11. Check the files and the directory structure, as in the following example:
autodeploy/% ls -1R ./joseki.war/
./joseki.war:
application.xml
index.html
joseki-config.ttl
StyleSheets/
update.html
WEB-INF/
xml-to-html.xsl
./joseki.war/StyleSheets:
joseki.css
./joseki.war/WEB-INF:
lib/
web.xml
./joseki.war/WEB-INF/lib:
arq-2.8.0.jar
arq-2.8.0-tests.jar
icu4j-3.4.4.jar
iri-0.7.jar
jena-2.6.2.jar
jenatest-2.6.2.jar
jetty-6.1.10.jar
jetty-util-6.1.10.jar
joseki-3.4.0.jar
junit-4.5.jar
log4j-1.2.12.jar
lucene-core-2.3.1.jar
ojdbc5.jar
sdordfclient.jar
sdordf.jar
servlet-api-2.5-6.1.10.jar
servlet-api-2.5.jar
slf4j-api-1.5.6.jar
slf4j-log4j12-1.5.6.jar
stax-api-1.0.1.jar
wstx-asl-3.2.9.jar
xercesImpl-2.7.1.jar
12. Start or restart WebLogic Server.
13. Verify your deployment by using your Web browser to connect to a URL in the following format (assume that the Web application is deployed at port 7001): http://<hostname>:7001/joseki
You should see a page titled Oracle SPARQL Service Endpoint using Joseki, and the first text box should contain an example SPARQL query.
This is where I got the http error message instead of the Oracle SPARQL Service Endpoint using Joseki screen. -
I think the sample Protege plugin Oracle provides breaks Protege 3.2.1 - I downloaded it here:
http://download.oracle.com/otn/other/semantic_tech/protege_oracle_rdf_plugin.zip
I made a fresh install of Protege, created an oracle directory in the plugins directory, and copied oracle.jar and ojdbc14.jar to that directory as instructed by the README. Then I started Protege and and when I click "New Project" the console dumps a stack trace starting with: java.lang.NoClassDefFoundError: edu/stanford/smi/protegex/storage/walker/FrameCreator
Removing the two Oracle files solves the problem. Is anybody using Protege with any success? I need some encouragement here... :-)Hi could you help me how to install the plugin protege for oracle, I installed but not working, I can not load data to the database from portege,
I have the following error
help me please...
java.sql.SQLException: Locale not recognized
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:100)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:130)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:180)
at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:945)
at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.java:180)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:347)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:434)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
null : http://protege.stanford.edu/mv#MiniVan : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://www.w3.org/2000/01/rdf-schema#Class
============
java.lang.NullPointerException
at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:376)
at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors()
In saveKnowledgeBase 1
java.sql.SQLException: Excepción de E/S: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:100)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:130)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:215)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:378)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:434)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
null : http://protege.stanford.edu/mv#MiniVan : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://www.w3.org/2000/01/rdf-schema#Class
============
java.lang.NullPointerException
at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:376)
at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.walk(Unknown Source)
at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.java:177)
at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124)
at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.java:109)
at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unknown Source)
at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors() -
Oracle rdf protege plugin and owl
Does the oracle rdf plugin for protege support writing owl files into oracle rdf storage backend? I tried saving a new protege owl project, and get stack dumps (see below).
Thanks
In saveKnowledgeBase 1
java.sql.SQLException: Io exception: The Network Adapter could not establish the
connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:100)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:130)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:215)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:378)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
434)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:772)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:349)
at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.w
alk(Unknown Source)
at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.
java:177)
at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124
at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.ja
va:109)
at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unkno
wn Source)
at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Un
known Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
null : : : http://www.w3.org/1999/02/22-rdf-syntax-ns#type : http://protege.stan
ford.edu/system#owl_ontology
java.lang.NullPointerException
at oracle.ORDFFrameCreator.finish(ORDFFrameCreator.java:403)
at edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameWalker.w
alk(Unknown Source)
at oracle.OKnowledgeBaseFactory.saveKnowledgeBase(OKnowledgeBaseFactory.
java:177)
at oracle.OImportExportPlugin.exportProject(OImportExportPlugin.java:124
at oracle.OImportExportPlugin.handleExportRequest(OImportExportPlugin.ja
va:109)
at edu.stanford.smi.protege.ui.ProjectManager.exportProjectRequest(Unkno
wn Source)
at edu.stanford.smi.protege.action.ExportPluginAction.actionPerformed(Un
known Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
WARNING: java.lang.NullPointerException -- OImportExportPlugin.handleErrors()dlrubin
did you ever figure out your problem? I'm having the same error.
java.sql.SQLException: Io exception: The Network Adapter could not establish the
connection
Not 100% sure where my error is coming from, if its a classpath issue or something else. Just wanted to see if you came up with a solution. Thanks -
When I periodically accessed your Plugin Check and Updates web page in the past, I really appreciated you connecting me to the correct Plugin Updates vendor web page when I clicked on your red Update Now button. This time, however, your Java Applet Plug-in "Update Now" button linked me to the Oracle Java "7u65 Updates Release Notes" instead of the usual download page. It seems rather unexpected for me, or any other conscientious user for that matter, to search the appropriate "JDK 7U65" file download from the Oracle website.
Thank you,This is getting way too complicated for normal peop.
First: the "Update Plugin" does not work, it goes to a page with all sort of computer jargon but no "Update button" anywhere.
Second: this forum jscher2000 gives a good solution, but I downloaded the incorrect java update, because my computer is 64 bit. how am I supposed to know my browser is what it refers to and that FF is 32 bit.....???$%^&*()??
Third: some of those "critical update" software are not even on my computer....well at least I don't think it is, I search for "shockwave" and did not find it.
I love Moz FF but the updating is starting to get out of control. why give us (computer idiot) an auto recommendation update not tailored to our computer? Perhaps in big letters at the top there should be an explanation "this is general suggestion these plugin needs updating, not to tailored with your computer, do your own research"
and/or add info I need to know like the 32 bit thing, took me forever to download the 64bit update for JAVA and it was the wrong one.
Now I am just afraid to update anything for FF because it is too darn confusing. -
HOW TO DELETE PARTICULAR TRIPLE SET FROM Oracle SEMANTIC TABLES in 11g
Can somebody help us how to delete a particular set of triples from Oracle(11g) semantic that we have. Because we noticed that few triple belongs to particular data sets were wrongly loaded so we need to remove only those triples.
Usually we delete all triples including others such and reload them again along with new triples. We would like to avoid this as we go to production.
Otherwise When we insert a set of triples belongs to a particular data set, is it possible to know what ids Oracle assigned to that set? Can we delete by id? Just a thought.
Rgds
SriniHi,
It is very strange. I got an email in my inbox saying that you want to find out
IDs of triples that belong to RNAIDB data set like the following.
"<http://www.lscdd.lilly.com.sg/lscdd/RNAIDB/...../.../:>".
This forum does not have your message somehow.
Assume you have asked such an question :), my answers are
1) from a modeling perspective, it is not a very good idea to encode
semantics in the URI lexical form itself. A URI should be treated
as a symbol.
2) now assume you have a valid reason for doing this, you can try something like the following.
CREATE INDEX testdel_sub_idx ON tstdel (triple.GET_SUBJECT());
-- You can then get the rowid out for those offending rows.
select rowid
from tstdel t
where t.triple.GET_SUBJECT() like '<urn:su%'
-- Or you can remove them directly.
delete from tstdel t
where t.triple.GET_SUBJECT() like '<urn:su%'
; -
Issue while connecting to Oracle BI using BI Office plugin
Hi
I integrated BI Office plugin with OBIEE 11g and while trying to make a connection to it, I am facing the following error:
Test connection failed.
http://localhost:7001/bioffice/services/saw?WSDL
Please, help how to overcome this error.
Thanks.Hi,
Kindly refer this one,
http://123obi.com/2011/05/obiee-11g-oracle-bi-add-in-for-microsoft-office/
Thanks
Deva -
Oracle Financials Tech training
Hi,
I am looking for tech training (other than oracle university), could someone please point to any private centers or any consultants who impart training.
Thanks in advance!!
PS: I am in Maryland (US) right now and I am even OK with traveling to DC or Virginia to get the training.Hi Ravi,
The link does not list Oracle University only as it shows the list of other training institutes (Oracle Partners) which you may want to try.
Regards,
Hussein -
Is there an Oracle 9iAS or 8i Macromedia plugin ?
Is there a plugin available that allows Macromedia Dreamweaver MX and Oracle 9iAS or 8i to be used together?
I'd appreciate anything you can tell me on this.
Thank you for your time
AyishaHi DH,
On Oracle 8.1.5 the Oracle client is on the same CD as the Oracle server. I didn't receive the 8.1.6 version yet, but I expect its not any different.
When you run the OUI, you get the options 'Oracle8i Enterprise Edition', 'Oracle Client' and ;Oracle Programmer'. Just select Oracle Client, and the client will be installed
Rob -
LUBM SPARQL query defect - Semantic Tech
Dear friends,
We're doing test the performance of triple load and query in Oracle 11g.
The tool we are using is the LUBM, please refer to: http://swat.cse.lehigh.edu/projects/lubm/
This tool has 14 queries, checking inference and query evaluation speed.
The obviouse defect can be found from the result of 7th SPARQL query.
[query7]
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT ?X ?Y
WHERE {
<http://www.Department0.University0.edu/AssociateProfessor0> ub:teacherOf ?Y .
?Y rdf:type ub:Course .
?X ub:takesCourse ?Y .
?X rdf:type ub:Student
By using Oracle as the triple store, we can only have 20 rows of result for this query.
X
Y
http://www.Department0.University0.edu/GraduateStudent56
http://www.Department0.University0.edu/GraduateCourse13
http://www.Department0.University0.edu/UndergraduateStudent41
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent138
http://www.Department0.University0.edu/Course16
X
Y
http://www.Department0.University0.edu/UndergraduateStudent201
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent184
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent249
http://www.Department0.University0.edu/Course16
X
Y
http://www.Department0.University0.edu/UndergraduateStudent190
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent219
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent161
http://www.Department0.University0.edu/Course16
X
Y
http://www.Department0.University0.edu/UndergraduateStudent1
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent293
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent222
http://www.Department0.University0.edu/Course16
X
Y
http://www.Department0.University0.edu/GraduateStudent70
http://www.Department0.University0.edu/GraduateCourse13
http://www.Department0.University0.edu/UndergraduateStudent306
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent44
http://www.Department0.University0.edu/Course16
X
Y
http://www.Department0.University0.edu/UndergraduateStudent183
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/UndergraduateStudent179
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/GraduateStudent25
http://www.Department0.University0.edu/GraduateCourse12
X
Y
http://www.Department0.University0.edu/UndergraduateStudent155
http://www.Department0.University0.edu/Course16
http://www.Department0.University0.edu/GraduateStudent115
http://www.Department0.University0.edu/GraduateCourse12
20 rows selected.
But in fact, we should have 22 rows of result for this query.
The two rows were not queried out by Oracle are:
X
Y
http://www.Department0.University0.edu/GraduateCourse13
http://www.Department0.University0.edu/GraduateStudent64
http://www.Department0.University0.edu/GraduateCourse13
http://www.Department0.University0.edu/GraduateStudent114
Actually, when we lookinto the raw data which is loaded into Oracle, these two entities are obviousely here:
1)
<ub:GraduateStudent rdf:about="http://www.Department0.University0.edu/GraduateStudent64">
<ub:name>GraduateStudent64</ub:name>
<ub:memberOf rdf:resource="http://www.Department0.University0.edu" />
<ub:emailAddress>[email protected]</ub:emailAddress>
<ub:telephone>xxx-xxx-xxxx</ub:telephone>
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse37" />
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse11" />
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse13" />
<ub:undergraduateDegreeFrom>
<ub:University rdf:about="http://www.University708.edu" /> </ub:undergraduateDegreeFrom>
<ub:advisor rdf:resource="http://www.Department0.University0.edu/AssistantProfessor3" />
</ub:GraduateStudent>
2)
<ub:GraduateStudent rdf:about="http://www.Department0.University0.edu/GraduateStudent114">
<ub:name>GraduateStudent114</ub:name>
<ub:memberOf rdf:resource="http://www.Department0.University0.edu" />
<ub:emailAddress>[email protected]</ub:emailAddress>
<ub:telephone>xxx-xxx-xxxx</ub:telephone>
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse6" />
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse13" />
<ub:undergraduateDegreeFrom>
<ub:University rdf:about="http://www.University782.edu" /> </ub:undergraduateDegreeFrom>
<ub:advisor rdf:resource="http://www.Department0.University0.edu/FullProfessor3" />
</ub:GraduateStudent>
This kind of defect also happened for 6th query, 8th query and 9th query. Because the output of these queries is too large, so we can't check them manually one by one. (May I don't know there is other way to check the correctness of the result.)
As you can see the above simple query can not give the right answer, we are really doubt the correctness of other queries given by Oracle.
Does anyone could tell me why this happened? Is there any way to fix that?
Many thanks in advance.
Regards,
BryanThanks for you reply Melli.
Yes, we have done inference followed the best practices direction. The data generated by using Jena include the ontology file, please refer to: http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl
The rulebase is OWLPRIME.
If you think the reason is the inference, so I'm curious about why Oracle could find out GraduateStudent70 but can not find out GraduateStudent64?
Do you think is there any differences between entity GraduateStudent64 and entity GraduateStudent70?
They both take course GraduateCourse13 !
GraduateStudent64
<ub:GraduateStudent rdf:about="http://www.Department0.University0.edu/GraduateStudent64">
<ub:name>GraduateStudent64</ub:name>
<ub:memberOf rdf:resource="http://www.Department0.University0.edu" />
<ub:emailAddress>[email protected]</ub:emailAddress>
<ub:telephone>xxx-xxx-xxxx</ub:telephone>
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse37" />
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse11" />
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse13" />
<ub:undergraduateDegreeFrom>
<ub:University rdf:about="http://www.University708.edu" /> </ub:undergraduateDegreeFrom>
<ub:advisor rdf:resource="http://www.Department0.University0.edu/AssistantProfessor3" />
</ub:GraduateStudent>
GraduateStudent70
<ub:GraduateStudent rdf:about="http://www.Department0.University0.edu/GraduateStudent70">
<ub:name>GraduateStudent70</ub:name>
<ub:memberOf rdf:resource="http://www.Department0.University0.edu" />
<ub:emailAddress>[email protected]</ub:emailAddress>
<ub:telephone>xxx-xxx-xxxx</ub:telephone>
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse0" />
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse13" />
<ub:takesCourse rdf:resource="http://www.Department0.University0.edu/GraduateCourse19" />
<ub:undergraduateDegreeFrom>
<ub:University rdf:about="http://www.University5.edu" /> </ub:undergraduateDegreeFrom>
<ub:advisor rdf:resource="http://www.Department0.University0.edu/FullProfessor1" />
</ub:GraduateStudent>
BTW, Today I tried the 6th query which will query all the students exist in the database.
It can not find out GraduateStudent64 as well.
[query6]
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT ?X
WHERE {
?X rdf:type ub:Student
Look forward to your reply.
Regards,
Bryan. -
My Fedora 11 Linux operating system is 64-bit (currently running standard Fedora kernel, NOT Xen pv-ops Dom0 kernel)
My Firefox 4.0 Beta 3 web browser (above Firefox 3.6.8 already) is 32-bit.
My Sun Java 6 Update 21 Plugin is also 32-bit.
In about:plugins in Firefox, I get:
Java(TM) Plug-in 1.6.0_21
File: libnpjp2.so
Version:
The next generation Java <http://java.sun.com> plug-in for Mozilla
browsers.
MIME Type Description Suffixes
application/x-java-vm Java^(TM) Plug-in
application/x-java-applet Java^(TM) Plug-in Applet
application/x-java-applet;version=1.1 Java^(TM) Plug-in
application/x-java-applet;version=1.1.1 Java^(TM) Plug-in
application/x-java-applet;version=1.1.2 Java^(TM) Plug-in
application/x-java-applet;version=1.1.3 Java^(TM) Plug-in
application/x-java-applet;version=1.2 Java^(TM) Plug-in
application/x-java-applet;version=1.2.1 Java^(TM) Plug-in
application/x-java-applet;version=1.2.2 Java^(TM) Plug-in
application/x-java-applet;version=1.3 Java^(TM) Plug-in
application/x-java-applet;version=1.3.1 Java^(TM) Plug-in
application/x-java-applet;version=1.4 Java^(TM) Plug-in
application/x-java-applet;version=1.4.1 Java^(TM) Plug-in
application/x-java-applet;version=1.4.2 Java^(TM) Plug-in
application/x-java-applet;version=1.5 Java^(TM) Plug-in
application/x-java-applet;version=1.6 Java^(TM) Plug-in
application/x-java-applet;jpi-version=1.6.0_21 Java^(TM) Plug-in
application/x-java-bean Java^(TM) Plug-in JavaBeans
application/x-java-bean;version=1.1 Java^(TM) Plug-in
application/x-java-bean;version=1.1.1 Java^(TM) Plug-in
application/x-java-bean;version=1.1.2 Java^(TM) Plug-in
application/x-java-bean;version=1.1.3 Java^(TM) Plug-in
application/x-java-bean;version=1.2 Java^(TM) Plug-in
application/x-java-bean;version=1.2.1 Java^(TM) Plug-in
application/x-java-bean;version=1.2.2 Java^(TM) Plug-in
application/x-java-bean;version=1.3 Java^(TM) Plug-in
application/x-java-bean;version=1.3.1 Java^(TM) Plug-in
application/x-java-bean;version=1.4 Java^(TM) Plug-in
application/x-java-bean;version=1.4.1 Java^(TM) Plug-in
application/x-java-bean;version=1.4.2 Java^(TM) Plug-in
application/x-java-bean;version=1.5 Java^(TM) Plug-in
application/x-java-bean;version=1.6 Java^(TM) Plug-in
application/x-java-bean;jpi-version=1.6.0_21 Java^(TM) Plug-in
All properly installed.
But, when I go to verify Java version, by clicking on the following internet link:
http://www.java.com/en/download/installed.jsp
I get "Error. Click for details".
Here is the Java Console output detailing the error:
Java Plug-in 1.6.0_21
Using JRE version 1.6.0_21-b06 Java HotSpot(TM) Server VM
User home directory = /home/enming
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class testvm2/Main.class not found.
java.lang.ClassNotFoundException: testvm2.Main.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: www.java.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 9 more
Exception: java.lang.ClassNotFoundException: testvm2.Main.class
What's going on? And what's wrong?
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Citizenship: Singapore Citizen/Singaporean
Facebook account:http://www.facebook.com/profile.php?id=100000750083982
Location: Bedok Reservoir Road, Singapore 470103
My Open Letter (Plea for Medical Help/Assistance) to World Leaders:
http://lists.fedoraproject.org/pipermail/users/2010-August/380213.htmlThere's nothing about Java connection settings and Java Control Panel in the link you have supplied.
http://java.sun.com/javase/6/webnotes/install/jcp.html -
Oracle RDF Model plugin for Protégé
Hello,
I'm looking for clear and precise document where to find and how to install the plugin in Protege. Would anyone please provide me with updated information for Protege 4.0.2 and Oracle 11 g?
Thanks,
A.I have all the things about oracle 11.2 and protege 3.4.4 ( not 4.x) .Now I am trying to use oracle to storage RDF from protege immediately, but there are a few troubles.
Email: [email protected] .
帖子经 789145编辑过 -
About the installation of "semantic web technology" on Oracle database 11g
Dear Oracle Semantic Technology Users:
Recently I am evaluating the Semantic Web technology supported by oracle database 11g, but when I try to install this technology according to the document "Semantic Technologies Developer's Guide" under "Product Documentation: Oracle® Spatial Resource Description Framework (RDF) 11g Release 1 (11.1) Manual," I logged in by "sys as sysdba", and executed the script $ORACLE_HOME/md/admin/catsem11i.sql, the SQL Plus console shows no error and installed successfully, but when I check it on SQL Developer interface, I can't find the schema, views and tables related to the semantic web functions which should be created.
Then I tried to execute the same sql script (catsem11i.sql) by SQL developer, it came out a window and ask me the value of COMP_FILE, and the execution is interrupted.
So I would like to ask that do you have any idea, what kind of problems or mistake could it happen? I installed Oracle 11g on windows XP platform with the enterprise edition default installation.
Thanks for your help in advance :)
Best Regards,
Feng-Chien Chung
Metadata Architecture and application team
Academia Sinica, TaiwanHi,
Actually, you are pretty close :) You need to invoke sem_apis.create_sem_network('<YOUR_TABLESPACE_NAME>');
After that, please check the following tutorial for a good end-to-end example.
http://www.oracle.com/technology/obe/11gr1_db/datamgmt/nci_semantic_network/nci_Semantics_les01.htm
Cheers -
Oracle Service Bus IDE plugin and OEPE
Hello,
Due to some trouble I got with Oracle Workshop 10gR3 with JEE5 development, I switch to Oracle Enterprise Pack for Eclipse (OEPE) 11g.
As I have to use oracle Service Bus 10gR3, I would like to benefit from the Oracle Service Bus plugin bundled with Oracle Workshop.
I would to avoid switch between two Eclipse's instances (Europa and Ganymede).
Is it possible to deploy Oracle Service Bus Eclipse's plugin on OEPE 11g?
ThanksMay I did not well expressed my question.
I did not tried to deploy Oracle Service Bud IDE plugins on OEPE 11g.
I can figure out that this will not work properly.
If I understand, the plan for the future is to adopt OEPE 11g even for Oracle Service Bud IDE.
Is there any date for this?
Thanks -
Oracle Grid Infrastructure and ASM Tech Supprot
Considering purchase the Tech Support from Oracle for Grid Infrastructure and ASM. Is there a web site/link I can go to?
Is the tech support for ASM covered under the Oracle Database tech support package or I need a separate support package for it?
Maybe you are looking for
-
Hyperlink in auto respond text
When you create text in an auto respond message (in preferences, rules, etc), is there a way to link a word ( you know,make it blue ) in the text that will, when clicked, go to a specific web page? thanks bl
-
Hi all, While configuring a configurable product in service order and service quotation i am getting this error. " ISA Framework: The XCM configuration='zcrmordermaintain002' does not exist." When i simulate the configuration itself in product master
-
Hi Guys , when i am using InnerJoin i am getting Error like "For pooled tables ,Cluster tables and Projection Views Join is not allowed" The code is below Select * into table it_regup From regup as a inner joi
-
Download error for purchased TV program
I ordered a TV program series but all of the episodes except 2 say "stopped (err = -3150). How do I get the TV programs that I paid for?
-
New sys admin/I.T. guy---HELP, I'VE INHERETED A MESS---
New job at a small Mac only shop w/about 10 or so work stations and 6 or so networked (ethernet LAN & USB) printers & scanner, and a couple dedicated 'server' iMACs for e-mail, FileMaker Data base and what not. Everything's sorta limping along o.k. a