Ray Fergerson | 1 Jul 2004 01:46
Picon
Picon

[protege-discussion] Re: [protege-discussion] Unable to Export to Oracle 9.2 database using the JDBC backend with Protégé 2.1.1 (or prior)


My guess would be a jdbc driver problem. Make sure that you have the 9.2 
Oracle JDBC driver.  We have tested with Oracle 9.X (9.1 I think) and it 
works but I seem to remember some driver version strangeness.

Ray

Adi Mishra wrote:
> 
> Hello,
>  I am unable to export/save  ontologies into our oracle 9.2 database .(or 
> postgresql .. I don't want to go the MySql or SQL server route)
> 
>  I have followed instructions from the FAQ as well as 
> http://www.thechiselgroup.org/node/view/314?
> PHPSESSID=67a41961dbbb9aa812bf789ebb0e8774
>  Neither works . 
> 
>  With Oracle even though it is able to create the table  "ProtegeTable"
> Name                                      Null?    Type
> ----------------------------------------- -------- ----------------------------
> 
> FRAME                                     NOT NULL NUMBER
> FRAME_TYPE                                NOT NULL NUMBER
> SLOT                                      NOT NULL NUMBER
> FACET                                     NOT NULL NUMBER
> IS_TEMPLATE                               NOT NULL NUMBER
> VALUE_INDEX                               NOT NULL NUMBER
> VALUE_TYPE                                NOT NULL NUMBER
> SHORT_VALUE                                        VARCHAR2(3066)
(Continue reading)

Mike Kelley | 1 Jul 2004 02:32

computed slot values


Hi All,

I have some questions about the Protégé/OWL framework for computing slot values. I've been developing a
prototype that (among other things) allows formulas written in python to be specified for a given
Cls/Slot pair. 

For a given instance:

* I want the UI to render a visible computed value in an appropriate read-only widget. It looks like I get this
by defining a protégé:valuesComputer, correct? Can I get this if I *only* override the return value of DefaultRDFSlot.isComputed(Instance)?

* I want the UI to redraw if a computed value (may have) changed. Do I get this, too, if I define a
valuesComputer? Seems problematic, not knowing the dependencies of a given computation.  In which case,
what APIs should I call to notify listeners a computed value (may have) changed?  

* I don't want to perform expensive computations unless necessary

* I don't want to store results of such computations (in some cases lots of results for lots of instances)
unless necessary

* I'd rather discover which slot values are computed on the fly (based on the existence of formula
annotation values) rather than having to keep formula and valuesComputer values in sync.

The current implementation departs from the direction suggested by the OWL plugin. 

An OWL annotation property bound to a given Cls is of the form

<property-name> ':=' <python-expression>

(Continue reading)

Mishra, Adi P - VSCM | 1 Jul 2004 02:33

[protege-discussion] RE: [protege-discussion] Re: [protege-discussion] Unable to Export to Oracle 9.2 database using the JDBC backend with Protégé 2.1.1 (or prior)


 I switched to using ojdbc14.jar but I get the same error
Adi

-----Original Message-----
From: protege-discussion-bounce <at> SMI.Stanford.EDU
[mailto:protege-discussion-bounce <at> SMI.Stanford.EDU] On Behalf Of Ray Fergerson
Sent: Wednesday, June 30, 2004 4:46 PM
To: protege-discussion <at> SMI.Stanford.EDU
Subject: [protege-discussion] Re: [protege-discussion] Unable to Export to Oracle 9.2 database using
the JDBC backend with Protégé 2.1.1 (or prior)

My guess would be a jdbc driver problem. Make sure that you have the 9.2 
Oracle JDBC driver.  We have tested with Oracle 9.X (9.1 I think) and it 
works but I seem to remember some driver version strangeness.

Ray

