<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Filipe Pinto Teixeira on Medium]]></title>
        <description><![CDATA[Stories by Filipe Pinto Teixeira on Medium]]></description>
        <link>https://medium.com/@fppintoteixeira?source=rss-55fa63575ea7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jmV7c3XIWt1H91Vnxv8kEA.jpeg</url>
            <title>Stories by Filipe Pinto Teixeira on Medium</title>
            <link>https://medium.com/@fppintoteixeira?source=rss-55fa63575ea7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 23:32:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fppintoteixeira/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Java Redis Mock]]></title>
            <link>https://medium.com/vaticle/java-redis-mock-7bde1b46969?source=rss-55fa63575ea7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bde1b46969</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Filipe Pinto Teixeira]]></dc:creator>
            <pubDate>Fri, 13 Oct 2017 15:15:27 GMT</pubDate>
            <atom:updated>2022-04-09T20:12:28.624Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Java in-memory mock of Redis for simplifying testing</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*q8P67wyQqbwIFGE2ijtbkQ.png" /></figure><p>Many software solutions built today often depend on external processes. Examples include: databases, web services, indexing services, etc . . .</p><p>This introduces challenges when testing software solutions. How can you simply test a solution in isolation without having to spin up instances of external processes that solution may depend on?</p><p>A common solution is to mock out the dependency. Mocking simply refers to the act of mimicking the expected results returned by the dependency, without having to mimic the behaviour.</p><p>At <a href="https://www.vaticle.com/">Vaticle</a> (previoulsy called Grakn) we found ourselves in a similar position. After introducing and making extensive use of <a href="https://blog.grakn.ai/redisq-an-easy-to-use-reliable-java-library-for-asynchronous-messaging-in-redis-28a6905a5ce3">redisq</a>, we needed to either mock out <a href="https://redis.io/">Redis</a> or have it running as a process in the background.</p><p>Through <a href="https://github.com/kstyrc/embedded-redis">this</a> great library, we were able to create an instance of Redis in order to test against. However, creating a running instance of Redis (or any external process) when wanting to test simple functionality becomes tedious and slows down your tests.</p><p>An alternative to this approach is using <a href="http://site.mockito.org/">Mockito</a> which lets you to explicitly state what calls should return what answers. This is a very powerful approach to mocking out services but often requires a lot of fine tuned and difficult to maintain mocking code customised to each test case.</p><h4>Enter Redis Mock</h4><p>We found an existing <a href="https://github.com/zxl0714/redis-mock">in-memory Redis mock</a> providing some basic functionality. However, it has not been maintained since 2016 and lacks more of the advance features of Redis. The original author has provided a great framework to build from (thank you <a href="https://github.com/zxl0714">zxl0714</a>!). We have since forked this library and created our own version of an <a href="https://github.com/fppt/jedis-mock">in-memory Redis mock</a>.</p><p>We have extended this mock to support more complex Redis operations, as well as <a href="https://redis.io/topics/transactions">transactions</a> and the <a href="https://redis.io/topics/pubsub">publisher/subscriber</a> model. Using this mock we are able to eliminate the need for creating a running instance of Redis.</p><p>We would now like to share this updated version of <a href="https://github.com/fppt/jedis-mock">Redis Mock</a> which can be downloaded and used by anyone.</p><h4>How Does It Work?</h4><p>The mock functions by creating a server which accepts web socket connections. Each redis connection made to the mock creates a new RedisClient instance runing on its own thread. The socket connections mimic the <a href="https://redis.io/topics/protocol">Redis protocol</a>.</p><p>For example, a valid stream input such as:</p><pre>*3<br>$3<br>SET<br>$5<br>mykey<br>$5<br>Hello</pre><p>gets parsed into a Java object representing the set operation. This set operation synchronises against the in-memory RedisBase and executes when it is able to. In this way we mimic the single threaded nature of Redis despite being a multi threaded mock.</p><p>We chose to make a multi-threaded mock in order to more easily support transactions and the publisher/subscriber model. In the future, we may try to simplify it.</p><h4>How To Use It</h4><p>To use the mock you must first add a reference to it in your pom.xml with:</p><pre>&lt;dependency&gt;<br>  &lt;groupId&gt;ai.grakn&lt;/groupId&gt;<br>  &lt;artifactId&gt;redis-mock&lt;/artifactId&gt;<br>  &lt;version&gt;0.1.3&lt;/version&gt;<br>&lt;/dependency&gt;</pre><p>After that you can start and stop your mock redis server with:</p><pre>RedisServer server = RedisServer.<em>newRedisServer</em>(<em>port</em>);<br>server.start();<br>server.stop();</pre><p>If a port is not provided a random one is used. From this point on you can connect to the mock as you would with any normal running instance of Redis:</p><pre>Jedis jedis = new Jedis(server.getHost(), server.getBindPort);<br>...<br>jedis.close()</pre><h4>When To Use it</h4><p>This mock is ideal when wanting to simplify your testing stack. It makes running tests easier and lighter due to not requiring any external processes. It is entirely contained within the JVM which created it.</p><h4>When Not To Use it</h4><p>This mock should not be used when performing scale testing. The mock is thread safe but is not as memory efficient as a real running instance of Redis.</p><h4>Conclusion</h4><p>By replacing <a href="https://github.com/kstyrc/embedded-redis">Embedded Redis</a> with <a href="https://github.com/fppt/jedis-mock"><strong>this mock</strong></a> we were able to speed up our tests by more than 20%. This has enabled us to get faster feedback on running test. However we still use <a href="https://github.com/kstyrc/embedded-redis">Embedded Redis</a> when running scale tests.</p><p>We are looking to continually maintain and improve this library. We appreciate and look forward to any feedback.</p><p>If you enjoyed this article, please hit the clap button below, so others can find it, too. Please get in touch if you’ve any questions or comments, either below, via our Community <a href="https://www.vaticle.com/discord">Discord</a> channel, or via our <a href="https://forum.vaticle.com/">discussion forum</a>.</p><p>Find out more from <a href="https://www.vaticle.com/">www.vaticle.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bde1b46969" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vaticle/java-redis-mock-7bde1b46969">Java Redis Mock</a> was originally published in <a href="https://medium.com/vaticle">TypeDB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Grakn’s (mostly) Agile Methodology]]></title>
            <link>https://medium.com/vaticle/grakns-mostly-agile-methodology-ab491fa62ba3?source=rss-55fa63575ea7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab491fa62ba3</guid>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[scrum]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Filipe Pinto Teixeira]]></dc:creator>
            <pubDate>Wed, 02 Aug 2017 11:17:07 GMT</pubDate>
            <atom:updated>2022-04-12T08:34:10.419Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Tale of Herding Startup Cats</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jzXyw9UhIqgTrFXMpBI4zw.jpeg" /></figure><p>Anyone who has ever found themselves monitoring or managing any kind of project may have encountered the term “It’s like herding cats”. These days this refers to the difficulty associated with managing the many interacting components of a project. Originally it was specific to people:</p><blockquote>Managing senior programmers is like herding cats.</blockquote><p>The difficulty associated with managing software projects and minimising the risks of those projects has spawned off an almost entirely different industry in itself. You will often hear people boast about following some formal workflow process. <a href="https://en.wikipedia.org/wiki/Waterfall_model">Waterfall</a>, <a href="http://agilemethodology.org/">Agile</a>, <a href="http://scrummethodology.com/">Scrum</a>, <a href="https://www.versionone.com/what-is-kanban/">Kanban</a>, the list goes on . . . Some actually get quite passionate about these approaches. I have even heard of people <strong>not</strong> in software engineering following these formal processes. Personally, I am of the thought that you should find a workflow that works for the team you have, stick with it when it works, and tweak it when it doesn’t work.</p><p>So this is a tale and a retrospective look at how we at <a href="http://www.vaticle.com/">Grakn Labs</a> found our “workflow” that seems to work for us. This tale may aid you in finding your workflow.</p><p>We found ourselves in an interesting position in comparison to most software teams. We are not all software engineers. Some of us fall more in the data scientist side, some in the rapid prototype side, and some in the marketing side. Regardless, when you have a <strong>small mixed team</strong> that have to reach objectives quickly, it’s important to get everyone working in the same manner. So, in our case, our cats are on fire and each cat is trying to put out the fire with different materials. Finally, you, who are watching this, are also on fire.</p><h3>Grakn’s Development Process</h3><p>It’s year one of Grakn, we have vague requirements, a rough design document, and zero lines of code to work with. We also have a new and relatively young team. From the management perspective you should <strong>quickly</strong> get everyone on the same platform and process. So our CEO, <a href="https://medium.com/u/5ef03fa74362">Haikal</a>, took the time to investigate and decided on a new project management platform, <a href="http://targetprocess.com/">TargetProcess</a> (think <a href="https://www.atlassian.com/software/jira">Jira</a>, but less bloated and more focussed) and defined a development process from day 1. As he describes it in a different <a href="https://blog.grakn.ai/grakn-2016-year-in-review-e30b66adece3">blog post</a>:</p><blockquote>Our development is quite <a href="https://en.wikipedia.org/wiki/Agile_software_development">Agile</a>, as things change rapidly, and we embrace it. We practice some guidelines from <a href="https://en.wikipedia.org/wiki/Scrum_(software_development)">Scrum</a> as we develop in weekly iterations of sprints. Releases used to happen every two months, but now we release every 2 or 3 weeks. However, we still hold some core values of <a href="https://en.wikipedia.org/wiki/Waterfall_model">Waterfall</a>: the requirements and design phase, as we believe they are critical steps in engineering — where 50% of the engineering happens. However, <a href="https://en.wikipedia.org/wiki/Requirements_analysis">requirements log</a> is always open to change, always updated, always reviewed and always feeds into the development iteration — this maintains agility in development. Imagine a continuous <strong>Design</strong> phase that feeds into an <strong>Agile</strong> team who develop in <strong>Sprints</strong> every week.</blockquote><h4>Planning: Requirements and Design</h4><p>The planning software is only the tool and should be used to facilitate the needs of the team. The planning behaviours that every team does on the every platform will be different. For us it starts with the following pipeline:</p><ol><li><strong>Requirements Gathering</strong> — Simply list the high level <strong>goals</strong> which need to be delivered by the software. Anything goes here, so list whatever you think adds value to your project, as long as it’s high level. Its important to encourage this attitude as it allows <strong>everyone</strong> in your team to contribute in some way or another to the direction of the project.</li><li><strong>Requirements Discussion</strong> — At this stage you will be accepting and rejecting requirements based on: (1) does the requirement fit within the vision of the product? and (2) is it feasible to do, regardless of timeline? During this stage, avoid discussing design. The objective is to create your feature set and prioritise those features. Your must haves for your minimum viable product.</li><li><strong>Design Time</strong> — Pick your highest priority requirements and start designing and outlining a rough implementation. Be sure to document any decisions and assumptions. You don’t need to go through <strong>all</strong> the requirements. Just enough keep everyone busy for a some time. When time allows, you can do the same for the lower priority requirements. Not planning all the requirements is important as things may change before you finally get around to implementing them and with a young team on a new project you will need speed and flexibility — or more precisely: <strong><em>agility</em></strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q_sou0ogLGa0HlhB5gnHyg.png" /><figcaption>The Requirements Board We Use For a subset of the project</figcaption></figure><p>This basically takes care of managing which <strong>goals</strong> get into the product. If you notice the <strong>new </strong>column looking empty, time do to step 1. If you notice the <strong>accepted</strong> column looking thin, time for step 2. Finally, if the <strong>in progress </strong>column is looking thin, time for step 3.</p><p>Next up, is development planning and execution, and this is where we set our first cats on fire.</p><h4>Development: Weekly Plan and Weekly Sprints</h4><p>Now that you know what needs to get done you need to make sure progress can be monitored and communicated in a non intrusive manner. Enter the <a href="https://www.scruminc.com/scrum-board/">Scrum Board</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBdwV8EzHgvVyF7ak8--lw.png" /><figcaption>Our Weekly Sprint Board on <a href="http://targetprocess.com/">TargetProcess</a></figcaption></figure><p>Borrowing a page from <a href="http://scrummethodology.com/">Scrum</a> methodology we run weekly sprints. At the end of each week we group up and fill our todos for the following week. This is basically the process of taking accepted and designed requirements and breaking them down into executable tasks. Doing this serves two purposes:</p><ol><li>Planning the tasks you going to execute in advance minimises “dead time”, i.e. time spent waiting for others to do something you need or time spent looking for your next actionable task when you not sure what to do next.</li><li>By planning in smaller groups we more effectively communicate how we going to impact each other. This minimises surprises throughout the week. For example, if you going to be refactoring some API calls your colleagues should know about these in advance before they wonder where their API has gone.</li></ol><p>The <a href="https://www.scruminc.com/scrum-board/">Scrum Board</a> allows each developer to be aware of everyone’s status on each task without having to poke anyone. A digital board also makes this easier to work with, as changing the status of a task is as simple as dragging a card to the next column.</p><h3>KISS: Keep It Simple Stupid</h3><p><strong><em>KISS</em></strong><em> — This phrase is often used when designing software and I believe it should be applied towards managing workflows as well.</em></p><p>This is where things started to go wrong. A new team, a new workflow, and vague requirements will results in some failures. We had plenty of these during the early days of Grakn. From not properly defining requirements, skipping the requirements pipeline all together, to just failing to plan, we experienced all of these in our mad rush to our fist prototype application: Moogi.</p><p>Some may argue that these failures are a result of not strictly sticking to established and proven process. In other words, if you going to <a href="http://scrummethodology.com/">Scrum</a>, you <a href="http://scrummethodology.com/">Scrum</a> 100%, if you going to <a href="https://www.versionone.com/what-is-kanban/">Kanban</a>, you go with that 100% without deviation. This is what we tried. This is where we failed. We found that sticking to a specific process was never flexible enough. When you have 6 months to get to a prototype application you can’t spend much time on your workflow. So this is where we started to deviate from the proven processes which resulted in things getting better. . . until they got bad again.</p><p>These processes are proven and established for a reason and too much deviation from them results in failed planning and planning to fail. So at this stage we learnt our lessons and went with a different approach. We treated these processes as guidelines and picked those which worked, while abandoning those which failed.</p><h4>Estimating Effort: Predicting the Future, not Measuring the Past</h4><p>One of the most common principles of <a href="http://scrummethodology.com/">Scrum</a> is in estimating effort associated with tasks. Many insist that you should <strong>not </strong>use hours when estimating task difficulty. You should use <a href="https://agilefaq.wordpress.com/2007/11/13/what-is-a-story-point/">story points</a>, or hot dog sizes, or precipitation levels, or some other layer of abstraction.</p><p>One of the reasonings behind this is that engineers do not like associating hours with tasks. However, in most cases (not all) these abstracted points get converted into hours anyway. So this layer of abstraction exists to protect our feelings at the cost of giving us the opportunity at getting better at estimating the time it takes to execute tasks. I know this is a controversial stand point but hear me out …</p><p>Knowing how long it will take you to do something is a valuable skill for anyone to posses — it allows you to predict the future (of your development). A skill which is more difficult to develop when you think in terms of hot dogs and not time. So <strong>KISS</strong> — go back to hours, yes, you will get it wrong but, as time goes on, you will get increasingly accurate. Of course if the point abstraction works for your team then stick with it, but in our smaller team where everyone is responsible for individual components, time based estimations work better for us.</p><p>When you start using hours for task estimation <strong>do not</strong> use it to keep time sheets on your people. If you do, you are going to encourage people to pad out the hours, which defeats the purpose of this exercise. <strong>KISS</strong> — workflow management is not the same as keeping time sheets.</p><h4>Communication: Daily Updates and Weekly Standups</h4><p>Another common aspect of <a href="http://scrummethodology.com/">Scrum</a> is the <a href="https://martinfowler.com/articles/itsNotJustStandingUp.html">daily standup</a>. The principle is simple, every morning everyone stands up and gives a brief talk about what they did the day before, and what they going to do today. This has the common pitfall of running over the allotted time.</p><p>Daily Standups are supposed to be brief 10 minute intros to the day. However, more often that not there is run over because as developers we are enthusiastic people and will talk any implementation detail into the ground if given the chance — <em>tabs vs spaces anyone?</em> This is such a common problem that you can find <a href="https://www.scrumalliance.org/community/articles/2014/july/7-mistakes-during-the-daily-stand-up-meeting">articles</a> suggesting ways to deal with it. Some people use stop watches, talking sticks (you can only talk if you have the stick), druidic rituals, and many other workarounds. <strong>KISS</strong> — If it doesn’t work for your team, get rid of it.</p><p>We replaced the daily standup with a <strong>daily email update</strong> everyone sends at the end of the work day. This email simply states what they did, issues they encountered, and what they planning for the next day. If conversation needs to continue, it can do so on the email thread without dragging in people who do not need to be involved. In addition to this we have a <strong>weekly standup</strong> at the start of every week to say what our objective is for the coming week. This is high level enough that dev talk rarely happens and if we do run over it only happens once a week so we don’t feel the need to introduce controlling measures such as the previously mentioned stopwatches and druids.</p><h4>Practice Makes Perfect</h4><p>Handling incorrect task estimations needs to be done carefully. It is easy to accidentally create an environment of rewarding overestimating and punishing underestimating. The objective is to reward accurate task estimations and assist with understanding why certain tasks were misestimated. This is regardless whether they were executed 2 times faster or slower than expected.</p><p>You may ask why are accurate estimations so important? Isn’t it a good thing to have people finishing work ahead of plan. Yes of course! However, wouldn’t it be even <strong>better</strong> if you knew they were going to finish ahead of time? Furthermore, there are troubles that can occur when constantly under or over estimating:</p><ol><li><strong>Overestimating</strong> can lead to people getting to the middle of their week and not be sure what to do next. Senior staff with a good initiative and intuition may easily jump on another task, but some (if not most) people are reluctant to do so. So it’s best to avoid this situation.</li><li><strong>Underestimating </strong>means that you risk blocking other developers or missing deadlines. It also means you can’t accurately plan around someone.</li></ol><p>One general guidelines which has helped us in the past is that any task over 8 hours should be broken down further. Luckily <a href="http://targetprocess.com/">TargetProcess</a> lets us do this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xhcLDEanmsAR02YZNoA3ow.png" /><figcaption>A more granular breakdown of tasks</figcaption></figure><h3>Our Workflow Today</h3><p>This roughly covers how we do business and how we work at Grakn Labs. It’s not perfect but it’s gotten us to where we are today. We are still tweaking here and there but the core principles have been maintained since we started our journey.</p><p>There are still many challenges which we are facing with regards to this workflow. The research side of our work still doesn’t perfectly match this workflow. I have heard of research teams who have incorporated Agile principles into their work and I would love to know peoples thought’s on how to do it. Similarly, there is still the vagueness of non requirement driven and non technical tasks. For example, I am writing this blog piece which takes time, how does this sort of work get factored in? Should it get factored in? I have been told that these are common problems amongst small teams of varying composition and background. I would love to hear your thoughts on how your teams have tackled these issues.</p><p>I hope you enjoyed this high level review of how we went from a group of cats on fire running in random directions to cats on fire running in the same direction. Maybe one day we will no longer be on fire.</p><p>Please let us know your thoughts by leaving us a comment below, joining our <a href="http://www.vaticle.com/discord">Slack</a> community or pinging us on <a href="https://twitter.com/GraknLabs">Twitter</a>! And if you liked this post, please do hit recommend.</p><h4>PS: If you’re an engineer, you should totally <a href="http://www.vaticle.com/">try out Grakn</a>!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab491fa62ba3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vaticle/grakns-mostly-agile-methodology-ab491fa62ba3">Grakn’s (mostly) Agile Methodology</a> was originally published in <a href="https://medium.com/vaticle">TypeDB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Grakn Labs on the Road]]></title>
            <link>https://medium.com/vaticle/grakn-ai-on-the-road-7a0610b988e0?source=rss-55fa63575ea7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a0610b988e0</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[silicon-valley]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Filipe Pinto Teixeira]]></dc:creator>
            <pubDate>Tue, 07 Mar 2017 12:54:48 GMT</pubDate>
            <atom:updated>2022-03-24T16:22:50.734Z</atom:updated>
            <content:encoded><![CDATA[<h4>Tales from a Travelling Knowledge Engineer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gcE9g1sRxamdZ1EAMtSqiQ.jpeg" /><figcaption>My past 3 weeks in boarding cards.</figcaption></figure><p>The last couple of weeks have been exciting for us at <a href="http://www.vaticle.com/">Grakn Labs</a>. We have had the pleasure of travelling in Europe and North America to exhibit our technology. In this article, I will recount the last few weeks and share our experiences.</p><h3>Dublin — 14–17 February</h3><p>The first stop was <a href="http://dublintechsummit.com/">Dublin Tech Summit</a>. DTS is a two day conference bringing together more than 10,000 attendees including more than 100 startups, industry partners and excellent speakers. The event provides early stage startups with a great opportunity to network, get feedback, and grow their business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*69pw0bFVEqcYWrAwzWlhaw.png" /><figcaption>A robot with a penchant for millinery at DTS.</figcaption></figure><p>Upon entering, we were greeted by a sarcastic robot who spent most of his time commenting on people’s hats. <em>I never knew AI would be so hat-focused</em>. After having our headgear complimented or insulted, we immediately went to our booth. Throughout the event, the response was amazing. Many visitors were interested in our technology and we happily showcased some <a href="https://blog.grakn.ai/family-matters-1bb639396a24#.m7cibbqkx">examples</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*_-7CZCf116e45TK6qWvgnw.jpeg" /><figcaption>Grakn Labs in Dublin (image courtesy of Victoria Sedgwick).</figcaption></figure><p>This event was different from our previous <a href="https://blog.grakn.ai/grakn-ai-at-data-day-texas-2017-269ffba603b5#.b0wkc2kdu">excursions</a> as it was the first time we stepped away from AI conferences and into a broader domain. Regardless, we still got a lot of attention and had fun learning about other <a href="http://dublintechsummit.com/start-ups/">startups</a> who are busy with some great projects. We also had a chance to connect with others within the Europen tech ecosystem, from accelerators to investors.</p><h3>San Francisco &amp; Silicon Valley — 18–24 February</h3><p>The next stop was <a href="https://www.startupgrind.com/conference/">Startup Grind</a> in Redwood City. Similarly, this was another two day conference giving startups around the world an opportunity to exhibit their technology. Not only were we one of those startups, we have been voted to be in the <a href="https://blog.grakn.ai/grakn-ai-is-a-top-50-startup-d5ce01c2af9a#.fu7h5yker">top 50</a>! This gave us access to an extra day before the conference really kicked off.</p><p>On this pre-conference day our CEO, <a href="https://twitter.com/haikalpribadi">Haikal Pribad</a>i was given the opportunity to participate in a pitch bootcamp: an event specifically tailored towards teaching startups how to present their company in the best way possible. When presenting a deep technology such as ours, it is very important to connect with your audience regardless if they are your target. This event gave us more personal time with our fellow startups and the industry partners, who were very helpful and interested in the work we were presenting.</p><p>The first official day of the conference gave us the opportunity to exhibit. Once again, the response was very positive whenever we showcased an <a href="https://blog.grakn.ai/https-blog-grakn-ai-trumpworld-making-a-knowledge-graph-a0fa27c57325#.lzdcu6kab">example</a> of Grakn in use. The only difference being that there was a greater variance in the audience. While DTS was more technical, Startup Grind was more diverse with attendees having technical, marketing, sales, and other backgrounds.</p><p>During this first day we were invited to pitch at Startup Court an event reserved for 25 startups to pitch in an actual courtroom. Our CEO, I mean lawyer, was once again presenting our work, but this time under the scrutiny of a jury of industry partners and experts. Glad it was him and not me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wZ82dFBkqsjJmLoIeMyaCg.jpeg" /><figcaption>Startups standing trial.</figcaption></figure><p>We did not exhibit on day 2 which gave us an opportunity to simply attend and enjoy the conference. There is a lot to do at Startup Grind ranging from attending industry partner talks, founder talks, and some great keynotes throughout the day. These all ran in parallel meaning that there was always something for everyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*06oR4elOhbPae6O3JY4Pmw.jpeg" /><figcaption>Grakn Labs at Startup Grind.</figcaption></figure><p>We finished up our tour of San Francisco by giving a talk at <a href="https://www.thoughtworks.com/">ThoughtWorks</a>, where they have previously dived into the world graph databases. This was a fun one for me personally because one of their developers has had a hard time working with OWL and RDF, but before I go on a rant about that <a href="https://blog.grakn.ai/owl-is-dead-long-live-owl-7a93f8bdea59#.4lulzsh16">again</a>, I will just say thanks ThoughtWorks for making time for us. With this final talk, we concluded San Francisco.</p><h3>New York — 25 February — 4 March</h3><p>We began our New York tour by giving a talk at IBM in York Town, which some might call the home of <a href="https://www.ibm.com/watson/">IBM Watson</a>. Thanks to <a href="https://twitter.com/sumalaika">Susan Malaika</a> for organising the talk. It was a great opportunity for us to present our work to a highly technical audience with substantial experience in AI systems. We got some excellent feedback and look forward to working with some of the more interested attendees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bg3bwizdErBCgqMqB1nXyg.jpeg" /><figcaption>Haikal presenting at IBM (image courtesy of <a href="https://goo.gl/photos/3GNPkJbHzEd9Au726">Susan Malaika</a>).</figcaption></figure><p>The final stop was the <a href="https://www.meetup.com/graphs/events/237100744/">Janus Graph meetup</a> in New York.</p><p>As some of you may know, we are in <a href="https://blog.grakn.ai/janus-launch-22be6ac3b197#.o7qzetmss">partnership</a> with IBM and Google to continue growing the graph database community. This was the first time some of the people involved in this project met in the same room. We had a great presentation from <a href="https://www.linkedin.com/in/pluradj/">Jason Plurad</a> who talked about <a href="http://tinkerpop.apache.org/">Apache Tinkerpop</a> which powers much of Grakn. Our CEO, former lawyer, presented Grakn once more.</p><p><a href="https://www.linkedin.com/in/santoshborse/">Santosh Borse</a> talked about how IBM is using graph technologies.</p><p><a href="https://github.com/mbrukman">Misha Brukman</a> gave a talk on <a href="https://cloud.google.com/bigtable/">BigTable</a> and those of you following JanusGraph will be interested to know that BigTable will be joining a a supported backend.</p><p><a href="https://www.linkedin.com/in/raymond-canzanese-jr-178a846/">Raymond Canzanese Jr</a>, described how their startup is using graph technology in the world of security monitoring and notifications.</p><p>Finally, <a href="https://www.linkedin.com/in/denisekgosnell/">Denise Gosnell</a> talked about her experiences with Graph Technologies, and made us all feel bad because she focused on the current problems with the technology. We are all critical engineers at the end of the day and nothing is every perfect. It was a fun meetup with a great audience: if you missed it, there’s a writeup and the slides available over on the <a href="https://developer.ibm.com/opentech/2017/03/06/janusgraph-meetups-march-2017-new-york-london/">IBM OpenTech blog</a>. And, if you’re in the London area, why not drop by for the <a href="https://www.meetup.com/graphs/events/237191885/">next meetup</a> on 13th March in Shoreditch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*67HzOAjd9jaKR2fXOYEL6A.jpeg" /><figcaption>The Grakn stack presented at the first JanusGraph meet up (image by <a href="https://www.meetup.com/graphs/members/13919430/">Daniel Krook</a>)</figcaption></figure><h3>Home</h3><p>This concluded our Grakn road trip. We got a lot of feedback, made some new friends, and got some inspiration for more experiments to be done with Grakn. Looking forward to the <a href="https://www.meetup.com/graphs/events/237191885/">next one</a> — why not come and join us?!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a0610b988e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vaticle/grakn-ai-on-the-road-7a0610b988e0">Grakn Labs on the Road</a> was originally published in <a href="https://medium.com/vaticle">TypeDB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GRAKN.AI Announces Collaboration with Expero, Google, Hortonworks and IBM on JanusGraph]]></title>
            <link>https://medium.com/vaticle/janus-launch-22be6ac3b197?source=rss-55fa63575ea7------2</link>
            <guid isPermaLink="false">https://medium.com/p/22be6ac3b197</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Filipe Pinto Teixeira]]></dc:creator>
            <pubDate>Thu, 12 Jan 2017 13:58:26 GMT</pubDate>
            <atom:updated>2019-01-10T13:55:55.107Z</atom:updated>
            <content:encoded><![CDATA[<h4>The future of open-source graph databases</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZkkiO46U2P4cbwXxKJAfw.png" /></figure><p>As a company, we take great pride in supporting the open source movement — from contributing to open source communities to offering our own open source technology: <a href="https://grakn.ai/">GRAKN.AI</a>.</p><p>GRAKN.AI itself depends on <a href="https://github.com/thinkaurelius/titan">TitanDB</a>, an open source graph database implementing the <a href="http://tinkerpop.apache.org/">Apache TinkerPop</a> API and running on several NoSQL backends, such as <a href="http://cassandra.apache.org/">Apache Cassandra</a>, <a href="https://hbase.apache.org/">Apache HBase</a>, and <a href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html">Berkeley DB</a>.</p><p>Originally developed by Aurelius, Titan has been one of the most successful open source distributed graph databases. It has seen wide industry adoption and has a growing community since its inception. We have made extensive use of its indexing functionality, enabling us to increase performance, as well as its GraphComputer, enabling our own analytics platform. Like Titan, we are also striving to be vendor agnostic with the help of the TinkerPop API.</p><p>Since <a href="http://www.datastax.com/2015/02/datastax-acquires-aurelius-the-experts-behind-titandb">Datastax’s acquisition</a> of Aurelius in February 2015, the development of Titan has slowed, with the last update to the repo being done in June 2016. Since that time, we have seen questions regarding the future of Titan and its maintenance.</p><p>Today, we are happy to announce our collaboration with a new community of individuals and companies, including <a href="http://experoinc.com/expero-joins-janusgraph-community/">Expero</a>, <a href="http://opensource.googleblog.com/2017/01/janusgraph-connects-past-and-future-of-titan.html">Google</a>, <a href="http://hortonworks.com/">Hortonworks</a> and <a href="https://developer.ibm.com/opentech/2017/01/12/janusgraph/">IBM</a>, in launching <a href="http://janusgraph.org/">JanusGraph</a>, a new fork of Titan under <a href="https://www.linuxfoundation.org/blog/2017/01/the-linux-foundation-welcomes-janusgraph/">The Linux Foundation</a>. This projects aims to continue development and advance the landscape for open source graph databases.</p><p><a href="https://en.wikipedia.org/wiki/Janus">Janus</a> is a Roman god of beginnings and endings, but most importantly transitions. We thought this name would be appropriate, as Titan transitions into something new and exciting.</p><p>All are welcome to join us on this new endeavour. JanusGraph will be welcoming features, bug fixes, documentation improvements, and much more. Get involved by taking a look at the project <a href="http://janusgraph.org/">website</a> and browse the code on <a href="https://github.com/JanusGraph/janusgraph">GitHub</a>.</p><p>We look forward to working together on continuing the advancement of graph databases!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22be6ac3b197" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vaticle/janus-launch-22be6ac3b197">GRAKN.AI Announces Collaboration with Expero, Google, Hortonworks and IBM on JanusGraph</a> was originally published in <a href="https://medium.com/vaticle">TypeDB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advent at Grakn Labs: Open Source Technology]]></title>
            <link>https://medium.com/vaticle/advent-at-grakn-labs-21st-december-2016-d97f963a4563?source=rss-55fa63575ea7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d97f963a4563</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Filipe Pinto Teixeira]]></dc:creator>
            <pubDate>Wed, 21 Dec 2016 11:55:05 GMT</pubDate>
            <atom:updated>2017-01-29T02:23:12.020Z</atom:updated>
            <content:encoded><![CDATA[<h4>#GraknLovesTech: 21st December 2016</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hhCsHhqlUYOmKzxwxB66dg.jpeg" /><figcaption>Source: licensed Adobe Stock photo by <a href="https://stock.adobe.com/uk/contributor/65499/jbattx">jbattx</a></figcaption></figure><p>Here at Grakn Labs we love technology. So much so that, this month, we’ve decided to share our favourite technology moments from 2016. Each weekday during December, we will open a window on our virtual advent calendar, and peek inside to recall some of the greatest innovation or news that the past year has brought us.</p><p>Please recommend and share with hashtag #GraknLovesTech if you enjoy our posts. And if you have any favourite links you’d like us share, just leave us a comment or tweet us <a href="http://twitter.com/graknlabs">@graknlabs</a>!</p><p>So it’s my turn, once again, to look into our advent calendar. Behind door number 21 is . . . Open Source Technology. Great, I have always been a big supporter of open source and I am happy to do a big article on it. <em>*</em><a href="https://twitter.com/Precykwan"><em>Precy</em></a><em> grumbles in the background*</em> The article must be short ? Oh very well, I will try to contain myself to a reasonable length. How about I just stick to a review of open source in 2016 ? That sounds catchy, and who doesn’t love a year end review of things. I know my taxman does.</p><h3>Opening The Source</h3><p>Before I start, I just want to take a moment to explain what it means to be an open source technology. There is a common misconception that it means the software is available for free and you can use it however you want. This is only partially true. When software is open source, it means that the code is readily accessible and viewable by anyone. This also commonly means that the software product is available for free usage under many circumstances. However, you have to use in it accordance with the license terms, where some licenses are more permissive than others.</p><p>Each open source software product, including our own at <a href="http://grakn.ai/">GRAKN.AI</a>, has a licence attached to it. These overly long and legal jargon-filled pieces of text essentially dictate the terms of usage. For example, <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache</a> is one of the most liberal licenses - allowing you to almost do whatever you want. You can even repackage and sell the code, if you so choose. On the other hand, <a href="https://opensource.org/licenses/gpl-2.0.php">GPL</a> dictates that the software must remain open when being used, including commercial uses. There are a variety of flavours of these licences, all with their own subtleties. <a href="https://opensource.org/licenses/">OSI</a> provides a great overview of them, and if you’re thinking about going open source, I would recommend doing some research.</p><h3>Why Open The Source?</h3><p>As any software engineer will tell you, writing code is hard, writing good code is even harder, and writing good code which turns into a good product is the hardest of all. So why do we put so much effort into our products and then essentially “give them away for free”? Well, as my colleague recently <a href="https://zooei.com/choosing-your-next-hobby-project/">pointed out</a>, software engineers are usually very passionate people and that passion can turn into side projects which often become open source projects simply because of that passion. So yes, we are just nice people like that.</p><p>Another way open source tech is often born is through development in large enterprises. For example, <a href="http://cassandra.apache.org/">Apache Cassandra</a> was initially developed by engineers at Facebook in an effort to power their own system. Often these large enterprises release these products as open source as a way of contributing to the community, or as a way of drawing in more users.</p><p>The next issue is that of maintenance. Maintaining software is an arduous endeavour, especially when it begins to grow. So it would be reasonable to ask, how do many open source products survive if they are free? Are people really donating enough of their free time to allow these products to continue without funding? In some cases this may be possible, but this is rare. Behind many sizeable free open source products such as <a href="https://www.ubuntu.com/">Ubuntu</a>, lie a collection of investors and funders with an active interest in keeping the product going. These funders allow the work on these projects to continue, without people losing interest due to having to reprioritise to paying projects.</p><p>To conclude on this section, what is the point of open source? I could dedicate several pages to answering this question but I will refrain from that before my editor gets too angry with me. Open source has not only resulted in great pieces of software such as <a href="https://www.linux.com/what-is-linux">Linux</a>, <a href="https://git-scm.com/">Git</a>, <a href="http://duplicity.nongnu.org/">Duplicity</a>, and many more, it has also allowed us to advance at a much faster pace. Open source tools have contributed to many fields and their influence is immeasurable. But we must never forget a great achievement of open source tech, <a href="http://www.bbspot.com/news/2008/12/linux-on-a-potato.html">Potato Linux</a>. Now, on to the year in review!</p><h3>Open Source in 2016</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*ZPlLCqfF62kHwfzr8UV8lw.jpeg" /><figcaption>This has actually happened at the Grakn Offices. Image from <a href="http://www.datamation.com/cnews/article.php/3917611/Tech-Comics-Open-Source-Firmware.htm">here</a></figcaption></figure><p>This section is simply going to be dedicated to all the open source related stories that we, at Grakn Labs, were exposed to throughout the year. This is not by any means a top 5 list, but rather just a collection of moments from this year related to open source tech.</p><p>This year we have seen <a href="http://orientdb.com/orientdb-officially-supports-tinkerpop-3/">OrientDB</a> officially take up <a href="http://orientdb.com/orientdb-officially-supports-tinkerpop-3/">Tinkerpop 3 support</a>. This story really shows the power of an open source community because the project and the <a href="https://github.com/orientechnologies/orientdb-gremlin">repo</a> did not start out as an official effort from OrientDB. This open source project was originally started by <a href="https://github.com/mpollmeier">Michael Pollmeier</a> and <a href="https://github.com/velo">Marvin Froeder</a>. Both of whom have taken this project from a proof of concept to an official offering of OrientDB. They also helped me out immensely in my efforts to get Grakn on top of OrientDB. Congrats to both of them on their success with this project and thank you to OrientDB for listening and responding to their community.</p><p><a href="https://rethinkdb.com/">RethinkDB</a> is another NoSQL database designed for high scalability and fast writes. When we at Grakn Labs started our journey, we looked at RethinkDB with admiration. They have a great database with an elegant language. Sadly, this year, Rethink <a href="https://rethinkdb.com/blog/rethinkdb-shutdown/">announced</a> they were shutting down. This was very hard for everyone to hear considering all the positive news and great work they produced. I heard that <a href="https://www.rethinkdb.com/blog/">the team is moving on to work with Stripe</a> and will be pursuing new challenges there. I wish them all the best of luck in their new adventure. As disappointed as we were, this story does have a silver lining as RethinkDB is not dead! There is currently an effort to put more of its development and maintenance into the hands of the community. Anyone willing to lend a hand should <a href="https://rethinkdb.com/community/">contact</a> them and see how they can contribute to this effort.</p><p><a href="https://readme.readme.io/docs/open-source">Readme.io</a>, <a href="https://yourkit.com/">YourKit</a>, <a href="https://travis-ci.com/">Travis CI</a>, and <a href="https://coveralls.io/">Coveralls</a>, only the latter of these two are open source, but all four get an honourable mention in my book because they offer their products for free to any open source project. Even without being open source themselves, they are still supporting everyone in the open source community. Readme.io is an online documentation platform with a very simple to use interface which supports markdown along with some other bells and whistles. YourKit is an amazing java profiler that makes finding performance leaks and bottlenecks much easier. Travis CI is an online continuous integration framework (which I have heard people christen it the friendly cousin of <a href="https://jenkins.io/">Jenkins</a>). Last, but definitely not least, is Coveralls which automatically determines the test coverage of your projects using well supported testing frameworks. At Grakn Labs, we have been using all of these tools considerably and would struggle without them, so a massive thank you from our team to theirs!</p><p>For this last one, I am going to look at something more personal. During my free time I pretend to know something about photography. I even take a picture or two which people other than my mother have said they liked. I have recently switched from using Adobe Lightroom to an open source alternative called <a href="http://www.darktable.org/">Dark Table</a>. I have attempted this switch several times, but only in this year that I was able to finally able to make the switch. Dark Table is not as feature complete as Lightroom but it is a far lighter and more efficient application. I am not sure what the guys at Dark Table did this year but thanks for doing it. Lightroom was making me sad periodically. Also, hooray for open source in the multimedia community!</p><h3>Open Source in 2017</h3><p>This is really easy to predict. Open source is not going anywhere. It’s going to get bigger and its applications, more diverse. Many years ago, the creation of open source products was reserved for the idealist engineer but now we are seeing <a href="http://www.adweek.com/socialtimes/facebook-2016-open-source-year-in-review-infographic/648591">enterprises</a> contribute more to open source and even <a href="http://www.cio.co.uk/it-applications/11-open-source-companies-watch-3429129/">build entire businesses around open sourc</a>e. This can only lead to the creation of better software as we continue to share our experiences and learn from each other.</p><p>For 2017, I am hoping that we start to see more of a push, not only in the development of open source products, but also in their adoption. There is still the stigma that many open source alternatives are unreliable or not very well supported. I am hoping to see that change in 2017. Obviously, we at Grakn Labs look forward to another year of being part of this amazing community.</p><p><em>GRAKN.AI is an open-source knowledge graph data platform that brings knowledge ontologies and transactional data together to enable highly intelligent querying of data. Querying is performed through Graql, a declarative, knowledge-oriented graph query language for retrieving explicitly stored and implicitly derived information, and for performing graph analytics and automated reasoning. Grakn and Graql will help you effectively manage and harness large-scale graph data by allowing you to model it expressively, migrate it efficiently, and to draw insightful knowledge from your deep information network.</em></p><p><em>Find out more about Grakn Labs from our </em><a href="https://grakn.ai/"><em>website</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d97f963a4563" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vaticle/advent-at-grakn-labs-21st-december-2016-d97f963a4563">Advent at Grakn Labs: Open Source Technology</a> was originally published in <a href="https://medium.com/vaticle">TypeDB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advent at Grakn Labs: Predictive Analytics]]></title>
            <link>https://medium.com/vaticle/advent-at-grakn-labs-15th-december-2016-30c929bedcc?source=rss-55fa63575ea7------2</link>
            <guid isPermaLink="false">https://medium.com/p/30c929bedcc</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Filipe Pinto Teixeira]]></dc:creator>
            <pubDate>Thu, 15 Dec 2016 17:26:26 GMT</pubDate>
            <atom:updated>2022-03-24T16:22:15.232Z</atom:updated>
            <content:encoded><![CDATA[<h4>#GraknLovesTech: 15th December 2016</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2pvyPRJo7Qwbh_89zDuqtQ.jpeg" /><figcaption>Source: Photo taken by <a href="https://www.flickr.com/photos/109249103@N05/11011612474/in/photolist-hM4oKu-q9vKLT-4RMkrc-6VqYCJ-c5YU9m-c9N2mA-9NH11D-88jr2T-e2ydrv-g4P8w-pCa8P9-7RWaZ3-4MFe54-9o1zQd-6Gxehc-9fGHUb-oBfkAQ-jKQ5iz-9NDZCz-canxgy-4z9Q9d-9tgjhB-9NFhVS-7a244Y-e8dV5y-61WwPB-eUDZrM-9NKJWL-6fNE8x-dEQpbD-feBYfH-ogm3yE-6fSGWA-c8EMgW-pC4DFe-c8EFtG-9Nx7VU-839uug-4z5B84-gCCN7N-kiPm9T-c8wu7J-fUfXdX-6fSSyE-c8EL4d-9uQPb1-fJXptH-7a245b-6fNEBM-puw6AV">Outreachhr.com</a> under <a href="https://creativecommons.org/licenses/by/2.0/">CC02</a></figcaption></figure><p>Here at Grakn Labs we love technology. So much so that, this month, we’ve decided to share our favourite technology moments from 2016. Each weekday during December, we will open a window on our virtual advent calendar, and peek inside to recall some of the greatest innovation or news that the past year has brought us.</p><p>Please recommend and share with hashtag #GraknLovesTech if you enjoy our posts. And if you have any favourite links you’d like us share, just leave us a comment or tweet us @graknlabs!</p><p>So now it’s my turn to peak into our virtual advent calendar and today’s techie topic is . . . <strong>Predictive Analytics</strong>. Great, analytics is quite a large field so today lets focus on common goal of the field which is making predictions based on past observations.</p><h3>Can I predict the future ?</h3><p>Predictive analytics is an umbrella term used to describe the process of applying various computational techniques with the objective of making some predictions about the future based on past data. This encompasses a variety of techniques including data mining, modelling, pattern recognition, and even graph analytics.</p><p>Does this mean we can predict future lottery numbers based on past lottery numbers? Sadly no, but, if anyone wants to prove me wrong, I will require at least 3 successful live demonstrations before I am convinced.</p><p>I am not going to get into too many details in this article as the field is quite large and I am far from an expert. I am just going to touch on the general process used when trying to make predictions using historical data. Then I am going to poke my head into some cool tech within this field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GbilPKrvfNdhwKoD5Sn7aA.jpeg" /><figcaption>Process overview provided by <a href="http://www.predictiveanalyticstoday.com/what-is-predictive-analytics/">http://www.predictiveanalyticstoday.com/what-is-predictive-analytics/</a></figcaption></figure><h4>Step 1: Get the Data</h4><p>The first step in the process is usually all about data mining and filtering. Many data sources are often quite large and unstructured. So this step is all about extracting structured data from sources. On the topic of sources, be sure to select relevant and trusted sources. If I were trying to predict election results I would probably avoid using <a href="http://www.theonion.com/">The Onion</a> — although given political outcomes this year I may be wrong.</p><h4>Step 2: Analyse the Data</h4><p>Here we need to start focusing on the contents of the data. This alone can prove to be quite a challenge. For example, if I am trying to make predictions about my own health, what information should I take into account? Do I smoke? What is my favourite colour? Where do I work? Often determining what is relevant and what is not is its own challenge. Proper pre-processing and filtering techniques are a must when cleaning up your data.</p><p>You should also ensure your data is of good quality. A reliable source alone does not ensure quality. What if you scraped your data from <a href="http://wikipedia/">wikipedia</a> on the day someone thought it would be fun to vandalise the articles you were mining? Running your data through existing analysis pipelines could be quite informative and a simple method of spotting questionable data. More formally you can use <a href="http://www.statisticssolutions.com/confirmatory-factor-analysis/">confirmatory factor analysis</a> to ensure your extracted data will at least fit your model. It is also recommend that you apply other <a href="http://www.predictiveanalyticstoday.com/statistical-analysis/">statistical techniques</a> to ensure your data can account for variance, false positives, and other issues which often crop up from real world data.</p><h4>Step 3: Model the Data</h4><p>This step is fundamental as it allows you to structure your data in such a way that you can start recognising patterns that potentially allow you to extract future trends. Models also allow you to formally describe your data. This is helpful in understanding the results you get from your data analysis but is also a good starting point when it comes time to visualise your results.</p><p>Similarly to data extraction, your models should undergo the same scrutiny. You should ensure that your models are valid representations of the issue you are trying to predict. Consulting with domain experts is often a good idea. Trying to predict inflation for the next years? Well you should probably speak to an economist as a first step when defining the model. When modelling ontologies at <a href="http://www.vaticle.com/">Grakn Labs</a> I cannot count the times an expert on hand would have saved us from hours of deliberation.</p><h4>Step 4: Predicting the Future</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p4YE-oUHHll3XyRnos4wfg.jpeg" /><figcaption>I would have stuck with the charts.</figcaption></figure><p>Your data is extracted, cleaned, quality checked, and fits your model. Time to start peering into your crystal ball and predicting the future. . . Oh wait, there are multiple crystal balls to use and you not sure which one will work.</p><p>This is where the massive field of machine learning can come into play. There are a multitude of ways to start recognising patterns in your data and exploiting those patterns. <a href="https://en.wikipedia.org/wiki/Artificial_neural_network">Neural Networks</a>, <a href="http://onlinestatbook.com/2/regression/intro.html">Linear Regression</a>, <a href="https://www.youtube.com/watch?v=TPp33LJWncI">Bayesian Networks</a>, <a href="https://blog.grakn.ai/advent-at-grakn-labs-2nd-december-2016-c84d5bd814c6">Deep Learning</a>: all of these and many more can help you to start making predictions. Personally, I recommend <a href="http://dev.grakn.ai/docs/query/compute-query">Graph Based Analytics</a>, but I may be a bit biased here.</p><p>Luckily, data analytics is becoming so desirable these days that many of these tools are available as simple applications. This means that it is now much easier to start analysing your data without the need to understand how each crystal ball works.</p><h3>If I can’t predict the lottery then why bother?</h3><p>You can’t predict the lottery because it is purely random but there are many things in life which are not random and can be predicted to some extent. Predictive analytics affects anyone with insurance. The premiums you pay are not set by a random number generator but are set by predicting the risk in your life and that risk can be estimated based on your past.</p><p>Predictive analytics also plays a big role in project management. Any large project can fail and estimating the likelihood of that failure is an important part of deciding if it should be attempted or not. Before the days of predictive analytics, we would rely on experience and instinct on these matters. Now we can formally measure the chances of success of a project using these techniques. Although anyone working in a startup has probably learned to ignore these risks.</p><p>The <a href="https://en.wikipedia.org/wiki/Predictive_analytics#Applications">number of applications</a> are countless, but one of the reasons I think it is worth pursuing this field is a more fundamental one. <strong>Warning:</strong> I am going to become a bit of an idealist here. Imagine if we could make predictions on a truly large and accurate scale. What mistakes could we have avoided? The subprime mortgage crisis in 2007? Terror attacks? The Ebola outbreak? World wars? I would like to think that these mistakes could have been avoided with the right tools in place.</p><h3>Predicting Predictive Analytics</h3><p>The recent trends in Big Data have put more pressure on predictive analytics to be more efficient and robust. Interestingly, this has led to more database vendors incorporating analytics into their feature set, for example <a href="https://www.oracle.com/solutions/business-analytics/index.html">Oracle</a> and <a href="http://www.ibm.com/analytics/us/en/">IBM</a>.</p><p>This provides us with more easily accessible tools which enable us to perform analytics. This also means that we are likely to become more accurate in our estimations as we consume more data in making these estimations.</p><p>What is interesting to see is that a process which was formerly exclusively reserved for Data Scientists is now becoming accessible to everyone. In fact, the open source community is also starting to produce analytics platforms such as <a href="http://www.enterpriseappstoday.com/business-intelligence/slideshows/5-open-source-predictive-analytics-tools.html">these</a>. Furthermore, we are seeing open source APIs even incorporate these features. Apache <a href="https://tinkerpop.apache.org/">Tinkerpop</a>’s Graph Computer is a perfect example of something which has the potential to perform predictive analytics.</p><p>I believe that, in the future, we will continue to see an adoption of these technologies as demand continues to grow. I am particularly interested to see how we will make these features more accessible and easy to work with.</p><p><a href="http://www.vaticle.com/"><em>GRAKN.AI</em></a><em> is an open-source knowledge graph data platform that brings knowledge ontologies and transactional data together to enable highly intelligent querying of data. Querying is performed through Graql, a declarative, knowledge-oriented graph query language for retrieving explicitly stored and implicitly derived information, and for performing graph analytics and automated reasoning. Grakn and Graql will help you effectively manage and harness large-scale graph data by allowing you to model it expressively, migrate it efficiently, and to draw insightful knowledge from your deep information network.</em></p><p><em>Find out more about Grakn Labs from our </em><a href="http://www.vaticle.com/"><em>website</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30c929bedcc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vaticle/advent-at-grakn-labs-15th-december-2016-30c929bedcc">Advent at Grakn Labs: Predictive Analytics</a> was originally published in <a href="https://medium.com/vaticle">TypeDB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OWL is Dead, Long Live OWL!]]></title>
            <link>https://medium.com/vaticle/owl-is-dead-long-live-owl-7a93f8bdea59?source=rss-55fa63575ea7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a93f8bdea59</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ontology]]></category>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[linked-data]]></category>
            <category><![CDATA[graph-database]]></category>
            <dc:creator><![CDATA[Filipe Pinto Teixeira]]></dc:creator>
            <pubDate>Tue, 25 Oct 2016 15:27:32 GMT</pubDate>
            <atom:updated>2022-03-24T16:22:32.052Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://iswc2016.semanticweb.org/"><em>ISWC 2016</em></a><em> — The 15th International Semantic Web Conference</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YOWzwPjq2wmalOmVHgZNfQ.jpeg" /><figcaption>Domo at ISWC 2016 making science better !</figcaption></figure><h4><strong>OWL — The Language, Not The Bird</strong></h4><p>Having just attended <a href="http://iswc2016.semanticweb.org/"><em>ISWC 2016</em></a><em> </em>I can say the title sums up my general experience from the conference. Research into OWL (the Web Ontology Language) and its related technologies seems to be dying and surging forward at the same time. Most researchers are apparently focusing their efforts on <a href="https://en.wikipedia.org/wiki/Web_Ontology_Language">OWL</a>, <a href="https://en.wikipedia.org/wiki/Resource_Description_Framework">RDF</a>, and <a href="https://en.wikipedia.org/wiki/SPARQL">SPARQL</a>, but whilst doing so they consistently mention the various issues with OWL.</p><p>So why not work with a completely different knowledge representation model? At <a href="http://www.vaticle.com/">Grakn</a>, we have chosen not to adopt OWL, because it is difficult to present it as a unified stack. Engineering solutions should be simple, with a minimal learning curve. OWL is complex, even when modelling simple ontologies, since it requires understanding RDF, which represents the data, and SPARQL, to query the data. Engineers tend to favour simplicity over expressivity.</p><p>Not to say that it cannot be done with OWL. The rise of <a href="https://www.w3.org/standards/semanticweb/data">Linked Data</a> has allowed the exploration of a more deterministic approach to AI and this provides novel approaches to many tasks that we are attempting to automate.</p><h4><strong>Deterministic vs Non-Deterministic AI</strong></h4><p>For example: at the conference, one of the posters was from a team currently focusing their efforts on home automation via semantic reasoning.</p><p>To put it simply: if your house is too warm, the system is expected to reason to switch on the air conditioning. But what would stop that system from opening my fridge instead?</p><p>With non-deterministic systems (such as <a href="https://en.wikipedia.org/wiki/Deep_learning">Deep Learning</a> or traditional Machine Learning approaches) the answer to that would be a complicated one, but with semantics, the answer is simple: either the ontology would prevent such behaviour or a rule would prohibit the action.</p><h4><strong>Academic Research Driving Inspiration</strong></h4><p>Despite being on “the other side”, the academic within me thoroughly enjoyed the conference. Here are some of the highlights:</p><p>The workshop on Ontology Matching by <a href="http://bis.uni-leipzig.de/AxelNgonga">Axel Ngonga</a> from the <a href="https://project-hobbit.eu/contacts/">Hobbit Projec</a>t has inspired me to look at new techniques which can aid us at Grakn Labs to find concepts which semantically overlap.</p><p>The latest research in <a href="http://streamreasoning.org/events/sr2016">Stream Reasoning</a> allows ontological and rule inference to be done over relational databases without needing the data to be migrated, which I can appreciate because migrating to a new database is a hard pill to swallow.</p><p><a href="http://ontologydesignpatterns.org/wiki/ISWC2016Tutorial">Ontology reuse and design patterns</a> also received a lot of attention, specifically how can you reuse ontologies partially without losing semantic meaning? For this one I picture my fridge being opened again because of an incorrect ontology migration.</p><p>All fascinating subjects, many of which I look forward to following up on.</p><h4><strong>Vienna Awaits Next Year</strong></h4><p>These conferences always present a unique opportunity to exchange ideas and catch up with everyone’s fields. I was really happy to see how so many people were curious about Grakn. I was originally expecting more resistance to the idea of a new knowledge representation model. I am looking forward to the next conference in Vienna, and in the meantime, I hope to catch up on my readings about many of the great topics presented.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a93f8bdea59" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vaticle/owl-is-dead-long-live-owl-7a93f8bdea59">OWL is Dead, Long Live OWL!</a> was originally published in <a href="https://medium.com/vaticle">TypeDB</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>