A big problem with Protege 4 alpha

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

A big problem with Protege 4 alpha

Hussein El-Naggar
Hello,
    I wonder if anyone can help me to solving my problem. I was building an ontology, and every thing was fine until I finished and switched my PC off. The next time I started my computer, I could not start the ontology that I was building. All other ontologies in my library start and work happily. Please find attached to this email a copy of the ontology code and a cop[y of the error message I get and the log.
 
Best Regards,
 
Hussein El-Naggar


Miss your Messenger buddies when on-the-go? Get Messenger on your Mobile!
_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback

ErrorMessageAndLogs.doc (91K) Download Attachment
University-people-tangled.owl (67K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: A big problem with Protege 4 alpha

Rinke Hoekstra-4
Hi Hussein,

It looks like the RDF/XML parser cannot swallow the %20 in the base  
uri and namespace of your ontology: file:/C:/Program%20Files/
oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml

If you open your owl file in a plain text editor (eg. Notepad) and  
replace each occurrence of that string with something more sensible  
(e.g. http://www.ontologies.com/lecture-ontologies/ 
teaching-1-01.daml), the parser should work fine.

Cheers,

        Rinke




On 7 mei 2008, at 05:01, Hussein El-Naggar wrote:

> Hello,
>     I wonder if anyone can help me to solving my problem. I was  
> building an ontology, and every thing was fine until I finished and  
> switched my PC off. The next time I started my computer, I could not  
> start the ontology that I was building. All other ontologies in my  
> library start and work happily. Please find attached to this email a  
> copy of the ontology code and a cop[y of the error message I get and  
> the log.
>
> Best Regards,
>
> Hussein El-Naggar
>
> Miss your Messenger buddies when on-the-go? Get Messenger on your  
> Mobile! <ErrorMessageAndLogs.doc><University-people-
> tangled.owl>_______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback

-----------------------------------------------
Drs. Rinke Hoekstra

Email: [hidden email]    Skype:  rinkehoekstra
Phone: +31-20-5253499     Fax:   +31-20-5253495
Web:   http://www.leibnizcenter.org/users/rinke

Leibniz Center for Law,          Faculty of Law
University of Amsterdam,            PO Box 1030
1000 BA  Amsterdam,             The Netherlands
-----------------------------------------------



_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback
Reply | Threaded
Open this post in threaded view
|

Re: A big problem with Protege 4 alpha

Nagy Attila-2
In reply to this post by Hussein El-Naggar
Hello,

it seems your problem is right at the start of the file, in the XML
declarations; namely:

<!ENTITY Teaching-1-01
"file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#">

was the entity declaration that caused a problem with the parser:

org.xml.sax.SAXParseException: The entity name must immediately follow
the '%' in the parameter entity reference.

The problem is that here, the '%' sign denotes a "parameter entity
reference". Not being an XML expert, I don't know what should an XML
parser do when it finds a '%' sign that can't be treated as part of a
parameter entity reference. I couldn't find it in the XML specs either,
but I suspect that it should simply ignore it. This is most probably a
bug, probably in the SAX parser.

However, your ontology can easily be fixed by replacing the %20 URL
escaping with a space, so in line 14:


<!ENTITY Teaching-1-01
"file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#">

After changing this, Protégé opens the ontology without problems (and
recreates the %20 escaping, so I suspect that it'll save the file again
with it. (I attached a fixed version of your original file.)

Hope that helps,

Attila

Hussein El-Naggar írta:

> Hello,
>     I wonder if anyone can help me to solving my problem. I was building
> an ontology, and every thing was fine until I finished and switched my
> PC off. The next time I started my computer, I could not start the
> ontology that I was building. All other ontologies in my library start
> and work happily. Please find attached to this email a copy of the
> ontology code and a cop[y of the error message I get and the log.
>  
> Best Regards,
>  
> Hussein El-Naggar
>
> ------------------------------------------------------------------------
> Miss your Messenger buddies when on-the-go? Get Messenger on your
> Mobile! <http://clk.atdmt.com/UKM/go/msnnkmgl0010000001ukm/direct/01/>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback

<?xml version="1.0"?>


<!DOCTYPE rdf:RDF [
    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
    <!ENTITY dc "http://purl.org/dc/elements/1.1/" >
    <!ENTITY owl11 "http://www.w3.org/2006/12/owl11#" >
    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
    <!ENTITY owl11xml "http://www.w3.org/2006/12/owl11-xml#" >
    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
    <!ENTITY protege "http://protege.stanford.edu/plugins/owl/protege#" >
    <!ENTITY xsp "http://www.owl-ontologies.com/2005/08/07/xsp.owl#" >
    <!ENTITY Teaching-1-01 "file:/C:/Program Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#" >
]>


<rdf:RDF xmlns="file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#"
     xml:base="file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml"
     xmlns:Teaching-1-01="file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#"
     xmlns:owl11="http://www.w3.org/2006/12/owl11#"
     xmlns:owl11xml="http://www.w3.org/2006/12/owl11-xml#"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:owl="http://www.w3.org/2002/07/owl#">
    <owl:Ontology rdf:about="">
        <owl:imports rdf:resource="http://protege.stanford.edu/plugins/owl/protege"/>
    </owl:Ontology>
    <owl:Ontology rdf:about="http://protege.stanford.edu/plugins/owl/protege">
        <rdfs:comment rdf:datatype="&xsd;string"
            >The Protege metadata ontology (in the version that is used inside Protege. Note that this is an OWL Full ontology, with annotation properties that have range and domain restrictions. However, the &quot;official&quot; online release of this file is OWL DL, so that ontologies that use Protege metadata annotations can still be shared as OWL DL.</rdfs:comment>
    </owl:Ontology>
   


    <!--
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotation properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    <owl:AnnotationProperty rdf:about="&protege;subclassesDisjoint"/>
    <owl:AnnotationProperty rdf:about="&xsp;length"/>
    <owl:AnnotationProperty rdf:about="&dc;contributor"/>
    <owl:AnnotationProperty rdf:about="&protege;excludedTest"/>
   


    <!--
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Object Properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#belongsTo -->

    <owl:ObjectProperty rdf:about="#belongsTo">
        <rdfs:label>belongsTo</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"
            >The relation between formal things such as teaching modules and the activities and other things that make them up</rdfs:comment>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#gives -->

    <owl:ObjectProperty rdf:about="#gives">
        <rdfs:label>gives</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"
            >he relation of those responsible for a teaching unit to that unit</rdfs:comment>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#hasFormat -->

    <owl:ObjectProperty rdf:about="#hasFormat">
        <rdf:type rdf:resource="&owl;FunctionalProperty"/>
        <rdfs:label>hasFormat</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#includes -->

    <owl:ObjectProperty rdf:about="#includes">
        <rdfs:label>includes</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"
            >The relation between formal things such as teaching modules and the activities and other things that make them up</rdfs:comment>
        <owl:inverseOf rdf:resource="#belongsTo"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#isGivenBy -->

    <owl:ObjectProperty rdf:about="#isGivenBy">
        <rdfs:label>isGivenBy</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"
            >The relation of those responsible for a teaching unit to that unit</rdfs:comment>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#isTaughtBy -->

    <owl:ObjectProperty rdf:about="#isTaughtBy">
        <rdfs:label>isTaughtBy</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"
            >The relation of actually teaching a teaching activity - includes lab supervising etc.</rdfs:comment>
        <owl:inverseOf rdf:resource="#teaches"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_has_comfort_degree -->

    <owl:ObjectProperty rdf:about="#l5_has_comfort_degree">
        <rdfs:domain rdf:resource="#Chair"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_has_dificulty_level -->

    <owl:ObjectProperty rdf:about="#l5_has_dificulty_level">
        <rdfs:domain rdf:resource="#Lecture_part"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_has_location -->

    <owl:ObjectProperty rdf:about="#l5_has_location"/>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_has_part -->

    <owl:ObjectProperty rdf:about="#l5_has_part">
        <owl:inverseOf rdf:resource="#l5_is_part_of"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_has_quality -->

    <owl:ObjectProperty rdf:about="#l5_has_quality">
        <rdfs:range rdf:resource="#Lecture_part"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_is_part_of -->

    <owl:ObjectProperty rdf:about="#l5_is_part_of"/>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_is_used_by -->

    <owl:ObjectProperty rdf:about="#l5_is_used_by">
        <owl:inverseOf rdf:resource="#l5_uses"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_locates -->

    <owl:ObjectProperty rdf:about="#l5_locates">
        <owl:inverseOf rdf:resource="#l5_has_location"/>
    </owl:ObjectProperty>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#l5_uses -->

    <owl:ObjectProperty rdf:about="#l5_uses"/>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#teaches -->

    <owl:ObjectProperty rdf:about="#teaches">
        <rdfs:label>teaches</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"
            >The relation of actually teaching a teaching activity - includes lab supervising etc.</rdfs:comment>
    </owl:ObjectProperty>
   


    <!--
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Classes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#ACS_module -->

    <owl:Class rdf:about="#ACS_module">
        <rdfs:label>ACS_module</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Module"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#hasFormat"/>
                <owl:someValuesFrom rdf:resource="#Short_fat_format"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#includes"/>
                <owl:someValuesFrom rdf:resource="#Exam"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#includes"/>
                <owl:someValuesFrom rdf:resource="#Lab"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Academic_staff -->

    <owl:Class rdf:about="#Academic_staff">
        <rdfs:label>Academic_staff</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"
            >Professors, lecturers, etc.  Those empowered to teach courses</rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Academic_staff_room -->

    <owl:Class rdf:about="#Academic_staff_room">
        <rdfs:subClassOf rdf:resource="#CS_building_part"/>
        <xsp:length
            >Rooms ocupied by administration staff</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Adminstration_room -->

    <owl:Class rdf:about="#Adminstration_room">
        <rdfs:subClassOf rdf:resource="#CS_building_part"/>
        <protege:subclassesDisjoint
            >Accomodation rooms of adminstration staff</protege:subclassesDisjoint>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Adult -->

    <owl:Class rdf:about="#Adult">
        <rdfs:label>Adult</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Average_comfort -->

    <owl:Class rdf:about="#Average_comfort">
        <rdfs:subClassOf rdf:resource="#Chair_comfort"/>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Average_lecture -->

    <owl:Class rdf:about="#Average_lecture">
        <rdfs:subClassOf rdf:resource="#Lecture_quality"/>
        <dc:contributor
            >This specifies that the lecture was of avarage quality</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Average_module -->

    <owl:Class rdf:about="#Average_module">
        <rdfs:subClassOf rdf:resource="#Module_dificulty"/>
        <dc:contributor
            >Specifies that a module is of average difficulty</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Bad_lecture -->

    <owl:Class rdf:about="#Bad_lecture">
        <rdfs:subClassOf rdf:resource="#Lecture_quality"/>
        <dc:contributor
            >This specifies that the lecture was of bad quality</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Bar -->

    <owl:Class rdf:about="#Bar">
        <rdfs:subClassOf rdf:resource="#Leasure_activity"/>
        <xsp:length
            >A bar for visitors of  the leasure building</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Black_person -->

    <owl:Class rdf:about="#Black_person">
        <rdfs:label>Black_person</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Black_professor -->

    <owl:Class rdf:about="#Black_professor">
        <rdfs:label>Black_professor</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Black_person"/>
        <rdfs:subClassOf rdf:resource="#Professor"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Black_woman_professor -->

    <owl:Class rdf:about="#Black_woman_professor">
        <rdfs:label
            >Black_woman_professor</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Black_professor"/>
        <rdfs:subClassOf rdf:resource="#Woman"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Blackboard -->

    <owl:Class rdf:about="#Blackboard">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_has_comfort_degree"/>
                <owl:someValuesFrom rdf:resource="#Un_comfortable"/>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Furniture"/>
        <protege:excludedTest
            >The black board in the lecture room</protege:excludedTest>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#CS_building -->

    <owl:Class rdf:about="#CS_building">
        <rdfs:subClassOf rdf:resource="#New_building"/>
        <dc:contributor
            >Computer Science Building</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#CS_building_part -->

    <owl:Class rdf:about="#CS_building_part">
        <rdfs:subClassOf rdf:resource="#Specified_classes"/>
        <rdfs:comment
            >This class represents different parts of different buildings</rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Caucasian_person -->

    <owl:Class rdf:about="#Caucasian_person">
        <rdfs:label
            >Caucasian_person</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Chair -->

    <owl:Class rdf:about="#Chair">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_has_location"/>
                <owl:someValuesFrom rdf:resource="#CS_building_part"/>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Furniture"/>
        <xsp:length
            >For persons to sit</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Chair_comfort -->

    <owl:Class rdf:about="#Chair_comfort">
        <rdfs:subClassOf rdf:resource="#Feature"/>
        <dc:contributor
            >The degree of comfort in a chair</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Child -->

    <owl:Class rdf:about="#Child">
        <rdfs:label>Child</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Comfortable -->

    <owl:Class rdf:about="#Comfortable">
        <rdfs:subClassOf rdf:resource="#Chair_comfort"/>
        <dc:contributor
            >Comfortable chair</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Course -->

    <owl:Class rdf:about="#Course">
        <rdfs:label>Course</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Teaching_unit"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Difficult_module -->

    <owl:Class rdf:about="#Difficult_module">
        <rdfs:subClassOf rdf:resource="#Module_dificulty"/>
        <dc:contributor
            >Specifies that a module is difficult</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Doors -->

    <owl:Class rdf:about="#Doors">
        <rdfs:subClassOf rdf:resource="#Furniture"/>
        <xsp:length>Doors of rooms</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Easy_module -->

    <owl:Class rdf:about="#Easy_module">
        <rdfs:subClassOf rdf:resource="#Module_dificulty"/>
        <dc:contributor
            >Specifies that a module is easy</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Equipment -->

    <owl:Class rdf:about="#Equipment">
        <rdfs:subClassOf rdf:resource="#Required_new_classes"/>
        <protege:excludedTest>Lab Equipment</protege:excludedTest>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Exam -->

    <owl:Class rdf:about="#Exam">
        <rdfs:label>Exam</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Teaching_activity"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Feature -->

    <owl:Class rdf:about="#Feature">
        <rdfs:subClassOf rdf:resource="#Specified_classes"/>
        <dc:contributor
            >Several Features Required be tge Exercise</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Furniture -->

    <owl:Class rdf:about="#Furniture">
        <rdfs:subClassOf rdf:resource="#Required_new_classes"/>
        <xsp:length
            >Furniture that exixt in different rooms</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Games -->

    <owl:Class rdf:about="#Games">
        <rdfs:subClassOf rdf:resource="#Leasure_activity"/>
        <xsp:length
            >Several games in the leasure building</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Good_lecture -->

    <owl:Class rdf:about="#Good_lecture">
        <rdfs:subClassOf rdf:resource="#Lecture_quality"/>
        <dc:contributor
            >This specifies that the lecture was of good quality</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Homework_part -->

    <owl:Class rdf:about="#Homework_part">
        <rdfs:subClassOf rdf:resource="#Module_part"/>
        <dc:contributor
            >The homework part of a module, or course work</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Knowledge_representation -->

    <owl:Class rdf:about="#Knowledge_representation">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_has_quality"/>
                        <owl:someValuesFrom rdf:resource="#Bad_lecture"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_has_dificulty_level"/>
                        <owl:someValuesFrom rdf:resource="#Easy_module"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Lab5_mudule"/>
        <xsp:length>An ACS module</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lab -->

    <owl:Class rdf:about="#Lab">
        <rdfs:label>Lab</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Teaching_activity"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lab05_additions -->

    <owl:Class rdf:about="#Lab05_additions">
        <rdfs:subClassOf rdf:resource="&owl;Thing"/>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lab5_mudule -->

    <owl:Class rdf:about="#Lab5_mudule">
        <rdfs:subClassOf rdf:resource="#Lab05_additions"/>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lab_chair -->

    <owl:Class rdf:about="#Lab_chair">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_has_comfort_degree"/>
                <owl:someValuesFrom rdf:resource="#Average_comfort"/>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Chair"/>
        <xsp:length
            >Chairs in the Lab</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Laboratory -->

    <owl:Class rdf:about="#Laboratory">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_locates"/>
                <owl:someValuesFrom>
                    <owl:Class>
                        <owl:intersectionOf rdf:parseType="Collection">
                            <rdf:Description rdf:about="#Printer"/>
                            <rdf:Description rdf:about="#Personal_computer"/>
                            <rdf:Description rdf:about="#Lab_chair"/>
                            <rdf:Description rdf:about="#Table"/>
                        </owl:intersectionOf>
                    </owl:Class>
                </owl:someValuesFrom>
            </owl:Restriction>
        </owl:equivalentClass>
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_is_used_by"/>
                <owl:someValuesFrom>
                    <owl:Class>
                        <owl:intersectionOf rdf:parseType="Collection">
                            <rdf:Description rdf:about="#Student"/>
                            <rdf:Description rdf:about="#Academic_staff"/>
                        </owl:intersectionOf>
                    </owl:Class>
                </owl:someValuesFrom>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#CS_building_part"/>
        <dc:contributor
            >This class represents laboratories of a certain school</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Leasure_activity -->

    <owl:Class rdf:about="#Leasure_activity">
        <rdfs:subClassOf rdf:resource="#Lab05_additions"/>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Leasure_building -->

    <owl:Class rdf:about="#Leasure_building">
        <rdfs:subClassOf rdf:resource="#New_building"/>
        <rdfs:comment
            >This is a new building to contain all leasure activities</rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lecture -->

    <owl:Class rdf:about="#Lecture">
        <rdfs:label>Lecture</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Teaching_activity"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lecture_part -->

    <owl:Class rdf:about="#Lecture_part">
        <rdfs:subClassOf rdf:resource="#Module_part"/>
        <dc:contributor
            >The lectures part of a module</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lecture_quality -->

    <owl:Class rdf:about="#Lecture_quality">
        <rdfs:subClassOf rdf:resource="#Feature"/>
        <dc:contributor
            >The Quality of a Lecture; good, average, or bad</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lecture_room_chair -->

    <owl:Class rdf:about="#Lecture_room_chair">
        <rdfs:subClassOf rdf:resource="#Chair"/>
        <xsp:length
            >Chairs in the Lecture room</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Lecture_theater -->

    <owl:Class rdf:about="#Lecture_theater">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_locates"/>
                <owl:someValuesFrom>
                    <owl:Class>
                        <owl:intersectionOf rdf:parseType="Collection">
                            <rdf:Description rdf:about="#Table"/>
                            <rdf:Description rdf:about="#Blackboard"/>
                            <rdf:Description rdf:about="#Whiteboard"/>
                            <rdf:Description rdf:about="#Lecture_room_chair"/>
                            <rdf:Description rdf:about="#Projector"/>
                        </owl:intersectionOf>
                    </owl:Class>
                </owl:someValuesFrom>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#CS_building_part"/>
        <dc:contributor
            >This class represents the rooms used for lecturing classes</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Long_thin_format -->

    <owl:Class rdf:about="#Long_thin_format">
        <rdfs:label
            >Long_thin_format</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Module_format"/>
        <owl:disjointWith rdf:resource="#Short_fat_format"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Long_thin_module -->

    <owl:Class rdf:about="#Long_thin_module">
        <rdfs:label
            >Long_thin_module</rdfs:label>
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#hasFormat"/>
                        <owl:someValuesFrom rdf:resource="#Long_thin_format"/>
                    </owl:Restriction>
                    <rdf:Description rdf:about="#Module"/>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Machine_learning -->

    <owl:Class rdf:about="#Machine_learning">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_has_dificulty_level"/>
                        <owl:someValuesFrom rdf:resource="#Difficult_module"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_has_quality"/>
                        <owl:someValuesFrom rdf:resource="#Average_lecture"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Lab5_mudule"/>
        <owl:disjointWith rdf:resource="#Knowledge_representation"/>
        <owl:disjointWith rdf:resource="#Semantic_web"/>
        <xsp:length>An ACS module</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Male_professor -->

    <owl:Class rdf:about="#Male_professor">
        <rdfs:label>Male_professor</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Man"/>
        <rdfs:subClassOf rdf:resource="#Professor"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Man -->

    <owl:Class rdf:about="#Man">
        <rdfs:label>Man</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Module -->

    <owl:Class rdf:about="#Module">
        <rdfs:label>Module</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Teaching_unit"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Module_dificulty -->

    <owl:Class rdf:about="#Module_dificulty">
        <rdfs:subClassOf rdf:resource="#Feature"/>
        <dc:contributor
            >This features class represents the level of dificulty of modules</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Module_format -->

    <owl:Class rdf:about="#Module_format">
        <rdfs:label>Module_format</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Pattern"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Module_part -->

    <owl:Class rdf:about="#Module_part">
        <rdfs:subClassOf rdf:resource="#Specified_classes"/>
        <rdfs:comment
            >This class represents the different parts of different modules</rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Modules_with_exams -->

    <owl:Class rdf:about="#Modules_with_exams">
        <rdfs:label
            >Modules_with_exams</rdfs:label>
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#includes"/>
                        <owl:someValuesFrom rdf:resource="#Exam"/>
                    </owl:Restriction>
                    <rdf:Description rdf:about="#Module"/>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Modules_with_labs -->

    <owl:Class rdf:about="#Modules_with_labs">
        <rdfs:label
            >Modules_with_labs</rdfs:label>
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="#Module"/>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#includes"/>
                        <owl:someValuesFrom rdf:resource="#Lab"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Modules_with_lectures -->

    <owl:Class rdf:about="#Modules_with_lectures">
        <rdfs:label
            >Modules_with_lectures</rdfs:label>
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="#Module"/>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#includes"/>
                        <owl:someValuesFrom rdf:resource="#Lecture"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#New_building -->

    <owl:Class rdf:about="#New_building">
        <rdfs:subClassOf rdf:resource="#Specified_classes"/>
        <dc:contributor
            >New buildings required for Lab05 exercise</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Pattern -->

    <owl:Class rdf:about="#Pattern">
        <rdfs:label>Pattern</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Person -->

    <owl:Class rdf:about="#Person">
        <rdfs:label>Person</rdfs:label>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Personal_computer -->

    <owl:Class rdf:about="#Personal_computer">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_has_location"/>
                <owl:someValuesFrom>
                    <owl:Class>
                        <owl:intersectionOf rdf:parseType="Collection">
                            <rdf:Description rdf:about="#Academic_staff_room"/>
                            <rdf:Description rdf:about="#Laboratory"/>
                            <rdf:Description rdf:about="#Adminstration_room"/>
                        </owl:intersectionOf>
                    </owl:Class>
                </owl:someValuesFrom>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Equipment"/>
        <protege:subclassesDisjoint
            >Persoal computers used by Students and staff</protege:subclassesDisjoint>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Photocopier -->

    <owl:Class rdf:about="#Photocopier">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_uses"/>
                        <owl:someValuesFrom rdf:resource="#Stationary"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_is_used_by"/>
                        <owl:someValuesFrom rdf:resource="#Person"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Equipment"/>
        <protege:subclassesDisjoint>Photocopiers</protege:subclassesDisjoint>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Practicat_part -->

    <owl:Class rdf:about="#Practicat_part">
        <rdfs:subClassOf rdf:resource="#Module_part"/>
        <xsp:length
            >the Practical part of a module</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Printer -->

    <owl:Class rdf:about="#Printer">
        <rdfs:subClassOf rdf:resource="#Equipment"/>
        <protege:subclassesDisjoint
            >Printers attached to PC&apos;s</protege:subclassesDisjoint>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Professor -->

    <owl:Class rdf:about="#Professor">
        <rdfs:label>Professor</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Academic_staff"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Projector -->

    <owl:Class rdf:about="#Projector">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_has_location"/>
                        <owl:someValuesFrom rdf:resource="#Lecture_theater"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_is_used_by"/>
                        <owl:someValuesFrom rdf:resource="#Senior_lecturer"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Equipment"/>
        <protege:subclassesDisjoint
            >Projectors in the lecture room</protege:subclassesDisjoint>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Reader -->

    <owl:Class rdf:about="#Reader">
        <rdfs:subClassOf rdf:resource="#Staff_new_rank"/>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Required_new_classes -->

    <owl:Class rdf:about="#Required_new_classes">
        <rdfs:subClassOf rdf:resource="#Lab05_additions"/>
        <xsp:length
            >Classes not specified but required to complete the ontology</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Restaurant -->

    <owl:Class rdf:about="#Restaurant">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_locates"/>
                        <owl:someValuesFrom rdf:resource="#Table"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_locates"/>
                        <owl:someValuesFrom rdf:resource="#Restaurant_chair"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Leasure_activity"/>
        <xsp:length
            >A restaurant for visitors of  the leasure building</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Restaurant_chair -->

    <owl:Class rdf:about="#Restaurant_chair">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_has_comfort_degree"/>
                <owl:someValuesFrom rdf:resource="#Comfortable"/>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Chair"/>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Semantic_web -->

    <owl:Class rdf:about="#Semantic_web">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_has_dificulty_level"/>
                        <owl:someValuesFrom rdf:resource="#Average_module"/>
                    </owl:Restriction>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#l5_has_quality"/>
                        <owl:someValuesFrom rdf:resource="#Good_lecture"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Lab5_mudule"/>
        <owl:disjointWith rdf:resource="#Knowledge_representation"/>
        <xsp:length>An ACS module</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Senior_lecturer -->

    <owl:Class rdf:about="#Senior_lecturer">
        <rdfs:subClassOf rdf:resource="#Staff_new_rank"/>
        <xsp:length
            >A senior rank of lecturers</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Shelf -->

    <owl:Class rdf:about="#Shelf">
        <rdfs:subClassOf rdf:resource="#Furniture"/>
        <xsp:length>Shelves</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Short_fat_format -->

    <owl:Class rdf:about="#Short_fat_format">
        <rdfs:label
            >Short_fat_format</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Module_format"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Short_fat_module -->

    <owl:Class rdf:about="#Short_fat_module">
        <rdfs:label
            >Short_fat_module</rdfs:label>
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="#Module"/>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="#hasFormat"/>
                        <owl:someValuesFrom rdf:resource="#Short_fat_format"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Specified_classes -->

    <owl:Class rdf:about="#Specified_classes">
        <rdfs:subClassOf rdf:resource="#Lab05_additions"/>
        <rdfs:comment
            >This new class contains all new sub-classes relevant to Lab05. This will make it easier to trace and identify the new additions. All new added properties have &quot;l5&quot; as the first 2 letters of the property name</rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Staff_new_rank -->

    <owl:Class rdf:about="#Staff_new_rank">
        <rdfs:subClassOf rdf:resource="#Specified_classes"/>
        <dc:contributor
            >Definition of two new staff ranks; &quot;Senior Lecturer&quot; mand &quot;Rearder&quot;</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Stationary -->

    <owl:Class rdf:about="#Stationary">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_is_used_by"/>
                <owl:someValuesFrom rdf:resource="#Printer"/>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Equipment"/>
        <protege:excludedTest
            >Paper for the printer</protege:excludedTest>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Student -->

    <owl:Class rdf:about="#Student">
        <rdfs:label>Student</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Swimming -->

    <owl:Class rdf:about="#Swimming">
        <rdfs:subClassOf rdf:resource="#Leasure_activity"/>
        <xsp:length
            >A swimmig pool is available in the leasure building</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Table -->

    <owl:Class rdf:about="#Table">
        <owl:equivalentClass>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#l5_has_location"/>
                <owl:someValuesFrom rdf:resource="#CS_building_part"/>
            </owl:Restriction>
        </owl:equivalentClass>
        <rdfs:subClassOf rdf:resource="#Furniture"/>
        <xsp:length
            >Tble, the usage of it depend on the room it is in</xsp:length>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Teaching_activity -->

    <owl:Class rdf:about="#Teaching_activity">
        <rdfs:label
            >Teaching_activity</rdfs:label>
        <rdfs:subClassOf rdf:resource="&owl;Thing"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#belongsTo"/>
                <owl:someValuesFrom rdf:resource="#Teaching_unit"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#isGivenBy"/>
                <owl:someValuesFrom rdf:resource="#Academic_staff"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:comment rdf:datatype="&xsd;string"
            >Lectures, exams, labs, etc.  The events in a course or module</rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Teaching_unit -->

    <owl:Class rdf:about="#Teaching_unit">
        <rdfs:label>Teaching_unit</rdfs:label>
        <rdfs:subClassOf rdf:resource="&owl;Thing"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#isTaughtBy"/>
                <owl:someValuesFrom rdf:resource="#Academic_staff"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:comment rdf:datatype="&xsd;string"
            >Modules, courses, etc.</rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Third_year_module -->

    <owl:Class rdf:about="#Third_year_module">
        <rdfs:label
            >Third_year_module</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Module"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#hasFormat"/>
                <owl:someValuesFrom rdf:resource="#Long_thin_format"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#includes"/>
                <owl:someValuesFrom rdf:resource="#Exam"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="#includes"/>
                <owl:someValuesFrom rdf:resource="#Lecture"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Un_comfortable -->

    <owl:Class rdf:about="#Un_comfortable">
        <rdfs:subClassOf rdf:resource="#Chair_comfort"/>
        <dc:contributor
            >Uncomfortable chair</dc:contributor>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Whiteboard -->

    <owl:Class rdf:about="#Whiteboard">
        <rdfs:subClassOf rdf:resource="#Furniture"/>
        <protege:excludedTest
            >The white board in the lecture room</protege:excludedTest>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Woman -->

    <owl:Class rdf:about="#Woman">
        <rdfs:label>Woman</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Person"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml#Woman_professor -->

    <owl:Class rdf:about="#Woman_professor">
        <rdfs:label>Woman_professor</rdfs:label>
        <rdfs:subClassOf rdf:resource="#Professor"/>
        <rdfs:subClassOf rdf:resource="#Woman"/>
        <rdfs:comment rdf:datatype="&xsd;string"></rdfs:comment>
    </owl:Class>
   


    <!-- http://www.w3.org/2002/07/owl#Thing -->

    <owl:Class rdf:about="&owl;Thing">
        <rdfs:comment
            >This ontology was passed to us partially completed to complete it as course-work for Lab-05. A new class &quot;Lab05_exercise&quot; is added to contain all newly added subclasses relevant to Lab05</rdfs:comment>
    </owl:Class>
</rdf:RDF>

_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback
Reply | Threaded
Open this post in threaded view
|

Re: A big problem with Protege 4 alpha(Attn: Rinke Hoekstra and Nagy Attila)

Hussein El-Naggar
In reply to this post by Rinke Hoekstra-4
Hello Rinke and Nagy,
    I am very grateful to both of you for your immediate response. I replaced all occurences of
"file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml"
by "http://www.ontologies.com/lab05-ontologies/", and that solved the problem.
 
    I thank you very much for your help and support.
 
    Hussein El-Naggar


> From: [hidden email]
> To: [hidden email]
> Date: Wed, 7 May 2008 08:40:40 +0200
> Subject: Re: [p4-feedback] A big problem with Protege 4 alpha
>
> Hi Hussein,
>
> It looks like the RDF/XML parser cannot swallow the %20 in the base
> uri and namespace of your ontology: file:/C:/Program%20Files/
> oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml
>
> If you open your owl file in a plain text editor (eg. Notepad) and
> replace each occurrence of that string with something more sensible
> (e.g. http://www.ontologies.com/lecture-ontologies/
> teaching-1-01.daml), the parser should work fine.
>
> Cheers,
>
> Rinke
>
>
>
>
> On 7 mei 2008, at 05:01, Hussein El-Naggar wrote:
> > Hello,
> > I wonder if anyone can help me to solving my problem. I was
> > building an ontology, and every thing was fine until I finished and
> > switched my PC off. The next time I started my computer, I could not
> > start the ontology that I was building. All other ontologies in my
> > library start and work happily. Please find attached to this email a
> > copy of the ontology code and a cop[y of the error message I get and
> > the log.
> >
> > Best Regards,
> >
> > Hussein El-Naggar
> >
> > Miss your Messenger buddies when on-the-go? Get Messenger on your
> > Mobile! <ErrorMessageAndLogs.doc><University-people-
> > tangled.owl>_______________________________________________
> > p4-feedback mailing list
> > [hidden email]
> > https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
> -----------------------------------------------
> Drs. Rinke Hoekstra
>
> Email: [hidden email] Skype: rinkehoekstra
> Phone: +31-20-5253499 Fax: +31-20-5253495
> Web: http://www.leibnizcenter.org/users/rinke
>
> Leibniz Center for Law, Faculty of Law
> University of Amsterdam, PO Box 1030
> 1000 BA Amsterdam, The Netherlands
> -----------------------------------------------
>
>
>
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback



Get fish-slapping on Messenger! Play Now
_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback
Reply | Threaded
Open this post in threaded view
|

RE: A big problem with Protege 4 alpha(Attn: Rinke Hoekstra and Nagy Attila)‏

Hussein El-Naggar
In reply to this post by Rinke Hoekstra-4
Hello Rinke and Nagy,
    I am very grateful to both of you for your immediate response. I replaced all occurences of
"file:/C:/Program%20Files/oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml"
by "http://www.ontologies.com/lab05-ontologies/", and that solved the problem.
 
    I thank you very much for your help and support.
 
    Hussein El-Naggar


> From: [hidden email]
> To: [hidden email]
> Date: Wed, 7 May 2008 08:40:40 +0200
> Subject: Re: [p4-feedback] A big problem with Protege 4 alpha
>
> Hi Hussein,
>
> It looks like the RDF/XML parser cannot swallow the %20 in the base
> uri and namespace of your ontology: file:/C:/Program%20Files/
> oiled-3-5-5/ontologies/Lecture-ontologies/Teaching-1-01.daml
>
> If you open your owl file in a plain text editor (eg. Notepad) and
> replace each occurrence of that string with something more sensible
> (e.g. http://www.ontologies.com/lecture-ontologies/
> teaching-1-01.daml), the parser should work fine.
>
> Cheers,
>
> Rinke
>
>
>
>
> On 7 mei 2008, at 05:01, Hussein El-Naggar wrote:
> > Hello,
> > I wonder if anyone can help me to solving my problem. I was
> > building an ontology, and every thing was fine until I finished and
> > switched my PC off. The next time I started my computer, I could not
> > start the ontology that I was building. All other ontologies in my
> > library start and work happily. Please find attached to this email a
> > copy of the ontology code and a cop[y of the error message I get and
> > the log.
> >
> > Best Regards,
> >
> > Hussein El-Naggar
> >
> > Miss your Messenger buddies when on-the-go? Get Messenger on your
> > Mobile! <ErrorMessageAndLogs.doc><University-people-
> > tangled.owl>_______________________________________________
> > p4-feedback mailing list
> > [hidden email]
> > https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
> -----------------------------------------------
> Drs. Rinke Hoekstra
>
> Email: [hidden email] Skype: rinkehoekstra
> Phone: +31-20-5253499 Fax: +31-20-5253495
> Web: http://www.leibnizcenter.org/users/rinke
>
> Leibniz Center for Law, Faculty of Law
> University of Amsterdam, PO Box 1030
> 1000 BA Amsterdam, The Netherlands
> -----------------------------------------------
>
>
>
> _______________________________________________
> p4-feedback mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback


Get fish-slapping on Messenger! Play Now
_______________________________________________
p4-feedback mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/p4-feedback