Adi Mishra wrote:
> 
> Hello,
>  I am unable to export/save  ontologies into our oracle 9.2 database 
> .(or
> postgresql .. I don't want to go the MySql or SQL server route)
> 
>  I have followed instructions from the FAQ as well as
> http://www.thechiselgroup.org/node/view/314?
> PHPSESSID=67a41961dbbb9aa812bf789ebb0e8774
>  Neither works . 
> 
(Continue reading)

Mishra, Adi P - VSCM | 1 Jul 2004 03:01

[protege-discussion] RE: [protege-discussion] Re: [protege-discussion] Unable to Export to Oracle 9.2 database using the JDBC backend with Protégé 2.1.1 (or prior)


 Can you send me the oracle driver jar/zip which works for you . All my drivers 9.2 9.i , 8.1 etc don't work ...
 Could this problem possibly be with the 9.2 database instead (all the discussions seen so far indicate a 9i
or 9.1 implementation)?

Adi
-----Original Message-----
From: Mishra, Adi P - VSCM 
Sent: Wednesday, June 30, 2004 5:33 PM
To: 'protege-discussion <at> SMI.Stanford.EDU'
Subject: RE: [protege-discussion] Re: [protege-discussion] Unable to Export to Oracle 9.2 database
using the JDBC backend with Protégé 2.1.1 (or prior)

 I switched to using ojdbc14.jar but I get the same error
Adi

-----Original Message-----
From: protege-discussion-bounce <at> SMI.Stanford.EDU
[mailto:protege-discussion-bounce <at> SMI.Stanford.EDU] On Behalf Of Ray Fergerson
Sent: Wednesday, June 30, 2004 4:46 PM
To: protege-discussion <at> SMI.Stanford.EDU
Subject: [protege-discussion] Re: [protege-discussion] Unable to Export to Oracle 9.2 database using
the JDBC backend with Protégé 2.1.1 (or prior)

My guess would be a jdbc driver problem. Make sure that you have the 9.2 
Oracle JDBC driver.  We have tested with Oracle 9.X (9.1 I think) and it 
works but I seem to remember some driver version strangeness.

Ray

(Continue reading)

edhel | 1 Jul 2004 06:03
Picon

[protege-discussion] [protege-discussion] Re: Unable to Export to Oracle 9.2 database using the JDBC backend with Protйgй 2.1.1 (or prior)


I also have trouble with working Jena and Oracle, but another. There is
error on creating model "ORA-01450 maximum key length (string) exceeded" on
my Oracle 8i. That is Oracle in my configuration can't create indexes on
large columns and therefore I use MySQL for Jena persistent models now.

edhel

-----Original Message-----
From: protege-discussion-bounce <at> SMI.Stanford.EDU
[mailto:protege-discussion-bounce <at> SMI.Stanford.EDU] On Behalf Of Mishra, Adi
P - VSCM
Sent: Thursday, July 01, 2004 9:01 AM
To: protege-discussion <at> SMI.Stanford.EDU
Subject: [protege-discussion] RE: [protege-discussion] Re:
[protege-discussion] Unable to Export to Oracle 9.2 database using the JDBC
backend with Protйgй 2.1.1 (or prior)

 Can you send me the oracle driver jar/zip which works for you . All my
drivers 9.2 9.i , 8.1 etc don't work ...
 Could this problem possibly be with the 9.2 database instead (all the
discussions seen so far indicate a 9i or 9.1 implementation)?

Adi

Joseph Roumier | 1 Jul 2004 08:10
Picon
Favicon

Re: adds object properties but won't show it


Hi,
the "anonymous" term may be not well chosen, the only thing I wanted to 
express is that I can create new properties using the "create object 
properties", but the property frame will not popup (the one in which you 
specify the name, the inverse etc..), neither will this property appear 
in the taxonomy on the left side of Protégé. I'm only able to see these 
properties (anonymous because not named ;) when I do this : save, close 
and open the same project.

Anyway, I put in the PS what I got in the console when try to add a new 
object property, having already a Property hierarchy (one object 
property and two sub object-property).

Here is the ObjectProperty part of the owl file in which you can see the 
"anonymous" property "pizza_ObjectProperty_23"  :
<owl:ObjectProperty rdf:ID="hasBase">
    <rdfs:subPropertyOf>
      <owl:ObjectProperty rdf:ID="hasIngredient"/>
    </rdfs:subPropertyOf>
  </owl:ObjectProperty>
  <owl:ObjectProperty rdf:ID="pizza_ObjectProperty_23"/>
  <owl:ObjectProperty rdf:ID="hasTopping">
    <rdfs:subPropertyOf rdf:resource="#hasIngredient"/>
  </owl:ObjectProperty>

 From a software point of view, I installed everything from the Protégé 
macosx installer.

Cordially,
(Continue reading)

Umberto | 1 Jul 2004 10:26
Picon
Favicon

Re: Violated Constraints and its proprieties!


Holger Knublauch <holger <at> SMI.Stanford.EDU> writes:

> 
> > Hi! I' ve some difficulties in extrapolating the Instances of 
> > "CONSTRAINT 
> > RESPONSES" from a knowledgebase using only Protégé API 
> > without a graphical 
> > interface. Moreover I'ld like to get values of the slots 
> > related to the 
> > instances.
> 
> What do you mean with Constraint Responses?  Violations of
> PAL constraints?  Inconsistencies?  Please clarify.
> 
> Thanks
> Holger
> 
> 

