<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sones GraphDB &#187; Connectors</title>
	<atom:link href="http://developers.sones.de/category/connectors/feed/" rel="self" type="application/rss+xml" />
	<link>http://developers.sones.de</link>
	<description></description>
	<lastBuildDate>Thu, 20 Oct 2011 15:16:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>use Mule ESB with GraphDB</title>
		<link>http://developers.sones.de/2011/08/31/use-mule-esb-with-graphdb/</link>
		<comments>http://developers.sones.de/2011/08/31/use-mule-esb-with-graphdb/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 14:03:38 +0000</pubDate>
		<dc:creator>bietiekay</dc:creator>
				<category><![CDATA[Connectors]]></category>
		<category><![CDATA[GraphDB]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[use-case]]></category>

		<guid isPermaLink="false">http://developers.sones.de/2011/08/31/use-mule-esb-with-graphdb/</guid>
		<description><![CDATA[We always think about new ways to integrate GraphDB into existing environments. And one of those environments our users are working with right now are the several Enterprise Service Busses which are available right now. One big player in the ESB environment is the Mule Open Source ESB: “Mule is a lightweight enterprise service bus [...]]]></description>
			<content:encoded><![CDATA[<p>We always think about new ways to integrate GraphDB into existing environments. And one of those environments our users are working with right now are the several Enterprise Service Busses which are available right now. </p>
<p>One big player in the ESB environment is the Mule Open Source ESB:</p>
<p><em>“<a href="http://www.mulesoft.org/" target="_blank">Mule</a> is a lightweight enterprise service bus (ESB) and integration framework. It can handle services and applications using disparate transport and messaging technologies. The platform is Java-based, but can broker interactions between other platforms such as .NET using web services or sockets.</em></p>
<p><em>The architecture is a scalable, highly-distributable object broker that can seamlessly handle interactions across legacy systems, in-house applications and almost all modern transports and protocols.”</em></p>
<p>In order to show how a GraphDB integrates into those typical ESB environments we created a small example.</p>
<p>The architecture of this example is like this:</p>
<p><a href="http://developers.sones.de/wiki/doku.php?id=tutorials:muleexampleapp" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="mule-esb" border="0" alt="mule-esb" src="http://developers.sones.de/wp-content/uploads/2011/08/mule-esb.png" width="400" height="432" /></a></p>
<p>The idea behind this is that an example Message-WebApp is posting a message to the Mule ESB and then this message gets transformed and in the last consequence consumed by a sones RESTful webservice hosted by a GraphDB. </p>
<p>You can read more in this <a href="http://developers.sones.de/wiki/doku.php?id=tutorials:muleexampleapp" target="_blank">tutorial here</a> and you can <a href="https://github.com/sones/sones-mule" target="_blank">download the sourcecode here</a>.</p>
<p>Source 1: <a title="http://www.mulesoft.org/" href="http://www.mulesoft.org/" target="_blank">http://www.mulesoft.org/</a>    <br />Source 2: <a title="https://github.com/sones/sones-mule" href="https://github.com/sones/sones-mule" target="_blank">https://github.com/sones/sones-mule</a>    <br />Source 3: <a title="http://developers.sones.de/wiki/doku.php?id=tutorials:muleexampleapp" href="http://developers.sones.de/wiki/doku.php?id=tutorials:muleexampleapp">http://developers.sones.de/wiki/doku.php?id=tutorials:muleexampleapp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developers.sones.de/2011/08/31/use-mule-esb-with-graphdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>more complex graphs in GraphDB 2.1</title>
		<link>http://developers.sones.de/2011/08/24/more-complex-graphs-in-graphdb-2-1/</link>
		<comments>http://developers.sones.de/2011/08/24/more-complex-graphs-in-graphdb-2-1/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 14:05:43 +0000</pubDate>
		<dc:creator>bietiekay</dc:creator>
				<category><![CDATA[demo]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[GraphQL]]></category>
		<category><![CDATA[sones]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[WebShell]]></category>

		<guid isPermaLink="false">http://developers.sones.de/?p=1045</guid>
		<description><![CDATA[Not long ago we showed off the new capabilities of GraphDB 2.1 (to be released at the end of 2011) regarding the visualization of data. Now we extended that capabilities and added another Output Plug-In to the Community Edition. It’s called GraphVis. And you can download it now with our source-code package from our GitHub [...]]]></description>
			<content:encoded><![CDATA[<p>Not long ago we showed off the new capabilities of GraphDB 2.1 (to be released at the end of 2011) regarding the visualization of data. Now we extended that capabilities and added another Output Plug-In to the Community Edition. It’s called GraphVis.</p>
<p>And you can download it now with our source-code package from our <a href="http://github.com/sones/sones" target="_blank">GitHub repository</a>.</p>
<p>The best way to show-off the new functionality is by literally showing it:</p>
<p style="text-align: center;"><iframe width="560" height="345" src="http://www.youtube.com/embed/6WlOIJ8OZT8" frameborder="0" allowfullscreen></iframe></p>
<p>A good start for the documentation of the new visualization options is our <a href="http://developers.sones.de/wiki/doku.php?id=connectors:graphdsrest2" target="_blank">ever growing wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://developers.sones.de/2011/08/24/more-complex-graphs-in-graphdb-2-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>new developer tutorial available: use GraphDB in C#</title>
		<link>http://developers.sones.de/2011/07/05/new-developer-tutorial-available-use-graphdb-in-c/</link>
		<comments>http://developers.sones.de/2011/07/05/new-developer-tutorial-available-use-graphdb-in-c/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 12:01:33 +0000</pubDate>
		<dc:creator>bietiekay</dc:creator>
				<category><![CDATA[Connectors]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[GraphDB]]></category>
		<category><![CDATA[GraphQL]]></category>

		<guid isPermaLink="false">http://developers.sones.de/?p=997</guid>
		<description><![CDATA[There is a new example available for all the developers out there who want to start using GraphDB. This tutorial describes and shows the simplicity of setting up a GraphDB by using the sones GraphDB CommunityEdition. It shows  how to create your own database by using the sones GraphDB C# API and how to use [...]]]></description>
			<content:encoded><![CDATA[<p>There is a new example available for all the developers out there who want to start using GraphDB.</p>
<p>This tutorial describes and shows the simplicity of setting up a GraphDB by using the sones GraphDB <a title="https://github.com/sones/sones" href="https://github.com/sones/sones" rel="nofollow">CommunityEdition</a>. It shows  how to create your own database by using the sones GraphDB C# <acronym title="Application Programming Interface">API</acronym> and how to use GraphDB to create your own graph scheme (in not one but two different approaches).</p>
<ol>
<li>
<div>by using GraphDB API Requests</div>
</li>
<li>
<div>by using GraphQL queries</div>
</li>
</ol>
<p>Beside the tutorial itself there is <a href="https://github.com/sones/sones/tree/master/Applications/TagExample" target="_blank">source code available here</a>.</p>
<p style="text-align: center;"><a href="http://developers.sones.de/wp-content/uploads/2011/07/tagexample_tutorial.png"><img class="size-medium wp-image-999 aligncenter" title="tagexample_tutorial" src="http://developers.sones.de/wp-content/uploads/2011/07/tagexample_tutorial-300x159.png" alt="" width="300" height="159" /></a></p>
<p>If you are using the GraphQL please read our <a title="https://github.com/downloads/sones/sones/GQL_cheatsheet_latest.pdf" href="https://github.com/downloads/sones/sones/GQL_cheatsheet_latest.pdf" rel="nofollow">GraphQL Cheatsheet</a> there you can find the description of all available statements and some additional examples.</p>
<p>The tutorial itself will show you how to:</p>
<ol>
<li>
<div>create user defined types, add structured properties, add unknown/schemeless properties</div>
</li>
<li>
<div>create outgoing and incoming edges on a vertex type</div>
</li>
<li>
<div>create an index on a specified property in 3 different ways</div>
</li>
<li>
<div>set constraints on properties (like “unique” and “mandatory”)</div>
</li>
<li>
<div>set up queries and analyze them</div>
</li>
<li>
<div>use function and aggregates in a query</div>
</li>
</ol>
<p>Source 1: <a title="TagExample C# Tutorial" href="http://developers.sones.de/wiki/doku.php?id=tutorials:tagexample" target="_blank">C# TagExample Tutorial</a><br />
Source 2: <a href="https://github.com/sones/sones/tree/master/Applications/TagExample" target="_blank">C# TagExample Source Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developers.sones.de/2011/07/05/new-developer-tutorial-available-use-graphdb-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP GraphDB Connector</title>
		<link>http://developers.sones.de/2011/03/23/php-graphdb-connector/</link>
		<comments>http://developers.sones.de/2011/03/23/php-graphdb-connector/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 13:00:42 +0000</pubDate>
		<dc:creator>cosh</dc:creator>
				<category><![CDATA[Connectors]]></category>
		<category><![CDATA[GraphDB]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sones]]></category>

		<guid isPermaLink="false">http://developers.sones.de/2011/03/23/php-graphdb-connector/</guid>
		<description><![CDATA[The PHP Client is the latest communication interface to our GraphDB Database. The library is very easy to use and include in existing projects. Let’s take a short tour of the features of the PHP client: First of all, visit our github repository at: http://github.com/sones/sones-phpclient. There, you can download the complete package. Included in the [...]]]></description>
			<content:encoded><![CDATA[<p>The PHP Client is the latest communication interface to our GraphDB Database. The library is very easy to use and include in existing projects. Let’s take a short tour of the features of the PHP client:<br />
First of all, visit our github repository at: <a href="http://github.com/sones/sones-phpclient">http://github.com/sones/sones-phpclient</a>.<br />
There, you can download the complete package. Included in the php client is a short example on how to use the library. As part of the sones GraphDB Open Source Edition (OSE) the whole source code is open to test.<br />
The most important class for your project will be GraphDBClient.php, located in ./source/sones/.<br />
The PHP client sets up a connection to a GraphDB REST instance service based on a given URI. Further parameter are the credentials like username and password. Simply include it in your project and create an instance:</p>
<p><em>Include_once ‘../source/sones/GraphDBClient.php’;<br />
…</em></p>
<p><em>$myGrapgDBClient = new GraphDBClient.php($myURI, $myUsername, $myPassword);</em></p>
<p>After you create an instance you can insert GraphQL queries to your GraphDB with:</p>
<p><em>$myResult = $myGrapDBClient-&gt;InsertQuery(“Create Vertex User Attributes(String Name)”);</em></p>
<p>This method returns a QueryResult value which contains the response of the Database in a parsed form. The API handles vertices, edges and some Meta data.</p>
<p><em>$myVertices = $myResult-&gt;getVertices();<br />
</em><br />
Of course in order to have a representation of existing systems you create one instance for each GraphDB.<br />
You can take a look at the Demo Example, which shows some usage of the library. If you want to test the PHP Client, you’ll need a Database. I recommend the Open Source Edition (OSE) of the GraphDB, located also at github. The Demo Example uses the OSE, too. Because of that the default parameters for the connection are already set. The output of the Demo Example is split in two. On the one hand is the parsed output of the database, and on the other the source code which was executed. There is just one additional class which generates the visualized output of the GraphDB.<br />
<strong><br />
Important:</strong> If you want to use the DemoExample you have to set “max_execution_time” to false (max_execution_time = false) in the php.ini. DemoExample inserts many GraphQL statements to the GraphDB at the beginning in order to store some data. This progress takes a while and overstepped my maximum execution time and ended with an error. There are also some warnings about the ‘include_once’ of some intern classes.<br />
There is<a name="_GoBack"></a> some adapted functionality, which could not be implemented truthfully, because of the weak typing discipline. There are also some missing features in the initial release, traverse methods, for example. Have a try!.</p>
]]></content:encoded>
			<wfw:commentRss>http://developers.sones.de/2011/03/23/php-graphdb-connector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get a Taste of Graph Databases: InfoGrid, Neo4j and sones GraphDB</title>
		<link>http://developers.sones.de/2010/02/24/get-a-taste-of-graph-databases-infogrid-neo4j-and-sones-graphdb/</link>
		<comments>http://developers.sones.de/2010/02/24/get-a-taste-of-graph-databases-infogrid-neo4j-and-sones-graphdb/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 15:02:35 +0000</pubDate>
		<dc:creator>bietiekay</dc:creator>
				<category><![CDATA[Connectors]]></category>
		<category><![CDATA[GraphDB]]></category>
		<category><![CDATA[GraphDSSharp]]></category>

		<guid isPermaLink="false">http://developers.sones.de/?p=650</guid>
		<description><![CDATA[Alex Popescu, author of the well-known MyNoSQL blog recently wrote about a very (very) basic tagging app and its implementation within the InfoGrid and Neo4j graph database systems. Today we want to pick up the given example and show you an implementation using the sones GraphDB and the GraphDBSharp API: using System; using System.Linq; using [...]]]></description>
			<content:encoded><![CDATA[<p>Alex Popescu, author of the well-known <a href="http://nosql.mypopescu.com/">MyNoSQL blog</a> recently wrote about a <a href="http://nosql.mypopescu.com/post/405045629/get-a-taste-of-graph-databases-infogrid-and-neo4j">very (very) basic tagging app</a> and its implementation within the InfoGrid and Neo4j graph database systems.</p>
<p>Today we want to pick up the given example and show you an implementation using the sones GraphDB and the GraphDBSharp API:</p>
<pre class="prettyprint"><code> using System; using System.Linq; using System.Collections.Generic; using sones.GraphDB; using sones.GraphDB.Structures; using sones.GraphDB.API.CSharp; using sones.GraphDB.API.CSharp.Reflection; using sones.GraphDB.Connectors.GraphDBREST; using sones.GraphFS.Connectors.GraphFSCLI; using sones.GraphDB.Connectors.GraphDBCLI; namespace TagExample { public class Tag : DBObject { // Will inherit an UUID and RevisionID property from DBObject [CreateIndex(DBIndexTypes.HashTable)] public String Name { get; set; } // Backwardedges to the attribute Tags of type Websites [BackwardEdge("Tags")] public List TaggedWebsites { get; set; } public Tag() { } } public class Website : DBObject { // Will inherit an UUID and RevisionID property from DBObject [CreateIndex(DBIndexTypes.HashTable)] public String Name { get; set; } public String URL { get; set; } // Edges to the tags public List Tags { get; set; } public Website() { } } public class TagExample { private void CheckResult(QueryResult myQueryResult) { Console.WriteLine("{0} =&amp;gt; {1}", myQueryResult.Query, myQueryResult.ResultType); } private void Run() { // Create a new in-memory database var GDB = new GraphDBSharp() { DatabaseName = "TagExampleDB", Username = "Dr.Falken", Password = "Joshua" // For persistence use: //StorageLocation = "file://TagExampleDB.fs", //StorageLocation = "net.tcp://127.0.0.1:8000", }; GDB.CreateDatabase(true); // Create types tag and website using reflection GDB.CreateTypes(CheckResult, new Tag(), new Website()); // Insert tags var _good = new Tag() { Name = "good" }; var _funny = new Tag() { Name = "funny" }; GDB.Insert(CheckResult, _good, _funny); // Insert websites and link them to their tags var _cnn = new Website() { Name = "CNN", URL = "http://cnn.com/", Tags = new List() { _good } }; var _xkcd = new Website() { Name = "xkcd", URL = "http://xkcd.com/", Tags = new List() { _good, _funny } }; var _onion = new Website() { Name = "onion", URL = "http://theonion.com/", Tags = new List() { _funny } }; GDB.Insert(CheckResult, _cnn, _xkcd, _onion); // Find out which tags xkcd is tagged with var _xkcdtags = GDB.Query("FROM Website w SELECT w.Tags " + "WHERE w.Name = 'xkcd' DEPTH 1"); foreach (var _tag in (List) _xkcdtags["Tags"]) Console.WriteLine(_tag["Name"]); // List tagged sites var _taggedsites = GDB.Query("FROM Website w SELECT w.Name, " + "Count(w.Tags) AS Counter " + "WHERE Count(w.Tags)&amp;gt;0"); foreach (var _sites in (List) _taggedsites[0]) Console.WriteLine("{0} =&amp;gt; {1}", _sites["Name"], _sites["Counter"]); // Start a REST service on localhost port 9975 GDB.StartREST(new Uri("http://localhost:9975")); // Start the GraphDB command line interface GDB.OpenCLI(typeof(ABasicFSCLICommands), typeof(AAdvancedFSCLICommands), typeof(ABasicDBCLICommands), typeof(AAdvancedDBCLICommands)); GDB.Shutdown(); } public static void Main(string[] myArgs) { var w = new TagExample(); w.Run(); } } } </code></pre>
<p> </p>
<p>The current C# API is already very expressive, but other programming languages might be much more verbose. To avoid writing a lot of code, you can always use our <a href="http://developers.sones.de/documentation/graph-query-language/">Graph Query Lanuage (GraphQL)</a> which is an optimized <a href="http://en.wikipedia.org/wiki/Domain-specific_language">Domain-specific language (DSL)</a> for creating and manipulating a graph within our database.</p>
<pre class="prettyprint"><code> CREATE TYPES Tag EXTENDS DBObject ATTRIBUTES (String Name) BACKWARDEDGES (Website.Tags TaggedWebsites) INDICES (Name), Website EXTENDS DBObject ATTRIBUTES (String Name, String URL, LIST Tags) INDICES (Name) INSERT INTO Tag VALUES (Name = 'good') INSERT INTO Tag VALUES (Name = 'funny') INSERT INTO Website VALUES (Name = 'CNN', URL = 'http://cnn.com/', Tags = SETOF (Name = 'good')) INSERT INTO Website VALUES (Name = 'xkcd', URL = 'http://xkcd.com/', Tags = SETOF (Name = 'good', Name = 'funny')) INSERT INTO Website VALUES (Name = 'onion', URL = 'http://theonion.com/', Tags = SETOF (Name = 'funny')) // Find out which tags xkcd is tagged with... FROM Website w SELECT w.Tags WHERE w.Name = 'xkcd' DEPTH 1 // Alternative query... FROM Tag t SELECT t.Name WHERE t.TaggedWebsites.Name = 'xkcd' // List tagged sites... FROM Website w SELECT w.Name, Count(w.Tags) AS Counter WHERE Count(w.Tags)&amp;gt;0 </code></pre>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://developers.sones.de/2010/02/24/get-a-taste-of-graph-databases-infogrid-neo4j-and-sones-graphdb/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>WebShell access to all test instances</title>
		<link>http://developers.sones.de/2010/01/07/webshell-access-to-all-test-instances/</link>
		<comments>http://developers.sones.de/2010/01/07/webshell-access-to-all-test-instances/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 14:09:50 +0000</pubDate>
		<dc:creator>bietiekay</dc:creator>
				<category><![CDATA[GraphDB]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[sones]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[WebShell]]></category>

		<guid isPermaLink="false">http://developers.sones.de/?p=570</guid>
		<description><![CDATA[For an easier access to any sones GraphDB instance you can use the our new web based shell. It is based on well-known technologies and libraries like HTML, JavaScript, JQuery and our REST API. You can choose between a text-based output format like shown in the following screen shot, a XML output format or a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">For an easier access to any sones GraphDB instance you can use the our new <a href="/documentation/connectors/webshell/">web based shell</a>. It is based on well-known technologies and libraries like <a href="http://en.wikipedia.org/wiki/HTML">HTML</a>, <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a>, <a href="http://jquery.com/">JQuery</a> and our <a href="/documentation/connectors/rest-api/">REST API</a>. You can choose between a text-based output format like shown in the following screen shot, a <a herf="http://en.wikipedia.org/wiki/Xml">XML</a> output format or a <a href="http://en.wikipedia.org/wiki/JSON">JSON</a> output format.</p>
<p><img class="aligncenter size-full wp-image-528" title="WebShell-01-small" alt="WebShell-01-small" src="http://developers.sones.de/wp-content/uploads/2010/01/WebShell-01-small.PNG" width="550" height="284" /></p>
<p style="text-align: justify">The WebShell ist Open Source Software and licensed under the <a href="http://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22New_BSD_License.22.29">New BSD License</a>.</p>
<p>To get access to your own personal test instance go to the <a href="http://www.sones.com/partner" target="_blank">sones homepage</a> and register a new account. When you’re logged in you’re only one click away from accessing the sones graphDB WebShell. You can log in using the given URL and the username and password.</p>
]]></content:encoded>
			<wfw:commentRss>http://developers.sones.de/2010/01/07/webshell-access-to-all-test-instances/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

