Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Datamaster class/subclass/property definition

cld enp1cl at surrey.ac.uk
Thu May 8 06:58:33 PDT 2008


Yes, it works now. But I though I have saved it this way before. It seems
that I didn't. Anyway..., thanks!

Nick Drummond wrote:
> 
> Hi,
> 
> First of all, before trying anything else, make sure when you save  
> your ontology in P4 that you use RDF/XML format.
> 
> Not all ontologies that are saved in P4 will be backward compatible  
> (ie those using OWL2.0 features).
> We need to come up with some guidance wrt this.
> 
> Does the ontology load back into P4 ok?
> If you send this ontology we could look to see if your ontology is  
> valid OWL1.0.
> 
> Nick
> 
> On 2 May 2008, at 10:53, cld wrote:
> 
>>
>> Thanks Csongor! The Excel plugin is just what I needed. But now a  
>> new problem
>> has arised.
>> I need to represent graphycally my ontology in such a way that not  
>> only
>> classes but also instances and properties could be viewed. For this  
>> reason I
>> was using Protege3.4 as for it, GrOWL plugin allows to do that. I have
>> exported the Excel data into my Protege4.0 ontology and I tried to  
>> open it
>> in Protege3.4 afterwards in order to be able to create the graph. The
>> following "File load warnings and errors" appeared:
>>
>> 494. An error occurred at parsing the OWL ontology
>>    file:/C:/tot2P4-excel.owl
>>    at line 1425 and column 60.
>>    Jena parse error message: {E201} Multiple children of property  
>> element
>>    Exception class com.hp.hpl.jena.rdf.arp.impl.XMLHandler$1.   
>> Message:
>> {E201} Multiple children of property element
>> 495. An error occurred at parsing the OWL ontology
>>    file:/C:/tot2P4-excel.owl
>>    at line 1429 and column 31.
>>    Jena parse error message: {E201} Multiple children of property  
>> element
>>    Exception class com.hp.hpl.jena.rdf.arp.impl.XMLHandler$1.   
>> Message:
>> {E201} Multiple children of property element
>> 496. An error occurred at parsing the OWL ontology
>>    file:/C:/tot2P4-excel.owl
>>    at line 1436 and column 30.
>>    Jena parse error message: {E201} Multiple children of property  
>> element
>>    Exception class com.hp.hpl.jena.rdf.arp.impl.XMLHandler$1.   
>> Message:
>> {E201} Multiple children of property element
>> See console and log for more details.
>>
>> Is it not possible to do that? How could I be able to load the  
>> ontology in
>> Protege3.4??? If it is not possible, do you know of any plugin for
>> Protege4.0 that would allow me to visualise the ontology as GrOWL  
>> does?
>> Thanks a lot
>>
>>
>>
>> cld wrote:
>>>
>>> Hi
>>> I have created an ontology which I would like to poulate from a  
>>> database
>>> table. Is it possible to import data from a table which relates to
>>> classes, subclasses and properties already defined?
>>>
>>>
>>> My ontology has only classes as I also treat instances as classes. So
>>> let's say I have the following classes:
>>> - Experiment
>>> - Features;  with subclasses:
>>>          - NumberOfZones;  with subclasses:
>>>                -Z1
>>>                -Z2
>>>          - Pattern;  with subclasses:
>>>                -Pattern1
>>>                -Pattern2
>>> and the following Object properties:
>>> - hasNumberOfZones (with domain Experiment and Range NumberOfZones)
>>> - hasPattern1 (with domain Experiment and Range Pattern)
>>> - hasPattern2 (with domain Experiment and Range Pattern)
>>>
>>>
>>> I want to populate the class Experiment with subclasses Exp1, Exp2  
>>> which I
>>> want to import from a table in my database in a way that I would  
>>> get at
>>> the end:
>>> Exp1: hasNumberOfZones Z2; hasPattern1 Pattern1, hasPattern2 Pattern2
>>> Exp2: hasNumberOfZones Z1; hasPattern1 Pattern2
>>>
>>> My database table should have 2 rows (one related to Exp1 and the  
>>> other
>>> related to Exp2) with colummns hasNumberOfZones, hasPattern1 and
>>> hasPattern2.
>>>
>>> Is it possible to define the table in the database in such a way that
>>> protege would recognise Exp1 and Exp2 as classes,
>>> hasNumberOfZones,hasPattern1  and hasPattern2  as properties and  
>>> map them
>>> to the classes and properties already created in the ontology?
>>>
>>> Thanks in advance and sorry if the answer is obvious.
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Datamaster-class-subclass-property-definition-tp16995021p17010389.html
>> Sent from the Protege - OWL mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing:
>> http://protege.stanford.edu/doc/faq.html#01a.03
> 
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
> 
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03 
> 
> 

-- 
View this message in context: http://www.nabble.com/Datamaster-class-subclass-property-definition-tp16995021p17125761.html
Sent from the Protege - OWL mailing list archive at Nabble.com.




More information about the protege-owl mailing list