Yes I mean Violations of PAL constraint and its slots values!
For example:(newspaper_PAL)In the TAB PAL Constraints there are 3 constraints 
(article-section-constraint-by-autor, article-more-than-2-keywords, etc etc)I 
wont show by Protègè java API the Quaries Responses.

Thanks 
Umberto

Paolo Bussotti | 1 Jul 2004 12:10
Picon

XML Literals in protégé-owl


Hello,
I'm quite a novice Protégé user, and I'd like to ask you about  how  to 
use the rdf datatype XMLLiteral for example as the value of a 
restriction of a DatatypeProperty with  Protégé.
My aim is to use XML Literals for encoding in a OWL-DL ontology some 
axioms  that  cannot be expressed directly in description logic but 
require  FOL, Modal Logic ecc. to be expressed through XML markup.
Do Protégé+OWL plugin support XMLLiteral ? Since  I did not find the 
possibility to set  XMLLiteral as the range of my datatype function or 
to create a restriction of it by using "owl:hasValue" directly through 
Protégé,  I've edited manually the OWL file: it has not been changed
by Protégé and the ontology  has been recognised as OWL-DL.
However, the necessary condition displayed by Protégé for the class that 
contains the mentioned restriction to a XMLLiteral value seems to treat 
the markup as if the value were the string resulting by the 
concatenation  of  the  XML  contents.

If you know what I did wrong please give me some advise (I strongly need 
it):
I'll report the lines which I've written:

..........

<owl:Class rdf:ID="myclass">
..........
<rdfs:subclassOf>
   <owl:Restriction>
      <owl:hasValue parseType="Literal"
                     xmlns:s="http://.........."
(Continue reading)

Paolo Bussotti | 1 Jul 2004 12:25
Picon

[Fwd: XML Literals in protégé-owl]

Hello,
For the owl code I sent you I have two obvious errata corrige:
- rdf:parseType (instead of parseType)
- the start-tag "owl:hasValue" is closed after "xmlns:s=..........."
Sorry for there errors.
Paolo Bussotti

-- Attached file included as plaintext by Ecartis --
-- File: [protege-owl] XML Literals  in =?ISO-8859-1?Q?prot=E9g=E9-owl?=

Return-Path: <protege-owl-bounce <at> crg-gw.Stanford.EDU>
Received: from smtp3.Stanford.EDU (smtp3.Stanford.EDU [171.67.16.138])
	by telemat.det.unifi.it (8.11.6/8.11.6) with ESMTP id i61AEqk05584
	for <bussotti <at> achille.det.unifi.it>; Thu, 1 Jul 2004 12:14:52 +0200
Received: from crg-gw.Stanford.EDU (crg-gw.Stanford.EDU [171.65.32.201])
	by smtp3.Stanford.EDU (8.12.11/8.12.11) with ESMTP id i61ACnid023463;
	Thu, 1 Jul 2004 03:14:00 -0700
Received: from crg-gw.Stanford.EDU (mail <at> SMI [171.65.32.202])
	by crg-gw.Stanford.EDU (8.11.5/8.11.5) with ESMTP id i61A65e02044;
	Thu, 1 Jul 2004 03:06:05 -0700 (PDT)
Received: with ECARTIS (v1.0.0; list protege-owl); Thu, 01 Jul 2004 03:06:04 %z (PDT)
Received: from telemat.det.unifi.it (telemat.det.unifi.it [150.217.8.42])
	by crg-gw.Stanford.EDU (8.11.5/8.11.5) with ESMTP id i61A61e02035
	for <protege-owl <at> SMI.Stanford.EDU>; Thu, 1 Jul 2004 03:06:02 -0700 (PDT)
Received: from achille.det.unifi.it (rubinowicz.det.unifi.it [150.217.8.70])
	by telemat.det.unifi.it (8.11.6/8.11.6) with ESMTP id i61A5wk05442
	for <protege-owl <at> SMI.Stanford.EDU>; Thu, 1 Jul 2004 12:05:58 +0200
Message-ID: <40E3E2FA.3030906 <at> achille.det.unifi.it>
Date: Thu, 01 Jul 2004 12:10:02 +0200
From: Paolo Bussotti <bussotti <at> achille.det.unifi.it>
(Continue reading)

elif | 1 Jul 2004 12:58
Picon
Favicon

[protege-discussion] error with generating ontologybeans


 hi,
 I am trying to use ontologybeangenerator with Protege 2000-v 1.9 and JADE
 v.3.1.
 I followed the instructions on the web page of Protege Plugins but I get an
error like ,"No JADE classes found,include SimpleJADEAbstractOntology,and
 arrange Classes accordingly " but I have already included that ontology
 file.

 I will be very glad if you can help me...
 thanks in advance.

 elif aydin


Gmane