lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Indexing a RDF document using lucene
Date Thu, 08 Feb 2007 18:39:28 GMT
Elaborate on your querying needs :)

	Erik


On Feb 8, 2007, at 1:18 PM, phani kumar wrote:

> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message