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...> - 2013-01-21 10:18:54
|
That is perfectly doable but you would have to write all the code for that yourself, it is too niche a feature to consider adding directly to the library Also as I said in an earlier email the current Context property will go away in the future versions of the API so you are better to do this with named graphs directly as realistically that is how you will have to persist all this information to a backing store anyway Rob From: Yossi Cohen <yos...@li...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Thursday, January 17, 2013 10:56 AM To: DotNetRDF mailing-list <dot...@li...> Subject: Re: [dotNetRDF-Support] Adding Context to Triples > I was thinking somthing like this: > > Individual i1 = some individual > Triple t = i1.AddResourceProperty(...) or i1.AddLiteralProperty(...); > > t.Context.Add(Predicate1, Object1) ; > t.Context.Add(Predicate2, Object2) ; > > Graph.Save() ; > > resulting with the following triples adding tobackend store: > > (i1, rdf:type, someclass, ctx1) // ctx1 auto-generted (globally unique) > (ctx1, Predicate1, Object1, ctx2) // ctx2 auto-generted > (ctx1, Predicate2, Object2, ctx3) // ctx3 auto-generted > > When saving the graph to the backend store, the context triples should also be > added. > > What do you think? > Best, > Yossi > > > From: yos...@li... > To: dot...@li... > Date: Thu, 17 Jan 2013 12:37:36 +0200 > Subject: Re: [dotNetRDF-Support] Adding Context to Triples > > > Hey Rob, > > In my case, I use the context slot for what is called 'direct reification'. > This means that each and every triple has a unique context. > All my triples are held on the same (default) graph (including triples that > describe them). > > For example: > s1: (s1, p1, o1, ctx1) > s2: (s2, p2, o2, ctx2) > s3: (ctx1, :createdby o3, ctx3) // s3 describing s1 > s4: (ctx1, :score "0.7", ctx4) // s4 describing s1 > s5: (ctx2, :createdby o4, ctx5) // s5 describing s2 > > I need to be able to attach context to triples such that when saving the > triples to the backend store, > I'll be able to save also triples that describe them > (i.e., assert triple-context entries as triples with the context slot as a > subject) > > Is there a way to extend dotNetRDF in order to achieve this? > (I use SesameHttpProtocolConnection over BigData backend) > > Best, > Yossi. > > > Date: Thu, 17 Jan 2013 10:04:56 +0000 > From: rv...@do... > To: dot...@li... > Subject: Re: [dotNetRDF-Support] Adding Context to Triples > > Hey Yossi > > Yes the Context property of the Triple class is not persisted, also that will > eventually be removed in future versions of the library as that is somewhat > defunct. > > To do what you want to do with dotNetRDF you will essentially have to create > named graphs, and then store statements about those named graphs in some other > graph e.g. > > Graph g = new Graph(); > g.BaseUri = context; > g.Assert(s, p, o); > > Graph h = new Graph(); > h.Assert(context, p1, o1); > h.Assert(context, p2, o2); > > You can then persist all your graphs to your Sesame store. > > Hope this helps, > > Rob > > From: Yossi Cohen <yos...@li...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Tuesday, January 15, 2013 7:37 PM > To: DotNetRDF mailing-list <dot...@li...> > Subject: [dotNetRDF-Support] Adding Context to Triples > >> Hi, >> >> Is there a way to attach a context uri to triples such that it would be >> stored in the triple (quad) store? >> I need to use the context slot for what is called 'direct reification': >> assert (s, p, o, c) // mother statement >> assert (c, p1, o1) // statement about mother statement >> assert (c, p2, o2) // another one >> ... >> I'm using the Ontology API as well as the Grpah/Node/Triple API >> I've noticed the context of the Triple class, but this is not saved to the >> underline graph. >> (I should note that I'm using BigData store using SesameHttpConnector.) >> >> Thanks, >> Yossi. >> >> ----------------------------------------------------------------------------- >> - Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and >> more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ >> hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE >> $99.99 this month only - learn more at: >> http://p.sf.net/sfu/learnmore_122512_________________________________________ >> ______ dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, > Windows 8 Apps, JavaScript and much more. Keep your skills current with > LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and > experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, > Windows 8 Apps, JavaScript and much more. Keep your skills current with > LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and > experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, > Windows 8 Apps, JavaScript and much more. Keep your skills current with > LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and > experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Ron M. Z. <ron...@fy...> - 2013-01-19 03:26:17
|
That's great. Thank you both! On Thu, Jan 17, 2013 at 5:02 AM, Rob Vesse <rv...@do...> wrote: > Hey Ron > > This should now be working against the latest code, Tom noticed a bug in > the INSERT/DELETE logic when you had a GRAPH clause using a variable it > would incorrectly think it had found not data and not actually do any > inserts/deletes > > Hope this solves the mystery > > Rob > > From: Ron Michael Zettlemoyer <ro...@ze...> > Reply-To: dotNetRDF User Help and Support < > dot...@li...> > Date: Friday, October 26, 2012 11:45 PM > To: dotNetRDF Developer Discussion and Feature Request < > dot...@li...> > Cc: dotNetRDF User Help and Support < > dot...@li...> > Subject: Re: [dotNetRDF-Support] [dotNetRDF-Develop] Problem deleting > data in a graph in Stardog > > Sorry for taking so long to respond, Rob, it's been a hectic couple of > weeks. I haven't had a chance to look more at this but I'll try to > reproduce it again and see if I can make any headway soon. > > > On Thu, Sep 27, 2012 at 4:10 PM, Rob Vesse <rv...@do...> wrote: > >> Hey Ron >> >> Did you ever get a chance to look into this more or do you want me to >> take this? >> >> Rob >> >> From: Ron Michael Zettlemoyer <ro...@ze...> >> Reply-To: dotNetRDF User Help and Support < >> dot...@li...> >> Date: Thursday, August 30, 2012 8:23 AM >> To: dotNetRDF User Help and Support < >> dot...@li...> >> Subject: [dotNetRDF-Support] Problem deleting data in a graph in Stardog >> >> 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? >> >> ------------------------------------------------------------------------------ >> 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 >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://ad.doubleclick.net/clk;258768047;13503038;j? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> dotNetRDF-develop mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >> >> > ------------------------------------------------------------------------------ > WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The > Windows 8 Center at Sourceforge for all your go to resources. > http://windows8center.sourceforge.net/join-generation-app-and-make-money-coding-fast/_______________________________________________ > dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > |
From: Yossi C. <yos...@li...> - 2013-01-17 10:56:39
|
I was thinking somthing like this: Individual i1 = some individualTriple t = i1.AddResourceProperty(...) or i1.AddLiteralProperty(...); t.Context.Add(Predicate1, Object1) ;t.Context.Add(Predicate2, Object2) ; Graph.Save() ; resulting with the following triples adding tobackend store: (i1, rdf:type, someclass, ctx1) // ctx1 auto-generted (globally unique)(ctx1, Predicate1, Object1, ctx2) // ctx2 auto-generted(ctx1, Predicate2, Object2, ctx3) // ctx3 auto-generted When saving the graph to the backend store, the context triples should also be added. What do you think?Best, Yossi From: yos...@li... To: dot...@li... Date: Thu, 17 Jan 2013 12:37:36 +0200 Subject: Re: [dotNetRDF-Support] Adding Context to Triples Hey Rob, In my case, I use the context slot for what is called 'direct reification'.This means that each and every triple has a unique context.All my triples are held on the same (default) graph (including triples that describe them). For example:s1: (s1, p1, o1, ctx1)s2: (s2, p2, o2, ctx2)s3: (ctx1, :createdby o3, ctx3) // s3 describing s1s4: (ctx1, :score "0.7", ctx4) // s4 describing s1s5: (ctx2, :createdby o4, ctx5) // s5 describing s2 I need to be able to attach context to triples such that when saving the triples to the backend store, I'll be able to save also triples that describe them (i.e., assert triple-context entries as triples with the context slot as a subject) Is there a way to extend dotNetRDF in order to achieve this?(I use SesameHttpProtocolConnection over BigData backend) Best, Yossi. Date: Thu, 17 Jan 2013 10:04:56 +0000 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Adding Context to Triples Hey Yossi Yes the Context property of the Triple class is not persisted, also that will eventually be removed in future versions of the library as that is somewhat defunct. To do what you want to do with dotNetRDF you will essentially have to create named graphs, and then store statements about those named graphs in some other graph e.g. Graph g = new Graph();g.BaseUri = context;g.Assert(s, p, o); Graph h = new Graph();h.Assert(context, p1, o1);h.Assert(context, p2, o2); You can then persist all your graphs to your Sesame store. Hope this helps, Rob From: Yossi Cohen <yos...@li...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, January 15, 2013 7:37 PM To: DotNetRDF mailing-list <dot...@li...> Subject: [dotNetRDF-Support] Adding Context to Triples Hi, Is there a way to attach a context uri to triples such that it would be stored in the triple (quad) store?I need to use the context slot for what is called 'direct reification':assert (s, p, o, c) // mother statementassert (c, p1, o1) // statement about mother statementassert (c, p2, o2) // another one...I'm using the Ontology API as well as the Grpah/Node/Triple APII've noticed the context of the Triple class, but this is not saved to the underline graph.(I should note that I'm using BigData store using SesameHttpConnector.) Thanks,Yossi. ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Yossi C. <yos...@li...> - 2013-01-17 10:37:43
|
Hey Rob, In my case, I use the context slot for what is called 'direct reification'.This means that each and every triple has a unique context.All my triples are held on the same (default) graph (including triples that describe them). For example:s1: (s1, p1, o1, ctx1)s2: (s2, p2, o2, ctx2)s3: (ctx1, :createdby o3, ctx3) // s3 describing s1s4: (ctx1, :score "0.7", ctx4) // s4 describing s1s5: (ctx2, :createdby o4, ctx5) // s5 describing s2 I need to be able to attach context to triples such that when saving the triples to the backend store, I'll be able to save also triples that describe them (i.e., assert triple-context entries as triples with the context slot as a subject) Is there a way to extend dotNetRDF in order to achieve this?(I use SesameHttpProtocolConnection over BigData backend) Best, Yossi. Date: Thu, 17 Jan 2013 10:04:56 +0000 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Adding Context to Triples Hey Yossi Yes the Context property of the Triple class is not persisted, also that will eventually be removed in future versions of the library as that is somewhat defunct. To do what you want to do with dotNetRDF you will essentially have to create named graphs, and then store statements about those named graphs in some other graph e.g. Graph g = new Graph();g.BaseUri = context;g.Assert(s, p, o); Graph h = new Graph();h.Assert(context, p1, o1);h.Assert(context, p2, o2); You can then persist all your graphs to your Sesame store. Hope this helps, Rob From: Yossi Cohen <yos...@li...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, January 15, 2013 7:37 PM To: DotNetRDF mailing-list <dot...@li...> Subject: [dotNetRDF-Support] Adding Context to Triples Hi, Is there a way to attach a context uri to triples such that it would be stored in the triple (quad) store?I need to use the context slot for what is called 'direct reification':assert (s, p, o, c) // mother statementassert (c, p1, o1) // statement about mother statementassert (c, p2, o2) // another one...I'm using the Ontology API as well as the Grpah/Node/Triple APII've noticed the context of the Triple class, but this is not saved to the underline graph.(I should note that I'm using BigData store using SesameHttpConnector.) Thanks,Yossi. ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2013-01-17 10:05:53
|
Hey Yossi Yes the Context property of the Triple class is not persisted, also that will eventually be removed in future versions of the library as that is somewhat defunct. To do what you want to do with dotNetRDF you will essentially have to create named graphs, and then store statements about those named graphs in some other graph e.g. Graph g = new Graph(); g.BaseUri = context; g.Assert(s, p, o); Graph h = new Graph(); h.Assert(context, p1, o1); h.Assert(context, p2, o2); You can then persist all your graphs to your Sesame store. Hope this helps, Rob From: Yossi Cohen <yos...@li...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, January 15, 2013 7:37 PM To: DotNetRDF mailing-list <dot...@li...> Subject: [dotNetRDF-Support] Adding Context to Triples > Hi, > > Is there a way to attach a context uri to triples such that it would be stored > in the triple (quad) store? > I need to use the context slot for what is called 'direct reification': > assert (s, p, o, c) // mother statement > assert (c, p1, o1) // statement about mother statement > assert (c, p2, o2) // another one > ... > I'm using the Ontology API as well as the Grpah/Node/Triple API > I've noticed the context of the Triple class, but this is not saved to the > underline graph. > (I should note that I'm using BigData store using SesameHttpConnector.) > > Thanks, > Yossi. > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and > more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours > of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 > this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2013-01-17 10:04:34
|
Hey Ron This should now be working against the latest code, Tom noticed a bug in the INSERT/DELETE logic when you had a GRAPH clause using a variable it would incorrectly think it had found not data and not actually do any inserts/deletes Hope this solves the mystery Rob From: Ron Michael Zettlemoyer <ro...@ze...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Friday, October 26, 2012 11:45 PM To: dotNetRDF Developer Discussion and Feature Request <dot...@li...> Cc: dotNetRDF User Help and Support <dot...@li...> Subject: Re: [dotNetRDF-Support] [dotNetRDF-Develop] Problem deleting data in a graph in Stardog > Sorry for taking so long to respond, Rob, it's been a hectic couple of weeks. > I haven't had a chance to look more at this but I'll try to reproduce it again > and see if I can make any headway soon. > > > On Thu, Sep 27, 2012 at 4:10 PM, Rob Vesse <rv...@do...> wrote: >> Hey Ron >> >> Did you ever get a chance to look into this more or do you want me to take >> this? >> >> Rob >> >> From: Ron Michael Zettlemoyer <ro...@ze...> >> Reply-To: dotNetRDF User Help and Support >> <dot...@li...> >> Date: Thursday, August 30, 2012 8:23 AM >> To: dotNetRDF User Help and Support >> <dot...@li...> >> Subject: [dotNetRDF-Support] Problem deleting data in a graph in Stardog >> >>> 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? >>> >>> ---------------------------------------------------------------------------- >>> -- 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 >> >> ----------------------------------------------------------------------------->> - >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://ad.doubleclick.net/clk;258768047;13503038;j? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> dotNetRDF-develop mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >> > > ------------------------------------------------------------------------------ > WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows > 8 Center at Sourceforge for all your go to resources. > http://windows8center.sourceforge.net/ > join-generation-app-and-make-money-coding-fast/_______________________________ > ________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Yossi C. <yos...@li...> - 2013-01-15 19:37:19
|
Hi, Is there a way to attach a context uri to triples such that it would be stored in the triple (quad) store?I need to use the context slot for what is called 'direct reification':assert (s, p, o, c) // mother statementassert (c, p1, o1) // statement about mother statementassert (c, p2, o2) // another one...I'm using the Ontology API as well as the Grpah/Node/Triple APII've noticed the context of the Triple class, but this is not saved to the underline graph.(I should note that I'm using BigData store using SesameHttpConnector.) Thanks,Yossi. |
From: Rob V. <rv...@do...> - 2012-12-20 17:08:52
|
Hi Hamid What have you tried? You haven't properly explained what you are trying to do - "show content in C#" could mean anything What do you want to display and how? What code do you have so far? Please consider reading through the tutorials in the User Guide (http://www.dotnetrdf.org/content.asp?pageID=User%20Guide) if you have not done so already since that will cover most common usages of the library. Rob From: Hamid Moieni <ham...@ya...> Reply-To: Hamid Moieni <ham...@ya...>, dotNetRDF User Help and Support <dot...@li...> Date: Wednesday, December 19, 2012 9:41 PM To: "dot...@li..." <dot...@li...>, "dot...@li..." <dot...@li...> Subject: [dotNetRDF-Support] (no subject) > Hi , > One Question ,Please, > I have a RDF File, I want show content (nodes) of file in C# , > > can you help me,Please, > > Thanks for your helps, > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely > access PCs and mobile devices and provide instant support Improve your > efficiency, and focus on delivering more value-add services Discover what IT > Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Hamid M. <ham...@ya...> - 2012-12-20 05:41:12
|
Hi , One Question ,Please, I have a RDF File, I want show content (nodes) of file in C# , can you help me,Please, Thanks for your helps, |
From: Rob V. <rv...@do...> - 2012-12-19 18:04:26
|
Hi Mark The PersistentTripleStore class is a wrapper around a native triple store implementation provided by a IStorageProvider so despite being loadable from the Configuration API is not appropriate to your scenario. Currently there is no persistence for in-memory stores by design. This may get added sometime in the future (patches/pull requests welcome) but this is not currently on our roadmap. People who want persistence typically use one of the various third party triple stores we provide integration for. However there is a FileGraphPersistenceWrapper which can persist an in-memory graph to a file when changes are made but I don't believe the way it is wired up now will cause the changes from an update to get Flushed and thus written to disk. Also FileGraphPersistenceWrapper is not currently loadable from the Configuration API, if you have time to investigate and experiment with this patches/pull requests would be welcomed. Rob From: Mark Skiba <Ma...@Sk...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, December 17, 2012 2:37 PM To: <dot...@li...> Subject: [dotNetRDF-Support] Is there a way to configure a Sparql endpoint using the in-memory with persistence? > I've got your dotNetRDF Sparql/Update endpoints setup and working in IIS but > there is no persistence of the updates back to the source .ttl file. I see > that there is a PersistentTripleStore class and tried configuring it in the > config.ttl but got a "cannot load object" error when experimenting with the > Sparql web interfaces. I suspect that using SQL would resolve this but prefer > the in memory approach for our needs now? > > Is there currently a way to configure a Sparql endpoints using in memory store > with persistence? > If not,would adding PersistentTripleStore to the ConfigurationLoader class be > the way to add this type of support? > > Thanks, > > Mark Skiba > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely > access PCs and mobile devices and provide instant support Improve your > efficiency, and focus on delivering more value-add services Discover what IT > Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Mark S. <Ma...@Sk...> - 2012-12-17 22:37:43
|
I've got your dotNetRDF Sparql/Update endpoints setup and working in IIS but there is no persistence of the updates back to the source .ttl file. I see that there is a PersistentTripleStore class and tried configuring it in the config.ttl but got a "cannot load object" error when experimenting with the Sparql web interfaces. I suspect that using SQL would resolve this but prefer the in memory approach for our needs now? Is there currently a way to configure a Sparql endpoints using in memory store with persistence? If not,would adding PersistentTripleStore to the ConfigurationLoader class be the way to add this type of support? Thanks, Mark Skiba |
From: Rob V. <rv...@do...> - 2012-12-13 19:11:37
|
Hi Alex This appears to be the same question you asked at http://answers.semanticweb.com/questions/19984/dotnetrdf-list-all-ontology-c lasses To reproduce my answer try the following: //This gets the class for things which are declared to be a class OntologyClass classOfClasses = g.CreateOntologyClass(g.CreateUriNode("owl:Class")); //This iterates over the things that are a class foreach (OntologyResource class in classOfClasses.Instances) { //Do what you want with the class } Based on that question I realized that there are some pieces of the Ontology API missing so I filed an issue (CORE-293) for this - http://dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=293 If you have further ideas on this please reply to this email or add comments on the issue tracker. I have already made some changes on this in our source control see https://bitbucket.org/dotnetrdf/dotnetrdf/commits/1142f2971eefb8fffb71431530 15e960e22b8d00 for some new code that tries to address the lacking features. Hope this helps, Rob From: Aleksandar Zivaljevic <al...@da...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Thursday, December 13, 2012 2:01 AM To: <dot...@li...> Subject: [dotNetRDF-Support] List all objects of OntologyClass type > Hi, > > I am trying to enumerate all classes (OntologyClass type) in OntologyGraph; > the code would go like: > > Dim g As New OntologyGraph > FileLoader.Load(g, strURI) > For Each cl As OntologyClass in g.OntologyClases (OntologyClases is not the > real enum) > 'do some work on classes > Next > > Is this possible with DotNetRDF? > > Regards, > Alex > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely > access PCs and mobile devices and provide instant support Improve your > efficiency, and focus on delivering more value-add services Discover what IT > Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Aleksandar Z. <al...@da...> - 2012-12-13 11:01:42
|
Hi, I am trying to enumerate all classes (OntologyClass type) in OntologyGraph; the code would go like: Dim g As New OntologyGraph FileLoader.Load(g, strURI) For Each cl As OntologyClass in g.OntologyClases (OntologyClases is not the real enum) 'do some work on classes Next Is this possible with DotNetRDF? Regards, Alex |
From: Rob V. <rv...@do...> - 2012-11-27 00:03:08
|
If you just have an OWL file you should load it from a local file, a remote endpoint takes a lot more to set up and sounds like overkill for your use case What do you mean by prefix? Namespace prefixes are simply syntactic compressions used to make data more readable to humans, you can use these to simplify code or you can use full URIs instead. Rob From: Jostinah Lam <89...@gm...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 20, 2012 2:53 PM To: <dot...@li...> Subject: [dotNetRDF-Support] remoteendpoint or local > Hello dotnetrdf again, > > I'm a newbie in this field.i have already created an ontology file from > protege. i can modify the ontology anytime. > So now i plan to integrate the owl file (saved in rdf/xml) into c# using > dotnetrdf library. > The problem is from which way should i load my owl file? > Querying from a remoteendpoint or a local file? > I'm confused with the prefix. when and where do i put the prefix? > > Thanks > Jostinah > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from > $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2012-11-27 00:01:49
|
Hi Jostinah As I suggested in a previous email you really need to go learn SPARQL yourself using a good book/tutorial as previously recommended. We don't know your data nor the questions you want to ask nor do we have the time or inclination to do this for you (especially since you already admitted this is a student project). I'm not sure if I understand what you mean by the value of the Node? Do you have textual labels associated with your diseases? Perhaps with the rdfs:label property? In this case you must have other triples defining these so you would need to add additional pattern(s) to your query to access the nodes of the graph with the textual label. It sounds like you don't have the RDF model completely straight in your head, if you don't understand that fully you will struggle to write SPARQL queries against your data. Rob From: Jostinah Lam <89...@gm...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 20, 2012 1:59 PM To: <dot...@li...> Subject: [dotNetRDF-Support] SPARQL > Hello dotnetrdf, > > I have already create an owl file and i'm planning to integrate the owl file > into C#. i use the code below: > ////////////////////////////////////////////////////////////////////////////// > ////////////////////////////////////////////////////////////////// > IGraph g = new Graph(); > g.LoadFromFile("exData\\PregnancyInducedHypertension.owl"); > try > { > Object results = g.ExecuteQuery("SELECT ?NamedDisease WHERE { > ?s a ?NamedDisease}"); > if (results is SparqlResultSet) > { > //SELECT/ASK queries give a SparqlResultSet > SparqlResultSet rset = (SparqlResultSet)results; > foreach (SparqlResult r in rset) > { > textBox1.Text += r.ToString() + "\r\n"; > } > } > else if (results is IGraph) > { > //CONSTRUCT/DESCRIBE queries give a IGraph > IGraph resGraph = (IGraph)results; > foreach (Triple t in resGraph.Triples) > { > textBox1.Text += t.ToString() + "\r\n"; > } > } > ////////////////////////////////////////////////////////////////////////////// > //////////////////////////////////////////// > > When i query the owl file,i only get this result: > > ?NamedDisease = http://www.w3.org/2002/07/owl#Ontology > ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty > ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty > ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty > ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty > ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty > ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty > ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty........... > ////////////////////////////////////////////////////////////////////////////// > ////////////////// > > What i want from the result is the value of the node.not address like that.how > can i do that? > When i change the a into rdf:type, it show error "The Namespace URI for the > given Prefix 'rdf' is not known by the in-scope NamespaceMapper" > I have already read the answer in Q&A,but i cannot understand what does it > mean. > Do i still have to use prefix as such PREFIX > rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> > > Thanks. > Jostinah > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from > $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Jostinah L. <89...@gm...> - 2012-11-20 22:53:17
|
Hello dotnetrdf again, I'm a newbie in this field.i have already created an ontology file from protege. i can modify the ontology anytime. So now i plan to integrate the owl file (saved in rdf/xml) into c# using dotnetrdf library. The problem is from which way should i load my owl file? Querying from a remoteendpoint or a local file? I'm confused with the prefix. when and where do i put the prefix? Thanks Jostinah |
From: Jostinah L. <89...@gm...> - 2012-11-20 21:59:46
|
Hello dotnetrdf, I have already create an owl file and i'm planning to integrate the owl file into C#. i use the code below: //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// IGraph g = new Graph(); g.LoadFromFile("exData\\PregnancyInducedHypertension.owl"); try { Object results = g.ExecuteQuery("SELECT ?NamedDisease WHERE { ?s a ?NamedDisease}"); if (results is SparqlResultSet) { //SELECT/ASK queries give a SparqlResultSet SparqlResultSet rset = (SparqlResultSet)results; foreach (SparqlResult r in rset) { textBox1.Text += r.ToString() + "\r\n"; } } else if (results is IGraph) { //CONSTRUCT/DESCRIBE queries give a IGraph IGraph resGraph = (IGraph)results; foreach (Triple t in resGraph.Triples) { textBox1.Text += t.ToString() + "\r\n"; } } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// When i query the owl file,i only get this result: ?NamedDisease = http://www.w3.org/2002/07/owl#Ontology ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty ?NamedDisease = http://www.w3.org/2002/07/owl#ObjectProperty........... //////////////////////////////////////////////////////////////////////////////////////////////// What i want from the result is the value of the node.not address like that.how can i do that? When i change the a into rdf:type, it show error "The Namespace URI for the given Prefix 'rdf' is not known by the in-scope NamespaceMapper" I have already read the answer in Q&A,but i cannot understand what does it mean. Do i still have to use prefix as such PREFIX rdf:< http://www.w3.org/1999/02/22-rdf-syntax-ns#> Thanks. Jostinah |
From: Rob V. <rv...@do...> - 2012-11-16 23:47:28
|
Hi Jostinah If you are having trouble getting started with SPARQL I would recommend the excellent SPARQL by Example Tutorial (http://www.cambridgesemantics.com/semantic-university/sparql-by-example) or Bob DuCharme's Learning SPARQL book (http://www.learningsparql.com) OWL can be stored as RDF/XML and many tools like Protégé either default to this or support it. dotNetRDF can read any RDF/XML so you can read your ontology file with it provided you've saved it as RDF/XML, the LoadFromFile() call you show will assume RDF/XML if given a .owl extension Yes you can query OWL with SPARQL, you are querying the RDF representation of the OWL rather than the axioms, see http://answers.semanticweb.com/questions/3172/is-it-possible-to-write-a-spar ql-query-or-use-some-api-to-retrieve-the-concept-definitions-from-any-ontolo gy/3189 for some simple examples Hope this helps, Rob Ps. For future reference please subscribe to the mailing list (dot...@li...) rather than emailing me directly, thanks! From: Jostinah Lam <89...@gm...> Date: Friday, November 16, 2012 3:50 AM To: Rob Vesse <rv...@do...> Subject: SPARQL > Hello rob, > I'm jostinah, a student who is currently doing a project.I have some questions > regarding dotnetrdf to ask.I have no basic at all in computer science,i hope > you can help me. > Here's a brief introduction of what the project is about. i have to create a > software that is able to produce the name of the disease and its management > when the user keys in the input.This project is focusing pregnancy induced > hypertension. > > For example: > input : Diastolic value =90 > output: Hypertension > > I created the ontology using protege.Right now i had integrate the owl file > into C#, but i have a problem on how to query the owl file. > The code is as below: > > private void SPARQLquery() > { > > //Define your Graph here - it may be better to use a > QueryableGraph if you plan > //on making lots of Queries against this Graph as that is > marginally more performant > IGraph g = new Graph(); > > //Load some data into your Graph using the LoadFromFile() > extension method > g.LoadFromFile("exData\\PregnancyInducedHypertension.owl"); > > //Use the extension method ExecuteQuery() to make the query > against the Graph > try > { > Object results = g.ExecuteQuery("SELECT ?x WHERE { > ?NamedDisease a ?x }"); > if (results is SparqlResultSet) > { > //SELECT/ASK queries give a SparqlResultSet > SparqlResultSet rset = (SparqlResultSet)results; > foreach (SparqlResult r in rset) > { > //Console.WriteLine(r.ToString()); > textBox1.Text += r.ToString() + "\r\n"; > } > } > else if (results is IGraph) > { > //CONSTRUCT/DESCRIBE queries give a IGraph > IGraph resGraph = (IGraph)results; > foreach (Triple t in resGraph.Triples) > { > //Console.WriteLine(t.ToString()); > textBox1.Text += t.ToString() + "\r\n"; > } > } > else > { > //If you don't get a SparqlResutlSet or IGraph something > went wrong > //but didn't throw an exception so you should handle it > here > Console.WriteLine("ERROR"); > } > } > catch (RdfQueryException queryEx) > { > //There was an error executing the query so handle it here > Console.WriteLine(queryEx.Message); > } > } > > The red words is where the query should be. i know the query should be > something like this " rdf:about,owl: class" but i have no clue at all. i > studied SPARQL how to query. SPARQL is suppose to query rdf but not owl but > since owl is made of rdf,so i think there must be a way to query owl.I copy > the code from one of the example that you gave to others. > > My questions are: > 1) Can i integrate the owl file into C# and not using remoteendpoint?Because > sparql remoteendpoint normally produce result in set,i only want to produce > one result > 2)is it possible to query owl using sparql in my case since i need to produce > one distinct result only?I understand the query for owl will be very long. > > > Thank you so much for your time.I really hope you can help me.I will try my > best to explain if there's any part that you dont understand.Thank you. > |
From: Rob V. <rv...@do...> - 2012-11-16 23:35:34
|
Hi Dennis No there is currently no support or APIs for extending the grammar Having had a look at that paper it would seem like most of what they wanted to do can be done purely with ORDER BY especially now that there is a much broader and more powerful set of functions available in SPARQL 1.1 (IF, COALESCE and IN are three very useful functions that spring to mind) so this may be worth exploring as a viable alternative. Keeping within the specification is always preferable IMO. Just as an example their PREFERING clause in section 4 could be rewritten as follows: ORDER BY DESC( IF( ?rating = pt:excellent, 1, 0) ) DESC( IF( ?end <= '16:00' || start >= '18:00', ?start, '00:00') ) For the ?rating type conditions where you may have more complex mappings of values to rankings you could either define an extension function (dotNetRDF and other APIs have support for this) or you could use the VALUES clause in your WHERE clause to assign rankings to constants e.g. WHERE { ?t pt:has-rating ?rating VALUES (?rating ?ratingRank) { ( pt:excellent 5 ) ( pt:good 3 ) ( pt:poor 1 ) } } Then you can just do a ORDER BY DESC(?ratingRank), again this latter approach has the advantage of being within the specification (and was actually the motivation for this feature) Hope this helps, Rob Vesse From: Dennis Ludl <Den...@St...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Thursday, November 15, 2012 5:49 AM To: <dot...@li...> Subject: [dotNetRDF-Support] Leviathan - SPARQL grammar extensions > Hi, > I try to find out, if it's possible to extend SPARQL grammar used in your > Leviathan engine. I want to add an preference modifier to the SPARQL grammar, > like proposed by Siberski et al. (W. Siberski, J. Z. Pan, U. Thaden: Querying > the Semantic Web with Preferences. In Proc. of the 5th Int. Semantic Web > Conf., 2006). > > As far as I know there are no API's for such extensions in dotNetRDF, am I > right with this? > > Thank you, > Dennis > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from > $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Dennis L. <Den...@St...> - 2012-11-15 14:15:17
|
Hi,I try to find out, if it's possible to extend SPARQL grammar used in your Leviathan engine. I want to add an preference modifier to the SPARQL grammar, like proposed by Siberski et al. (W. Siberski, J. Z. Pan, U. Thaden: Querying the Semantic Web with Preferences. In Proc. of the 5th Int. Semantic Web Conf., 2006). As far as I know there are no API's for such extensions in dotNetRDF, am I right with this? Thank you, Dennis |
From: André K. <ak...@ho...> - 2012-11-14 18:15:15
|
Rob, I have no idea why this is but I didn't get this error today anymore...Anyway, thank you very much for your great help and support! :)Cheers,André Date: Tue, 13 Nov 2012 11:23:39 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary Can you set a break point at the MessageBox.Show() line and then when the debugger pauses at the breakpoint type ex.StackTrace into the Immediate Window to get the stack trace there? Or inspect the ex variable with the debugger, select the StackTrace property and do a Copy to Clipboard? Without a stack trace I can't do anything about this till at least tomorrow until I can dig up my VS install disc and install VB onto my machine. Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 10:46 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary If I do this to get the stack trace, it just doesn't open the message box (with the stack trace): Try Dim dict As New MultiDictionary(Of Double, Integer)() Catch ex As Exception MessageBox.Show(ex.StackTrace.ToString()) End Try André Date: Tue, 13 Nov 2012 10:10:32 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary I don't see why that should cause that error, certainly declaring a MultiDictionary with that type signature in C# doesn't cause an issue. I don't have VB installed on my machine so can't test your example as-is Can you provide the stack trace for the error? Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 9:58 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary It's just the same piece of code as before: Imports VDS.CommonPublic Class Form1 Private SubForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load Dim dict As New MultiDictionary(OfDouble, Integer)() End SubEnd Class Thanks... André Date: Tue, 13 Nov 2012 09:22:24 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary Hi Andre Without seeing the code I can only guess – mscorlib is the .Net framework core so most likely nothing to do with dotNetRDF (but without code I can't tell) An ArgumentException would imply you (or dotNetRDF) invoked some .Net framework method with incorrect/malformed arguments, you'll have to send a minimal code example if you want more help with this Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 9:02 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary Rob, thanks for your quick support - that works now ;) I just found out that I also get the following exception: A first chance exception of type 'system.argumentexception' occurred in mscorlib.dll What might be causing this? Date: Mon, 12 Nov 2012 09:22:09 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary Hey Andre This is a common error and is caused by using the wrong build of the dotNetRDF library in your project. In the download package you would have seen a number of directories and you need to ensure you use the DLLs from the directory that matches the target .Net version and profile of your project. >From your error I can see that you are trying to use the .Net 4.0 Full build in a .Net 4.0 Client Profile project. Either use the DLLs from the net40-client folder or switch your project to use .Net 4.0 Full Warning 2 and Error 3 are a result of the mismatched .Net profiles which Warning 1 is informing you of. For future reference if you are able to use NuGet that may be the preferable option for installing dotNetRDF since NuGet will automatically select the correct build of the library based on your projects target .Net version and profile. Hope this helps, Rob Vesse From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, November 12, 2012 4:04 AM To: <dot...@li...> Subject: [dotNetRDF-Support] Creating a multidictionary Hello, I'm trying to create a simple multidictionary in VB.Net: Imports VDS.Common Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load Dim dict As New MultiDictionary(OfDouble, Integer)() End SubEnd Class Unfortunately it gives me the following warnings and errors: Warning 1:The referenced assebmly "dotNETRDF" could not be resolved, because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Warning 2:Namespace or type specified in the Imports "VDS.Common" doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. Error 3:Type "MultiDictionary" is not defined. Any idea what I'm doing wrong here? ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2012-11-13 19:24:37
|
Can you set a break point at the MessageBox.Show() line and then when the debugger pauses at the breakpoint type ex.StackTrace into the Immediate Window to get the stack trace there? Or inspect the ex variable with the debugger, select the StackTrace property and do a Copy to Clipboard? Without a stack trace I can't do anything about this till at least tomorrow until I can dig up my VS install disc and install VB onto my machine. Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 10:46 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary > If I do this to get the stack trace, it just doesn't open the message box > (with the stack trace): > > Try > Dim dict As New MultiDictionary(Of Double, Integer)() > Catch ex As Exception > MessageBox.Show(ex.StackTrace.ToString()) > End Try > > André > > > > Date: Tue, 13 Nov 2012 10:10:32 -0800 > From: rv...@do... > To: dot...@li... > Subject: Re: [dotNetRDF-Support] Creating a multidictionary > > I don't see why that should cause that error, certainly declaring a > MultiDictionary with that type signature in C# doesn't cause an issue. I > don't have VB installed on my machine so can't test your example as-is > > Can you provide the stack trace for the error? > > Rob > > From: André Kahlert <ak...@ho...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Tuesday, November 13, 2012 9:58 AM > To: <dot...@li...> > Subject: Re: [dotNetRDF-Support] Creating a multidictionary > >> It's just the same piece of code as before: >> >> >> Imports VDS.Common >> >> Public Class Form1 >> >> Private SubForm1_Load(ByVal sender As System.Object, ByVal e As >> System.EventArgs) HandlesMyBase.Load >> >> Dim dict As New MultiDictionary(OfDouble, Integer)() >> >> End Sub >> >> End Class >> >> Thanks... >> André >> >> >> >> Date: Tue, 13 Nov 2012 09:22:24 -0800 >> From: rv...@do... >> To: dot...@li... >> Subject: Re: [dotNetRDF-Support] Creating a multidictionary >> >> Hi Andre >> >> Without seeing the code I can only guess mscorlib is the .Net framework >> core so most likely nothing to do with dotNetRDF (but without code I can't >> tell) >> >> An ArgumentException would imply you (or dotNetRDF) invoked some .Net >> framework method with incorrect/malformed arguments, you'll have to send a >> minimal code example if you want more help with this >> >> Rob >> >> From: André Kahlert <ak...@ho...> >> Reply-To: dotNetRDF User Help and Support >> <dot...@li...> >> Date: Tuesday, November 13, 2012 9:02 AM >> To: <dot...@li...> >> Subject: Re: [dotNetRDF-Support] Creating a multidictionary >> >>> Rob, >>> >>> thanks for your quick support - that works now ;) >>> I just found out that I also get the following exception: >>> >>> A first chance exception of type 'system.argumentexception' occurred in >>> mscorlib.dll >>> >>> What might be causing this? >>> >>> >>> >>> Date: Mon, 12 Nov 2012 09:22:09 -0800 >>> From: rv...@do... >>> To: dot...@li... >>> Subject: Re: [dotNetRDF-Support] Creating a multidictionary >>> >>> Hey Andre >>> >>> This is a common error and is caused by using the wrong build of the >>> dotNetRDF library in your project. In the download package you would have >>> seen a number of directories and you need to ensure you use the DLLs from >>> the directory that matches the target .Net version and profile of your >>> project. >>> >>> From your error I can see that you are trying to use the .Net 4.0 Full build >>> in a .Net 4.0 Client Profile project. Either use the DLLs from the >>> net40-client folder or switch your project to use .Net 4.0 Full >>> >>> Warning 2 and Error 3 are a result of the mismatched .Net profiles which >>> Warning 1 is informing you of. >>> >>> For future reference if you are able to use NuGet that may be the preferable >>> option for installing dotNetRDF since NuGet will automatically select the >>> correct build of the library based on your projects target .Net version and >>> profile. >>> >>> Hope this helps, >>> >>> Rob Vesse >>> >>> From: André Kahlert <ak...@ho...> >>> Reply-To: dotNetRDF User Help and Support >>> <dot...@li...> >>> Date: Monday, November 12, 2012 4:04 AM >>> To: <dot...@li...> >>> Subject: [dotNetRDF-Support] Creating a multidictionary >>> >>>> Hello, >>>> >>>> I'm trying to create a simple multidictionary in VB.Net: >>>> >>>> >>>> Imports VDS.Common >>>> >>>> >>>> >>>> Public Class Form1 >>>> >>>> Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As >>>> System.EventArgs) HandlesMyBase.Load >>>> >>>> Dim dict As New MultiDictionary(OfDouble, Integer)() >>>> >>>> End Sub >>>> >>>> End Class >>>> >>>> Unfortunately it gives me the following warnings and errors: >>>> >>>> Warning 1: >>>> The referenced assebmly "dotNETRDF" could not be resolved, because it has a >>>> dependency on "System.Web, Version=4.0.0.0, Culture=neutral, >>>> PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted >>>> framework ".NETFramework,Version=v4.0,Profile=Client". Please remove >>>> references to assemblies not in the targeted framework or consider >>>> retargeting your project. >>>> >>>> Warning 2: >>>> Namespace or type specified in the Imports "VDS.Common" doesn't contain any >>>> public member or cannot be found. Make sure the namespace or the type is >>>> defined and contains at least one public member. Make sure the imported >>>> element name doesn't use any aliases. >>>> >>>> Error 3: >>>> Type "MultiDictionary" is not defined. >>>> >>>> Any idea what I'm doing wrong here? >>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------------- >>>> --- Everyone hates slow websites. So do we. Make your web apps faster with >>>> AppDynamics Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_d2d_nov_________________________________________ >>>> ______ dotNetRDF-Support mailing list >>>> dot...@li...https://lists.sourceforge.net/lists/ >>>> listinfo/dotnetrdf-support >>> >>> ---------------------------------------------------------------------------- >>> -- Everyone hates slow websites. So do we. Make your web apps faster with >>> AppDynamics Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_nov >>> _______________________________________________ dotNetRDF-Support mailing >>> list >>> dot...@li...https://lists.sourceforge.net/lists/l >>> istinfo/dotnetrdf-support >>> >>> ---------------------------------------------------------------------------- >>> -- Monitor your physical, virtual and cloud infrastructure from a single web >>> console. Get in-depth insight into apps, servers, databases, vmware, SAP, >>> cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from >>> $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov________________________________________ >>> _______ dotNetRDF-Support mailing list >>> dot...@li...https://lists.sourceforge.net/lists/l >>> istinfo/dotnetrdf-support >> >> ----------------------------------------------------------------------------- >> - Monitor your physical, virtual and cloud infrastructure from a single web >> console. Get in-depth insight into apps, servers, databases, vmware, SAP, >> cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from >> $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ dotNetRDF-Support mailing >> list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support >> >> ----------------------------------------------------------------------------- >> - Monitor your physical, virtual and cloud infrastructure from a single web >> console. Get in-depth insight into apps, servers, databases, vmware, SAP, >> cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from >> $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov_________________________________________ >> ______ dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from > $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from > $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: André K. <ak...@ho...> - 2012-11-13 18:46:24
|
If I do this to get the stack trace, it just doesn't open the message box (with the stack trace): Try Dim dict As New MultiDictionary(Of Double, Integer)() Catch ex As Exception MessageBox.Show(ex.StackTrace.ToString()) End Try André Date: Tue, 13 Nov 2012 10:10:32 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary I don't see why that should cause that error, certainly declaring a MultiDictionary with that type signature in C# doesn't cause an issue. I don't have VB installed on my machine so can't test your example as-is Can you provide the stack trace for the error? Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 9:58 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary It's just the same piece of code as before: Imports VDS.CommonPublic Class Form1 Private SubForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load Dim dict As New MultiDictionary(OfDouble, Integer)() End SubEnd Class Thanks... André Date: Tue, 13 Nov 2012 09:22:24 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary Hi Andre Without seeing the code I can only guess – mscorlib is the .Net framework core so most likely nothing to do with dotNetRDF (but without code I can't tell) An ArgumentException would imply you (or dotNetRDF) invoked some .Net framework method with incorrect/malformed arguments, you'll have to send a minimal code example if you want more help with this Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 9:02 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary Rob, thanks for your quick support - that works now ;) I just found out that I also get the following exception: A first chance exception of type 'system.argumentexception' occurred in mscorlib.dll What might be causing this? Date: Mon, 12 Nov 2012 09:22:09 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary Hey Andre This is a common error and is caused by using the wrong build of the dotNetRDF library in your project. In the download package you would have seen a number of directories and you need to ensure you use the DLLs from the directory that matches the target .Net version and profile of your project. >From your error I can see that you are trying to use the .Net 4.0 Full build in a .Net 4.0 Client Profile project. Either use the DLLs from the net40-client folder or switch your project to use .Net 4.0 Full Warning 2 and Error 3 are a result of the mismatched .Net profiles which Warning 1 is informing you of. For future reference if you are able to use NuGet that may be the preferable option for installing dotNetRDF since NuGet will automatically select the correct build of the library based on your projects target .Net version and profile. Hope this helps, Rob Vesse From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, November 12, 2012 4:04 AM To: <dot...@li...> Subject: [dotNetRDF-Support] Creating a multidictionary Hello, I'm trying to create a simple multidictionary in VB.Net: Imports VDS.Common Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load Dim dict As New MultiDictionary(OfDouble, Integer)() End SubEnd Class Unfortunately it gives me the following warnings and errors: Warning 1:The referenced assebmly "dotNETRDF" could not be resolved, because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Warning 2:Namespace or type specified in the Imports "VDS.Common" doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. Error 3:Type "MultiDictionary" is not defined. Any idea what I'm doing wrong here? ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: Rob V. <rv...@do...> - 2012-11-13 18:11:28
|
I don't see why that should cause that error, certainly declaring a MultiDictionary with that type signature in C# doesn't cause an issue. I don't have VB installed on my machine so can't test your example as-is Can you provide the stack trace for the error? Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 9:58 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary > It's just the same piece of code as before: > > > Imports VDS.Common > > Public Class Form1 > > Private SubForm1_Load(ByVal sender As System.Object, ByVal e As > System.EventArgs) HandlesMyBase.Load > > Dim dict As New MultiDictionary(OfDouble, Integer)() > > End Sub > > End Class > > Thanks... > André > > > > Date: Tue, 13 Nov 2012 09:22:24 -0800 > From: rv...@do... > To: dot...@li... > Subject: Re: [dotNetRDF-Support] Creating a multidictionary > > Hi Andre > > Without seeing the code I can only guess mscorlib is the .Net framework core > so most likely nothing to do with dotNetRDF (but without code I can't tell) > > An ArgumentException would imply you (or dotNetRDF) invoked some .Net > framework method with incorrect/malformed arguments, you'll have to send a > minimal code example if you want more help with this > > Rob > > From: André Kahlert <ak...@ho...> > Reply-To: dotNetRDF User Help and Support > <dot...@li...> > Date: Tuesday, November 13, 2012 9:02 AM > To: <dot...@li...> > Subject: Re: [dotNetRDF-Support] Creating a multidictionary > >> Rob, >> >> thanks for your quick support - that works now ;) >> I just found out that I also get the following exception: >> >> A first chance exception of type 'system.argumentexception' occurred in >> mscorlib.dll >> >> What might be causing this? >> >> >> >> Date: Mon, 12 Nov 2012 09:22:09 -0800 >> From: rv...@do... >> To: dot...@li... >> Subject: Re: [dotNetRDF-Support] Creating a multidictionary >> >> Hey Andre >> >> This is a common error and is caused by using the wrong build of the >> dotNetRDF library in your project. In the download package you would have >> seen a number of directories and you need to ensure you use the DLLs from the >> directory that matches the target .Net version and profile of your project. >> >> From your error I can see that you are trying to use the .Net 4.0 Full build >> in a .Net 4.0 Client Profile project. Either use the DLLs from the >> net40-client folder or switch your project to use .Net 4.0 Full >> >> Warning 2 and Error 3 are a result of the mismatched .Net profiles which >> Warning 1 is informing you of. >> >> For future reference if you are able to use NuGet that may be the preferable >> option for installing dotNetRDF since NuGet will automatically select the >> correct build of the library based on your projects target .Net version and >> profile. >> >> Hope this helps, >> >> Rob Vesse >> >> From: André Kahlert <ak...@ho...> >> Reply-To: dotNetRDF User Help and Support >> <dot...@li...> >> Date: Monday, November 12, 2012 4:04 AM >> To: <dot...@li...> >> Subject: [dotNetRDF-Support] Creating a multidictionary >> >>> Hello, >>> >>> I'm trying to create a simple multidictionary in VB.Net: >>> >>> >>> Imports VDS.Common >>> >>> >>> >>> Public Class Form1 >>> >>> Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As >>> System.EventArgs) HandlesMyBase.Load >>> >>> Dim dict As New MultiDictionary(OfDouble, Integer)() >>> >>> End Sub >>> >>> End Class >>> >>> Unfortunately it gives me the following warnings and errors: >>> >>> Warning 1: >>> The referenced assebmly "dotNETRDF" could not be resolved, because it has a >>> dependency on "System.Web, Version=4.0.0.0, Culture=neutral, >>> PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted >>> framework ".NETFramework,Version=v4.0,Profile=Client". Please remove >>> references to assemblies not in the targeted framework or consider >>> retargeting your project. >>> >>> Warning 2: >>> Namespace or type specified in the Imports "VDS.Common" doesn't contain any >>> public member or cannot be found. Make sure the namespace or the type is >>> defined and contains at least one public member. Make sure the imported >>> element name doesn't use any aliases. >>> >>> Error 3: >>> Type "MultiDictionary" is not defined. >>> >>> Any idea what I'm doing wrong here? >>> >>> >>> >>> >>> ---------------------------------------------------------------------------- >>> -- Everyone hates slow websites. So do we. Make your web apps faster with >>> AppDynamics Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_nov__________________________________________ >>> _____ dotNetRDF-Support mailing list >>> dot...@li...https://lists.sourceforge.net/lists/l >>> istinfo/dotnetrdf-support >> >> ----------------------------------------------------------------------------- >> - Everyone hates slow websites. So do we. Make your web apps faster with >> AppDynamics Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_nov >> _______________________________________________ dotNetRDF-Support mailing >> list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support >> >> ----------------------------------------------------------------------------- >> - Monitor your physical, virtual and cloud infrastructure from a single web >> console. Get in-depth insight into apps, servers, databases, vmware, SAP, >> cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from >> $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov_________________________________________ >> ______ dotNetRDF-Support mailing list >> dot...@li...https://lists.sourceforge.net/lists/li >> stinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from > $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single web > console. Get in-depth insight into apps, servers, databases, vmware, SAP, > cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from > $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov__________________________________________ > _____ dotNetRDF-Support mailing list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |
From: André K. <ak...@ho...> - 2012-11-13 17:58:40
|
It's just the same piece of code as before: Imports VDS.CommonPublic Class Form1 Private SubForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load Dim dict As New MultiDictionary(OfDouble, Integer)() End SubEnd Class Thanks...André Date: Tue, 13 Nov 2012 09:22:24 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary Hi Andre Without seeing the code I can only guess – mscorlib is the .Net framework core so most likely nothing to do with dotNetRDF (but without code I can't tell) An ArgumentException would imply you (or dotNetRDF) invoked some .Net framework method with incorrect/malformed arguments, you'll have to send a minimal code example if you want more help with this Rob From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Tuesday, November 13, 2012 9:02 AM To: <dot...@li...> Subject: Re: [dotNetRDF-Support] Creating a multidictionary Rob, thanks for your quick support - that works now ;) I just found out that I also get the following exception: A first chance exception of type 'system.argumentexception' occurred in mscorlib.dll What might be causing this? Date: Mon, 12 Nov 2012 09:22:09 -0800 From: rv...@do... To: dot...@li... Subject: Re: [dotNetRDF-Support] Creating a multidictionary Hey Andre This is a common error and is caused by using the wrong build of the dotNetRDF library in your project. In the download package you would have seen a number of directories and you need to ensure you use the DLLs from the directory that matches the target .Net version and profile of your project. >From your error I can see that you are trying to use the .Net 4.0 Full build in a .Net 4.0 Client Profile project. Either use the DLLs from the net40-client folder or switch your project to use .Net 4.0 Full Warning 2 and Error 3 are a result of the mismatched .Net profiles which Warning 1 is informing you of. For future reference if you are able to use NuGet that may be the preferable option for installing dotNetRDF since NuGet will automatically select the correct build of the library based on your projects target .Net version and profile. Hope this helps, Rob Vesse From: André Kahlert <ak...@ho...> Reply-To: dotNetRDF User Help and Support <dot...@li...> Date: Monday, November 12, 2012 4:04 AM To: <dot...@li...> Subject: [dotNetRDF-Support] Creating a multidictionary Hello, I'm trying to create a simple multidictionary in VB.Net: Imports VDS.Common Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load Dim dict As New MultiDictionary(OfDouble, Integer)() End SubEnd Class Unfortunately it gives me the following warnings and errors: Warning 1:The referenced assebmly "dotNETRDF" could not be resolved, because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. Warning 2:Namespace or type specified in the Imports "VDS.Common" doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. Error 3:Type "MultiDictionary" is not defined. Any idea what I'm doing wrong here? ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li...https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ dotNetRDF-Support mailing list dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support |