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] Problem Inserting data into OWL

Timothy Redmond tredmond at stanford.edu
Mon Mar 8 05:46:26 PST 2010


There are a lot abbreviations possible in RDF and it has become common 
practice to expect some of them in owl files. Your example syntax is 
just one of the many valid ways of representing the owl file. If you 
want Jena to write the file in a format that looks more familiar, there 
is an option somewhere that does the trick. It is something like 
"RDF/XML-ABBREV" and it is included as one of the options in the save call.

-Timothy


faizan_fs wrote:
> hi,
>
> we are making a semantic search engine.
> we've made an owl or rdf/xml file in protege 3.4.2
>
> We are using Jena API.
> Our OWL file is given below..
>
> when i add insert data into this owl file using jena then it produces a
> different syntax 
> for example:
> <rdf:Description rdf:about="http://somewhere/JohnSmith">
>     <vcard:FN>John Smith</vcard:FN>
>   </rdf:Description>
>
> Which is completely different from our OWL file. 
> please help which API should we use or any help.
>
> We really appreciate your help.
> Thanks.
>
>
> <?xml version="1.0"?>
> <rdf:RDF
>     xmlns="http://www.owl-ontologies.com/Ontology1264743520.owl#"
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>     xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
>     xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#"
>     xmlns:owl="http://www.w3.org/2002/07/owl#"
>     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
>     xmlns:swrl="http://www.w3.org/2003/11/swrl#"
>     xmlns:swrlb="http://www.w3.org/2003/11/swrlb#"
>     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
>   xml:base="http://www.owl-ontologies.com/Ontology1264743520.owl">
>   <owl:Ontology rdf:about=""/>
>   <owl:Class rdf:ID="OurResources"/>
>   <owl:Class rdf:ID="Scanners">
>     <owl:disjointWith>
>       <owl:Class rdf:ID="FaxMachine"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Labs"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Library"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Playground"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Printers"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="SportsComplex"/>
>     </owl:disjointWith>
>     <rdfs:subClassOf rdf:resource="#OurResources"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Printers">
>     <rdfs:subClassOf rdf:resource="#OurResources"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#FaxMachine"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Labs"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Library"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Playground"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#SportsComplex"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Scanners"/>
>   </owl:Class>
>   <owl:Class rdf:ID="Phd">
>     <rdfs:subClassOf>
>       <owl:Class rdf:ID="Programs"/>
>     </rdfs:subClassOf>
>   </owl:Class>
>   <owl:Class rdf:ID="MS">
>     <rdfs:subClassOf>
>       <owl:Class rdf:about="#Programs"/>
>     </rdfs:subClassOf>
>   </owl:Class>
>   <owl:Class rdf:ID="Faculty">
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Facilities"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Thesis"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Student"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Staff"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Organization"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Funds"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:ID="MS_Thesis">
>     <owl:disjointWith>
>       <owl:Class rdf:ID="PHD_Thesis"/>
>     </owl:disjointWith>
>     <rdfs:subClassOf>
>       <owl:Class rdf:about="#Thesis"/>
>     </rdfs:subClassOf>
>   </owl:Class>
>   <owl:Class rdf:about="#Funds">
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Facilities"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Faculty"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Thesis"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Student"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Staff"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Organization"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:about="#Thesis">
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Facilities"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Faculty"/>
>     <owl:disjointWith rdf:resource="#Funds"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Organization"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Staff"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Student"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:ID="BS">
>     <rdfs:subClassOf>
>       <owl:Class rdf:about="#Programs"/>
>     </rdfs:subClassOf>
>   </owl:Class>
>   <owl:Class rdf:ID="ResearchProjects">
>     <rdfs:subClassOf>
>       <owl:Class rdf:ID="Research"/>
>     </rdfs:subClassOf>
>   </owl:Class>
>   <owl:Class rdf:ID="Books">
>     <rdfs:subClassOf rdf:resource="#OurResources"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Labs">
>     <rdfs:subClassOf>
>       <owl:Class rdf:about="#Facilities"/>
>     </rdfs:subClassOf>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#FaxMachine"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#SportsComplex"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Playground"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Scanners"/>
>     <owl:disjointWith rdf:resource="#Printers"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Library"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:about="#FaxMachine">
>     <rdfs:subClassOf rdf:resource="#OurResources"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Playground"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Scanners"/>
>     <owl:disjointWith rdf:resource="#Printers"/>
>     <owl:disjointWith rdf:resource="#Labs"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Library"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#SportsComplex"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:about="#Library">
>     <owl:disjointWith>
>       <owl:Class rdf:about="#SportsComplex"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Labs"/>
>     <owl:disjointWith rdf:resource="#FaxMachine"/>
>     <owl:disjointWith rdf:resource="#Scanners"/>
>     <owl:disjointWith rdf:resource="#Printers"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Playground"/>
>     </owl:disjointWith>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:someValuesFrom>
>           <owl:Class>
>             <owl:intersectionOf rdf:parseType="Collection">
>               <owl:Class rdf:about="#Books"/>
>               <owl:Class rdf:ID="Journals"/>
>             </owl:intersectionOf>
>           </owl:Class>
>         </owl:someValuesFrom>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="IsSubscribedTo"/>
>         </owl:onProperty>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Class rdf:about="#Facilities"/>
>     </rdfs:subClassOf>
>   </owl:Class>
>   <owl:Class rdf:about="#Organization">
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Facilities"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Faculty"/>
>     <owl:disjointWith rdf:resource="#Funds"/>
>     <owl:disjointWith rdf:resource="#Thesis"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Student"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Staff"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:ID="Depatments">
>     <rdfs:subClassOf rdf:resource="#Organization"/>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Campuses"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Programs"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:about="#Student">
>     <owl:disjointWith rdf:resource="#Thesis"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Facilities"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Faculty"/>
>     <owl:disjointWith rdf:resource="#Funds"/>
>     <owl:disjointWith rdf:resource="#Organization"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Staff"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:ID="Fyp_Lab">
>     <rdfs:subClassOf rdf:resource="#Labs"/>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Research_Labs"/>
>     </owl:disjointWith>
>     <owl:disjointWith>
>       <owl:Class rdf:ID="Practical_Labs"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:about="#SportsComplex">
>     <rdfs:subClassOf>
>       <owl:Class rdf:about="#Facilities"/>
>     </rdfs:subClassOf>
>     <owl:disjointWith rdf:resource="#Labs"/>
>     <owl:disjointWith rdf:resource="#FaxMachine"/>
>     <owl:disjointWith rdf:resource="#Library"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Playground"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Printers"/>
>     <owl:disjointWith rdf:resource="#Scanners"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Campuses">
>     <owl:disjointWith rdf:resource="#Depatments"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Programs"/>
>     </owl:disjointWith>
>     <rdfs:subClassOf rdf:resource="#Organization"/>
>   </owl:Class>
>   <owl:Class rdf:ID="University">
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:someValuesFrom rdf:resource="#Funds"/>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="HasSpent"/>
>         </owl:onProperty>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="IsAdministrating"/>
>         </owl:onProperty>
>         <owl:someValuesFrom>
>           <owl:Class rdf:about="#Programs"/>
>         </owl:someValuesFrom>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="IsOrganized_In"/>
>         </owl:onProperty>
>         <owl:someValuesFrom rdf:resource="#Depatments"/>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:someValuesFrom rdf:resource="#Student"/>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="HasEnrolled"/>
>         </owl:onProperty>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="IsSecuredBy"/>
>         </owl:onProperty>
>         <owl:someValuesFrom>
>           <owl:Class rdf:ID="SecurityStaff"/>
>         </owl:someValuesFrom>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="hasPlayed"/>
>         </owl:onProperty>
>         <owl:someValuesFrom>
>           <owl:Class rdf:ID="Games"/>
>         </owl:someValuesFrom>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:someValuesFrom rdf:resource="#Faculty"/>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="HasFaculty"/>
>         </owl:onProperty>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:someValuesFrom>
>           <owl:Class rdf:ID="AdministrativeStaff"/>
>         </owl:someValuesFrom>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="IsAdministritedBy"/>
>         </owl:onProperty>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>     <rdfs:subClassOf>
>       <owl:Restriction>
>         <owl:someValuesFrom rdf:resource="#Funds"/>
>         <owl:onProperty>
>           <owl:ObjectProperty rdf:ID="HasGenerated"/>
>         </owl:onProperty>
>       </owl:Restriction>
>     </rdfs:subClassOf>
>   </owl:Class>
>   <owl:Class rdf:about="#Facilities">
>     <owl:disjointWith rdf:resource="#Faculty"/>
>     <owl:disjointWith rdf:resource="#Thesis"/>
>     <owl:disjointWith rdf:resource="#Student"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Staff"/>
>     </owl:disjointWith>
>     <owl:disjointWith rdf:resource="#Organization"/>
>     <owl:disjointWith rdf:resource="#Funds"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Research_Labs">
>     <rdfs:subClassOf rdf:resource="#Labs"/>
>     <owl:disjointWith rdf:resource="#Fyp_Lab"/>
>     <owl:disjointWith>
>       <owl:Class rdf:about="#Practical_Labs"/>
>     </owl:disjointWith>
>   </owl:Class>
>   <owl:Class rdf:about="#Programs">
>     <owl:disjointWith rdf:resource="#Campuses"/>
>     <owl:disjointWith rdf:resource="#Depatments"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Playground">
>     <owl:disjointWith rdf:resource="#FaxMachine"/>
>     <owl:disjointWith rdf:resource="#Labs"/>
>     <owl:disjointWith rdf:resource="#Library"/>
>     <owl:disjointWith rdf:resource="#SportsComplex"/>
>     <owl:disjointWith rdf:resource="#Scanners"/>
>     <owl:disjointWith rdf:resource="#Printers"/>
>     <rdfs:subClassOf rdf:resource="#Facilities"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Staff">
>     <owl:disjointWith rdf:resource="#Faculty"/>
>     <owl:disjointWith rdf:resource="#Funds"/>
>     <owl:disjointWith rdf:resource="#Organization"/>
>     <owl:disjointWith rdf:resource="#Thesis"/>
>     <owl:disjointWith rdf:resource="#Student"/>
>     <owl:disjointWith rdf:resource="#Facilities"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Practical_Labs">
>     <owl:disjointWith rdf:resource="#Fyp_Lab"/>
>     <owl:disjointWith rdf:resource="#Research_Labs"/>
>     <rdfs:subClassOf rdf:resource="#Labs"/>
>   </owl:Class>
>   <owl:Class rdf:about="#PHD_Thesis">
>     <rdfs:subClassOf rdf:resource="#Thesis"/>
>     <owl:disjointWith rdf:resource="#MS_Thesis"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Games">
>     <rdfs:subClassOf rdf:resource="#Facilities"/>
>   </owl:Class>
>   <owl:Class rdf:about="#SecurityStaff">
>     <owl:disjointWith>
>       <owl:Class rdf:about="#AdministrativeStaff"/>
>     </owl:disjointWith>
>     <rdfs:subClassOf rdf:resource="#Staff"/>
>   </owl:Class>
>   <owl:Class rdf:about="#Journals">
>     <rdfs:subClassOf rdf:resource="#OurResources"/>
>   </owl:Class>
>   <owl:Class rdf:about="#AdministrativeStaff">
>     <rdfs:subClassOf rdf:resource="#Staff"/>
>     <owl:disjointWith rdf:resource="#SecurityStaff"/>
>   </owl:Class>
>   <owl:Class rdf:ID="ConferencePapers">
>     <rdfs:subClassOf rdf:resource="#Research"/>
>   </owl:Class>
>   <owl:ObjectProperty rdf:ID="hasFunds">
>     <rdfs:domain rdf:resource="#University"/>
>     <rdfs:range rdf:resource="#Funds"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#IsAdministritedBy">
>     <rdfs:domain rdf:resource="#University"/>
>     <rdfs:range rdf:resource="#AdministrativeStaff"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:ID="hasteam">
>     <rdfs:domain rdf:resource="#University"/>
>     <rdfs:range rdf:resource="#Games"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#IsOrganized_In">
>     <rdfs:range rdf:resource="#Depatments"/>
>     <rdfs:domain rdf:resource="#University"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#HasFaculty">
>     <rdfs:domain rdf:resource="#University"/>
>     <rdfs:range rdf:resource="#Faculty"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#HasEnrolled">
>     <rdfs:range rdf:resource="#Student"/>
>     <rdfs:domain rdf:resource="#University"/>
>     <owl:inverseOf>
>       <owl:ObjectProperty rdf:ID="isEnrolled"/>
>     </owl:inverseOf>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:ID="hasLabs">
>     <rdfs:range>
>       <owl:Class>
>         <owl:unionOf rdf:parseType="Collection">
>           <owl:Class rdf:about="#Fyp_Lab"/>
>           <owl:Class rdf:about="#Practical_Labs"/>
>           <owl:Class rdf:about="#Research_Labs"/>
>         </owl:unionOf>
>       </owl:Class>
>     </rdfs:range>
>     <rdfs:domain rdf:resource="#University"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#isEnrolled">
>     <rdfs:domain rdf:resource="#Student"/>
>     <owl:inverseOf rdf:resource="#HasEnrolled"/>
>     <rdfs:range rdf:resource="#University"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:ID="HasPublished">
>     <rdfs:domain rdf:resource="#University"/>
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
>     <rdfs:range rdf:resource="#ConferencePapers"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:ID="hasFacilityOf">
>     <rdfs:range>
>       <owl:Class>
>         <owl:unionOf rdf:parseType="Collection">
>           <owl:Class rdf:about="#Games"/>
>           <owl:Class rdf:about="#Fyp_Lab"/>
>           <owl:Class rdf:about="#Research_Labs"/>
>           <owl:Class rdf:about="#Practical_Labs"/>
>           <owl:Class rdf:about="#SportsComplex"/>
>           <owl:Class rdf:about="#Playground"/>
>           <owl:Class rdf:about="#Library"/>
>         </owl:unionOf>
>       </owl:Class>
>     </rdfs:range>
>     <rdfs:domain rdf:resource="#University"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#IsSecuredBy">
>     <rdfs:domain rdf:resource="#University"/>
>     <rdfs:range rdf:resource="#SecurityStaff"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#IsSubscribedTo">
>     <rdfs:domain rdf:resource="#Library"/>
>     <rdfs:range>
>       <owl:Class>
>         <owl:unionOf rdf:parseType="Collection">
>           <owl:Class rdf:about="#ConferencePapers"/>
>           <owl:Class rdf:about="#Books"/>
>           <owl:Class rdf:about="#Journals"/>
>         </owl:unionOf>
>       </owl:Class>
>     </rdfs:range>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#hasPlayed">
>     <rdfs:domain rdf:resource="#University"/>
>     <rdfs:range rdf:resource="#Games"/>
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#HasGenerated">
>     <rdfs:range rdf:resource="#Funds"/>
>     <rdfs:domain rdf:resource="#University"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#HasSpent">
>     <rdfs:range rdf:resource="#Funds"/>
>     <rdfs:domain rdf:resource="#University"/>
>   </owl:ObjectProperty>
>   <owl:ObjectProperty rdf:about="#IsAdministrating">
>     <rdfs:range>
>       <owl:Class>
>         <owl:unionOf rdf:parseType="Collection">
>           <owl:Class rdf:about="#Programs"/>
>           <owl:Class rdf:about="#Phd"/>
>           <owl:Class rdf:about="#BS"/>
>           <owl:Class rdf:about="#MS"/>
>         </owl:unionOf>
>       </owl:Class>
>     </rdfs:range>
>     <rdfs:domain rdf:resource="#University"/>
>   </owl:ObjectProperty>
>   <owl:DatatypeProperty rdf:ID="fundsAmount">
>     <rdfs:domain rdf:resource="#Funds"/>
>     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
>   </owl:DatatypeProperty>
>   <owl:FunctionalProperty rdf:ID="NumberOfLabs">
>     <rdfs:domain>
>       <owl:Class>
>         <owl:unionOf rdf:parseType="Collection">
>           <owl:Class rdf:about="#Fyp_Lab"/>
>           <owl:Class rdf:about="#Practical_Labs"/>
>           <owl:Class rdf:about="#Research_Labs"/>
>         </owl:unionOf>
>       </owl:Class>
>     </rdfs:domain>
>     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
>   </owl:FunctionalProperty>
>   <owl:FunctionalProperty rdf:ID="NumbOfComputers">
>     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
>     <rdfs:domain>
>       <owl:Class>
>         <owl:unionOf rdf:parseType="Collection">
>           <owl:Class rdf:about="#Fyp_Lab"/>
>           <owl:Class rdf:about="#Practical_Labs"/>
>           <owl:Class rdf:about="#Research_Labs"/>
>         </owl:unionOf>
>       </owl:Class>
>     </rdfs:domain>
>   </owl:FunctionalProperty>
>   <owl:FunctionalProperty rdf:ID="NumbOfSecurityStaff">
>     <rdfs:domain rdf:resource="#SecurityStaff"/>
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
>     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
>   </owl:FunctionalProperty>
>   <owl:FunctionalProperty rdf:ID="hasStudentStrength">
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
>     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
>     <rdfs:domain rdf:resource="#Student"/>
>   </owl:FunctionalProperty>
>   <owl:FunctionalProperty rdf:ID="NumberOfAdministrativeStaff">
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
>     <rdfs:domain rdf:resource="#AdministrativeStaff"/>
>     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
>   </owl:FunctionalProperty>
>   <owl:FunctionalProperty rdf:ID="hasFacultyStrength">
>     <rdfs:domain rdf:resource="#Faculty"/>
>     <rdf:type
> rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
>     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
>   </owl:FunctionalProperty>
>   <University rdf:ID="LUMS"/>
>   <Books rdf:ID="Books_33"/>
>   <Journals rdf:ID="Journals_37"/>
>   <Printers rdf:ID="LaserPrinter"/>
>   <ResearchProjects rdf:ID="ResearchProjects_31"/>
>   <Books rdf:ID="Books_34"/>
>   <PHD_Thesis rdf:ID="PHD_Thesis_43"/>
>   <ResearchProjects rdf:ID="ResearchProjects_30"/>
>   <FaxMachine rdf:ID="FaxMachine_39"/>
>   <Campuses rdf:ID="FAST_Peshawar"/>
>   <PHD_Thesis rdf:ID="PHD_Thesis_44"/>
>   <Scanners rdf:ID="HpScanner"/>
>   <Campuses rdf:ID="FAST_Islamabad"/>
>   <FaxMachine rdf:ID="FaxMachine_40"/>
>   <MS_Thesis rdf:ID="MS_Thesis_42"/>
>   <University rdf:ID="GIK"/>
>   <Campuses rdf:ID="FAST_Lahore"/>
>   <Books rdf:ID="Books_32"/>
>   <MS_Thesis rdf:ID="MS_Thesis_41"/>
>   <Printers rdf:ID="DotMatrix"/>
>   <Journals rdf:ID="Journals_36"/>
>   <Campuses rdf:ID="FAST_Karachi"/>
>   <University rdf:ID="Fast">
>     <IsOrganized_In>
>       <Depatments rdf:ID="Telecommunication"/>
>     </IsOrganized_In>
>     <hasteam>
>       <Games rdf:ID="Football"/>
>     </hasteam>
>     <hasPlayed>
>       <Games rdf:ID="Cricket"/>
>     </hasPlayed>
>     <hasFunds>
>       <Funds rdf:ID="DecsFund">
>         <fundsAmount rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >30000</fundsAmount>
>       </Funds>
>     </hasFunds>
>     <IsOrganized_In>
>       <Depatments rdf:ID="ComputerScience"/>
>     </IsOrganized_In>
>     <IsAdministrating>
>       <MS rdf:ID="MS_ComputerScience"/>
>     </IsAdministrating>
>     <hasteam rdf:resource="#Cricket"/>
>     <IsAdministritedBy>
>       <AdministrativeStaff rdf:ID="AdministrativeStaff_48">
>         <NumberOfAdministrativeStaff
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >30</NumberOfAdministrativeStaff>
>       </AdministrativeStaff>
>     </IsAdministritedBy>
>     <IsAdministrating>
>       <BS rdf:ID="BS_Telecom"/>
>     </IsAdministrating>
>     <HasPublished>
>       <ConferencePapers rdf:ID="ConferencePapers_28"/>
>     </HasPublished>
>     <HasEnrolled>
>       <Student rdf:ID="FAST_BSStudent">
>         <hasStudentStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >600</hasStudentStrength>
>         <isEnrolled rdf:resource="#Fast"/>
>       </Student>
>     </HasEnrolled>
>     <HasGenerated rdf:resource="#DecsFund"/>
>     <hasLabs>
>       <Practical_Labs rdf:ID="Practical_Labs_46">
>         <NumbOfComputers rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >250</NumbOfComputers>
>         <NumberOfLabs rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >6</NumberOfLabs>
>       </Practical_Labs>
>     </hasLabs>
>     <HasFaculty>
>       <Faculty rdf:ID="Associate_Professor">
>         <hasFacultyStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >20</hasFacultyStrength>
>       </Faculty>
>     </HasFaculty>
>     <hasFacilityOf>
>       <SportsComplex rdf:ID="theSportsComplex"/>
>     </hasFacilityOf>
>     <HasEnrolled>
>       <Student rdf:ID="FAST_MSStudent">
>         <hasStudentStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >100</hasStudentStrength>
>         <isEnrolled rdf:resource="#Fast"/>
>       </Student>
>     </HasEnrolled>
>     <hasFacilityOf>
>       <Library rdf:ID="TheLibrary">
>         <IsSubscribedTo>
>           <ConferencePapers rdf:ID="ConferencePapers_29"/>
>         </IsSubscribedTo>
>         <IsSubscribedTo rdf:resource="#ConferencePapers_28"/>
>       </Library>
>     </hasFacilityOf>
>     <HasEnrolled>
>       <Student rdf:ID="FAST_PhdStudent">
>         <isEnrolled rdf:resource="#Fast"/>
>         <hasStudentStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >100</hasStudentStrength>
>       </Student>
>     </HasEnrolled>
>     <hasPlayed rdf:resource="#Football"/>
>     <hasLabs>
>       <Research_Labs rdf:ID="Research_Labs_47">
>         <NumberOfLabs rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >2</NumberOfLabs>
>         <NumbOfComputers rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >20</NumbOfComputers>
>       </Research_Labs>
>     </hasLabs>
>     <hasPlayed>
>       <Games rdf:ID="BasketBall"/>
>     </hasPlayed>
>     <hasFacilityOf>
>       <Playground rdf:ID="CricketPlayground"/>
>     </hasFacilityOf>
>     <IsOrganized_In>
>       <Depatments rdf:ID="BBA"/>
>     </IsOrganized_In>
>     <hasFacilityOf>
>       <Playground rdf:ID="BasketballCourt"/>
>     </hasFacilityOf>
>     <HasFaculty>
>       <Faculty rdf:ID="Professor">
>         <hasFacultyStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >15</hasFacultyStrength>
>       </Faculty>
>     </HasFaculty>
>     <HasSpent rdf:resource="#DecsFund"/>
>     <IsAdministrating>
>       <BS rdf:ID="BS_ComputerScience"/>
>     </IsAdministrating>
>     <hasFacilityOf>
>       <Playground rdf:ID="VolleyballCourt"/>
>     </hasFacilityOf>
>     <IsSecuredBy>
>       <SecurityStaff rdf:ID="SecurityStaff_49">
>         <NumbOfSecurityStaff
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >10</NumbOfSecurityStaff>
>       </SecurityStaff>
>     </IsSecuredBy>
>     <IsAdministrating>
>       <Phd rdf:ID="Phd_ComputerScience"/>
>     </IsAdministrating>
>     <hasFunds>
>       <Funds rdf:ID="SporticsFund">
>         <fundsAmount rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >10000</fundsAmount>
>       </Funds>
>     </hasFunds>
>     <HasFaculty>
>       <Faculty rdf:ID="Assistant_Professor">
>         <hasFacultyStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >15</hasFacultyStrength>
>       </Faculty>
>     </HasFaculty>
>     <IsAdministrating>
>       <BS rdf:ID="BS_ComputerEngineering"/>
>     </IsAdministrating>
>     <HasFaculty>
>       <Faculty rdf:ID="PhdProfessor">
>         <hasFacultyStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >10</hasFacultyStrength>
>       </Faculty>
>     </HasFaculty>
>     <IsAdministrating>
>       <MS rdf:ID="MS_Business"/>
>     </IsAdministrating>
>     <HasFaculty>
>       <Faculty rdf:ID="Lecturer">
>         <hasFacultyStrength
> rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >20</hasFacultyStrength>
>       </Faculty>
>     </HasFaculty>
>     <IsAdministrating>
>       <BS rdf:ID="BS_BBA"/>
>     </IsAdministrating>
>     <hasteam rdf:resource="#BasketBall"/>
>     <HasPublished rdf:resource="#ConferencePapers_29"/>
>     <HasSpent rdf:resource="#SporticsFund"/>
>     <hasLabs>
>       <Fyp_Lab rdf:ID="Fyp_Lab_45">
>         <NumberOfLabs rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >1</NumberOfLabs>
>         <NumbOfComputers rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>         >40</NumbOfComputers>
>       </Fyp_Lab>
>     </hasLabs>
>     <HasGenerated rdf:resource="#SporticsFund"/>
>   </University>
> </rdf:RDF>
>
> <!-- Created with Protege (with OWL Plugin 3.4.2, Build 562) 
> http://protege.stanford.edu -->
>
>   




More information about the protege-owl mailing list