From: Rob V. <rv...@vd...> - 2012-06-21 16:12:16
|
Hi Pier The files are not supposed to be readable by humans they are Lucene indexes understood by Lucene! [1] The indexer.Index(this.GetTestData()) was a typo, I have corrected it now. You can call indexer.Index() with any Triple, IGraph, or ISparqlDataset instance. In the example note the line at the start: //This example assumes we've already created our index in a folder called example The example is assuming you've already created an index and populated it, if the index has not been created or populated then provider.Match() is never going to be able to return any answers Rob [1]: http://lucene.apache.org From: "Buongiorno, Pierluigi" <pbu...@es...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Thursday, June 21, 2012 12:46 AM To: Cray Employee <rv...@do...>, "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] R: search string "contains" > Hi Rob! > Thank you for answering, > I already tried to do what you suggest, but it doesn¹t work. > According the guide > http://www.dotnetrdf.org/content.asp?pageID=Full%20Text%20Querying%20with%20SP > ARQL > I created the calls for indexing the rdf, but the files resulting are > unreadable. It generates 2 files: > segments_1 > segments.gen > both of them contain a line with unreadable simbols, and the next class > FullTextSearchExample doesn¹t return any result after the provider.Match > Can you help me? > I want also ask about the call to method: indexer.Index(this.GetTestData()); > present in the FullTextIndexingExample, it returns me an errore saying that is > impossible to call this in a static method. > I don¹t know how to proceed, please suggest me what to do! > Thanks you all! > > > Da: Rob Vesse [mailto:rv...@do...] > Inviato: mercoledì 20 giugno 2012 23:04 > A: dotNetRDF User Help and Support > Cc: Buongiorno, Pierluigi > Oggetto: Re: [dotNetRDF-Support] search string "contains" > > > Hi Pier > > > > Have you taken a look at the documentation on Full Text Querying with SPARQL > [1]? > > > > This is a SPARQL extension supported by dotNetRDF that uses Lucene to provide > full text search capabilities over RDF. You can plug it in so SPARQL queries > can use full text style searches or you can use the underlying API provided in > the dotNetRDF.Query.FullText library directly to index and search RDF graphs. > > > > Hope this helps, > > > > Rob Vesse > > > > [1] > http://www.dotnetrdf.org/content.asp?pageID=Full%20Text%20Querying%20with%20SP > ARQL > > > > From: "Buongiorno, Pierluigi" <pbu...@es...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Wednesday, June 20, 2012 6:36 AM > To: "dot...@li..." > <dot...@li...> > Subject: [dotNetRDF-Support] search string "contains" > > >> >> Hi, >> I would kmow if there is a way to search an element in a owl/rdf file giving >> a substring, or a ³Like² text >> For example if I enter the string ³Godfather², I can have the result ³The >> Godfather² (that is the correct string present in the owl/rdf file) >> Thanks you all >> Pier >> >> >> >> Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, >> contiene información de carácter confidencial exclusivamente dirigida a su >> destinatario o destinatarios. Si no es vd. el destinatario indicado, queda >> notificado que la lectura, utilización, divulgación y/o copia sin >> autorización está prohibida en virtud de la legislación vigente. En el caso >> de haber recibido este correo electrónico por error, se ruega notificar >> inmediatamente esta circunstancia mediante reenvío a la dirección electrónica >> del remitente. >> Evite imprimir este mensaje si no es estrictamente necesario. >> >> This email and any file attached to it (when applicable) contain(s) >> confidential information that is exclusively addressed to its recipient(s). >> If you are not the indicated recipient, you are informed that reading, using, >> disseminating and/or copying it without authorisation is forbidden in >> accordance with the legislation in effect. If you have received this email by >> mistake, please immediately notify the sender of the situation by resending >> it to their email address. >> Avoid printing this message if it is not absolutely necessary. >> ----------------------------------------------------------------------------- >> - Live Security Virtual Conference Exclusive live event will cover all the >> ways today's security and threat landscape has changed and how IT managers >> can respond. Discussions will include endpoint security, mobile security and >> the latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/____________________ >> ___________________________ dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > > > Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, > contiene información de carácter confidencial exclusivamente dirigida a su > destinatario o destinatarios. Si no es vd. el destinatario indicado, queda > notificado que la lectura, utilización, divulgación y/o copia sin autorización > está prohibida en virtud de la legislación vigente. En el caso de haber > recibido este correo electrónico por error, se ruega notificar inmediatamente > esta circunstancia mediante reenvío a la dirección electrónica del remitente. > Evite imprimir este mensaje si no es estrictamente necesario. > > This email and any file attached to it (when applicable) contain(s) > confidential information that is exclusively addressed to its recipient(s). If > you are not the indicated recipient, you are informed that reading, using, > disseminating and/or copying it without authorisation is forbidden in > accordance with the legislation in effect. If you have received this email by > mistake, please immediately notify the sender of the situation by resending it > to their email address. > Avoid printing this message if it is not absolutely necessary. > ------------------------------------------------------------------------------ > Live Security Virtual Conference Exclusive live event will cover all the ways > today's security and threat landscape has changed and how IT managers can > respond. Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_____________________ > __________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |