From: Rob V. <rv...@do...> - 2012-12-05 23:14:23
|
Awesome, I will try and pull it in the next few days when I have time to review it properly Thanks, Rob On 12/5/12 2:06 PM, "Tomasz Pluskiewicz" <tom...@gm...> wrote: >Hi > >I have just finished the core implementation of the fluent API for >SPARQL 1.0. Much of SPARQL 1.1 is already done but some more work is >needed. > >Also I have created a crude tester app, which sits a separate branch >and can be downloaded from [1] > >The left part must be a method body which will return a IQueryBuilder >object. Any of the wiki [2] examples can be used by adding return >keyword and removing the BuildQuery() call. For example > >return QueryBuilder.Select("name", "mbox") > .Where(tpb => >tpb.Subject("x").PredicateUri("foaf:name").Object("name") > >.Subject("x").PredicateUri("foaf:mbox").Object("mbox")); > >For valid C# code the right part of the window will show the SPARQL >query and exception stack otherwise. > >By the way this reveals some issues with SparqlQuery#ToString(), which >I will report later (see the Construct().Where() example from wiki). > >Thanks >Tom > >[1] https://bitbucket.org/romanticweb/dotnetrdf/downloads >[2] https://bitbucket.org/romanticweb/dotnetrdf/wiki > >-------------------------------------------------------------------------- >---- >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-develop mailing list >dot...@li... >https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop |