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...> - 2014-04-14 16:19:34
|
Hi This looks like a bug in our CONSTRUCT support which should be a relatively easy fix for our next release. Thanks for reporting this, it has been filed as CORE-407 (http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=407) Rob From: Сергей Попов <ser...@ma...> Reply-To: Сергей Попов <ser...@ma...> Date: Sunday, 13 April 2014 07:57 To: Rob Vesse <rv...@do...> Subject: query > Hello > Why the following query doesn't work: > > > PREFIX dc: <http://purl.org/dc/elements/1.1/> > CONSTRUCT > { > <http://learningsparql.com/ns/data/book312> dc:title "Jabez Easterbrook" . > } > WHERE > {} > It query return graph without triples > > My Code: > > > > IGraph g = new Graph(); > results = g.ExecuteQuery("PREFIX dc: <http://purl.org/dc/elements/1.1/> > CONSTRUCT { <http://learningsparql.com/ns/data/book312> dc:title "Jabez > Easterbrook". > } > WHERE > {}"); > > > Thank you > -- > Сергей Попов |
From: Rob V. <rv...@do...> - 2014-04-09 17:10:34
|
Comments inline: On 08/04/2014 09:12, "Frank Schumacher" <fs...@in...> wrote: >Hey Rob, > >thanks a lot for the reply! > >> Your question highlighted the fact that we didn¹t have this in our >> documentation, please see the new page >> >>https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/DeveloperGuide/SPARQL/Exte >>ns >> ion%20Functions for an example of implementing extension functions in >> dotNetRDF which is fairly similar to ARQ > >ah, I didn't not find this page during my research. That’s because I only wrote it in response to your question >I'm afraid it didn't >answered the whole question for me and I hope I'm at least on the right >path. > From the ARQ-documentation I understand, that in order to create a >custom filter function, I have to >a) extend an abstract class (FunctionBase1..4) >b) register the new class >c) use the implemented class in the SPARQL-query > >Am I right, that in order to achieve a) I have to extend >BaseUnaryExpression and implement the Evaluate() methode, where the code >for the Levinsthein-Algorithm should be placed? Yes or an equivalent class like BaseBinaryExpression depending on how many arguments you need to take, you can implement ISparqlExpression directly but that leaves you a bunch more work to do than if you can re-use an existing base class. > >For b) I implement the ISparqlCustomExpressionFactory interface with the >method TryCreateExpression and the register this class to the >SparqlExpressionFactory or parser.ExpressionFactories Yes > >for c) I need to add a FILTER expression to the query like >FILTER(myNamespace:myBaseUnaryExpressionExtension("string4LevinstheinSearc >h")) > >If I am at the correct path with my thoughts, the following questions >arise: > >* In your example NamespaceFunction, you use the variable _expr. But I >cannot see, how you instantiate this variable. Is it from the >constructors expr-Variable and just needs to be stored like _expr=expr; ? It’s a protected field of the base class which will be set by the base class constructor so you can access it in your implementation. > >* I have a Levinsthein-implementation, where I compare a search term >against a list of strings and return a list of strings with >"similarity-values" like >Frank 1 >Frnk 2 >Freak 3 >DumbQ 5 > >the sparql-query should return something like ><myNamespace/Frank> <myNamespace/Levinsthein-Dist> 1 . ><myNamespace/Frnk> <myNamespace/Levinsthein-Dist> 2 . ><myNamespace/Freak> <myNamespace/Levinsthein-Dist> 3 . ><myNamespace/DumbQ> <myNamespace/Levinsthein-Dist> 5 . > >How can I achieve this with the Evaluate-methode from the >BaseUnaryExpression extension class? You can’t, SPARQL expressions produce a single value for each solution they are run on. Property functions which are a non-standard extension to SPARQL do allow for doing that kind of thing and we (and ARQ) both support these though again I don’t think our support is properly documented anywhere. Regards, Rob > >Thanks a lot for your support, >Frank >-- >************************************************ >* Universität Leipzig, Institut für Informatik * >* Abteilung Betriebliche Informationssysteme * >* http://bis.informatik.uni-leipzig.de * >* Tel.: 0341 / 97 32 256 * >* * >* ========== Opera Metal: molllust =========== * >* http://www.molllust.com * >* M'era Luna Newcomer 2013! * >************************************************ > >-------------------------------------------------------------------------- >---- >Put Bad Developers to Shame >Dominate Development with Jenkins Continuous Integration >Continuously Automate Build, Test & Deployment >Start a new project now. Try Jenkins in the cloud. >http://p.sf.net/sfu/13600_Cloudbees >_______________________________________________ >dotNetRDF-Support mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Frank S. <fs...@in...> - 2014-04-08 15:12:33
|
Hey Rob, thanks a lot for the reply! > Your question highlighted the fact that we didn¹t have this in our > documentation, please see the new page > https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/DeveloperGuide/SPARQL/Extens > ion%20Functions for an example of implementing extension functions in > dotNetRDF which is fairly similar to ARQ ah, I didn't not find this page during my research. I'm afraid it didn't answered the whole question for me and I hope I'm at least on the right path. From the ARQ-documentation I understand, that in order to create a custom filter function, I have to a) extend an abstract class (FunctionBase1..4) b) register the new class c) use the implemented class in the SPARQL-query Am I right, that in order to achieve a) I have to extend BaseUnaryExpression and implement the Evaluate() methode, where the code for the Levinsthein-Algorithm should be placed? For b) I implement the ISparqlCustomExpressionFactory interface with the method TryCreateExpression and the register this class to the SparqlExpressionFactory or parser.ExpressionFactories for c) I need to add a FILTER expression to the query like FILTER(myNamespace:myBaseUnaryExpressionExtension("string4LevinstheinSearch")) If I am at the correct path with my thoughts, the following questions arise: * In your example NamespaceFunction, you use the variable _expr. But I cannot see, how you instantiate this variable. Is it from the constructors expr-Variable and just needs to be stored like _expr=expr; ? * I have a Levinsthein-implementation, where I compare a search term against a list of strings and return a list of strings with "similarity-values" like Frank 1 Frnk 2 Freak 3 DumbQ 5 the sparql-query should return something like <myNamespace/Frank> <myNamespace/Levinsthein-Dist> 1 . <myNamespace/Frnk> <myNamespace/Levinsthein-Dist> 2 . <myNamespace/Freak> <myNamespace/Levinsthein-Dist> 3 . <myNamespace/DumbQ> <myNamespace/Levinsthein-Dist> 5 . How can I achieve this with the Evaluate-methode from the BaseUnaryExpression extension class? Thanks a lot for your support, Frank -- ************************************************ * Universität Leipzig, Institut für Informatik * * Abteilung Betriebliche Informationssysteme * * http://bis.informatik.uni-leipzig.de * * Tel.: 0341 / 97 32 256 * * * * ========== Opera Metal: molllust =========== * * http://www.molllust.com * * M'era Luna Newcomer 2013! * ************************************************ |
From: Rob V. <rv...@do...> - 2014-04-08 12:58:39
|
Thanks for reporting this, this is indeed a bug and has been filed as CORE-406 (http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=406) where you can track progress on this issue The bug appears to be in how we optimise query execution to do join linearisation which causes the engine to not consider viable solutions for later OPTIONAL clauses. We’ll let you know once we’ve succeeded in fixing this Cheers, Rob From: Сергей Попов <ser...@ma...> Reply-To: Сергей Попов <ser...@ma...>, dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, 8 April 2014 05:03 To: <dot...@li...> Subject: [dotNetRDF-Support] wrong result is appear after execute query > Hello, > > Example from book “Learning SPARQL Querying and Updating with SPARQL 1.1” > author - Bob DuCharme > > Data: > > @prefix ab: <http://learningsparql.com/ns/addressbook#> . > @prefix d: <http://learningsparql.com/ns/data#> . > d:i0432 ab:firstName "Richard" . > d:i0432 ab:lastName "Mutt" . > d:i0432 ab:homeTel "(229) 276-5135" . > d:i0432 ab:nick "Dick" . > d:i0432 ab:email "ric...@ho..." . > d:i9771 ab:firstName "Cindy" . > d:i9771 ab:lastName "Marshall" . > d:i9771 ab:homeTel "(245) 646-5488" . > d:i9771 ab:email "ci...@gm..." . > d:i8301 ab:firstName "Craig" . > d:i8301 ab:lastName "Ellis" . > d:i8301 ab:workTel "(245) 315-5486" . > d:i8301 ab:email "cra...@ya..." . > d:i8301 ab:email "c....@us..." . > > QUERY > > PREFIX ab: <http://learningsparql.com/ns/addressbook#> > SELECT ?first ?last > WHERE > { > ?s ab:lastName ?last . > OPTIONAL { ?s ab:nick ?first . } > OPTIONAL { ?s ab:firstName ?first . } > } > > Result From book > ------------------------ > | first | last | > ======================== > | "Craig" | "Ellis" | > | "Cindy" | "Marshall" | > | "Dick" | "Mutt" | > ------------------------ > > I run this query in my application. My application usеs dotNetRDF. I get > follow result: > ------------------------ > | first | last | > ======================== > | | "Ellis" | > | | "Marshall" | > | "Dick" | "Mutt" | > ------------------------ > > Why does’ t work second block OPTIONAL. > > > > Thank you > ------------------------------------------------------------------------------ > Put Bad Developers to Shame Dominate Development with Jenkins Continuous > Integration Continuously Automate Build, Test & Deployment Start a new project > now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees___________________________________________ > ____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-04-08 12:47:32
|
Brock First off we don¹t support parsing RSS Secondly your code doesn¹t actually even attempt to retrieve the data, BaseUri is just a way of naming graphs and doesn¹t cause any data to be loaded. Try the following instead: g.LoadFromUri(new Uri("http://minneapolis.craigslist.org/stp/index.rss²)); Which will throw an exception because we don¹t support parsing RSS Rob P.S. If you have questions please subscribe to the mailing list and ask questions there, any future responses will go to the mailing list only From: Brock F <bro...@gm...> Date: Tuesday, 8 April 2014 01:13 To: Rob Vesse <rv...@do...> Subject: RDF Craigslist Parsing > Having trouble with parsing a craigslist RSS feed. > > I had some RestSharp code but realized it wasn't working because RDF > transforms. > > I can't seem to get a response with the typical setup: > > Graph g = new Graph(); > > //Name the graph appropriately so you can reference it in your > updates > g.BaseUri = new > Uri("http://minneapolis.craigslist.org/stp/index.rss"); > > return null; > > I get the isEmpty is true. I think it's because the RSS document doesn't > explicitly state what type of XML it is and therefore the graph doesn't know > what type of document this is. > > How do I get past this basic issue? I want to load all items into a > List<items>. > > Brock Fredin |
From: Сергей П. <ser...@ma...> - 2014-04-08 11:03:15
|
Hello, Example from book “Learning SPARQL Querying and Updating with SPARQL 1.1” author - Bob DuCharme Data: @prefix ab: < http://learningsparql.com/ns/addressbook# > . @prefix d: < http://learningsparql.com/ns/data# > . d:i0432 ab:firstName "Richard" . d:i0432 ab:lastName "Mutt" . d:i0432 ab:homeTel "(229) 276-5135" . d:i0432 ab:nick "Dick" . d:i0432 ab:email " ric...@ho... " . d:i9771 ab:firstName "Cindy" . d:i9771 ab:lastName "Marshall" . d:i9771 ab:homeTel "(245) 646-5488" . d:i9771 ab:email " ci...@gm... " . d:i8301 ab:firstName "Craig" . d:i8301 ab:lastName "Ellis" . d:i8301 ab:workTel "(245) 315-5486" . d:i8301 ab:email " cra...@ya... " . d:i8301 ab:email " c....@us... " . QUERY PREFIX ab: < http://learningsparql.com/ns/addressbook# > SELECT ?first ?last WHERE { ?s ab:lastName ?last . OPTIONAL { ?s ab:nick ?first . } OPTIONAL { ?s ab:firstName ?first . } } Result From book ------------------------ | first | last | ======================== | "Craig" | "Ellis" | | "Cindy" | "Marshall" | | "Dick" | "Mutt" | ------------------------ I run this query in my application. My application us е s dotNetRDF. I get follow result: ------------------------ | first | last | ======================== | | "Ellis" | | | "Marshall" | | "Dick" | "Mutt" | ------------------------ Why does’ t work second block OPTIONAL. Thank you |
From: Rob V. <rv...@do...> - 2014-03-28 11:12:37
|
Hi Frank Your question highlighted the fact that we didn¹t have this in our documentation, please see the new page https://bitbucket.org/dotnetrdf/dotnetrdf/wiki/DeveloperGuide/SPARQL/Extens ion%20Functions for an example of implementing extension functions in dotNetRDF which is fairly similar to ARQ You¹ll also find lots of examples of implementations if you look at the code for the VDS.RDF.Query.Expressions.Functions namespace and its child namespaces. Hope this helps, Rob On 27/03/2014 17:01, "Frank Schumacher" <fs...@in...> wrote: >Hi folks, > >I am developing an application with dotNetRDF that stores data via a >SPARQL-endpoint in a datastore (Virtuoso, but should be usable with any >other datastore). To avoid doubles because of misspellings, I want to >search for similar strings before writing the data. >I habe searched the net and found this stackoverflow where it is >suggested to implement the levenshtein algorithm and use it in a SPAQRL >Filter clause [1]. I also found this documention about ARQ [2]. >Unfortunately (for me), both articles are about java. BUT! In the >documentation of dotNetRDF is mentioned, that you can use ARQ as well. >Does anyone know, how to do this in C# and maybe can give/link me some >code examples? > >Thanks in advance, >Frank > >[1] >http://stackoverflow.com/questions/9918081/sparql-how-to-find-similar-stri >ngs >[2] http://jena.apache.org/documentation/query/writing_functions.html >-- >************************************************ >* Universität Leipzig, Institut für Informatik * >* Abteilung Betriebliche Informationssysteme * >* http://bis.informatik.uni-leipzig.de * >* Tel.: 0341 / 97 32 256 * >* * >* ========== Opera Metal: molllust =========== * >* http://www.molllust.com * >* M'era Luna Newcomer 2013! * >************************************************ > >-------------------------------------------------------------------------- >---- >_______________________________________________ >dotNetRDF-Support mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Frank S. <fs...@in...> - 2014-03-27 17:01:25
|
Hi folks, I am developing an application with dotNetRDF that stores data via a SPARQL-endpoint in a datastore (Virtuoso, but should be usable with any other datastore). To avoid doubles because of misspellings, I want to search for similar strings before writing the data. I habe searched the net and found this stackoverflow where it is suggested to implement the levenshtein algorithm and use it in a SPAQRL Filter clause [1]. I also found this documention about ARQ [2]. Unfortunately (for me), both articles are about java. BUT! In the documentation of dotNetRDF is mentioned, that you can use ARQ as well. Does anyone know, how to do this in C# and maybe can give/link me some code examples? Thanks in advance, Frank [1] http://stackoverflow.com/questions/9918081/sparql-how-to-find-similar-strings [2] http://jena.apache.org/documentation/query/writing_functions.html -- ************************************************ * Universität Leipzig, Institut für Informatik * * Abteilung Betriebliche Informationssysteme * * http://bis.informatik.uni-leipzig.de * * Tel.: 0341 / 97 32 256 * * * * ========== Opera Metal: molllust =========== * * http://www.molllust.com * * M'era Luna Newcomer 2013! * ************************************************ |
From: Rob V. <rv...@do...> - 2014-03-27 10:23:22
|
Manuel You certainly cannot use dotNetRDF as-is without writing a C++ wrapper for it and no-one at the project has the time/expertise to do this so you would be on your own with this. If you are using Virtuoso specifically you are likely better off contacting the Virtuoso folks to ask what support for C++ they have, a quick search on Google shows they support C++ in some shape or form - http://docs.openlinksw.com/virtuoso/sampleapps.html Best Regards, Rob From: manuel <man...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, 24 March 2014 09:24 To: "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] connecting to Openlink Virtuoso from native C++ applications > Hello > > I am using dotNetRdf to connect some C# applications to Openlink Virtuoso and > use it as RDF provider; I can say dotNetRdf is a very good application. > > However now I have a native C++ application and I have same need to connect it > to Virtuoso; I tried using Redland with Virtuoso, but the Redland is much > slower than dotNetRdf in the operations of reading and writing on Virtuoso > (maybe because Redland use ODBC...). > > Is it possible to use dotNetRdf in C++, e.g. wrapping the code in order to be > exposed to the unmanaged world of the native C++? > > Regards > Manuel > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the > definitive new guide to graph databases and their applications. Written by > three acclaimed leaders in the field, this first edition is now available. > Download your free book today! > http://p.sf.net/sfu/13534_NeoTech_____________________________________________ > __ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: manuel <man...@ho...> - 2014-03-24 09:25:03
|
Hello I am using dotNetRdf to connect some C# applications to Openlink Virtuoso and use it as RDF provider; I can say dotNetRdf is a very good application. However now I have a native C++ application and I have same need to connect it to Virtuoso; I tried using Redland with Virtuoso, but the Redland is much slower than dotNetRdf in the operations of reading and writing on Virtuoso (maybe because Redland use ODBC...). Is it possible to use dotNetRdf in C++, e.g. wrapping the code in order to be exposed to the unmanaged world of the native C++? Regards Manuel |
From: Frank S. <fs...@in...> - 2014-03-18 15:54:45
|
Hey Rob, ah, ok. I did not know this. As I am a big fan of using standards and my SPARQL-queries should work with more than a virtuoso endpoint, I would go with the specification and don't expect non-standard feedback. At least I can wrap the call in a try/catch block to get any errors from the server. If none is thrown, I'd asume my operation finished as intended. Thanks again, Frank Am 18.03.2014 16:18, schrieb Rob Vesse: > Frank > > Unfortunately that information is not available in most (if not all) cases. > > The SPARQL specifications don't require implementations to track how many > triples were inserted/deleted so there is no standard for responding with > this information over HTTP. You mentioned you are using Virtuoso who are > well known for their non-standard SPARQL extensions so it may be worth > searching their documentation to see if they actually return this > information over HTTP in any way. > > Or a quicker way may be to try an update through your browser and use a > browser extension to view the HTTP headers of the response to see if they > include that information in a custom header. > > Rob > > On 18/03/2014 15:12, "Frank Schumacher" <fs...@in...> > wrote: > >> Hey Rob, >> >> this was exactly the problem! Thanks a lot! >> I also considered your recomendation about using the >> SparqlRemoteUpdateEndpoint class - it works fine. Is it possible to get >> any feedback about the success of the action like in sql (from where I >> come), i.e. "5 triples deleted" or "2 triples inserted"? >> >> Thanks again, you saved my day :) >> Frank >> >> Am 18.03.2014 15:17, schrieb Rob Vesse: >>> I'm guessing you do anything with the result of the QueryRaw() call >>> which >>> is a HttpWebResponse? >>> >>> If you don't then you are leaving the connections open and the .Net >>> runtime imposes a limit on the number of open connections to a single >>> server. I believe this is in fact 2 connections hence why the third >>> request always fails since it is waiting for a connection to be free but >>> they are already used by the previous request. You should make sure you >>> wrap any usage of QueryRaw() in a using block like so: >>> >>> using (HttpWebResponse response = endpoint.QueryRaw(update)) { >>> // If you get here then the request succeeded and we close the >>> response >>> explicitly >>> response.Close(); >>> } >>> >>> Then even if the request errors the using block ensures that any >>> response >>> gets disposed of (which internally closes the connection) so you are >>> covered either way. >>> >>> You may want to consider using the complementary >>> SparqlRemoteUpdateEndpoint class for running updates, it has an Update() >>> method which handles submitting SPARQL updates and ensuring connections >>> are appropriately closed. >>> >>> Hope this helps, >>> >>> Rob >>> >>> On 18/03/2014 13:12, "Frank Schumacher" <fs...@in...> >>> wrote: >>> >>>> Hi folks, >>>> >>>> I am using the dotNetRDF-Framework to access a SPARQL-endpoint of our >>>> virtuoso server. At first, let me thank you to provide this framework, >>>> as it is a good tool for a semantic web beginner to get started with! >>>> >>>> I just stumbled upon a mysterious error, which I hope you can shed some >>>> light on. I am trying some examples to see how to insert/delete triples >>>> to the graph. After executing a delete and an insert, the endpoint >>>> doesn't react anymore and I run into a timeout. But let me show you >>>> some >>>> code! >>>> >>>> // define the endpoint >>>> SparqlRemoteEndpoint endpoint = new SparqlRemoteEndpoint(new >>>> Uri("http://www.creativeartefact.org/sparql"), >>>> "http://139.18.2.148/MusicBusinessOntology"); >>>> endpoint.Timeout = 100000; >>>> >>>> // get everything in the graph >>>> string everything = "select * where {?s ?p ?o}"; >>>> >>>> // insert data >>>> string insert1 = "INSERT DATA { GRAPH >>>> <http://139.18.2.148/MusicBusinessOntology> { >>>> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> >>>> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> >>>> <http://artefakt.org/MusicBusinessVocabulary/MusicArtist>. >>>> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> >>>> <http://www.w3.org/2000/01/rdf-schema#label> \"Disillusion\" . } }"; >>>> >>>> // delete data >>>> string delete1 = "DELETE WHERE { GRAPH >>>> <http://139.18.2.148/MusicBusinessOntology> { >>>> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> ?p ?o } }"; >>>> >>>> 1) endpoint.QueryRaw(delete1); >>>> 2) endpoint.QueryRaw(insert1); >>>> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>>> >>>> when I execute delete and insert, the next query will run into a >>>> timeout >>>> >>>> 1) endpoint.QueryRaw(delete1); >>>> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>>> works >>>> >>>> 2) endpoint.QueryRaw(insert1); >>>> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>>> works as well >>>> >>>> It is always the third request: >>>> 1) endpoint.QueryRaw(delete1); >>>> 2) endpoint.QueryRaw(insert1); >>>> 3) endpoint.QueryRaw(delete1); >>>> 4) endpoint.QueryRaw(insert1); >>>> 5) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>>> >>>> => the timeout occurs at the third query. >>>> >>>> I even put a breakpoint at the third line. Before executing this line, >>>> I >>>> execute the select statement vie webinterface against the >>>> SPAQRL-endpoint. The webinterface request works fine - but if I let the >>>> program continue, it still runs into a timeout. I even tried a second >>>> SparqlRemoteEndpoint instance - same problem. >>>> >>>> Any idea, what might be the reason for this behaviour and how to fix >>>> it? >>>> >>>> Many thanks, >>>> Frank >>>> >>>> -- >>>> ************************************************ >>>> * Universität Leipzig, Institut für Informatik * >>>> * Abteilung Betriebliche Informationssysteme * >>>> * http://bis.informatik.uni-leipzig.de * >>>> * Tel.: 0341 / 97 32 256 * >>>> * * >>>> * ========== Opera Metal: molllust =========== * >>>> * http://www.molllust.com * >>>> * M'era Luna Newcomer 2013! * >>>> ************************************************ >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> -- >>>> ---- >>>> Learn Graph Databases - Download FREE O'Reilly Book >>>> "Graph Databases" is the definitive new guide to graph databases and >>>> their >>>> applications. Written by three acclaimed leaders in the field, >>>> this first edition is now available. Download your free book today! >>>> http://p.sf.net/sfu/13534_NeoTech >>>> _______________________________________________ >>>> dotNetRDF-Support mailing list >>>> dot...@li... >>>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> ----- >>> Learn Graph Databases - Download FREE O'Reilly Book >>> "Graph Databases" is the definitive new guide to graph databases and >>> their >>> applications. Written by three acclaimed leaders in the field, >>> this first edition is now available. Download your free book today! >>> http://p.sf.net/sfu/13534_NeoTech >>> _______________________________________________ >>> dotNetRDF-Support mailing list >>> dot...@li... >>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >>> >> >> >> -- >> ************************************************ >> * Universität Leipzig, Institut für Informatik * >> * Abteilung Betriebliche Informationssysteme * >> * http://bis.informatik.uni-leipzig.de * >> * Tel.: 0341 / 97 32 256 * >> * * >> * ========== Opera Metal: molllust =========== * >> * http://www.molllust.com * >> * M'era Luna Newcomer 2013! * >> ************************************************ >> >> -------------------------------------------------------------------------- >> ---- >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> dotNetRDF-Support mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > -- ************************************************ * Universität Leipzig, Institut für Informatik * * Abteilung Betriebliche Informationssysteme * * http://bis.informatik.uni-leipzig.de * * Tel.: 0341 / 97 32 256 * * * * ========== Opera Metal: molllust =========== * * http://www.molllust.com * * M'era Luna Newcomer 2013! * ************************************************ |
From: Rob V. <rv...@do...> - 2014-03-18 15:19:43
|
Frank Unfortunately that information is not available in most (if not all) cases. The SPARQL specifications don't require implementations to track how many triples were inserted/deleted so there is no standard for responding with this information over HTTP. You mentioned you are using Virtuoso who are well known for their non-standard SPARQL extensions so it may be worth searching their documentation to see if they actually return this information over HTTP in any way. Or a quicker way may be to try an update through your browser and use a browser extension to view the HTTP headers of the response to see if they include that information in a custom header. Rob On 18/03/2014 15:12, "Frank Schumacher" <fs...@in...> wrote: >Hey Rob, > >this was exactly the problem! Thanks a lot! >I also considered your recomendation about using the >SparqlRemoteUpdateEndpoint class - it works fine. Is it possible to get >any feedback about the success of the action like in sql (from where I >come), i.e. "5 triples deleted" or "2 triples inserted"? > >Thanks again, you saved my day :) >Frank > >Am 18.03.2014 15:17, schrieb Rob Vesse: >> I'm guessing you do anything with the result of the QueryRaw() call >>which >> is a HttpWebResponse? >> >> If you don't then you are leaving the connections open and the .Net >> runtime imposes a limit on the number of open connections to a single >> server. I believe this is in fact 2 connections hence why the third >> request always fails since it is waiting for a connection to be free but >> they are already used by the previous request. You should make sure you >> wrap any usage of QueryRaw() in a using block like so: >> >> using (HttpWebResponse response = endpoint.QueryRaw(update)) { >> // If you get here then the request succeeded and we close the >>response >> explicitly >> response.Close(); >> } >> >> Then even if the request errors the using block ensures that any >>response >> gets disposed of (which internally closes the connection) so you are >> covered either way. >> >> You may want to consider using the complementary >> SparqlRemoteUpdateEndpoint class for running updates, it has an Update() >> method which handles submitting SPARQL updates and ensuring connections >> are appropriately closed. >> >> Hope this helps, >> >> Rob >> >> On 18/03/2014 13:12, "Frank Schumacher" <fs...@in...> >> wrote: >> >>> Hi folks, >>> >>> I am using the dotNetRDF-Framework to access a SPARQL-endpoint of our >>> virtuoso server. At first, let me thank you to provide this framework, >>> as it is a good tool for a semantic web beginner to get started with! >>> >>> I just stumbled upon a mysterious error, which I hope you can shed some >>> light on. I am trying some examples to see how to insert/delete triples >>> to the graph. After executing a delete and an insert, the endpoint >>> doesn't react anymore and I run into a timeout. But let me show you >>>some >>> code! >>> >>> // define the endpoint >>> SparqlRemoteEndpoint endpoint = new SparqlRemoteEndpoint(new >>> Uri("http://www.creativeartefact.org/sparql"), >>> "http://139.18.2.148/MusicBusinessOntology"); >>> endpoint.Timeout = 100000; >>> >>> // get everything in the graph >>> string everything = "select * where {?s ?p ?o}"; >>> >>> // insert data >>> string insert1 = "INSERT DATA { GRAPH >>> <http://139.18.2.148/MusicBusinessOntology> { >>> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> >>> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> >>> <http://artefakt.org/MusicBusinessVocabulary/MusicArtist>. >>> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> >>> <http://www.w3.org/2000/01/rdf-schema#label> \"Disillusion\" . } }"; >>> >>> // delete data >>> string delete1 = "DELETE WHERE { GRAPH >>> <http://139.18.2.148/MusicBusinessOntology> { >>> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> ?p ?o } }"; >>> >>> 1) endpoint.QueryRaw(delete1); >>> 2) endpoint.QueryRaw(insert1); >>> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>> >>> when I execute delete and insert, the next query will run into a >>>timeout >>> >>> 1) endpoint.QueryRaw(delete1); >>> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>> works >>> >>> 2) endpoint.QueryRaw(insert1); >>> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>> works as well >>> >>> It is always the third request: >>> 1) endpoint.QueryRaw(delete1); >>> 2) endpoint.QueryRaw(insert1); >>> 3) endpoint.QueryRaw(delete1); >>> 4) endpoint.QueryRaw(insert1); >>> 5) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >>> >>> => the timeout occurs at the third query. >>> >>> I even put a breakpoint at the third line. Before executing this line, >>>I >>> execute the select statement vie webinterface against the >>> SPAQRL-endpoint. The webinterface request works fine - but if I let the >>> program continue, it still runs into a timeout. I even tried a second >>> SparqlRemoteEndpoint instance - same problem. >>> >>> Any idea, what might be the reason for this behaviour and how to fix >>>it? >>> >>> Many thanks, >>> Frank >>> >>> -- >>> ************************************************ >>> * Universität Leipzig, Institut für Informatik * >>> * Abteilung Betriebliche Informationssysteme * >>> * http://bis.informatik.uni-leipzig.de * >>> * Tel.: 0341 / 97 32 256 * >>> * * >>> * ========== Opera Metal: molllust =========== * >>> * http://www.molllust.com * >>> * M'era Luna Newcomer 2013! * >>> ************************************************ >>> >>> >>>------------------------------------------------------------------------ >>>-- >>> ---- >>> Learn Graph Databases - Download FREE O'Reilly Book >>> "Graph Databases" is the definitive new guide to graph databases and >>>their >>> applications. Written by three acclaimed leaders in the field, >>> this first edition is now available. Download your free book today! >>> http://p.sf.net/sfu/13534_NeoTech >>> _______________________________________________ >>> dotNetRDF-Support mailing list >>> dot...@li... >>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >> >> >> >> >> >> >>------------------------------------------------------------------------- >>----- >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and >>their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> dotNetRDF-Support mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >> > > >-- >************************************************ >* Universität Leipzig, Institut für Informatik * >* Abteilung Betriebliche Informationssysteme * >* http://bis.informatik.uni-leipzig.de * >* Tel.: 0341 / 97 32 256 * >* * >* ========== Opera Metal: molllust =========== * >* http://www.molllust.com * >* M'era Luna Newcomer 2013! * >************************************************ > >-------------------------------------------------------------------------- >---- >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and their >applications. Written by three acclaimed leaders in the field, >this first edition is now available. Download your free book today! >http://p.sf.net/sfu/13534_NeoTech >_______________________________________________ >dotNetRDF-Support mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Frank S. <fs...@in...> - 2014-03-18 15:13:13
|
Hey Rob, this was exactly the problem! Thanks a lot! I also considered your recomendation about using the SparqlRemoteUpdateEndpoint class - it works fine. Is it possible to get any feedback about the success of the action like in sql (from where I come), i.e. "5 triples deleted" or "2 triples inserted"? Thanks again, you saved my day :) Frank Am 18.03.2014 15:17, schrieb Rob Vesse: > I'm guessing you do anything with the result of the QueryRaw() call which > is a HttpWebResponse? > > If you don't then you are leaving the connections open and the .Net > runtime imposes a limit on the number of open connections to a single > server. I believe this is in fact 2 connections hence why the third > request always fails since it is waiting for a connection to be free but > they are already used by the previous request. You should make sure you > wrap any usage of QueryRaw() in a using block like so: > > using (HttpWebResponse response = endpoint.QueryRaw(update)) { > // If you get here then the request succeeded and we close the response > explicitly > response.Close(); > } > > Then even if the request errors the using block ensures that any response > gets disposed of (which internally closes the connection) so you are > covered either way. > > You may want to consider using the complementary > SparqlRemoteUpdateEndpoint class for running updates, it has an Update() > method which handles submitting SPARQL updates and ensuring connections > are appropriately closed. > > Hope this helps, > > Rob > > On 18/03/2014 13:12, "Frank Schumacher" <fs...@in...> > wrote: > >> Hi folks, >> >> I am using the dotNetRDF-Framework to access a SPARQL-endpoint of our >> virtuoso server. At first, let me thank you to provide this framework, >> as it is a good tool for a semantic web beginner to get started with! >> >> I just stumbled upon a mysterious error, which I hope you can shed some >> light on. I am trying some examples to see how to insert/delete triples >> to the graph. After executing a delete and an insert, the endpoint >> doesn't react anymore and I run into a timeout. But let me show you some >> code! >> >> // define the endpoint >> SparqlRemoteEndpoint endpoint = new SparqlRemoteEndpoint(new >> Uri("http://www.creativeartefact.org/sparql"), >> "http://139.18.2.148/MusicBusinessOntology"); >> endpoint.Timeout = 100000; >> >> // get everything in the graph >> string everything = "select * where {?s ?p ?o}"; >> >> // insert data >> string insert1 = "INSERT DATA { GRAPH >> <http://139.18.2.148/MusicBusinessOntology> { >> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> >> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> >> <http://artefakt.org/MusicBusinessVocabulary/MusicArtist>. >> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> >> <http://www.w3.org/2000/01/rdf-schema#label> \"Disillusion\" . } }"; >> >> // delete data >> string delete1 = "DELETE WHERE { GRAPH >> <http://139.18.2.148/MusicBusinessOntology> { >> <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> ?p ?o } }"; >> >> 1) endpoint.QueryRaw(delete1); >> 2) endpoint.QueryRaw(insert1); >> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >> >> when I execute delete and insert, the next query will run into a timeout >> >> 1) endpoint.QueryRaw(delete1); >> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >> works >> >> 2) endpoint.QueryRaw(insert1); >> 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >> works as well >> >> It is always the third request: >> 1) endpoint.QueryRaw(delete1); >> 2) endpoint.QueryRaw(insert1); >> 3) endpoint.QueryRaw(delete1); >> 4) endpoint.QueryRaw(insert1); >> 5) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >> >> => the timeout occurs at the third query. >> >> I even put a breakpoint at the third line. Before executing this line, I >> execute the select statement vie webinterface against the >> SPAQRL-endpoint. The webinterface request works fine - but if I let the >> program continue, it still runs into a timeout. I even tried a second >> SparqlRemoteEndpoint instance - same problem. >> >> Any idea, what might be the reason for this behaviour and how to fix it? >> >> Many thanks, >> Frank >> >> -- >> ************************************************ >> * Universität Leipzig, Institut für Informatik * >> * Abteilung Betriebliche Informationssysteme * >> * http://bis.informatik.uni-leipzig.de * >> * Tel.: 0341 / 97 32 256 * >> * * >> * ========== Opera Metal: molllust =========== * >> * http://www.molllust.com * >> * M'era Luna Newcomer 2013! * >> ************************************************ >> >> -------------------------------------------------------------------------- >> ---- >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> dotNetRDF-Support mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > -- ************************************************ * Universität Leipzig, Institut für Informatik * * Abteilung Betriebliche Informationssysteme * * http://bis.informatik.uni-leipzig.de * * Tel.: 0341 / 97 32 256 * * * * ========== Opera Metal: molllust =========== * * http://www.molllust.com * * M'era Luna Newcomer 2013! * ************************************************ |
From: Rob V. <rv...@do...> - 2014-03-18 14:18:22
|
I'm guessing you do anything with the result of the QueryRaw() call which is a HttpWebResponse? If you don't then you are leaving the connections open and the .Net runtime imposes a limit on the number of open connections to a single server. I believe this is in fact 2 connections hence why the third request always fails since it is waiting for a connection to be free but they are already used by the previous request. You should make sure you wrap any usage of QueryRaw() in a using block like so: using (HttpWebResponse response = endpoint.QueryRaw(update)) { // If you get here then the request succeeded and we close the response explicitly response.Close(); } Then even if the request errors the using block ensures that any response gets disposed of (which internally closes the connection) so you are covered either way. You may want to consider using the complementary SparqlRemoteUpdateEndpoint class for running updates, it has an Update() method which handles submitting SPARQL updates and ensuring connections are appropriately closed. Hope this helps, Rob On 18/03/2014 13:12, "Frank Schumacher" <fs...@in...> wrote: >Hi folks, > >I am using the dotNetRDF-Framework to access a SPARQL-endpoint of our >virtuoso server. At first, let me thank you to provide this framework, >as it is a good tool for a semantic web beginner to get started with! > >I just stumbled upon a mysterious error, which I hope you can shed some >light on. I am trying some examples to see how to insert/delete triples >to the graph. After executing a delete and an insert, the endpoint >doesn't react anymore and I run into a timeout. But let me show you some >code! > >// define the endpoint >SparqlRemoteEndpoint endpoint = new SparqlRemoteEndpoint(new >Uri("http://www.creativeartefact.org/sparql"), >"http://139.18.2.148/MusicBusinessOntology"); >endpoint.Timeout = 100000; > >// get everything in the graph >string everything = "select * where {?s ?p ?o}"; > >// insert data >string insert1 = "INSERT DATA { GRAPH ><http://139.18.2.148/MusicBusinessOntology> { ><http://139.18.2.148/MusicBusinessOntology/URIDISILLU> ><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ><http://artefakt.org/MusicBusinessVocabulary/MusicArtist>. ><http://139.18.2.148/MusicBusinessOntology/URIDISILLU> ><http://www.w3.org/2000/01/rdf-schema#label> \"Disillusion\" . } }"; > >// delete data >string delete1 = "DELETE WHERE { GRAPH ><http://139.18.2.148/MusicBusinessOntology> { ><http://139.18.2.148/MusicBusinessOntology/URIDISILLU> ?p ?o } }"; > >1) endpoint.QueryRaw(delete1); >2) endpoint.QueryRaw(insert1); >3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); > >when I execute delete and insert, the next query will run into a timeout > >1) endpoint.QueryRaw(delete1); >3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >works > >2) endpoint.QueryRaw(insert1); >3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); >works as well > >It is always the third request: >1) endpoint.QueryRaw(delete1); >2) endpoint.QueryRaw(insert1); >3) endpoint.QueryRaw(delete1); >4) endpoint.QueryRaw(insert1); >5) SparqlResultSet results = endpoint.QueryWithResultSet(everything); > >=> the timeout occurs at the third query. > >I even put a breakpoint at the third line. Before executing this line, I >execute the select statement vie webinterface against the >SPAQRL-endpoint. The webinterface request works fine - but if I let the >program continue, it still runs into a timeout. I even tried a second >SparqlRemoteEndpoint instance - same problem. > >Any idea, what might be the reason for this behaviour and how to fix it? > >Many thanks, >Frank > >-- >************************************************ >* Universität Leipzig, Institut für Informatik * >* Abteilung Betriebliche Informationssysteme * >* http://bis.informatik.uni-leipzig.de * >* Tel.: 0341 / 97 32 256 * >* * >* ========== Opera Metal: molllust =========== * >* http://www.molllust.com * >* M'era Luna Newcomer 2013! * >************************************************ > >-------------------------------------------------------------------------- >---- >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and their >applications. Written by three acclaimed leaders in the field, >this first edition is now available. Download your free book today! >http://p.sf.net/sfu/13534_NeoTech >_______________________________________________ >dotNetRDF-Support mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Frank S. <fs...@in...> - 2014-03-18 13:12:39
|
Hi folks, I am using the dotNetRDF-Framework to access a SPARQL-endpoint of our virtuoso server. At first, let me thank you to provide this framework, as it is a good tool for a semantic web beginner to get started with! I just stumbled upon a mysterious error, which I hope you can shed some light on. I am trying some examples to see how to insert/delete triples to the graph. After executing a delete and an insert, the endpoint doesn't react anymore and I run into a timeout. But let me show you some code! // define the endpoint SparqlRemoteEndpoint endpoint = new SparqlRemoteEndpoint(new Uri("http://www.creativeartefact.org/sparql"), "http://139.18.2.148/MusicBusinessOntology"); endpoint.Timeout = 100000; // get everything in the graph string everything = "select * where {?s ?p ?o}"; // insert data string insert1 = "INSERT DATA { GRAPH <http://139.18.2.148/MusicBusinessOntology> { <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://artefakt.org/MusicBusinessVocabulary/MusicArtist>. <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> <http://www.w3.org/2000/01/rdf-schema#label> \"Disillusion\" . } }"; // delete data string delete1 = "DELETE WHERE { GRAPH <http://139.18.2.148/MusicBusinessOntology> { <http://139.18.2.148/MusicBusinessOntology/URIDISILLU> ?p ?o } }"; 1) endpoint.QueryRaw(delete1); 2) endpoint.QueryRaw(insert1); 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); when I execute delete and insert, the next query will run into a timeout 1) endpoint.QueryRaw(delete1); 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); works 2) endpoint.QueryRaw(insert1); 3) SparqlResultSet results = endpoint.QueryWithResultSet(everything); works as well It is always the third request: 1) endpoint.QueryRaw(delete1); 2) endpoint.QueryRaw(insert1); 3) endpoint.QueryRaw(delete1); 4) endpoint.QueryRaw(insert1); 5) SparqlResultSet results = endpoint.QueryWithResultSet(everything); => the timeout occurs at the third query. I even put a breakpoint at the third line. Before executing this line, I execute the select statement vie webinterface against the SPAQRL-endpoint. The webinterface request works fine - but if I let the program continue, it still runs into a timeout. I even tried a second SparqlRemoteEndpoint instance - same problem. Any idea, what might be the reason for this behaviour and how to fix it? Many thanks, Frank -- ************************************************ * Universität Leipzig, Institut für Informatik * * Abteilung Betriebliche Informationssysteme * * http://bis.informatik.uni-leipzig.de * * Tel.: 0341 / 97 32 256 * * * * ========== Opera Metal: molllust =========== * * http://www.molllust.com * * M'era Luna Newcomer 2013! * ************************************************ |
From: Rob V. <rv...@do...> - 2014-03-14 11:52:27
|
Hi All We're pleased to announce the release of dotNetRDF 1.0.4 (http://www.dotnetrdf.org/blogitem.asp?blogID=80). This is a minor feature and bug fix release which adds support for RDF 1.1 NTriples and NQuads and fixes various reported bugs. Thanks as always to everyone who reported bugs/provided patches and helped produce this release. Cheers, Rob |
From: altaf h. <alt...@ya...> - 2014-03-10 14:35:17
|
Hello Rob, Its not serialized as exactly as how OWLAPI/Protege did. But It worked. Seeing the difference among the serialization I did not tried to run in protege. <OWL:Class rdf:about="&PO;Person"> <rdf:type rdf:resource="&OWL;Class" /> </OWL:Class> <OWL:Ontology rdf:about="http://altaf.cli.org/HelathCareSystemOntology"> <rdf:type rdf:resource="&OWL;Ontology" /> </OWL:Ontology> CODE: Ontology onto = new Ontology(ontologyGraph.CreateUriNode(new Uri("http://altaf.cli.org/HelathCareSystemOntology")), ontologyGraph); Thank you so much. Kind Regards, Altaf Hussain On Monday, March 10, 2014 11:25 AM, altaf hussain <alt...@ya...> wrote: Thanks Rob for your prompt response. I have checked based on your suggestion, but as I checked on API documentation, there is no way of adding Owl:Ontology object. The "Ontology" meta-info class has no way of doing so. In addition I have checked to add via underlying ontologyGraph, but only there is ways to add property/resource/class will actually be serialized as owl:Class or Owl:Properties. I have investigated on Protege created ontology, here is how it doing in two cases: 1) <rdf:RDF xmlns="http://www.pz.com/mypizzafactory.owl#" xml:base="http://www.pz.com/mypizzafactory.owl" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:mypizzafactory="http://www.pz.com/mypizzafactory.owl#" xmlns:ace_lexicon="http://attempto.ifi.uzh.ch/ace_lexicon#"> <owl:Ontology rdf:about="http://www.pz.com/mypizzafactory.owl"/> 2) <Ontology xmlns="http://www.w3.org/2002/07/owl#" xml:base="http://altaf.ongology.org/HardwareOntology" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xml="http://www.w3.org/XML/1998/namespace" ontologyIRI="http://altaf.ongology.org/HardwareOntology"> .... Clearly, OWLApi handled these specially. I have no idea for a work around. May be from these two case, you might find something (Just hoping). Thank you so much for your support. Kind Regards, Altaf Hussain On Monday, March 10, 2014 6:15 AM, Rob Vesse <rv...@do...> wrote: The Base URI is simply the URI used for resolving relative URIs it is not the ontology URI and is not necessarily serialized depending on the RDF syntax used. From what I understand of OWL the Ontology IRI is the one declared in the actual triples typically by adding a foo rdf:type owl:Ontology triple to your ontology where foo is your desired ontology IRI But I don't know OWL very well and have never used Protégé so no guarantees that this will resolve your problem Rob From: altaf hussain <alt...@ya...> Reply-To: altaf hussain <alt...@ya...>, dotNetRDF User Help and Support <dot...@li...> Date: Monday, 10 March 2014 03:50 To: "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] Protege Ontology IRI for DotNetRdf Created ontology Hello, > > >I am crating an ontology using the framework. > > >I have set the Base URI for the ontology but when I open it from Protege, it doesn't show the IRI. Isn't the Base Uri supposed to be the Ontology Iri in protege? (FYI, all crated classes and properties are well read and recognized by protege. > > >My Code is like this: > > > public static OntologyGraph ontologyGraph = new OntologyGraph(); > > > public static void InitializeOntologyGraph() > { > ontologyGraph.BaseUri = new Uri("http://altaf.cli.com/PatientOntology.owl#"); > ontologyGraph.NamespaceMap.AddNamespace("PO", new Uri("http://altaf.cli.com/PatientOntology.owl#")); > ontologyGraph.NamespaceMap.AddNamespace("OWL", new Uri(NamespaceMapper.OWL)); > } > > >My Ontology first few lines are like this: (Thought, would be relevant). Please let me know what I am doing wrong or there is other ways of specifying such. > > ><?xml version="1.0" encoding="utf-8"?> ><!DOCTYPE rdf:RDF [ > <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> > <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'> > <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'> > <!ENTITY owl 'http://www.w3.org/2002/07/owl#'> > <!ENTITY PO 'http://altaf.cli.com/PatientOntology.owl#'> > <!ENTITY OWL 'http://www.w3.org/2002/07/owl#'> >]> ><rdf:RDF xml:base="http://altaf.cli.com/PatientOntology.owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:PO="http://altaf.cli.com/PatientOntology.owl#" xmlns:OWL="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > <OWL:Class rdf:about="&PO;ClinicalTest"> > <rdf:type rdf:resource="&OWL;Class" /> > </OWL:Class> >.............................. > > > >Kind Regards, > > >Altaf Hussain >Graduate Student Researcher >Centre for Logic and Information > > >Graduate Student (CS) and Teaching Assistant >St. Francis Xavier University >Alumni' 02 Batch, Dept. of Computer Science and Engineering >Shah Jalal University of Science and Technology >Blog: http://altafhussainbd.wordpress.com > >------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: altaf h. <alt...@ya...> - 2014-03-10 14:25:41
|
Thanks Rob for your prompt response. I have checked based on your suggestion, but as I checked on API documentation, there is no way of adding Owl:Ontology object. The "Ontology" meta-info class has no way of doing so. In addition I have checked to add via underlying ontologyGraph, but only there is ways to add property/resource/class will actually be serialized as owl:Class or Owl:Properties. I have investigated on Protege created ontology, here is how it doing in two cases: 1) <rdf:RDF xmlns="http://www.pz.com/mypizzafactory.owl#" xml:base="http://www.pz.com/mypizzafactory.owl" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:mypizzafactory="http://www.pz.com/mypizzafactory.owl#" xmlns:ace_lexicon="http://attempto.ifi.uzh.ch/ace_lexicon#"> <owl:Ontology rdf:about="http://www.pz.com/mypizzafactory.owl"/> 2) <Ontology xmlns="http://www.w3.org/2002/07/owl#" xml:base="http://altaf.ongology.org/HardwareOntology" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xml="http://www.w3.org/XML/1998/namespace" ontologyIRI="http://altaf.ongology.org/HardwareOntology"> .... Clearly, OWLApi handled these specially. I have no idea for a work around. May be from these two case, you might find something (Just hoping). Thank you so much for your support. Kind Regards, Altaf Hussain On Monday, March 10, 2014 6:15 AM, Rob Vesse <rv...@do...> wrote: The Base URI is simply the URI used for resolving relative URIs it is not the ontology URI and is not necessarily serialized depending on the RDF syntax used. From what I understand of OWL the Ontology IRI is the one declared in the actual triples typically by adding a foo rdf:type owl:Ontology triple to your ontology where foo is your desired ontology IRI But I don't know OWL very well and have never used Protégé so no guarantees that this will resolve your problem Rob From: altaf hussain <alt...@ya...> Reply-To: altaf hussain <alt...@ya...>, dotNetRDF User Help and Support <dot...@li...> Date: Monday, 10 March 2014 03:50 To: "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] Protege Ontology IRI for DotNetRdf Created ontology Hello, > > >I am crating an ontology using the framework. > > >I have set the Base URI for the ontology but when I open it from Protege, it doesn't show the IRI. Isn't the Base Uri supposed to be the Ontology Iri in protege? (FYI, all crated classes and properties are well read and recognized by protege. > > >My Code is like this: > > > public static OntologyGraph ontologyGraph = new OntologyGraph(); > > > public static void InitializeOntologyGraph() > { > ontologyGraph.BaseUri = new Uri("http://altaf.cli.com/PatientOntology.owl#"); > ontologyGraph.NamespaceMap.AddNamespace("PO", new Uri("http://altaf.cli.com/PatientOntology.owl#")); > ontologyGraph.NamespaceMap.AddNamespace("OWL", new Uri(NamespaceMapper.OWL)); > } > > >My Ontology first few lines are like this: (Thought, would be relevant). Please let me know what I am doing wrong or there is other ways of specifying such. > > ><?xml version="1.0" encoding="utf-8"?> ><!DOCTYPE rdf:RDF [ > <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> > <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'> > <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'> > <!ENTITY owl 'http://www.w3.org/2002/07/owl#'> > <!ENTITY PO 'http://altaf.cli.com/PatientOntology.owl#'> > <!ENTITY OWL 'http://www.w3.org/2002/07/owl#'> >]> ><rdf:RDF xml:base="http://altaf.cli.com/PatientOntology.owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:PO="http://altaf.cli.com/PatientOntology.owl#" xmlns:OWL="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > <OWL:Class rdf:about="&PO;ClinicalTest"> > <rdf:type rdf:resource="&OWL;Class" /> > </OWL:Class> >.............................. > > > >Kind Regards, > > >Altaf Hussain >Graduate Student Researcher >Centre for Logic and Information > > >Graduate Student (CS) and Teaching Assistant >St. Francis Xavier University >Alumni' 02 Batch, Dept. of Computer Science and Engineering >Shah Jalal University of Science and Technology >Blog: http://altafhussainbd.wordpress.com > >------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-03-10 09:15:55
|
The Base URI is simply the URI used for resolving relative URIs it is not the ontology URI and is not necessarily serialized depending on the RDF syntax used. >From what I understand of OWL the Ontology IRI is the one declared in the actual triples typically by adding a foo rdf:type owl:Ontology triple to your ontology where foo is your desired ontology IRI But I don't know OWL very well and have never used Protégé so no guarantees that this will resolve your problem Rob From: altaf hussain <alt...@ya...> Reply-To: altaf hussain <alt...@ya...>, dotNetRDF User Help and Support <dot...@li...> Date: Monday, 10 March 2014 03:50 To: "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] Protege Ontology IRI for DotNetRdf Created ontology > Hello, > > I am crating an ontology using the framework. > > I have set the Base URI for the ontology but when I open it from Protege, it > doesn't show the IRI. Isn't the Base Uri supposed to be the Ontology Iri in > protege? (FYI, all crated classes and properties are well read and recognized > by protege. > > My Code is like this: > > public static OntologyGraph ontologyGraph = new OntologyGraph(); > > public static void InitializeOntologyGraph() > { > ontologyGraph.BaseUri = new > Uri("http://altaf.cli.com/PatientOntology.owl#"); > ontologyGraph.NamespaceMap.AddNamespace("PO", new > Uri("http://altaf.cli.com/PatientOntology.owl#")); > ontologyGraph.NamespaceMap.AddNamespace("OWL", new > Uri(NamespaceMapper.OWL)); > } > > My Ontology first few lines are like this: (Thought, would be relevant). > Please let me know what I am doing wrong or there is other ways of specifying > such. > > <?xml version="1.0" encoding="utf-8"?> > <!DOCTYPE rdf:RDF [ > <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> > <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'> > <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'> > <!ENTITY owl 'http://www.w3.org/2002/07/owl#'> > <!ENTITY PO 'http://altaf.cli.com/PatientOntology.owl#'> > <!ENTITY OWL 'http://www.w3.org/2002/07/owl#'> > ]> > <rdf:RDF xml:base="http://altaf.cli.com/PatientOntology.owl#" > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > xmlns:owl="http://www.w3.org/2002/07/owl#" > xmlns:PO="http://altaf.cli.com/PatientOntology.owl#" > xmlns:OWL="http://www.w3.org/2002/07/owl#" > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > <OWL:Class rdf:about="&PO;ClinicalTest"> > <rdf:type rdf:resource="&OWL;Class" /> > </OWL:Class> > .............................. > > > Kind Regards, > > Altaf Hussain > Graduate Student Researcher > Centre for Logic and Information <http://logic.stfx.ca/about> > > Graduate Student (CS) and Teaching Assistant > St. Francis Xavier University <http://stfx.ca/> > Alumni' 02 Batch, Dept. of Computer Science and Engineering > Shah Jalal University of Science and Technology <http://www.sust.edu/> > Blog: http://altafhussainbd.wordpress.com > <http://altafhussainbd.wordpress.com/> > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the > definitive new guide to graph databases and their applications. Written by > three acclaimed leaders in the field, this first edition is now available. > Download your free book today! > http://p.sf.net/sfu/13534_NeoTech_____________________________________________ > __ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: altaf h. <alt...@ya...> - 2014-03-10 03:50:15
|
Hello, I am crating an ontology using the framework. I have set the Base URI for the ontology but when I open it from Protege, it doesn't show the IRI. Isn't the Base Uri supposed to be the Ontology Iri in protege? (FYI, all crated classes and properties are well read and recognized by protege. My Code is like this: public static OntologyGraph ontologyGraph = new OntologyGraph(); public static void InitializeOntologyGraph() { ontologyGraph.BaseUri = new Uri("http://altaf.cli.com/PatientOntology.owl#"); ontologyGraph.NamespaceMap.AddNamespace("PO", new Uri("http://altaf.cli.com/PatientOntology.owl#")); ontologyGraph.NamespaceMap.AddNamespace("OWL", new Uri(NamespaceMapper.OWL)); } My Ontology first few lines are like this: (Thought, would be relevant). Please let me know what I am doing wrong or there is other ways of specifying such. <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE rdf:RDF [ <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'> <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'> <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'> <!ENTITY owl 'http://www.w3.org/2002/07/owl#'> <!ENTITY PO 'http://altaf.cli.com/PatientOntology.owl#'> <!ENTITY OWL 'http://www.w3.org/2002/07/owl#'> ]> <rdf:RDF xml:base="http://altaf.cli.com/PatientOntology.owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:PO="http://altaf.cli.com/PatientOntology.owl#" xmlns:OWL="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <OWL:Class rdf:about="&PO;ClinicalTest"> <rdf:type rdf:resource="&OWL;Class" /> </OWL:Class> .............................. Kind Regards, Altaf Hussain Graduate Student Researcher Centre for Logic and Information Graduate Student (CS) and Teaching Assistant St. Francis Xavier University Alumni' 02 Batch, Dept. of Computer Science and Engineering Shah Jalal University of Science and Technology Blog: http://altafhussainbd.wordpress.com |
From: Rob V. <rv...@do...> - 2014-02-24 12:41:23
|
Hi Helping you with problems generally works best if you actually explain your problem, no-one here is a mind reader. Preferably this should be with a minimal self-contained example (see http://www.sscce.org for tips on this) that demonstrates your problem. Secondly please do not email developers directly, if you have a request for help please direct it to the support mailing list (to which this reply is sent and you are CC'd). If you wish to post future message please subscribe at https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support Regards, Rob Vesse From: Leonburn lee <leo...@ho...> Date: Sunday, 23 February 2014 05:05 To: Rob Vesse <rv...@do...> Subject: Ask for using dotnetrdf with THAI language. > Dear sir > > I'm Thai software developer. I would ask for help please. > > I have some problem with THAI languages in my RDF file when query with > dotnetRDF. > > Could you please advice me how to solve this problem? > > Best regards > > Dr.THANTHAM YEESARN > > Retailing Technology co.,ltd > Tel 0896660526 see > |
From: Eugen F <feu...@ya...> - 2014-02-21 13:01:32
|
Hi, I am also looking at this problem, didn't find any implementation, and it's kind of difficult to implement. I tried a similar implementation as suggested here ,but that will only work in simple cases. So now i'm looking if and how I can solve this with a custom implementation. On Friday, February 21, 2014 1:13 PM, Rob Vesse <rv...@do...> wrote: I don't know that anyone is doing this in a production system because it is non-trivial and expensive to implement while only being needed by a small portion of the user base. There's also the issue that different people have different definitions of what they want in a versioning system which means you almost certainly can't please everyone so most vendors seem to be taking the approach of letting users implement that layer themselves Rob From: manuel <man...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, 10 February 2014 20:44 To: dotNetRDF User Help and Support <dot...@li...> Subject: Re: [dotNetRDF-Support] keep track of the changes applied to the rdf graph Thanks Rob > >The feature that you mention implemented in dotNetRdf is interesting, but it does not what I need > >What I need is described well in this thread >http://stackoverflow.com/questions/2116582/triplestore-with-revisions >where it seems there is even a your intervention... > > >And I have found that you have worked on this issue ....(eprints.soton.ac.uk/267815/1/All_About_That_-_A_URI_Profiling_Tool_for_monitoring_and_preserving_Linked_Data.pdf) > >Is there no triple store that has a build-in mechanism for versioning? >Virtuoso declares to support delta V versioning functionalities, but it not clear in which way. >(see here: http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSDAVMD) > > Regards > Manuel > > > >________________________________ >Date: Mon, 10 Feb 2014 09:22:50 +0000 >From: rv...@do... >To: dot...@li... >Subject: Re: [dotNetRDF-Support] keep track of the changes applied to the rdf graph > > >Manuel > > >I don't know that any of the stores have explicit features for this. I think both AllegroGraph and Stardog have talked about features in this area in the past but I don't know if those features are in releases of their software. FYI the Talis Platform was discontinued by Talis hence why we dropped support for it a while back. > > >To be honest you can implement the Changeset concept using the dotNetRDF API (or any RDF API for that matter). dotNetRDF does have a Difference() method on the IGraph interface which will give you the basic differences between two graphs which you can use as a starting point. > > >Rob > >From: manuel <man...@ho...> >Reply-To: dotNetRDF User Help and Support <dot...@li...> >Date: Sunday, 9 February 2014 21:17 >To: "dot...@li..." <dot...@li...> >Subject: [dotNetRDF-Support] keep track of the changes applied to the rdf graph > > > >Hello to all >> >>Among the stores supported by dotnetrdf, is there any that supports the capability to keep track of the changes applied to the rdf graph (versioning)? >> >>Talis platform seems to support it in some way exploting the changeset concept. However, the Talis Platform via dotNetRDF is a feature any more supported. Is it right? >> >> Regards >> Manuel >> >>------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk_______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-02-21 11:14:39
|
Just to confirm that this has now been fixed and will be included in the next release Thanks, Rob From: Rob Vesse <rv...@do...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, 28 January 2014 20:05 To: dotNetRDF User Help and Support <dot...@li...> Subject: Re: [dotNetRDF-Support] Error when issuing CONSTRUCT statement to Virtuoso > Ok that is useful to know, thanks for the additional information. > > That would imply that this behaviour changed at some point in the v6 releases > after the point at which I last installed a Virtuoso instance. > > I suspect once I confirm this that it will be an easy fix > > Rob > > From: Edwin Toro <Ed...@la...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Tuesday, 28 January 2014 12:01 > To: dotNetRDF User Help and Support <dot...@li...> > Subject: Re: [dotNetRDF-Support] Error when issuing CONSTRUCT statement to > Virtuoso > >> Rob, >> >> Thanks for taking a look. >> >> I tried v6 and have the same issue. Just to be clear, I'm using the Open >> Source version of Virtuoso, 64-bit. >> >> http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSDownload#Pre-bu >> ilt%20binaries%20for%20Windows >> >> Version: 06.01.3127 >> Build: Dec 11 2013 >> >> >> >> From: Rob Vesse [mailto:rv...@do...] >> Sent: Tuesday, January 28, 2014 2:04 PM >> To: dotNetRDF User Help and Support >> Subject: Re: [dotNetRDF-Support] Error when issuing CONSTRUCT statement to >> Virtuoso >> >> >> Edwin >> >> >> >> I suspect this may be a change in how the Virtuoso server communicates >> between v6 and v7. The current code is all built and tested against v6 and I >> don't currently have a v7 instance to test against. I will need to get a v7 >> install set up so I can debug this. >> >> >> >> I'll get back to you when I know more, >> >> >> >> Rob >> >> >> >> From: Edwin Toro <Ed...@la...> >> Reply-To: dotNetRDF User Help and Support >> <dot...@li...> >> Date: Tuesday, 28 January 2014 09:13 >> To: "dot...@li..." >> <dot...@li...> >> Subject: [dotNetRDF-Support] Error when issuing CONSTRUCT statement to >> Virtuoso >> >> >>> >>> Hello all, >>> >>> After successfully running through the User Guide on the wiki, I starting >>> writing some test cases that connected to my local Virtuoso Open Source >>> installation. Everything was working fine until I tried running a CONSTRUCT >>> query: >>> >>> VirtuosoManager virtuoso = newVirtuosoManager("localhost", "dba", "dba"); >>> >>> var results = virtuoso.Query("CONSTRUCT { ?s ?p ?o } WHERE { GRAPH >>> <http://www.mycompany.com/exampleGraph> {?s ?p ?o}}"); >>> >>> The exception I get is: >>> Expected a single string value representing the serialization of the Graph >>> resulting from a CONSTRUCT/DESCRIBE query but this was not received (Got 4 >>> row(s) with 3column(s) >>> >>> I can run this query in Virtuoso's Conductor and it returns data just fine. >>> Am I doing something wrong or is this one of the inconsistencies hinted at >>> on the Virtuoso Storage Provider page? >>> >>> Virtuoso Open Source distribution: virtuoso-opensource-7.0.0-x64-20130802 >>> Version: 07.00.3203 >>> Build: Aug 3 2013 >>> >>> dotNetRdf version: 1.0.3 (via NuGet) >>> >>> Packages.config: >>> <packageid="dotNetRDF"version="1.0.3"targetFramework="net45" /> >>> <packageid="dotNetRDF.Data.Virtuoso"version="1.0.3"targetFramework="net45" >>> /> >>> <packageid="HtmlAgilityPack"version="1.4.6"targetFramework="net45" /> >>> <packageid="Newtonsoft.Json"version="5.0.8"targetFramework="net45" /> >>> >>> <packageid="OpenLink.Data.Virtuoso"version="6.2.3128.1"targetFramework="net4 >>> 5" /> >>> <packageid="VDS.Common"version="1.2.0"targetFramework="net45" /> >>> >>> Thanks in advance for any help! >>> >>> Regards, >>> >>> Ed Toro >>> >>> ---------------------------------------------------------------------------- >>> -- WatchGuard Dimension instantly turns raw network data into actionable >>> security intelligence. It gives you real-time visual feedback on key >>> security issues and trends. Skip the complicated setup - simply import a >>> virtual appliance and go from zero to informed in seconds. >>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk >>> _______________________________________________ dotNetRDF-Support mailing >>> list >>> dot...@li...https://lists.sourceforge.net/lists/l >>> istinfo/dotnetrdf-support >> ----------------------------------------------------------------------------- >> - WatchGuard Dimension instantly turns raw network data into actionable >> security intelligence. It gives you real-time visual feedback on key security >> issues and trends. Skip the complicated setup - simply import a virtual >> appliance and go from zero to informed in seconds. >> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_ >> ______________________________________________ dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable security > intelligence. It gives you real-time visual feedback on key security issues > and trends. Skip the complicated setup - simply import a virtual appliance > and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk__ > _____________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-02-21 11:13:40
|
I don't know that anyone is doing this in a production system because it is non-trivial and expensive to implement while only being needed by a small portion of the user base. There's also the issue that different people have different definitions of what they want in a versioning system which means you almost certainly can't please everyone so most vendors seem to be taking the approach of letting users implement that layer themselves Rob From: manuel <man...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, 10 February 2014 20:44 To: dotNetRDF User Help and Support <dot...@li...> Subject: Re: [dotNetRDF-Support] keep track of the changes applied to the rdf graph > Thanks Rob > > The feature that you mention implemented in dotNetRdf is interesting, but it > does not what I need > > What I need is described well in this thread > http://stackoverflow.com/questions/2116582/triplestore-with-revisions > where it seems there is even a your intervention... > > > And I have found that you have worked on this issue .... > (eprints.soton.ac.uk/267815/1/All_About_That_-_A_URI_Profiling_Tool_for_monito > ring_and_preserving_Linked_Data.pdf) > > Is there no triple store that has a build-in mechanism for versioning? > Virtuoso declares to support delta V versioning functionalities, but it not > clear in which way. > (see here: > http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSDAVMD) > > Regards > Manuel > > > Date: Mon, 10 Feb 2014 09:22:50 +0000 > From: rv...@do... > To: dot...@li... > Subject: Re: [dotNetRDF-Support] keep track of the changes applied to the rdf > graph > > Manuel > > I don't know that any of the stores have explicit features for this. I think > both AllegroGraph and Stardog have talked about features in this area in the > past but I don't know if those features are in releases of their software. > FYI the Talis Platform was discontinued by Talis hence why we dropped support > for it a while back. > > To be honest you can implement the Changeset concept using the dotNetRDF API > (or any RDF API for that matter). dotNetRDF does have a Difference() method > on the IGraph interface which will give you the basic differences between two > graphs which you can use as a starting point. > > Rob > > From: manuel <man...@ho...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Sunday, 9 February 2014 21:17 > To: "dot...@li..." > <dot...@li...> > Subject: [dotNetRDF-Support] keep track of the changes applied to the rdf > graph > >> Hello to all >> >> Among the stores supported by dotnetrdf, is there any that supports the >> capability to keep track of the changes applied to the rdf graph >> (versioning)? >> >> Talis platform seems to support it in some way exploting the changeset >> concept. However, the Talis Platform via dotNetRDF is a feature any more >> supported. Is it right? >> >> Regards >> Manuel >> >> >> ----------------------------------------------------------------------------- >> - Managing the Performance of Cloud-Based Applications Take advantage of what >> the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. >> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk_ >> ______________________________________________ dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications Take advantage of what > the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 > Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview > and more. Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk__ > _____________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2014-02-21 10:50:21
|
Yes you can likely use dotNetRDF for your app but you've been very vague about what you are actually trying to do. "I will place the ontology on windows server so I can access it via win8 mobile application" dotNetRDF supports reading RDF in a variety of formats so provided you put in on the server in an appropriate format then you will be able to retrieve and access it from your Win8 application. "get answers from ontology" This could mean practically anything, we support a triple level API for querying graphs and have full SPARQL 1.1 support so providing you can translate your questions into API calls/SPARQL queries you can almost certainly do this. If you have actual specific questions then please feel free to ask them preferably with as much detail as possible about what you've already tried. Am I right in assuming this is a student project? Rob p.s. This is a subscription mailing list, I have moderated your post through this time but please subscribe at https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support From: Mary Kory <mar...@ya...> Reply-To: Mary Kory <mar...@ya...>, dotNetRDF User Help and Support <dot...@li...> Date: Thursday, 20 February 2014 05:51 To: "dot...@li..." <dot...@li...> Subject: SPAM-LOW: [dotNetRDF-Support] important can I use DotNet Rdf in my app > Hi, > I am developing now my own ontology and I found the best for this is Protege, > then I will place this ontology on windows server so I can access it via win8 > mobile application, and since the win servers use the c++ and c# so, I will > use .DotNet Rdf to access the ontology and get answers. I have read the user > guide and still don't know can I use this tool as I mention. > Note: The app is a Question answering system which analyze the question and > get answers from ontology. and I am using Stanford tools for analyzing the > question and get answers from saved ontology using the DotNet Rdf. > waiting for your kindly reply > Best Regards > Mariam > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications Take advantage of what > the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk__ > _____________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |