lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khgcutg hsowhj <hemanbegi...@yahoo.com>
Subject indexing and searching semantic documents using lucene
Date Mon, 04 Sep 2006 16:38:13 GMT
Hi all,
   
    I want to know how can i index and search a semantic document like rdf/owl document using
lucene.Does lucene support indexing of semantic documents.please provide some sample example.for
example if i have a small ontology of faculty.owl as
  

   <owl:Class rdf:ID="associateProfessor">
      <rdfs:subClassOf rdf:resource="#academicStaffMember"/>
   </owl:Class>

   <owl:Class rdf:about="associateProfessor">
      <owl:disjointWith rdf:resource="#professor"/>
      <owl:disjointWith rdf:resource="#assistantProfessor"/>
   </owl:Class>

   <owl:Class rdf:ID="faculty">
      <owl:equivalentClass rdf:resource="#academicStaffMember"/>
   </owl:Class>

   <owl:ObjectProperty rdf:ID="isTaughtBy">
      <rdfs:domain rdf:resource="#course"/>
      <rdfs:range rdf:resource="#academicStaffMember"/>
      <rdfs:subPropertyOf rdf:resource="#involves"/>
   </owl:ObjectProperty>

   <owl:ObjectProperty rdf:ID="teaches">
      <rdfs:range rdf:resource="#course"/>
      <rdfs:domain rdf:resource="#academicStaffMember"/>
      <owl:inverseOf rdf:resource="#isTaughtBy"/>
   </owl:ObjectProperty>

   <owl:Class rdf:about="#firstYearCourse">
      <rdfs:subClassOf>
         <owl:Restriction>
            <owl:onProperty rdf:resource="#isTaughtBy"/>
            <owl:allValuesFrom rdf:resource="#Professor"/>
         </owl:Restriction>
      </rdfs:subClassOf>
   </owl:Class>

   <owl:Class rdf:about="#course">
      <rdfs:subClassOf>
         <owl:Restriction>
            <owl:onProperty rdf:resource="#isTaughtBy"/>
            <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
         </owl:Restriction>
      </rdfs:subClassOf>
   </owl:Class>

   <owl:Class rdf:ID="peopleAtUni">
      <owl:unionOf rdf:parseType="Collection">
      <owl:Class rdf:about="#staffMember"/>
      <owl:Class rdf:about="#student"/>
      </owl:unionOf>
   </owl:Class>

Some instances

   <academicStaffMember rdf:ID="949352">
      <uni:age rdf:datatype="&xsd;integer">39<uni:age>
   </academicStaffMember>

   <course rdf:about="CIT1111">
      <isTaughtBy rdf:resource="949318"/>
      <isTaughtBy rdf:resource="949352"/>
   </course>
   
   
  how can i index this faculty.owl using lucene.Also please  provide any literature or papers
related to semantic document indexing and searching using lucene if know some.Any type of
help is appreciated.
   
   
  Best regards,
  Rahul

 			
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message