You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
(3) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(9) |
Dec
(4) |
2011 |
Jan
(1) |
Feb
(6) |
Mar
(9) |
Apr
(9) |
May
(20) |
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(6) |
Oct
(3) |
Nov
(13) |
Dec
(1) |
2012 |
Jan
(1) |
Feb
(12) |
Mar
(5) |
Apr
(8) |
May
|
Jun
(25) |
Jul
(7) |
Aug
(4) |
Sep
(14) |
Oct
(5) |
Nov
(22) |
Dec
(6) |
2013 |
Jan
(18) |
Feb
(28) |
Mar
(11) |
Apr
(18) |
May
(4) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
(4) |
Oct
(4) |
Nov
(6) |
Dec
(7) |
2014 |
Jan
(9) |
Feb
(15) |
Mar
(14) |
Apr
(7) |
May
(5) |
Jun
(15) |
Jul
(2) |
Aug
(6) |
Sep
(5) |
Oct
(7) |
Nov
(9) |
Dec
(16) |
2015 |
Jan
(4) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
(15) |
Jul
(8) |
Aug
|
Sep
(4) |
Oct
|
Nov
(4) |
Dec
(4) |
2016 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
(5) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Rob V. <rv...@do...> - 2012-09-22 20:11:16
|
Hi Uldis This sounds like a bug with dotNetRDF Could you please supply an example of RDF/XML that reproduces this problem in order for us to investigate it TraceParsing would not show any warnings only parsing debug information, subscribe to the Warning event on the parser if you wish to do that though I'm not sure if the RdfXmlParser ever generates any warnings Rob ---------------------------------------- From: "Uldis Bojars" <cap...@gm...> Sent: Saturday, September 22, 2012 5:41 AM To: dot...@li... Subject: [dotNetRDF-Support] How to validate RDF/XML with DotNetRdf Hi, DotNetRdf seems to be tolerant to errors when parsing RDF/XML (with RdfXmlParser and Graph.LoadFromFile). E.g., in a file which has an element w/o namespace and no default namespace defined the W3C RDF validator would return errors but DotNetRdf parses the file without even a warning (unless .TraceParsing = true is not sufficient to show warnings). Is it possible to do strict RDF/XML validation with DotNetRdf, failing with an exception when validation errors appear? Thanks, Uldis ---------------------------------------------------------------------------- -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Uldis B. <cap...@gm...> - 2012-09-22 12:41:30
|
Hi, DotNetRdf seems to be tolerant to errors when parsing RDF/XML (with RdfXmlParser and Graph.LoadFromFile). E.g., in a file which has an element w/o namespace and no default namespace defined the W3C RDF validator would return errors but DotNetRdf parses the file without even a warning (unless .TraceParsing = true is not sufficient to show warnings). Is it possible to do strict RDF/XML validation with DotNetRdf, failing with an exception when validation errors appear? Thanks, Uldis |
From: Rob V. <rv...@do...> - 2012-09-18 15:50:17
|
Hi Dilshan I will tell you the answer but I get the impression that it won't really solve your problem which would appear to be that you don't know SPARQL very well? I would strongly suggest reading a good SPARQL tutorial like SPARQL by Example [1] or getting a book like Learning SPARQL [2] in order to help you learn SPARQL properly For now however you simply need to modify your query like so: SELECT * WHERE { <http://www.owl-ontologies.com/unnamed.owl#Ferrari> ?p ?o} Rob [1] http://www.cambridgesemantics.com/semantic-university/sparql-by-example [2] http://www.learningsparql.com From: DILSHAN SUMESHKA <sum...@ya...> Reply-To: DILSHAN SUMESHKA <sum...@ya...>, dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, September 18, 2012 6:11 AM To: "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] Query > > Hi, > > > I used the following code, > > Object results = store.ExecuteQuery("SELECT * WHERE {?s ?p ?o}"); > if (results is SparqlResultSet) > { > //Print out the Results > SparqlResultSet rset = (SparqlResultSet)results; > int i = 0; > foreach (SparqlResult result in rset) > { > TextBoxLog.Text += i + " -" + result.ToString() + "\n"; > i++; > } > } > > > and it returned, > > ?s = http://www.owl-ontologies.com/unnamed.owl#Ferrari , ?p = > http://www.owl-ontologies.com/unnamed.owl#Speed, ?o = > 250^^http://www.w3.org/2001/XMLSchema#float > ?s = http://www.owl-ontologies.com/unnamed.owl# Ferrari , ?p = > http://www.owl-ontologies.com/unnamed.owl#Weight, ?o = > 100^^http://www.w3.org/2001/XMLSchema#float > ?s = http://www.owl-ontologies.com/unnamed.owl#McLaren, ?p = > http://www.owl-ontologies.com/unnamed.owl#Speed, ?o = > 255^^http://www.w3.org/2001/XMLSchema#string > > > How can I modify this in order to only select Ferrari type cars? > > > Many Thanks, > > Dilshan > ------------------------------------------------------------------------------ > 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 |
From: DILSHAN S. <sum...@ya...> - 2012-09-18 13:11:18
|
Hi, I used the following code, Object results = store.ExecuteQuery("SELECT * WHERE {?s ?p ?o}"); if (results is SparqlResultSet) { //Print out the Results SparqlResultSet rset = (SparqlResultSet)results; int i = 0; foreach (SparqlResult result in rset) { TextBoxLog.Text += i + " -" + result.ToString() + "\n"; i++; } } and it returned, ?s = http://www.owl-ontologies.com/unnamed.owl#Ferrari , ?p = http://www.owl-ontologies.com/unnamed.owl#Speed, ?o = 250^^http://www.w3.org/2001/XMLSchema#float ?s = http://www.owl-ontologies.com/unnamed.owl#Ferrari , ?p = http://www.owl-ontologies.com/unnamed.owl#Weight, ?o = 100^^http://www.w3.org/2001/XMLSchema#float ?s = http://www.owl-ontologies.com/unnamed.owl#McLaren, ?p = http://www.owl-ontologies.com/unnamed.owl#Speed, ?o = 255^^http://www.w3.org/2001/XMLSchema#string How can I modify this in order to only select Ferrari type cars? Many Thanks, Dilshan |
From: Ron M. Z. <ro...@ze...> - 2012-08-30 15:53:29
|
I've dug around a little in the code but not been able to figure this out myself. This delete statement does not seem to work when talking to Stardog: DELETE { graph ?g { ?s ?p ?o } } WHERE { graph ?g { ?s ?p ?o. } filter (datatype(?o)=xsd:datetime) } I debugged using Fiddler and I can see dotNetRDF does a query to get the data that matches the where clause, and it initiates a transaction but then it simply ends the transaction without performing any changes. Which is odd since I thought I updated the Stardog portion of the code to not initiate a transaction if no change was going to be made but it may be getting called in some places that isn't checking for this yet. I'm not sure if my statement is just not correct or if it's a bug somewhere. Any thoughts? |
From: Rob V. <rv...@do...> - 2012-08-10 16:30:04
|
Hi Please do not harass us to answer your questions, we work on this project in our spare time and have many work and personal commitments besides this project. Also we are very often in a different timezone to you so there may often be a substantial delay between when you send your email and when we are actually able to answer. Also unless your question contains confidential data that you cannot make public please send questions to the support list rather than to developers directly so that all users can benefit from the questions and answers. Thanks for your understanding, Rob Vesse From: Nagabhushan bhushan <bhu...@gm...> Date: Thursday, August 9, 2012 9:38 PM To: Cray Employee <rv...@do...> Subject: Re: DotNetRDF support > Hi Rob, > > Could you please reply to my email earlier ? I need to make some progress > using this library. > > Best Regards > bhushan > > On Thu, Aug 9, 2012 at 1:59 PM, Nagabhushan bhushan > <bhu...@gm...> wrote: >> Hi Rob, >> >> >> Can you please send me some example for using the RDF list. I searched your >> site and could not locate any example. >> Also, I require couple of clarification here >> >> code snippet :- >> >> Graph trsgraph = new Graph(); >> >> trsgraph.NamespaceMap.AddNamespace("ts", new >> Uri("http://abc.net//ts#")); >> >> IUriNode trdf = trsgraph.CreateUriNode(UriFactory.Create(sPath)); >> IUriNode baseuri = >> trsgraph.CreateUriNode(UriFactory.Create(sbaseuri)); >> IUriNode changeurinode = trsgraph.CreateUriNode("rdf:nil"); >> IUriNode basenode= trsgraph.CreateUriNode("ts:base111"); >> IUriNode changenode= trsgraph.CreateUriNode("ts:change"); >> IUriNode rdftype1= trsgraph.CreateUriNode("rdf:type"); >> IUriNode resourceset= trsgraph.CreateUriNode("ts:ResourceSet"); >> >> >> trsgraph.Assert(new Triple(trdf , basenode, baseuri)); >> trsgraph.Assert(new Triple(trdf , changenode, changeurinode)); >> trsgraph.Assert(new Triple(trdf , rdftype1, resourceset)); >> >> 1) Is there any other way to add tripe to graph other than using Assert >> statement. I thought Assert will display a message box if some failure >> happen. >> If so, then we need not have this behaviour since the service which returns >> rdf runs as service >> >> 2) I am not able to see the rdftype1 triple in the generated rdf. It is >> changing the namespace of the earlier node rather than having separate node >> entry for this ? >> The output is as shown below >> >> <rdf:RDF> >> <ts:ResourceSetrdf:about="http://localhost:8889/aaa/bbb/ccc"> >> <ts:base111 rdf:resource="http://localhost:8889/aaa/bbb/ccc/1"/> >> <ts:change rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> >> </ts:ResourceSet> >> </rdf:RDF> >> >> >> I want the output as given below. I want the output for <rdf:type >> rdf:resource="http://abc.net//ts#"/> to come in rdf but it is not coming as >> shown above >> Do, I need to some code change for this to happen ? >> >> <rdf:RDF> >> <rdf:Description rdf:about="http://localhost:8889/aaa/bbb/ccc"> >> <ts:base111 rdf:resource="http://localhost:8889/aaa/bbb/ccc/1"/> >> <ts:change rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> >> <rdf:type rdf:resource="http://abc.net//ts#"/> >> </rdf:Description> >> </rdf:RDF> >> >> Best Regards >> Bhushan >> >> >> On Mon, Aug 6, 2012 at 10:14 PM, Rob Vesse <rv...@do...> wrote: >>> Hi Bhushan >>> >>> Yes the library does have support for RDF lists see some of the methods in >>> the Extensions [1] class for this >>> >>> I've added a page to the website giving an overview of this [2] >>> >>> Regards, >>> >>> Rob >>> >>> [1] http://www.dotnetrdf.org/api/index.asp?Topic=VDS.RDF.Extensions >>> [2] http://www.dotnetrdf.org/content.asp?pageID=Typed%20Values%20and%20Lists >>> >>> From: Nagabhushan bhushan <bhu...@gm...> >>> Date: Monday, August 6, 2012 5:21 AM >>> To: Cray Employee <rv...@do...> >>> Subject: DotNetRDF support >>> >>>> Hi, >>>> >>>> I wanted to check with you whether do you have support for RDF lists in >>>> your library ? >>>> >>>> Best Regards >>>> Bhushan >> > |
From: Rob V. <rv...@do...> - 2012-08-10 16:26:37
|
Hi Comments inline: From: Nagabhushan bhushan <bhu...@gm...> Date: Thursday, August 9, 2012 1:29 AM To: Cray Employee <rv...@do...> Subject: Re: DotNetRDF support > Hi Rob, > > > Can you please send me some example for using the RDF list. I searched your > site and could not locate any example. Please see the link from my previous reply - http://www.dotnetrdf.org/content.asp?pageID=Typed%20Values%20and%20Lists which contains examples of using the RDF list extensions. > > Also, I require couple of clarification here > > code snippet :- > > Graph trsgraph = new Graph(); > > trsgraph.NamespaceMap.AddNamespace("ts", new > Uri("http://abc.net//ts#")); > > IUriNode trdf = trsgraph.CreateUriNode(UriFactory.Create(sPath)); > IUriNode baseuri = > trsgraph.CreateUriNode(UriFactory.Create(sbaseuri)); > IUriNode changeurinode = trsgraph.CreateUriNode("rdf:nil"); > IUriNode basenode= trsgraph.CreateUriNode("ts:base111"); > IUriNode changenode= trsgraph.CreateUriNode("ts:change"); > IUriNode rdftype1= trsgraph.CreateUriNode("rdf:type"); > IUriNode resourceset= trsgraph.CreateUriNode("ts:ResourceSet"); > > > trsgraph.Assert(new Triple(trdf , basenode, baseuri)); > trsgraph.Assert(new Triple(trdf , changenode, changeurinode)); > trsgraph.Assert(new Triple(trdf , rdftype1, resourceset)); > > 1) Is there any other way to add tripe to graph other than using Assert > statement. I thought Assert will display a message box if some failure happen. > If so, then we need not have this behaviour since the service which returns > rdf runs as service The library is just that a library, it is not a GUI application. How would displaying a message box possibly be appropriate here? If something goes seriously wrong an exception will be thrown, in the latest releases Assert() returns true if a Triple was asserted and false if it was not e.g. if the asserted triple already existed in the graph. The only other way to add Triples to a graph is by using a parser to load data into it, see the Reading RDF documentation http://www.dotnetrdf.org/content.asp?pageID=Reading%20RDF > > > 2) I am not able to see the rdftype1 triple in the generated rdf. It is > changing the namespace of the earlier node rather than having separate node > entry for this ? > The output is as shown below > > <rdf:RDF> > <ts:ResourceSetrdf:about="http://localhost:8889/aaa/bbb/ccc"> > <ts:base111 rdf:resource="http://localhost:8889/aaa/bbb/ccc/1"/> > <ts:change rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> > </ts:ResourceSet> > </rdf:RDF> This is a legitimate and common RDF/XML syntactic abbreviation. > > > > I want the output as given below. I want the output for <rdf:type > rdf:resource="http://abc.net//ts#"/> to come in rdf but it is not coming as > shown above > Do, I need to some code change for this to happen ? > > <rdf:RDF> > <rdf:Description rdf:about="http://localhost:8889/aaa/bbb/ccc"> > <ts:base111 rdf:resource="http://localhost:8889/aaa/bbb/ccc/1"/> > <ts:change rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> > <rdf:type rdf:resource="http://abc.net//ts#"/> > </rdf:Description> > </rdf:RDF> The outputs mean the exact same thing and will be understood as the same graph by any good RDF tools, if your tool doesn't understand the two snippets to be the same then you need to talk to whoever is writing the tool that has a problem with this. You really shouldn't be caring about what the serialized RDF looks like whatever syntax you are using, RDF is a data model and the syntaxes like RDF/XML are just a way for computers to move the data around. If you really must generate this snippet you can change the compression level for the writer, either create an instance of the writer explicitly and change it's CompressionLevel property to be 0 or set Options.DefaultCompressionLevel to 0 before creating a writer or using the SaveToFile() extension methods. Rob > > > Best Regards > Bhushan > > On Mon, Aug 6, 2012 at 10:14 PM, Rob Vesse <rv...@do...> wrote: >> Hi Bhushan >> >> Yes the library does have support for RDF lists see some of the methods in >> the Extensions [1] class for this >> >> I've added a page to the website giving an overview of this [2] >> >> Regards, >> >> Rob >> >> [1] http://www.dotnetrdf.org/api/index.asp?Topic=VDS.RDF.Extensions >> [2] http://www.dotnetrdf.org/content.asp?pageID=Typed%20Values%20and%20Lists >> >> From: Nagabhushan bhushan <bhu...@gm...> >> Date: Monday, August 6, 2012 5:21 AM >> To: Cray Employee <rv...@do...> >> Subject: DotNetRDF support >> >>> Hi, >>> >>> I wanted to check with you whether do you have support for RDF lists in your >>> library ? >>> >>> Best Regards >>> Bhushan > |
From: Rob V. <rv...@do...> - 2012-08-06 16:45:12
|
Hi Bhushan Yes the library does have support for RDF lists see some of the methods in the Extensions [1] class for this I've added a page to the website giving an overview of this [2] Regards, Rob [1] http://www.dotnetrdf.org/api/index.asp?Topic=VDS.RDF.Extensions [2] http://www.dotnetrdf.org/content.asp?pageID=Typed%20Values%20and%20Lists From: Nagabhushan bhushan <bhu...@gm...> Date: Monday, August 6, 2012 5:21 AM To: Cray Employee <rv...@do...> Subject: DotNetRDF support > Hi, > > I wanted to check with you whether do you have support for RDF lists in your > library ? > > Best Regards > Bhushan |
From: Rob V. <ra...@ec...> - 2012-07-11 18:51:05
|
No problem, feedback whether good/bad is always welcome as it helps improve the project Thanks, Rob On Tue, 10 Jul 2012 17:42:01 -0700 (PDT), John A wrote: thanks for your prompt response and fixes Rob. Verified tonight they all work as intended for me (I know, but I'm a tester at heart). Best Regards, John ------------------------- |
From: Rob V. <rv...@do...> - 2012-07-06 16:51:01
|
Hi Pier There is no convenience method for doing this, rather you would have to construct the relevant triples in code yourself and assert them into the graph. You can either do this purely via the IGraph API or it may be easier to do via SPARQL Update INSERT DATA commands. Option 1: //First get a Graph and load in our existing ontology Graph g = new Graph(); g.LoadFromFile("example.owl"); //Then create the Nodes we need g.NamespaceMapper.AddNamespace("owl", new Uri(NamespaceMapper.OWL)); INode rdfType = g.CreateUriNode("rdf:type"); INode objProp = g.CreateUriNode("owl:ObjectProperty"); INode datProp = g.CreateUriNode("owl:DatatypeProperty"); INode namedInd = g.CreateUriNode("owl:NamedIndividual"); INode myObjProp = g.CreateUriNode(new Uri("http://example.org/myObjectProperty")); INode myInd = g.CreateUriNode(new Uri("http://example.org/Individual")); //etc //Then assert the Triples g.Assert(myObjProp, rdfType, objProp); g.Assert(myInd, rdfType, namedInd); g.Assert(myInd, myObjProp, (1984).ToLiteral(g)); //etc //Finally save the results g.SaveToFile("example2.owl"); Option 2: //First get a Graph and load in our existing ontology Graph g = new Graph(); g.LoadFromFile("example.owl"); //Build up a SPARQL Update SparqlParamaterizedString updateStr = new SparqlParameterizedString(); updateStr.Namespaces.Add("owl", new Uri(NamespaceMapper.OWL)); updateStr.Namespaces.Add("xsd", new Uri(NamespaceMapper.XSD)); updateStr.CommandText += "INSERT DATA {\n"; updateStr.CommandText += " <http:://example.org/myObjectProperty> a owl:ObjectProperty .\n"; updateStr.CommandText += " <http://example.org/Individual> a owl:NamedIndividual ; <http://example.org/myObjectProperty> "1984"^^xsd:integer \n"; updateStr.CommandText += "}"; //Create a SPARQL Dataset TripleStore store = new TripleStore(); store.Add(g); InMemoryDataset ds = new InMemoryDataset(store, g.BaseUri); //Make the Update SparqlUpdateParser parser = new SparqlUpdateParser(); SparqlUpdateCommandSet cmds = parser.ParseFromString(updateStr); LeviathanUpdateProcessor processor = new LeviathanUpdateProcessor(ds); processor.ProcessCommandSet(cmds); //Save the results g.SaveToFile("example2.owl"); Essentially you just need to use some method to generate the desired triples and then save the graph to disk. Hope this helps, Rob From: "Buongiorno, Pierluigi" <pbu...@es...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Friday, July 6, 2012 3:59 AM To: Cray Employee <rv...@vd...>, "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] Owl Object property and data property > Hi Rob! > I need an information. > Is there a way with dotnetrdf to add and retrieve objectproperty and > dataproperty to and from an OWL file? > In protégé when I create object property and dataproperty the xml code > generated is like that: > > <!-- > > ////////////////////////////////////////////////////////////////////////////// > ///////// > // > // Object Properties > // > > ////////////////////////////////////////////////////////////////////////////// > ///////// > --> > <!-- > http://www.semanticweb.org/ontologies/2012/4/Ontology1337766598377.owl#of_type > --> > > <ObjectProperty rdf:about="&Ontology1337766598377;of_type"/> > > > <!-- > > ////////////////////////////////////////////////////////////////////////////// > ///////// > // > // Data properties > // > > ////////////////////////////////////////////////////////////////////////////// > ///////// > --> > > > <!-- > http://www.semanticweb.org/ontologies/2012/4/Ontology1337766598377.owl#anno_di > _edizione --> > > <DatatypeProperty rdf:about="&Ontology1337766598377;anno_di_edizione"/> > > <!-- > > ////////////////////////////////////////////////////////////////////////////// > ///////// > // > // Individuals > // > > ////////////////////////////////////////////////////////////////////////////// > ///////// > --> > > <!-- > http://www.semanticweb.org/ontologies/2012/4/Ontology1337766598377.owl#1984 > --> > > <NamedIndividual rdf:about="&Ontology1337766598377;1984"> > <rdf:type rdf:resource="&Ontology1337766598377;Libri"/> > <Ontology1337766598377:anno_di_edizione > rdf:datatype="&xsd;int">1948</Ontology1337766598377:anno_di_edizione> > <Ontology1337766598377:of_type > rdf:resource="&Ontology1337766598377;Romanzo"/> > </NamedIndividual> > > > Can I generate something similar? > How can I do it? > Thanks a lot! > Pier > > > > > > Da: Rob Vesse [mailto:rv...@vd...] > Inviato: giovedì 21 giugno 2012 18:05 > A: dot...@li... > Cc: Buongiorno, Pierluigi > Oggetto: Re: [dotNetRDF-Support] R: search string "contains" > > > 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%20S >> PARQL >> 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%20S >> PARQL >> >> >> >> 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/l >>> istinfo/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/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 |
From: Buongiorno, P. <pbu...@es...> - 2012-07-06 10:59:31
|
Hi Rob! I need an information. Is there a way with dotnetrdf to add and retrieve objectproperty and dataproperty to and from an OWL file? In protégé when I create object property and dataproperty the xml code generated is like that: <!-- /////////////////////////////////////////////////////////////////////////////////////// // // Object Properties // /////////////////////////////////////////////////////////////////////////////////////// --> <!-- http://www.semanticweb.org/ontologies/2012/4/Ontology1337766598377.owl#of_type --> <ObjectProperty rdf:about="&Ontology1337766598377;of_type"/> <!-- /////////////////////////////////////////////////////////////////////////////////////// // // Data properties // /////////////////////////////////////////////////////////////////////////////////////// --> <!-- http://www.semanticweb.org/ontologies/2012/4/Ontology1337766598377.owl#anno_di_edizione --> <DatatypeProperty rdf:about="&Ontology1337766598377;anno_di_edizione"/> <!-- /////////////////////////////////////////////////////////////////////////////////////// // // Individuals // /////////////////////////////////////////////////////////////////////////////////////// --> <!-- http://www.semanticweb.org/ontologies/2012/4/Ontology1337766598377.owl#1984 --> <NamedIndividual rdf:about="&Ontology1337766598377;1984"> <rdf:type rdf:resource="&Ontology1337766598377;Libri"/> <Ontology1337766598377:anno_di_edizione rdf:datatype="&xsd;int">1948</Ontology1337766598377:anno_di_edizione> <Ontology1337766598377:of_type rdf:resource="&Ontology1337766598377;Romanzo"/> </NamedIndividual> Can I generate something similar? How can I do it? Thanks a lot! Pier Da: Rob Vesse [mailto:rv...@vd...] Inviato: giovedì 21 giugno 2012 18:05 A: dot...@li... Cc: Buongiorno, Pierluigi Oggetto: Re: [dotNetRDF-Support] R: search string "contains" 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...<mailto:pbu...@es...>> Reply-To: dotNetRDF User Help and Support <dot...@li...<mailto:dot...@li...>> Date: Thursday, June 21, 2012 12:46 AM To: Cray Employee <rv...@do...<mailto:rv...@do...>>, "dot...@li...<mailto:dot...@li...>" <dot...@li...<mailto: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%20SPARQL 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%20SPARQL From: "Buongiorno, Pierluigi" <pbu...@es...<mailto:pbu...@es...>> Reply-To: dotNetRDF User Help and Support <dot...@li...<mailto:dot...@li...>> Date: Wednesday, June 20, 2012 6:36 AM To: "dot...@li...<mailto:dot...@li...>" <dot...@li...<mailto: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...<mailto:dot...@li...>https://lists.sourceforge.net/lists/listinfo/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...<mailto:dot...@li...> https://lists.sourceforge.net/lists/listinfo/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. |
From: Rob V. <ra...@ec...> - 2012-07-05 19:17:22
|
Hi John From: John A <ae...@ya...> Reply-To: John A <ae...@ya...>, dotNetRDF User Help and Support <dot...@li...> Date: Thursday, July 5, 2012 11:56 AM To: "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] rdfeditor installation requirement - looks for Full version specifically of .NET Framework > (1) incomplete or incorrect pre-req > rdfEditor.exe.config fails to recognize when Windows has .NET Framework 4 > *Client profile* installed. Win 7-64, in case that matters. > Microsoft suggests that app devs should target the client profile (it's > smaller) in > http://msdn.microsoft.com/en-us/library/cc656912.aspx#targeting_the_net_framew > ork_client_profile > If the app truly requires the Full version, then > http://www.dotnetrdf.org/content.asp?pageID=Tools needs a tweak to specify > Full in the requirements. > Attached are registry files from the 4.0 client profile install, and 4.0 full. > After downloading Full, rdfEditor starts successfully. > When only the client profile is installed, it pops up an error window saying > that 4.0 is not installed, and offers to download it. Some of the apps in the Toolkit do leverage aspects of the Full profile and thus it is required. Website now clearly states this. > > (2) site content nit > http://www.dotnetrdf.org/content.asp?pageID=Tools says that 0.5.1 beta is the > latest. A download today of it's "download the zip" link, i.e. > http://www.dotnetrdf.org/content.asp?pageID=Download%20dotNetRDF%20Toolkit%20f > or%20Windows , delivers 0.5.2 (later than "latest"). Corrected on website > > > (3) site content nit > http://www.dotnetrdf.org/content.asp?pageID=Tools says that an installer (not > zip) is available at > http://www.dotnetrdf.org/content.asp?pageID=Download%20dotNetRDF%20Toolkit%20I > nstaller . Following that link results in a 404 with the message "Sorry but > the selected Page is not currently available! This Page exists but currently > the Sites Administrators have not made the selected version available for > Public Viewing, please return to Home <http://www.dotnetrdf.org/default.asp> > " Should now be working Thanks for the feedback Rob > > > Best Regards, > John > ------------------------------------------------------------------------------ > 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 |
From: John A <ae...@ya...> - 2012-07-05 18:56:16
|
(1) incomplete or incorrect pre-req rdfEditor.exe.config fails to recognize when Windows has .NET Framework 4 *Client profile* installed. Win 7-64, in case that matters. Microsoft suggests that app devs should target the client profile (it's smaller) in http://msdn.microsoft.com/en-us/library/cc656912.aspx#targeting_the_net_framework_client_profile If the app truly requires the Full version, then http://www.dotnetrdf.org/content.asp?pageID=Tools needs a tweak to specify Full in the requirements. Attached are registry files from the 4.0 client profile install, and 4.0 full. After downloading Full, rdfEditor starts successfully. When only the client profile is installed, it pops up an error window saying that 4.0 is not installed, and offers to download it. (2) site content nit http://www.dotnetrdf.org/content.asp?pageID=Tools says that 0.5.1 beta is the latest. A download today of it's "download the zip" link, i.e. http://www.dotnetrdf.org/content.asp?pageID=Download%20dotNetRDF%20Toolkit%20for%20Windows , delivers 0.5.2 (later than "latest"). (3) site content nit http://www.dotnetrdf.org/content.asp?pageID=Tools says that an installer (not zip) is available at http://www.dotnetrdf.org/content.asp?pageID=Download%20dotNetRDF%20Toolkit%20Installer . Following that link results in a 404 with the message "Sorry but the selected Page is not currently available! This Page exists but currently the Sites Administrators have not made the selected version available for Public Viewing, please return to Home " Best Regards, John |
From: Nikhil S .V. <nik...@ne...> - 2012-07-04 08:13:58
|
Hi Rob, Thank you very much. Regards, Nikhil S V From: Rob Vesse [mailto:rv...@do...] Sent: 28 June 2012 02:27 AM To: Nikhil S .V. Cc: dot...@li... Subject: Re: How to connect to database. Hi Nikhil The triple store provided by dotNetRDF.Data.Sql implements the standard IGenericIOManager interface described in the documentation you linked and can be used as seen in the examples given there. On the subject of dotNetRDF.Data.Sql please be aware that per this recent blog post [1] and on this page [2] this feature is being officially deprecated and will be removed in future releases. We strongly recommend you not use this library for any new development and instead use one of the other open source/commercial stores supported by the library which are far more scalable and performant. Regards, Rob Vesse [1] http://www.dotnetrdf.org/blogitem.asp?blogID=64 [2] http://www.dotnetrdf.org/content.asp?pageID=SQL%20Backend From: "Nikhil S .V." <nik...@ne...> Date: Wednesday, June 27, 2012 2:26 AM To: Cray Employee <rv...@do...> Subject: How to connect to database. Dear Rob Vesse, I am using 'VDS.RDF.Storage' in my C sharp code. I need to connect to sql data base and do transactions(Insert/Update/query). Please let me know how to connect(Using C sharp syntax) to sql using sql connection string . I am looking into this link ' http://www.dotnetrdf.org/content.asp?pageID=Triple Store Integration '. Thanks & Regards, Nikhil S V ***** Confidentiality Statement/Disclaimer ***** This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt. The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message. ***** Confidentiality Statement/Disclaimer ***** This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt. The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message. |
From: Rob V. <rv...@do...> - 2012-06-28 21:34:19
|
What version of dotNetRDF are you using and what platform (e.g. Desktop, Silverlight, Windows Phone) are you targeting? There are methods with those signatures but they are not available across all versions of the library. SparqlRemoteEndpoint relies on synchronous HTTP requests by default and this is not permitted on Silverlight and Windows Phone so you would be forced to use the asynchronous variants of these methods instead. Regards, Rob Vesse From: Nguyen Da <sen...@ya...> Reply-To: <sen...@gm...> Date: Thursday, June 28, 2012 1:17 AM To: Cray Employee <rv...@do...> Subject: Please help me about Basic code : DotnetRDF > Please help me the error following : > > Error 2 : No overload for method 'QueryWithResultGraph' takes 1 arguments > Error 1 : No overload for method 'QueryWithResultSet' takes 1 arguments > > Thank you very much. Regards > > And the code following : > > Program.cs > using System; > using VDS.RDF; > using VDS.RDF.Query; > > public class Progran > { > public static void Main(String[] args) > { > SparqlRemoteEndpoint endpoint = new SparqlRemoteEndpoint(new > Uri("http://dbpedia.org/sparql"), "http://dbpedia.org"); > string s="SELECT DISTINCT ?Concept WHERE {[] a ?Concept}"; > SparqlResultSet results = endpoint.QueryWithResultSet(s); > foreach (SparqlResult result in results) > { > Console.WriteLine(result.ToString()); > Console.ReadLine(); > } > > > IGraph g = endpoint.QueryWithResultGraph("DESCRIBE "); > > > foreach (Triple t in g.Triples) > { > Console.WriteLine(t.ToString()); > Console.ReadLine(); > } > } > } > |
From: Rob V. <rv...@do...> - 2012-06-27 21:02:08
|
Hi Pier What is indexed will be determined by the indexer used. There are a variety of indexers but they all have somewhat similar behavior in that they index the full text of the Object of the triple and associate it in the index with one of the Nodes of the Triple. For example LuceneSubjectsIndexer will index the Objects full text and store the Subject of the Triple along with it. For help with what analyzer to use and other Lucene specific issues you are much better off asking on the Lucene.Net users list - lucenenet...@lu... the Query.FullText library is just a full text indexing and search API built for plugging into dotNetRDF and relies on Lucene.Net to do all the heavy lifting of indexing and search. Regards, Rob Vesse From: "Buongiorno, Pierluigi" <pbu...@es...> Date: Wednesday, June 27, 2012 12:47 AM To: Cray Employee <rv...@do...>, dotNetRDF User Help and Support <dot...@li...> Subject: R: [dotNetRDF-Support] R: R: search string "contains" > I¹m not sure i understood how it works.. > If I want to search an element in a rdf file, and I don¹t know if it is a > subject or an object (or maybe it can be both), and I want to give in input a > substring of the element (e.g. I search fot t-shirt but I insert the string > shirt), how can I do it? I have to use another analyzer? Which one? > Thanks for answering! > Pier > > > Da: Rob Vesse [mailto:rv...@do...] > Inviato: venerdì 22 giugno 2012 18:13 > A: dotNetRDF User Help and Support > Cc: Buongiorno, Pierluigi > Oggetto: Re: [dotNetRDF-Support] R: R: search string "contains" > > > Hi Pier > > > > Likely because Lucene isn't indexing what you think it is, with the > LuceneSubjectsIndexer it is indexing the full text of the Objects of the > Triples so if that search term isn't in an object it won't be located. > > > > Also there is the fact that you are subject to Lucene's tokenization and > search strategies so there is no guarantee that your search will necessary > match depending on how Lucene indexed your data. You might want to take a > look at Luke [1] which is a program that allows you to open and view Lucene > indexes so you can look and see what is actually in your index and try out > searches there to determine whether your searches will actually work. Note > that dotNetRDF uses Lucene 2.9.4 because that's the most recent version of > Lucene available for .Net so you'll need to use an older version of Luke for > compatibility. > > > > Depending on your data you may need to be using a different analyzer than the > Lucene StandardAnalyzer (esp if you have non-English data) > > > > Rob > > > > [1]: http://code.google.com/p/luke/ > > > > > > From: "Buongiorno, Pierluigi" <pbu...@es...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Friday, June 22, 2012 12:48 AM > To: Cray Employee <rv...@vd...>, > "dot...@li..." <dot...@li...> > Subject: [dotNetRDF-Support] R: R: search string "contains" > > >> >> Hi Rob, >> thanks for answering, >> I¹ve already did what you tell, in particular I¹ve substitude GetTestData) >> with g (a graph), and after the indexing, I tried to use the search example, >> but the provider.match didn¹t get any result. >> Can you suggest me why? >> P.S. I send you in attach the 3 files I used. >> Thanks >> Pier >> >> >> Da: Rob Vesse [mailto:rv...@vd...] >> Inviato: giovedì 21 giugno 2012 18:05 >> A: dot...@li... >> Cc: Buongiorno, Pierluigi >> Oggetto: Re: [dotNetRDF-Support] R: search string "contains" >> >> >> 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%20 >>> SPARQL >>> 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%20 >>> SPARQL >>> >>> >>> >>> 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/ >>>> listinfo/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/l >>> istinfo/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/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. |
From: Rob V. <rv...@do...> - 2012-06-27 20:58:06
|
Hi Nikhil The triple store provided by dotNetRDF.Data.Sql implements the standard IGenericIOManager interface described in the documentation you linked and can be used as seen in the examples given there. On the subject of dotNetRDF.Data.Sql please be aware that per this recent blog post [1] and on this page [2] this feature is being officially deprecated and will be removed in future releases. We strongly recommend you not use this library for any new development and instead use one of the other open source/commercial stores supported by the library which are far more scalable and performant. Regards, Rob Vesse [1] http://www.dotnetrdf.org/blogitem.asp?blogID=64 [2] http://www.dotnetrdf.org/content.asp?pageID=SQL%20Backend From: "Nikhil S .V." <nik...@ne...> Date: Wednesday, June 27, 2012 2:26 AM To: Cray Employee <rv...@do...> Subject: How to connect to database. > Dear Rob Vesse, > > I am using VDS.RDF.Storage¹ in my C sharp code. I need to connect to sql data > base and do transactions(Insert/Update/query). Please let me know how to > connect(Using C sharp syntax) to sql using sql connection string . > > I am looking into this link > http://www.dotnetrdf.org/content.asp?pageID=Triple Store Integration ¹. > > Thanks & Regards, > Nikhil S V > > > ***** Confidentiality Statement/Disclaimer ***** > > This message and any attachments is intended for the sole use of the intended > recipient. It may contain confidential information. Any unauthorized use, > dissemination or modification is strictly prohibited. If you are not the > intended recipient, please notify the sender immediately then delete it from > all your systems, and do not copy, use or print. Internet communications are > not secure and it is the responsibility of the recipient to make sure that it > is virus/malicious code exempt. > The company/sender cannot be responsible for any unauthorized alterations or > modifications made to the contents. If you require any form of confirmation of > the contents, please contact the company/sender. The company/sender is not > liable for any errors or omissions in the content of this message. |
From: Buongiorno, P. <pbu...@es...> - 2012-06-27 07:47:36
|
I'm not sure i understood how it works.. If I want to search an element in a rdf file, and I don't know if it is a subject or an object (or maybe it can be both), and I want to give in input a substring of the element (e.g. I search fot t-shirt but I insert the string shirt), how can I do it? I have to use another analyzer? Which one? Thanks for answering! Pier Da: Rob Vesse [mailto:rv...@do...] Inviato: venerdì 22 giugno 2012 18:13 A: dotNetRDF User Help and Support Cc: Buongiorno, Pierluigi Oggetto: Re: [dotNetRDF-Support] R: R: search string "contains" Hi Pier Likely because Lucene isn't indexing what you think it is, with the LuceneSubjectsIndexer it is indexing the full text of the Objects of the Triples so if that search term isn't in an object it won't be located. Also there is the fact that you are subject to Lucene's tokenization and search strategies so there is no guarantee that your search will necessary match depending on how Lucene indexed your data. You might want to take a look at Luke [1] which is a program that allows you to open and view Lucene indexes so you can look and see what is actually in your index and try out searches there to determine whether your searches will actually work. Note that dotNetRDF uses Lucene 2.9.4 because that's the most recent version of Lucene available for .Net so you'll need to use an older version of Luke for compatibility. Depending on your data you may need to be using a different analyzer than the Lucene StandardAnalyzer (esp if you have non-English data) Rob [1]: http://code.google.com/p/luke/ From: "Buongiorno, Pierluigi" <pbu...@es...<mailto:pbu...@es...>> Reply-To: dotNetRDF User Help and Support <dot...@li...<mailto:dot...@li...>> Date: Friday, June 22, 2012 12:48 AM To: Cray Employee <rv...@vd...<mailto:rv...@vd...>>, "dot...@li...<mailto:dot...@li...>" <dot...@li...<mailto:dot...@li...>> Subject: [dotNetRDF-Support] R: R: search string "contains" Hi Rob, thanks for answering, I've already did what you tell, in particular I've substitude GetTestData) with g (a graph), and after the indexing, I tried to use the search example, but the provider.match didn't get any result. Can you suggest me why? P.S. I send you in attach the 3 files I used. Thanks Pier Da: Rob Vesse [mailto:rv...@vd...] Inviato: giovedì 21 giugno 2012 18:05 A: dot...@li...<mailto:dot...@li...> Cc: Buongiorno, Pierluigi Oggetto: Re: [dotNetRDF-Support] R: search string "contains" 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...<mailto:pbu...@es...>> Reply-To: dotNetRDF User Help and Support <dot...@li...<mailto:dot...@li...>> Date: Thursday, June 21, 2012 12:46 AM To: Cray Employee <rv...@do...<mailto:rv...@do...>>, "dot...@li...<mailto:dot...@li...>" <dot...@li...<mailto: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%20SPARQL 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%20SPARQL From: "Buongiorno, Pierluigi" <pbu...@es...<mailto:pbu...@es...>> Reply-To: dotNetRDF User Help and Support <dot...@li...<mailto:dot...@li...>> Date: Wednesday, June 20, 2012 6:36 AM To: "dot...@li...<mailto:dot...@li...>" <dot...@li...<mailto: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...<mailto:dot...@li...>https://lists.sourceforge.net/lists/listinfo/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...<mailto:dot...@li...>https://lists.sourceforge.net/lists/listinfo/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...<mailto:dot...@li...> https://lists.sourceforge.net/lists/listinfo/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. |
From: Rob V. <rv...@do...> - 2012-06-22 16:14:03
|
Hi Pier Likely because Lucene isn't indexing what you think it is, with the LuceneSubjectsIndexer it is indexing the full text of the Objects of the Triples so if that search term isn't in an object it won't be located. Also there is the fact that you are subject to Lucene's tokenization and search strategies so there is no guarantee that your search will necessary match depending on how Lucene indexed your data. You might want to take a look at Luke [1] which is a program that allows you to open and view Lucene indexes so you can look and see what is actually in your index and try out searches there to determine whether your searches will actually work. Note that dotNetRDF uses Lucene 2.9.4 because that's the most recent version of Lucene available for .Net so you'll need to use an older version of Luke for compatibility. Depending on your data you may need to be using a different analyzer than the Lucene StandardAnalyzer (esp if you have non-English data) Rob [1]: http://code.google.com/p/luke/ From: "Buongiorno, Pierluigi" <pbu...@es...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Friday, June 22, 2012 12:48 AM To: Cray Employee <rv...@vd...>, "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] R: R: search string "contains" > Hi Rob, > thanks for answering, > I¹ve already did what you tell, in particular I¹ve substitude GetTestData) > with g (a graph), and after the indexing, I tried to use the search example, > but the provider.match didn¹t get any result. > Can you suggest me why? > P.S. I send you in attach the 3 files I used. > Thanks > Pier > > > Da: Rob Vesse [mailto:rv...@vd...] > Inviato: giovedì 21 giugno 2012 18:05 > A: dot...@li... > Cc: Buongiorno, Pierluigi > Oggetto: Re: [dotNetRDF-Support] R: search string "contains" > > > 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%20S >> PARQL >> 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%20S >> PARQL >> >> >> >> 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/l >>> istinfo/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/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 |
From: Buongiorno, P. <pbu...@es...> - 2012-06-22 08:01:01
|
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using VDS.RDF; using VDS.RDF.Writing; using System.Data; using VDS.RDF.Ontology; using VDS.RDF.Parsing; using System.IO; using Lucene.Net.Store; using Lucene.Net.Analysis.Standard; using VDS.RDF.Query.FullText; using VDS.RDF.Query.FullText.Indexing.Lucene; using VDS.RDF.Query.FullText.Indexing; using VDS.RDF.Query.FullText.Schema; using VDS.RDF.Query.Optimisation; namespace OntologySample { public class FullTextIndexingExample { public static void fullTextIndexer() { IFullTextIndexer indexer = null; try { //First get a Graph we want to Index Graph g = new Graph(); g.LoadFromFile("Ims.Ontology.Data.owl"); DirectoryInfo path = new DirectoryInfo("Ims.Ontology.Data"); //Then create an indexer and index the data indexer = new LuceneSubjectsIndexer(FSDirectory.Open(path), new StandardAnalyzer(), new DefaultIndexSchema()); indexer.Index(g); } catch (Exception ex) { //Handle any errors that occurred during Indexing } finally { //Always dispose of your index when it's built to ensure that indexed data is persisted to the index if (indexer != null) indexer.Dispose(); } } } } |
From: Rob V. <rv...@do...> - 2012-06-22 00:00:41
|
Hey Martin Just had a quick glance over the code and I think the problem is in how dotNetRDF submits updates to remote endpoints. It submits the update using the update=YOUR_UPDATE querystring/form parameter whereas virtuoso appears to be expecting updates to still come in using the ?query=YOUR_QUERY parameter like a normal query. As a workaround for Virtuoso you could just use a SparqlRemoteEndpoint to submit the update using the QueryRaw() method to just make the request which will use the ?query=QUERY submission form and get the HttpWebResponse back directly. Currently there is no way to configure either a SparqlRemoteEndpoint/SparqlRemoteUpdateEndpoint to use a non-standard parameter when submitting queries but that's a trivial improvement to add to future releases Rob From: Martin Bradford Gago <m.b...@me...> Date: Thursday, June 21, 2012 3:42 PM To: Cray Employee <rv...@do...> Subject: Re: Problem updating via endpoint > Hi Rob, > Thanks for the quick response - you're correct in that it is a Virtuoso > database that i am firing against but unfortunately, I experienced the same > 400 bad request message again when firing the SPARUL syntax in. Would you mind > having a further look when you have some spare bandwidth? > > Thanks, > Martin > > > On 21 Jun 2012, at 20:25, Rob Vesse wrote: > >> Hey Martin >> >> I haven't looked the code yet but my first blink assessment is that you are >> using Virtuoso because that update is the old style SPARUL syntax rather than >> standard SPARQL 1.1 >> >> If you are using code to try to make a standard SPARQL 1.1 Update call to >> Virtuoso it will likely fail because Virtuoso will be expecting the old >> SPARUL syntax. >> >> In the standard syntax it would be the following, putting this into your >> endpoint results in an error response: >> >> prefix ns: <http://morsepedia.org/ontology/> prefix xsd: >> <http://www.w3.org/2001/XMLSchema#> prefix schema: >> <http://www.w3.org/2000/01/rdf-schema#> >> INSERT DATA >> { >> GRAPH <http://morsepedia.org/ontology/> { >> <http://morsepedia.org/ontology/4e30ce7a-f4a4-46b0-a13a-d64cda0234e8> >> <http://www.w3.org/2000/01/rdf-schema#label> "ITERATE THIS LABEL NUMBER 1" } >> } >> >> If that isn't the problem let me know and I'll take a proper look at the >> code. >> >> Regards, >> >> Rob >> >> From: Martin Bradford Gago <m.b...@me...> >> Date: Thursday, June 21, 2012 11:05 AM >> To: Cray Employee <rv...@do...> >> Subject: Problem updating via endpoint >> >>> Hi Rob, >>> I¹m trying to use the SparqlRemoteUpdateEndpoint in some code but I¹m >>> getting a problem. I have a sparql endpoint available at (it¹s public facing >>> so you should be able to see it in your browser): >>> >>> http://kirk.abcomputing.co.uk:8890/sparql >>> >>> If I go to the endpoint in a web browser, I can successfully run the >>> following update query: >>> >>> prefix ns: <http://morsepedia.org/ontology/> prefix xsd: >>> <http://www.w3.org/2001/XMLSchema#> prefix schema: >>> <http://www.w3.org/2000/01/rdf-schema#> INSERT DATA into >>> <http://morsepedia.org/ontology/> { >>> <http://morsepedia.org/ontology/4e30ce7a-f4a4-46b0-a13a-d64cda0234e8> >>> <http://www.w3.org/2000/01/rdf-schema#label> "ITERATE THIS LABEL NUMBER 1" } >>> >>> However, when I try running the same query through my harness that uses the >>> SparqlRemoteUpdateEndpoint class, I am getting a 400 Bad Request error back >>> (test harness attached). Can you think of any reasons that I can do this >>> through the endpoint web page but not through the SparqlRemoteUpdateEndpoint >>> class? >>> >>> Thanks! >>> Martin Bradford Gago > |
From: Rob V. <rv...@do...> - 2012-06-21 19:26:46
|
Hey Martin I haven't looked the code yet but my first blink assessment is that you are using Virtuoso because that update is the old style SPARUL syntax rather than standard SPARQL 1.1 If you are using code to try to make a standard SPARQL 1.1 Update call to Virtuoso it will likely fail because Virtuoso will be expecting the old SPARUL syntax. In the standard syntax it would be the following, putting this into your endpoint results in an error response: prefix ns: <http://morsepedia.org/ontology/> prefix xsd: <http://www.w3.org/2001/XMLSchema#> prefix schema: <http://www.w3.org/2000/01/rdf-schema#> INSERT DATA { GRAPH <http://morsepedia.org/ontology/> { <http://morsepedia.org/ontology/4e30ce7a-f4a4-46b0-a13a-d64cda0234e8> <http://www.w3.org/2000/01/rdf-schema#label> "ITERATE THIS LABEL NUMBER 1" } } If that isn't the problem let me know and I'll take a proper look at the code. Regards, Rob From: Martin Bradford Gago <m.b...@me...> Date: Thursday, June 21, 2012 11:05 AM To: Cray Employee <rv...@do...> Subject: Problem updating via endpoint > Hi Rob, > I¹m trying to use the SparqlRemoteUpdateEndpoint in some code but I¹m getting > a problem. I have a sparql endpoint available at (it¹s public facing so you > should be able to see it in your browser): > > http://kirk.abcomputing.co.uk:8890/sparql > > If I go to the endpoint in a web browser, I can successfully run the following > update query: > > prefix ns: <http://morsepedia.org/ontology/> prefix xsd: > <http://www.w3.org/2001/XMLSchema#> prefix schema: > <http://www.w3.org/2000/01/rdf-schema#> INSERT DATA into > <http://morsepedia.org/ontology/> { > <http://morsepedia.org/ontology/4e30ce7a-f4a4-46b0-a13a-d64cda0234e8> > <http://www.w3.org/2000/01/rdf-schema#label> "ITERATE THIS LABEL NUMBER 1" } > > However, when I try running the same query through my harness that uses the > SparqlRemoteUpdateEndpoint class, I am getting a 400 Bad Request error back > (test harness attached). Can you think of any reasons that I can do this > through the endpoint web page but not through the SparqlRemoteUpdateEndpoint > class? > > Thanks! > Martin Bradford Gago |
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 |
From: Buongiorno, P. <pbu...@es...> - 2012-06-21 07:47:01
|
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%20SPARQL 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%20SPARQL From: "Buongiorno, Pierluigi" <pbu...@es...<mailto:pbu...@es...>> Reply-To: dotNetRDF User Help and Support <dot...@li...<mailto:dot...@li...>> Date: Wednesday, June 20, 2012 6:36 AM To: "dot...@li...<mailto:dot...@li...>" <dot...@li...<mailto: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...<mailto:dot...@li...> https://lists.sourceforge.net/lists/listinfo/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. |
From: Rob V. <rv...@do...> - 2012-06-20 21:10:45
|
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%20 SPARQL 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/listinfo/dotnetrdf-support |