Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Cocoon - MVC web framework based on XML/XSL
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Servlet File Download dialog problem (IE6,Adobe 6 0)
Proposal: Adding jar manifest classpath in jar and war plugins
Unsupported major minor version 48 0 problem while running the an
   telope task
java security AccessControlException: access denied (java io FilePermission
axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
jsp data into Excel
Classpath problem
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Running junit tests fails
XDoclet, Struts and Maven: Where to start? SOLUTION
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
AXIS: tomcat timeout ?
 
Indexing a RDF document using lucene

Indexing a RDF document using lucene

2007-02-08       - By phani kumar

 Back
Reply:     1     2     3  

Hi,

I want to index a rdf document using lucene.RDF consists of a subject
,predicate ,object(as triples).suppose given a set of keywords defining a
search,we want to match the URIrefs containg those keywords.so how can i
index the triples using the lucene.please provide some help how to hash each
URIres to token and index the docucument using lucene.For example

<?xml version="1.0"?><rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:si="http://www.recshop.fake/siteinfo#">
<rdf:Description rdf:about="http://www.w3schools.com/RDF">
<si:author>Jan</si:author>
<si:homepage>http://www.w3schools.com</si:homepage>
</rdf:Description>
</rdf:RDF>


subject predicate object

{http://www.w3schools.com/RDF, http://www.recshop.fake/siteinfo#author ,
"Jan" }


{http://www.w3schools.com/RDF ,http://www.recshop.fake/siteinfo#homepage, "
http://www.w3schools.com"}



in above rdf document the subject, predicate,object are given,in some cases
an object can also be an URIref. how can i index this document using
lucene.how can URIrefs indexed along string literals using
lucene.pleasegive some help on indexing and searching on RDF
documents.


Thank you.
phani.