<?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 Thomas Vout on Medium]]></title>
        <description><![CDATA[Stories by Thomas Vout on Medium]]></description>
        <link>https://medium.com/@tom.vout?source=rss-e811d46b4f87------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ppY4DSDGELTa6bjiAP4oeg.jpeg</url>
            <title>Stories by Thomas Vout on Medium</title>
            <link>https://medium.com/@tom.vout?source=rss-e811d46b4f87------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 16:14:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tom.vout/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[Two Truths and a Lie with ChatGPT: The critical difference between RAG and an LLM alone]]></title>
            <link>https://medium.com/oxford-semantic-technologies/two-truths-and-a-lie-with-chatgpt-the-critical-difference-between-rag-and-an-llm-alone-ab2afeb5bf70?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab2afeb5bf70</guid>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[chat]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Fri, 10 May 2024 12:04:42 GMT</pubDate>
            <atom:updated>2024-05-10T12:04:42.845Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/902/0*uji2Ur3Y5BJ1yOL_.png" /><figcaption><a href="https://chat.openai.com/share/aae85fc4-f515-452f-b13a-4f1eb33b8765">See the chat here.</a></figcaption></figure><p>Let’s play a game, Two Truths and a Lie.</p><ol><li>Apple was originally founded as a clothing company before transitioning into the tech industry.</li><li>Steve Jobs once considered renaming the company “MacMan” before settling on the name “Apple.”</li><li>The first product Apple ever released was a computer called the “Apple I,” which sold for $666.66.</li></ol><p>These are the options <a href="https://openai.com/chatgpt">ChatGPT</a> gave me when I asked it to play. The answer? You guessed it — Apple was not founded as a clothing company.</p><p>While it is incredible that LLMs are able to emulate the creativity and complex interactions required to play Two Truths and a Lie, at this points that’s old news. So, why does this matter?</p><p>The answer is hidden in the second statement which is, in fact, also a lie.</p><p>This is similar to <a href="https://www.oxfordsemantic.tech/blog/chatgpts-snow-white-problem-the-danger-of-common-knowledge">ChatGPT’s Snow White Problem</a>, for which we discussed a more appropriate <a href="https://www.oxfordsemantic.tech/rdfox">rules-based AI solution</a>. This time, however, we’ll be using <a href="https://www.oxfordsemantic.tech/faqs/what-is-rag-retrieval-augmented-generation">Retrieval Augmented Generation (RAG)</a> and enriching the result by using <a href="https://www.oxfordsemantic.tech/semantic-reasoning-ai">rules-based AI</a> and a <a href="https://www.oxfordsemantic.tech/knowledge-graph-database">knowledge graph</a> to achieve the best of both worlds.</p><h3>How to Improve LLM Applications and Why</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rl2tmLKGV95hy_rL.png" /><figcaption>ChatGPT incorrectly justifies its answer.</figcaption></figure><p>The second statement given to us by ChatGPT is particularly deceptive because it is almost correct — rather than the company, it was <a href="https://en.wikipedia.org/wiki/IMac#History">Apple’s original iMac that was almost called ‘MacMan’</a>. Therein lies the problem: Large Language Models (LLMs) can confidently provide falsehoods as truth (known as hallucinations), even going so far as to incorrectly explain why the false statement is true, leaving us with no way to differentiate one from another unless we already know the answer — very unhelpful in real-world situations.</p><blockquote>“It ain’t what you don’t know that gets you into trouble. It’s what you know for sure that just ain’t so.“</blockquote><p><em>Mark Twain</em></p><p>Our game is just intended as a bit of fun in order to highlight the challenge but there are applications using these techniques today for which there are very real consequences.</p><ul><li>In assisted clinical decision making, a misdiagnosis or inaccurate prescription may be fatal.</li><li>In automated construction and design, misinformation or baseless recommendations could contribute to a major safety incident.</li><li>In regulation and compliance, incorrect advice or missing details could induce heavy fines or legal troubles.</li></ul><p>Of course, there are many more applications that aren’t so life-or-death, nevertheless, an incorrect assumption can be costly, with the potential to dissatisfy customers or waste time and resources. While LLMs have changed the world we live in, they’re far from perfect.</p><p>As we mentioned, we previously suggested an <a href="https://www.oxfordsemantic.tech/blog/chatgpts-snow-white-problem-the-danger-of-common-knowledge">alternative AI solution</a> that, in the wake of widespread, well-intentioned but misguided, LLM-eager attitudes, is often more appropriate. However, in the cases where it’s needed, there is a way to get the best of both worlds. It’s known as RAG.</p><h3>What is RAG (Retrieval Augmented Generation)?</h3><p>Retrieval Augmented Generation, or RAG, is already <a href="https://research.ibm.com/blog/retrieval-augmented-generation-RAG">widely considered</a> an effective solution to this particular problem, safeguarding truth while capitalising on the undoubted benefits of LLMs — providing an intuitive and accessible way for users to interact with an application, while offering game changing functionality at the same time.</p><p>The way we do this is surprisingly simple — we use the LLM as a mediator between us and our data. Instead of asking the LLM for answers directly, we first task the LLM to ask questions to a database, then ask it to use exclusively the data it receives to answer our initial question.</p><p>Using this method, we ensure all answers are accurate according to the data we have, not a piece of misinformation spread around the internet. As an added benefit, the LLM is able to explain exactly why it said what it said, referencing the data explicitly rather than giving another unsupported statement.</p><p>Beyond truth and auditability, the simplest example of where RAG shines is when a user uses vague and ambiguous language in their input. With RAG, the LLM interprets the user’s input within contextual constraints and points them to the most relevant information in the database, avoiding hallucinations and disinformation. Here, RAG affords the user vast freedom and scope with their input while still guiding them down a known path. The opposite can be seen in my original question to ChatGPT which, like most real inputs, was not truly as precise as it could have been. For one reason or another — we can only guess — it caused ChatGPT to return something that was misleading and untrue.</p><p>RAG offers a huge improvement but there is still one piece missing from this puzzle. The persisting problem is that RAG restricts the questions we can ask because all answers are limited by our data. LLMs provide a much-improved user experience with a human-like input method and easy-to-digest output, but one of the main reasons we want to use an LLM in the first instance is for its ability to answer more complex questions which we’ve just managed to neutralise entirely.</p><p>How do we get that back? Rules-based AI.</p><h3>How to Improve RAG with Rules-Based AI</h3><p>By combining both LLMs and rules-based AI we can run our applications faster, reduce development costs, and critically for RAG, extract greater insights from our data, all while maintaining the truth, consistency, and auditability we’ve worked so hard to achieve.</p><p>Rules-based AI, otherwise known as semantic reasoning, adds new information to a knowledge graph database using a rules engine like <a href="https://www.oxfordsemantic.tech/rdfox">RDFox</a>. In practice, this means we can automatically enrich our data, creating a wealth of information and insight which allows us to ask much more complex and valuable questions than we ever could have hoped too without.</p><p>Since these rules are logical by design, any results that follow are guaranteed to be correct and consistent with the underlying data. This makes reasoning the perfect companion to RAG as it maintains all of the gained accuracy and explainability while amplifying the benefits of LLMs rather than offsetting them.</p><p>RDFox supports advanced features such as aggregation and negation that enable even the most complex concept concepts to be encoded in rules. These, couple with <a href="https://www.oxfordsemantic.tech/semantic-reasoning-ai">automatic incremental updates</a> and <a href="https://www.oxfordsemantic.tech/high-performance-knowledge-graph-database">unrivalled performance</a> are enabling the most ambitious use cases of our clients, spanning some of <a href="https://www.oxfordsemantic.tech/rules-and-regulation-compliance-with-knowledge-graphs-and-ai">the world’s largest banks</a>, <a href="https://www.oxfordsemantic.tech/complex-compatibility-and-configuration-management-with-graph-technology">manufacturers</a>, <a href="https://www.oxfordsemantic.tech/semantic-search-and-recommendation-systems">retailers</a>, and publishers.</p><h3>The Evolution of LLMs to RAG to Rules-based AI</h3><p>With how prevalent they are, it’s easy to forget that the technology behind LLMs is only just leaving its infancy — we’re watching it grown into an unwieldy teen before our collective eyes. While this can make it difficult to keep up with the latest best practice, it also presents a golden opportunity for those paying attention.</p><p>By introducing LLMs, applications effortlessly inherit functionality and accessibility that once would have been impossible. With RAG, the application becomes practical, able to target the features for real-world use. And by adding rules-based AI, the benefits of both are amplified, creating the most powerful applications available today.</p><p>Want to start using RAG yourself? <a href="https://www.oxfordsemantic.tech/demo">Get in touch for a demo</a> or <a href="https://www.oxfordsemantic.tech/free-trial">get started with RDFox for free</a>!</p><h4>Team and Resources</h4><p>The team behind Oxford Semantic Technologies started working on RDFox in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Enterprises (OSE) and Oxford University Innovation (OUI).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab2afeb5bf70" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/two-truths-and-a-lie-with-chatgpt-the-critical-difference-between-rag-and-an-llm-alone-ab2afeb5bf70">Two Truths and a Lie with ChatGPT: The critical difference between RAG and an LLM alone</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s New in RDFox v7.0? More Capability, More Security, More Control]]></title>
            <link>https://medium.com/oxford-semantic-technologies/whats-new-in-rdfox-v7-0-more-capability-more-security-more-control-ccd482d38f75?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccd482d38f75</guid>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Thu, 11 Jan 2024 11:50:42 GMT</pubDate>
            <atom:updated>2024-01-11T11:51:05.325Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jQ4C5ZYV430eoaou.png" /></figure><p>With huge upgrades across the board, <a href="https://www.oxfordsemantic.tech/rdfox">RDFox v7.0</a> hails our biggest collection of several production features to date. With a new concurrency model, writes no longer block reads, increasing throughput efficiency and speed while security is being tightened with the encryption of data at rest and a new authentication option for endpoint requests. In addition to these headline features, users now have the option to take data stores offline to optimise memory usage; the RDFox executable now supports installation as a background service; rule sets gain a simpler way to manage changes, now possible in a single step; and quality of life improvements in the console.</p><p>All this culminates in the fastest and most advanced version of RDFox ever released.</p><p><a href="https://www.oxfordsemantic.tech/download">Download the latest version</a> and <a href="https://www.oxfordsemantic.tech/free-trial">try it out for free today</a>!‍</p><h3>Enhanced Concurrency: Writes no Longer Block Reads</h3><p>The most significant upgrade to RDFox v7.0 comes in its concurrency model, wherein a writer will never block a reader. This greatly improves the throughput that can be achieved with RDFox and simplifies deployment architectures. Optimal read/write efficiency offers superior performance for applications that rely on changing or incoming data, providing the final user with a <a href="https://www.oxfordsemantic.tech/high-performance-knowledge-graph-database">faster and much smoother experience</a>.‍</p><h3>Greater Solution Security</h3><p>Not one but two new features of RDFox v7.0 enable enhanced security. Firstly, the addition of encryption at rest means that all persisted data can now be encrypted, adding another layer of protection from unauthorised disclosures. Secondly, the RDFox endpoint and remote shell now support authentication using client certificates (mutual TLS), providing a passwordless authentication option. With these new features, it has never been easier to keep your data safe.‍</p><h3>Memory Optimisation with Offline Data Stores</h3><p>Persisted data stores can now be brought off- and online as needed to free up memory, enabling optimised solutions. Not only does this allow users to make the most out of RDFox while keeping infrastructure costs at a minimum, it also lowers the requirements for <a href="https://www.oxfordsemantic.tech/rdfox-on-edge-device">on-device applications</a>, such as <a href="https://www.oxfordsemantic.tech/vehicle-automation-and-piloting-with-rules-based-ai">autonomous piloting</a>, where resources are sparse, creating even more opportunities for solutions.‍</p><h3>Simpler Setup with RDFox as a Background Service</h3><p>The RDFox executable has been enhanced with support for installation as a background service, meaning the creating of RDFox servers is now easier than ever before on Windows, Linux, and Mac.‍</p><h3>More Efficient Management and Maintenance with Single-call Rule Replacement</h3><p><a href="https://www.oxfordsemantic.tech/faqs/what-is-a-rule">Rules</a> can now be replaced in one RESTful API call, greatly streamlining the process of updating <a href="https://www.oxfordsemantic.tech/faqs/what-is-datalog">Datalog programs</a> in production, making the maintenance of live systems simpler and more efficient.‍</p><h3>Quality of Life in the RDFox Console</h3><p>The RDFox Console has had a host of upgrades, with modernised tweaks to its interface and improved functionality of the <a href="https://www.oxfordsemantic.tech/faqs/what-is-sparql">SPARQL editor</a>, such as auto-complete and auto-indenting.‍</p><h3>Upgrade to the Most Powerful Version of RDFox Ever</h3><p>With greater speed, functionality, memory usage and usability, RDFox v7.0 is the most powerful version ever released. Enterprise users have never had so much potential unlocked all in one fell swoop as the benefits are clear: capability, security and control. RDFox v7.0 allows you to do more, faster, with less.</p><p>If you’d like to try RDFox v7.0 for yourself, <a href="https://www.oxfordsemantic.tech/download">download it now</a> or <a href="https://www.oxfordsemantic.tech/free-trial">request a free trial here</a>.</p><p>See the documentation for the <a href="https://docs.oxfordsemantic.tech/7.0/release-notes.html#releases">full v7.0 release notes</a> and the migration guide for information on how to upgrade from an older version of RDFox.</p><h3>Team and Resources</h3><p>The team behind Oxford Semantic Technologies started working on RDFox in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Enterprises (OSE) and Oxford University Innovation (OUI).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccd482d38f75" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/whats-new-in-rdfox-v7-0-more-capability-more-security-more-control-ccd482d38f75">What’s New in RDFox v7.0? More Capability, More Security, More Control</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Conway’s Game of Life with a Knowledge Graph and Raspberry Pi: How to use semantic reasoning on an…]]></title>
            <link>https://medium.com/oxford-semantic-technologies/conways-game-of-life-with-a-knowledge-graph-and-raspberry-pi-how-to-use-semantic-reasoning-on-an-dee1e14806e7?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/dee1e14806e7</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Tue, 26 Sep 2023 11:32:09 GMT</pubDate>
            <atom:updated>2023-09-26T11:32:09.479Z</atom:updated>
            <content:encoded><![CDATA[<h3>Conway’s Game of Life with a Knowledge Graph and Raspberry Pi: How to use semantic reasoning on an edge device</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*PBZ5qk_npSprPLj4RfAgSg.png" /><figcaption>Part of image by <a href="https://unsplash.com/@choys_?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Conny Schneider</a> on <a href="https://unsplash.com/photos/xuTJZ7uD7PI?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Conway’s Game of Life is an extraordinary example of the beauty in simplicity, showing how complexity can emerge from a basic set of principles. Despite, or perhaps because of this simplicity, it has captured the imagination of millions since its invention, securing its place in the pop-culture hall of fame.</p><p>At its inception it was a groundbreaking creation, so today we’ve combined it with another pioneering innovation — <a href="https://www.oxfordsemantic.tech/rdfox-on-edge-device">RDFox on edge</a>. You might be asking — why should I run Game of Life using <a href="https://www.oxfordsemantic.tech/rdfox">RDFox</a> on an edge?</p><p>It is important to know how to use your data to extract valuable insights — even more so when that data sits on-location in a device that fits in the palm of your hand. Running any <a href="https://www.oxfordsemantic.tech/knowledge-graph-database">graph database</a> on a small computer such as an edge device or <a href="https://www.oxfordsemantic.tech/blog/improving-smartphone-recommendation-services-without-the-data-security-risk">smartphone</a> comes with its own set of challenges. Very few enterprise databases are capable of running on an edge device and those that can are notoriously slow. As a uniquely in-memory solution, powered by patented technology born at the University of Oxford, RDFox solves this problem.</p><p>RDFox is also the first <a href="https://www.oxfordsemantic.tech/faqs/what-is-a-knowledge-graph">knowledge graph</a> built with a lightning-speed <a href="https://www.oxfordsemantic.tech/semantic-reasoning-ai">semantic reasoning engine</a> at its core. <a href="https://www.oxfordsemantic.tech/faqs/what-is-a-rule">Rules</a> — the language of reasoning — infer new <a href="https://www.oxfordsemantic.tech/faqs/what-is-a-triple">facts</a>, encapsulating complex concepts and optimising query speeds, ultimately turning your raw data into knowledge. RDFox’s unique <a href="https://www.oxfordsemantic.tech/glossary/incremental-reasoning">incremental reasoning</a> algorithms ensure that the knowledge stays up to date at all times with every addition, removal, or update to the data. In the mutable world of IoT, this has never been more relevant.</p><p>With fixed rules and an ever-changing environment, running Game of Life on an edge device gives us the perfect candidate to show how far semantic technology has come, especially in business applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*UQ_9hWU3gLJUOXHeYRhihA.gif" /></figure><h3>What is the Game of Life?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/82/1*6fqgnvxsNLnBZaBQUfEY3w.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/137/1*g4pcxm4EVtLFWZG5LGSYRg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/84/1*gmcDbc9q49UVCnl1knIGOQ.gif" /><figcaption>Three examples of life in the game.</figcaption></figure><p>Invented by John Conway in 1970, the Game of Life is a fascinating zero-player game known as a cellular automation. This means the game consists of a regular grid of cells, each taking the value ‘off’ or ‘on’, 0 or 1, dead or alive. From this initial state, the game then plays itself, progressing over time according to a set of rules — just as RDFox reasons incrementally based on the data coming in and the rules set, allowing the user to take a step back. The Game of Life has become iconic due to its carefully crafted minimal rule set, making it easy to understand yet endlessly captivating. In fact, the Game of Life is Turing-complete, so the most dedicated of ‘players’ have discovered incredible initial states that create functioning computers or even a self-emulating Game of Life. However, most of us just use it to make cool patterns!</p><h3>The Game of Life Rules</h3><p>The game exists on an infinite 2-dimensional grid of cells, each one dead or alive, affected by its neighbours — the 3-by-3 sub-grid that surrounds it. This is known as a cell’s neighbourhood.</p><p>Due to the unfortunate limitations of reality, for this demo, we’ve had to restrict this endless space to a much smaller, finite grid.</p><p>The state of any individual cell (after the initial condition) is determined by a set of three rules. These rules are applied to the whole grid simultaneously at every incremental time step. Each new interval in time represents the next generation of life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*OhxzSeqoeZYcRtDyQZydKA.png" /></figure><h4>The Rules of the Game of Life</h4><p>In the next generation…</p><p>Birth: Any dead cell with three neighbours becomes alive.</p><p>Survival: Any alive cell with two or three neighbours survives.</p><p>Death: All other cells die or remain dead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*KJ7g1VNIO9VS-t-o-L-w3w.png" /></figure><p>Birth comes about through repopulation — the mating of three cells — and death occurs either by overpopulation (more than 3 neighbours), or underpopulation (less than two neighbours). Over and under population are sometimes represented as separate rules (instead of survival) to highlight the intricacies of the living system.</p><h3>How to Set Up the Game of Life on a Raspberry Pi with RDFox</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gute60LSzFbULMhP0ckN2Q.png" /></figure><p>RDFox is a <a href="https://www.oxfordsemantic.tech/high-performance-knowledge-graph-database">high-performance knowledge graph</a> and semantic reasoning engine, often used for large scale data manipulation or intensive reasoning operations. However, due to its efficient memory-optimisation and ability to run on embedded devices, many of our clients use it for edge applications such as <a href="https://www.oxfordsemantic.tech/blog/reasonable-vehicles-rule-the-road">vehicle automation</a>, <a href="https://www.oxfordsemantic.tech/blog/improving-smartphone-recommendation-services-without-the-data-security-risk">personalised recommendations</a> on phones, and clinical decision support in medical devices.</p><p>With our setup, we wanted to demonstrate another edge use case that will feel familiar to those with an interest in IoT. The key components in this configuration are a central hub (a <a href="https://www.raspberrypi.org/">Raspberry Pi</a>) and connected devices (in our case, just one device — a Cube of LEDs powered by an <a href="https://www.arduino.cc/">Arduino</a>). On the Pi we run RDFox, the database and rules engine; <a href="https://nodered.org/">Node-Red</a>, a programming tool that manages the application processes; and <a href="https://mosquitto.org/">Mosquitto</a>, an MQQT broker that handles communications. On the Arduino, a simple C application manages the LED lighting.</p><p>RDFox computes the cell state for each generation in the Game of Life, sharing the results with Node-Red via a series of <a href="https://www.oxfordsemantic.tech/faqs/what-is-sparql">SPARQL queries</a>. We then use a publish-subscribe mechanism running on top of Mosquitto so that when Node-Red publishes on the topic dedicated to the LEDs, the cube receives the instructions and sets the lights accordingly. With this setup, we could have a whole fleet of cubes, each running its own Game of Life, all powered by RDFox.</p><p>Other than being really cool, why create hundreds or thousands of Game of Life cubes that can all communicate and interact? The answer lies in the IoT. Where a plethora of light-up cubes may not be helpful, an army of sensors, motors, and controllers certainly is — by enabling these devices to talk to one another, to conduct analysis and complex computation with each other in mind, we have just created an incredibly powerful device network. Suddenly, with this technology, some of the largest IoT challenges become trivial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*60ODFySW1ZPoP8b-DGlElw.gif" /></figure><h3>How to Create the Game of Life with Semantic Reasoning on Device</h3><p>Laying the groundwork, we set up a coordinate system to identify the LED nodes and their neighbours, plus the concept of time that incrementally increases allowing us to generate progressing states.</p><p>When the next generation is calculated, we start with a blank slate to be populated according to the game rules. Cells whose state is not ‘Alive’ are assumed to be dead so that we can cover our ruleset with just two <a href="https://www.oxfordsemantic.tech/faqs/what-is-datalog">Datalog</a> rules. The first for birthing new cells, and the second for surviving cells, each assigning life where appropriate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5dLh6WwFy1eoo_TDrXvTA.png" /><figcaption>A view from the RDFox console.</figcaption></figure><p>Datalog is the language of rules used by RDFox to encode knowledge. These logical rules are, at their core, just if-then statements, telling RDFox what to add under which conditions — both sides of which can range from the insatiably simple to the vastly complex, depending on the needs of the user.</p><h4>The Birth of a Cell</h4><p>The conditions under which a cell is born are that in the previous generation it was dead and that it had exactly three alive neighbours. The following Datalog assigns the cell’s next state (in the increment of time that immediately follows) to be ‘Alive’, provided it meets the requirements.</p><pre>[?state, :nextState, :Alive]:-<br>[?state, a, :State],<br>NOT [?state, a, :Alive],<br>[?state, :aliveNeighbours, ?alive_neighbours],<br>FILTER( ?alive_neighbours = 3) .</pre><h4>The Survival of a Cell</h4><p>Similarly, the conditions required for a cell to survive into the next generation are that it was already alive, with no more than three alive neighbours, and no less than two. As with the last, this rule sets the next state to be ‘Alive’ so long as those conditions are met.</p><pre>[?state, :nextState, :Alive]:-<br>[?state, a, :State],<br>[?state, a, :Alive],<br>[?state, :aliveNeighbours, ?alive_neighbours],<br>FILTER(?alive_neighbours = 2 || ?alive_neighbours = 3).</pre><p>And just like that we have a framework for the Game of Life!</p><p>Time is increased by Node-Red, and in each interval, it queries RDFox for the cell states and sends them to the cube to be displayed by the LEDs. An INSERT query is used to add the next generation’s information to the graph while incremental reasoning ensures the game rules are automatically applied to the new data. The current board state can then be retrieved with a simple query.</p><pre>PREFIX : &lt;https://rdfox.com/demo/GOL#&gt;<br>SELECT ?state ?board ?x ?y<br>WHERE {<br>?state a :Alive ; :location ?pos ; :frame ?frame.<br>?frame :time 1.<br>?pos :partOf ?b; :x ?x; :y ?y.<br>?b :number ?board.<br>}</pre><h3>The Game of Life in Colour</h3><p>Looking to push our application a little further still, we added one more layer to the game — colour! We included RGB properties to the initial state of an alive cell which it retains for the rest of its existence. When a cell is born, it takes the average colour of its parents, forming a beautiful and diverse display.</p><pre>[?state, :nextRed, ?nextRed]:-<br>[?state, a, :State],<br>[?state, :aliveNeighbours, ?count],<br>BIND(ROUND(?redSum / ?count) AS ?nextRed),<br>NOT [?state, a, :Alive],<br>AGGREGATE(<br>[?state, :location, ?pos],<br>[?state, :frame, ?frame],<br>[?pos, :neighbour, ?neighbour_pos],<br>[?alive_state, a, :Alive],<br>[?alive_state, :red, ?red],<br>[?alive_state, :location, ?neighbour_pos],<br>[?alive_state, :frame, ?frame]<br>ON ?state<br>BIND SUM(?red) AS ?redSum<br>) .</pre><pre>PREFIX : &lt;https://rdfox.com/demo/GOL#&gt;<br>INSERT {<br>?state :red ?red; :green ?green; :blue ?blue .<br>} WHERE {<br>?state a :State ;<br>:location ?pos ;<br>:frame ?frame;<br>:previousState ?previousState.<br>?previousState :nextRed ?red; :nextGreen ?green; :nextBlue ?blue.<br>?frame :time 1.<br>?previousState :nextState :Alive.<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*MxSOBVRc2XE-9CT6Wkp5Qw.gif" /></figure><p>The Game of Life is an incredible showcase of mathematical ingenuity and creativity, but that’s not really what this article is about. At the heart of the colourful patterns and charming evolution is the technology driving it all — a knowledge graph and reasoning engine capable of powerful analytics and computation, even on a tiny device. For sensor and device networks spanning factories, cities, or entire globe, enabling calculations at the edge makes all the difference. Whether constrained by an unwelcoming environment too hot, too cold, or too pressurised; disconnected from the world in remote locations in the skies above, the depths below or all around us; or on the move in a fleet of cars, drones, or mobile phones: RDFox provides a solution.</p><p>We highly recommend that you give the <a href="https://playgameoflife.com/">Game of Life</a> a go for yourself, and if you would like to get started with RDFox on edge, check out our article ‘<a href="https://www.oxfordsemantic.tech/blog/knowledge-graphs-and-reasoning-on-edge-devices-the-5-simple-steps-to-running-the-worlds-fastest-graph-database-on-the-edge">The 5 Simple Steps to Running the World’s Fastest Graph Database on The Edge</a>’.</p><p><strong>Team and Resources</strong></p><p>The team behind Oxford Semantic Technologies started working on RDFox in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Enterprises (OSE) and Oxford University Innovation (OUI).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dee1e14806e7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/conways-game-of-life-with-a-knowledge-graph-and-raspberry-pi-how-to-use-semantic-reasoning-on-an-dee1e14806e7">Conway’s Game of Life with a Knowledge Graph and Raspberry Pi: How to use semantic reasoning on an…</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ChatGPT’s ‘Snow White’ Problem: The Danger of Common Knowledge]]></title>
            <link>https://medium.com/oxford-semantic-technologies/chatgpts-snow-white-problem-the-danger-of-common-knowledge-89c850e0e596?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/89c850e0e596</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[news]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Thu, 16 Mar 2023 14:03:15 GMT</pubDate>
            <atom:updated>2023-03-16T14:03:15.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*f7uqHmK8Mj4sSEOC5-_phw.png" /><figcaption>This image was generated by <a href="https://openai.com/">OpenAI</a>’s seconds AI offering, <a href="https://openai.com/product/dall-e-2">DALL·E 2</a>.</figcaption></figure><blockquote><a href="https://www.oxfordsemantic.tech/blog/chatgpts-snow-white-problem-the-danger-of-common-knowledge">This article</a> was first published on the <a href="https://www.oxfordsemantic.tech/blog">RDFox blog</a>.</blockquote><p><a href="https://openai.com/blog/chatgpt"><strong>ChatGPT</strong></a> is an incredible tool that has revolutionized the way we interact with technology. With no barrier to entry, remarkable knowledge, and apparent creativity, more and more people are relying on this powerful AI chatbot to answer their most pressing questions.</p><p>The latest in AI services, ChatGPT demonstrates a phenomenal leap forward in machine learning technology, but it’s not without its flaws — primarily the quality of its answers. To solve this problem, we must turn to the rising second branch of <a href="https://www.oxfordsemantic.tech/blog/machine-learning-and-semantic-reasoning-the-perfect-union-using-object-detection-with-rdfox"><strong>artificial intelligence</strong></a>: <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-semantic-reasoning"><strong>semantic reasoning</strong></a>.</p><h3>Snow White and the Explainable AI</h3><p>If you ask ChatGPT what the earliest feature-length animation movie was, it will, quite confidently, answer ‘Snow White and the Seven Dwarves (1937)’. This sounds about right. We’ve certainly heard it before and we’re sure many wouldn’t question its accuracy. However, the reality is that Snow White and the Seven Dwarves was not the first feature-length animated movie — it was in fact the second. Before it came a relatively unknown Argentine film called El Apóstol — released in 1917, now lost to time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*7tNIr8zSlf4gJRkXkeknsQ.png" /><figcaption>ChatGPT provides the incorrect answer to the question, ‘Which was the first feature-length animated film?’</figcaption></figure><p>And that’s where the problem lies. ChatGPT ‘knows’ Snow White and the Seven Dwarves to be the original animated movie because, collectively, we already believed that it was. It’s a common misconception that has been floating around the internet for years, and as such, has been used to train and teach ChatGPT what it now feeds back to us. ChatGPT even knows about El Apóstol and can provide all the information that a human would need to answer the question correctly. The problem, therefore, lies not in the data but in the steps to understand a question and give the correct answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KyYkqI7uxC4E-AvU0oy-FQ.png" /><figcaption>ChatGPT demonstrates that it is aware of El Apostol and its release date — many years earlier than Snow White.</figcaption></figure><p>The real issue here though is not just that we’re given a false answer, it’s that there’s no way to differentiate it from the truth. As with all machine learning algorithms, ChatGPT can’t explain why it gave the answer that it did. Yes, you can ask for an explanation, but the same problem still applies — you can’t be sure of its truth. Suddenly we’re spiralling into an existential crisis over a fictional hypersomniac and her entourage.</p><p>This highlights one of machine learning’s key strengths and its greatest weakness — the answers it gives are based on statistical probability. For some applications, this is the very thing that makes it all possible, but when accurate results are required, or required with context, it becomes clear that we need another approach.</p><h3>How to Improve Accuracy and Certainty with Explainable Artificial Intelligence</h3><p>Semantic reasoning, the driving force of <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-rule"><strong>rules-based AI</strong></a>, provides a contrast to machine learning — applying a set of logical rules to <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-semantic-inference"><strong>infer new information</strong></a> from existing data, as opposed to applying a learned behaviour to a new scenario. The clear benefit of semantic reasoning is that any conclusion drawn can be traced back to exactly where it came from, step by step. Explaining the result no longer amounts to peering into a black box; now the workings can be shown in precise detail and you can be 100% confident that the results follow logically from the rules that were set.</p><p>To understand the importance of certainty, you need only imagine an <a href="https://www.oxfordsemantic.tech/blog/reasonable-vehicles-rule-the-road"><strong>autonomous vehicle</strong></a> as it makes a statistical-based decision that could mean the difference between avoiding or causing a collision. By instead relying on the logic of semantic reasoning, some automotive companies are already seeing the benefit of rules-based artificial intelligence.</p><p>This is where <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> comes in. RDFox is a <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-knowledge-graph"><strong>knowledge graph</strong></a> and <a href="https://www.oxfordsemantic.tech/glossary/semantic-reasoning-engine"><strong>semantic reasoning engine</strong></a> — a powerful AI software — developed at the University of Oxford.</p><p>Using RDFox, we can <a href="https://www.oxfordsemantic.tech/fundamentals/what-kind-of-rules-can-i-write-in-rdfox"><strong>create a rule</strong></a> that simply states: find the oldest feature-length animated film and give it the tag ‘OldestAnimatedFilm’. By loading a comprehensive dataset into RDFox (we used Wikidata) we can <a href="https://www.oxfordsemantic.tech/fundamentals/how-to-query-a-graph-database"><strong>ask the same question</strong></a> as before: ‘which was the first feature-length animated film?’ We ask this via a <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-sparql"><strong>query</strong></a> instead of natural language but the meaning is the same. RDFox will of course give you the answer ‘El Apóstol’ and, if asked why, will direct you to the rule we just created plus the facts that matched the conditions — complete explainability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3vbaDZO8LRkh0nSX10zKqA.png" /><figcaption>RDFox is asked for details about a film with the tag ‘OldestAnimatedFilm’. It returns El Apostol and its release date.</figcaption></figure><h3>Beyond Data Quality: How to get Accurate Answers with AI</h3><p>As you can see, the challenge goes beyond the availability of accurate data — good data quality is vital, but so too are the interpretability and correctness of results. In the current context that might not seem as life-and-death as we’re making out to be but consider for a moment some of the questions that are being asked in the real world.</p><p>Has this individual committed fraud?</p><p>Does this patient require treatment?</p><p><a href="https://www.oxfordsemantic.tech/blog/reasonable-vehicles-rule-the-road"><strong>Is this vehicle safe to turn?</strong></a></p><p>Suddenly the need for accurate, auditable results is critical. There is no room for error when the stakes are this high. And even if they weren’t, wouldn’t you rather decisions were made based on answers that could be backed up by logic and reason?</p><p>Can rules-based AI like RDFox write you a poem? No. But it will give you correct answers and for some, that’s the difference between revolutionary success and complete catastrophe.</p><h4>The Team and Resources</h4><p>The team behind <a href="https://www.oxfordsemantic.tech/"><strong>Oxford Semantic Technologies</strong></a> started working on <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Innovation (OSI) and Oxford University’s investment arm (OUI). The author is proud to be a member of this <a href="https://www.oxfordsemantic.tech/company"><strong>team</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89c850e0e596" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/chatgpts-snow-white-problem-the-danger-of-common-knowledge-89c850e0e596">ChatGPT’s ‘Snow White’ Problem: The Danger of Common Knowledge</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s New in RDFox v6.0? High Availability, Enhanced Named Graph Support, and so much more!]]></title>
            <link>https://medium.com/oxford-semantic-technologies/whats-new-in-rdfox-v6-0-high-availability-enhanced-named-graph-support-and-so-much-more-b573cb5b1927?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/b573cb5b1927</guid>
            <category><![CDATA[rdfox]]></category>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[high-availability]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Thu, 01 Dec 2022 13:27:56 GMT</pubDate>
            <atom:updated>2022-12-01T13:27:56.686Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CCmNm5B71ERa-VEC.png" /></figure><p><a href="https://www.oxfordsemantic.tech/downloads"><strong>RDFox v6.0</strong></a> is here and it’s a big one! This release is landmarked by ground-breaking features including the new high availability setup and a total reimagining of the handling of <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-named-graph"><strong>named graphs</strong></a>. These features alone offer the opportunity for truly cutting-edge solutions, but when combined with the myriad of other improvements and the blistering <a href="https://www.oxfordsemantic.tech/product"><strong>capabilities of RDFox</strong></a> already in place, they allow you to step ahead of the curve.</p><p>In this article, we explore the major features included in this release. For further detail please see the release notes.</p><h3>RDFox High Availability</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YJ86CB7UtxYfZpx8.png" /><figcaption>RDFox now offers high availability deployments, allowing users to interact with a single data store that is maintained across several availability zones.</figcaption></figure><p>By far the most exciting new feature in RDFox v6.0 is high availability — the ability to replicate changes between several running RDFox instances. Combined with deployment across multiple availability zones ensures the system as a whole remains live in the event of failure of an individual instance or data center. By hosting replica instances of RDFox that can communicate with each other (via a shared file system), service stability can be preserved.</p><p><em>“The High Availability configuration RDFox has the potential to solve a real problem for us as a company with a fully on-cloud tech stack and ambitions to scale globally. It is much better aligned than a traditional approach with the horizontally scalable architecture we are using.”<br>- Dr Padraig Alton, Lead Data Scientist, Apolitical</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F3UOrtmgIIbjho1P.png" /><figcaption>An example of a highly available deployment setup with RDFox.</figcaption></figure><p>RDFox high availability deployments are leaderless, meaning all instances are equivalent without one controlling, or ‘leading’, the others. All instances accept writes — providing the opportunity to satisfy a wide range of exciting use cases. Deployments are also dynamic, with instances able to be added or removed as necessary to support the application as factors change. Finally, and crucially, RDFox high availability is eventually consistent, ensuring with certainty that updates from one instance will become visible on all others.</p><p>This new feature of RDFox presents such a fundamental advance that the newly available possibilities for our clients are endless. The cutting-edge solutions that are now within arm’s reach offer transformative benefits to organisations across the spectrum, and we’re eager to see what you do with them.</p><p><em>“RDFox’s high availability is a powerful feature that enables automatic replication between RDFox instances.”<br>- Martin Dalgaard, Data Scientist, Grundfos</em></p><p>High availability is an advanced feature, so we recommend reading over Section 13.2.2. ‘file-sequence persistence’ in the documentation carefully for the recommended setup and deployment arrangements. Please contact us directly if you are interested in taking it further as, like always, we would be delighted to support you along your journey.</p><p><em>“We’d like to say a huge thank you to the users who had early access and provided feedback during the development of this and other features for this release. Your support and dedication is greatly appreciated here at OST as we build RDFox for you.”<br>- Peter Crocker, CEO and Co-founder OST.</em></p><h3>Large numbers of Named Graphs with RDFox</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*JlfTVvSXhuzesepL.png" /></figure><p>RDFox v6.0 drastically improves the handling of names graphs. This game-changing update allows users to utilise an unlimited number of named graphs while also improving query performance and memory usage. In addition to these advancements, RDFox will now accept arbitrary <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-rdf"><strong>RDF</strong></a> terms, such as strings or date-times, as graph names.</p><p>Where previously each named graph was stored in an isolated tuple table, they now all sit in a single tuple table of arity four: the Quads table. This reduces memory overheads per named graph and removes the practical limits on their number. Now a quad component, the previous restrictions on graph names no longer apply.</p><p>Ultimately, this change gives RDFox users even more freedom in the solutions they create by providing further flexibility and speed, opening the door to yet another series of innovative applications.</p><h3>Prefixes stored in the data store</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FXXCIgcaDl3GlZ3Z.png" /><figcaption>Users can now manage prefixes in the data store via the RDFox web console.</figcaption></figure><p>As of v6.0, prefixes will be stored in the data store as opposed to shell instances as was previously the case. This streamlines work for both individual users and teams collaborating on a single store.</p><p>The practical benefits of this change are twofold. The first aids users writing <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-rule"><strong>rules</strong></a>, axioms, and <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-sparql"><strong>queries</strong></a>, as they no longer need to repeatedly specify their prefixes in each file and can instead act once to add them to the data store. The second assists teams working together on the same data store. Now, for the first time and with no extra effort, RDFox will ensure each user has access to the same set of prefixes, avoiding clashes and confusion.</p><p>The shell commands base, prefix, and prefixes have been repurposed so that their corresponding properties are now added to the data store instead of the shell instance. To import the prefixes defined in a file, append the parameter +p to the import command:</p><p>import +p data.ttl</p><p>To accommodate these changes, the RDFox web console has also been upgraded. From within the console itself you can now opt to ‘manage prefixes’ allowing you to edit and update the prefixes in the data store. The option to add prefixes defined in files has also been included in the import dialog. To further support this functionality, the defined prefixes are viewable at the top of the SPARQL editor to be referenced in queries and their results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hDG0xtsaYgl71Ef2.png" /></figure><p>Prefixes defined in the data store are easily accessible in a drop down window, and can be managed in a separate dialogue.</p><p>The final change to prefixes is an ease-of-use improvement. From now on, new data stores will be prepopulated with a set of useful prefixes. Many of these stem from the W3C standards whereas the others are frequently used among the wider community or belong to the RDFox domain.</p><h3>The RDFox remote shell</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*7SdX0Y4NgOacGebI.png" /></figure><p>Up until RDFox v5.7 the remote shell was experimental but, as of v6.0, the remote shell is fully supported, allowing users to access RDFox from afar. Even during its experimental phase this feature proved to be incredibly useful for those of our clients testing it, providing a convenient access point to their RDFox instances. Moreover, the remote shell enables multiple users to access a shared server simultaneously, collaborating smoothly in real-time.</p><p>Remotely connecting to an RDFox instance is very straightforward. Simply execute the following command in a new terminal:</p><p>RDFox [-role &lt;role&gt; -password &lt;password&gt;] remote&lt;server-url&gt; [&lt;command&gt; …]</p><p>As with High Availability, we would again like to thank all our customers who were involved in the development of this feature. As always, your feedback and support are invaluable.</p><h3>Improvements to the <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-semantic-reasoning">Reasoning Engine</a></h3><p>In line with our ongoing commitment to being the fastest <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-graph-database"><strong>graph database</strong></a> on the market, we have made further improvements to the RDFox engine. Having secured another <a href="https://www.oxfordsemantic.tech/blog/oxford-semantic-technologies-granted-another-patent-for-knowledge-graph-query-optimisation"><strong>patent for semantic tech</strong></a> since the last release, we will continue to innovate and invent new ways to extract every last bit of performance possible.</p><p>Along with the improvements to load times and query performance, we have also fixed a number of small bugs in order to provide the highest standard product that we can.</p><h3>Searching through the <a href="https://docs.oxfordsemantic.tech/">RDFox Documentation</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/0*mWGx45vVJUhTIQ6I.png" /></figure><p>As RDFox becomes more and more advanced, we’re increasingly aware that the value we provide to our customers is far from just a product. We’re incredibly proud of the individual support our knowledge engineers offer, but sometimes a call isn’t what you’re after. That’s why, alongside the release, we have also updated our documentation.</p><p>In addition to refreshing the docs, we have introduced a new and improved search capability. You can now search for phrases or keywords to find the exact paragraph in which they’re mentioned — linking to the relevant section and ultimately making it much easier to quickly address practical questions.</p><h3><a href="https://www.oxfordsemantic.tech/downloads">Download RDFox v6.0</a></h3><p>RDFox v6.0 takes the product from strength to strength, with monumental features like high availability being introduced together with sweeping improvements to performance and memory consumption for named graphs. With these, and all the foundational features that have come before, RDFox stands alone as the most advanced and most performant graph database available today — a powerful solution for even the most complex data-centric problems.</p><p>If you haven’t already, <a href="https://www.oxfordsemantic.tech/downloads"><strong>download RDFox v6.0 today</strong></a> and start solving with the latest in graph technology.</p><p>New to RDFox? <a href="https://www.oxfordsemantic.tech/tryrdfoxforfree"><strong>Get yourself a free trial now</strong></a> and take the first steps in your graph journey.</p><h3>The Team and Resources</h3><p>The team behind <a href="https://www.oxfordsemantic.tech/"><strong>Oxford Semantic Technologies</strong></a> started working on <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Innovation (OSI) and Oxford University’s investment arm (OUI). The author is proud to be a member of this <a href="https://www.oxfordsemantic.tech/company"><strong>team</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b573cb5b1927" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/whats-new-in-rdfox-v6-0-high-availability-enhanced-named-graph-support-and-so-much-more-b573cb5b1927">What’s New in RDFox v6.0? High Availability, Enhanced Named Graph Support, and so much more!</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oxford Semantic Technologies Granted Another Patent for Knowledge Graph Query Optimization]]></title>
            <link>https://medium.com/oxford-semantic-technologies/oxford-semantic-technologies-granted-another-patent-for-knowledge-graph-query-optimization-b9d0f5448063?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9d0f5448063</guid>
            <category><![CDATA[query-optimization]]></category>
            <category><![CDATA[patents]]></category>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[inventions]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Fri, 18 Nov 2022 14:06:25 GMT</pubDate>
            <atom:updated>2022-11-18T14:06:25.152Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z2eqwJhntc_i7suHS5WOzw.png" /></figure><p><a href="https://www.oxfordsemantic.tech/">Oxford Semantic Technologies</a> has secured the patent, <a href="https://uploads-ssl.webflow.com/5ed7f008a2fd8a6aa4e61fc9/636b826739479e6e83474394_US-11409698-B2_I.pdf">US Patent №11,409,698</a>, for the application of sideways information passing to SPARQL queries. This new approach brings a significant optimization to graph database querying by drastically reducing the number of intermediate answers considered during query processing, further boosting <a href="https://www.oxfordsemantic.tech/product">RDFox</a>’s lightning response.</p><blockquote><em>We’re always pushing the limits of performance with RDFox but these novel techniques represent a huge leap forward for semantic technology. The optimization we’ve achieved through sideways information passing is truly revolutionary, creating even more possibilities and improving current applications across the board.</em></blockquote><blockquote>— Prof. Ian Horrocks, OST co-founder</blockquote><p>Recurring invention and continuous innovation have firmly placed RDFox as the world’s most performant knowledge graph and reasoning engine, ensuring it routinely outperforms alternatives by orders of magnitude. The pioneering sideways information passing techniques are no exception, securing RDFox’s position as the fastest graph database solution on the market.</p><p>Developed at the University of Oxford, these non-trivial algorithms support the stability and reliability provided by RDFox.</p><blockquote><em>The new sideways information passing techniques add to the ever-growing arsenal of innovation behind RDFox and it shows. Our clients are using RDFox to tackle their challenges head on with its astonishing performance and unparalleled reasoning capabilities, producing a vast array of solutions from real-time edge analysis to personalized recommendations with massive data volumes.</em></blockquote><blockquote><em>Perhaps even more importantly is the trust our clients have in RDFox owing to its robust fortitude and explainable nature, all thanks to the persistent work and relentless expertise of the team.</em></blockquote><blockquote><em>— Peter Crocker, OST Co-founder and CEO</em></blockquote><p>This latest patent extends the claims covered by another held by Oxford Semantic Technologies: <a href="https://www.oxfordsemantic.tech/blog/oxford-semantic-technology-secures-patent-for-optimizing-graph-database-querying">US Patent №11,216,456</a>.</p><p>As widescale adoption of graph technology rises, so too does the demand for performance. Already in deployment across countless sectors by companies all over the world, it is clear to those using it that RDFox is the answer.</p><p>This continued innovation of RDFox and semantic technology is to the credit of inventors and Oxford Semantic Technologies co-founders Prof. Ian Horrocks, Prof. Boris Motik, and Dr. Yavor Nenov.</p><h3>The Team and Resources</h3><p>The team behind <a href="https://www.oxfordsemantic.tech/"><strong>Oxford Semantic Technologies</strong></a> started working on <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Innovation (OSI) and Oxford University’s investment arm (OUI). The author is proud to be a member of this <a href="https://www.oxfordsemantic.tech/company"><strong>team</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9d0f5448063" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/oxford-semantic-technologies-granted-another-patent-for-knowledge-graph-query-optimization-b9d0f5448063">Oxford Semantic Technologies Granted Another Patent for Knowledge Graph Query Optimization</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Knowledge Graphs and Reasoning on Edge Devices: The 5 simple steps to running the world’s fastest…]]></title>
            <link>https://medium.com/oxford-semantic-technologies/knowledge-graphs-and-reasoning-on-edge-devices-the-5-simple-steps-to-running-the-worlds-fastest-54e6362b063?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/54e6362b063</guid>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[graph-database]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 16:00:24 GMT</pubDate>
            <atom:updated>2022-09-13T16:00:24.210Z</atom:updated>
            <content:encoded><![CDATA[<h3>Knowledge Graphs and Reasoning on Edge Devices: The 5 simple steps to running the world’s fastest graph database on the edge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*ZNzEHuOsYMDvBzUK.png" /></figure><p>The need for <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-graph-database"><strong>graph technology</strong></a> on the edge has exploded in recent times. Applications are endless and often practically beneficial but due to limitations in hardware and software technology, the reality has been underwhelming. With the latest from <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> that’s all about to change!</p><p>With RDFox on the edge, the knowledge you use to power your solutions, to run your business, can be condensed down into a box that fits in your palm. The strength of this little box lies, among other things, in its versatility. Now for the first time, your embedded expertise sits on a portable device, pushing your logic and reasoning to the edge. Not only does this open up mobile applications such as <a href="https://www.oxfordsemantic.tech/blog/reasonable-vehicles-rule-the-road"><strong>vehicle automation</strong></a>, it also creates the opportunity for reasoning in semi-connected or disconnected devices. Suddenly remote IoT use cases become viable, as do those that require consistent reliability such as medical support, or high security like the <a href="https://www.oxfordsemantic.tech/blog/improving-smartphone-recommendation-services-without-the-data-security-risk"><strong>handling of private information on a mobile phone</strong></a>. All this and more, now a reality with RDFox.</p><p>In this article we’ll show you how to install and run RDFox — the world’s most performant <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-knowledge-graph"><strong>knowledge graph</strong></a> and <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-semantic-reasoning"><strong>reasoning engine</strong></a> — on your very own edge device, the <a href="https://www.raspberrypi.com/products/raspberry-pi-zero-2-w/"><strong>Raspberry Pi Zero</strong></a>.</p><p>Please bear in mind this can be done with other edge devices but, as it happened, we had a Pi Zero to hand.</p><h3>Prerequisites</h3><p>Access to a raspberry Pi installed with a 64-bit OS (Wi-Fi and SSH enabled):</p><p>· <a href="https://www.raspberrypi.com/products/raspberry-pi-zero-2-w/"><strong>Raspberry Pi Zero</strong></a> (the Pi we used)</p><p>· <a href="https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit"><strong>64-bit OS</strong></a></p><p><a href="https://www.oxfordsemantic.tech/tryrdfoxforfree"><strong>An RDFox license</strong></a></p><h3>Step One: The Setup</h3><p>Having logged onto the Pi, you need to create a directory in which to store your <a href="https://www.oxfordsemantic.tech/tryrdfoxforfree"><strong>RDFox license</strong></a>. You can do this by running:</p><pre>mkdir .RDFox</pre><p>Next, find and note the IP of your Pi. If you’re connected with a monitor and keyboard, you can do this with the command:</p><pre>ifconfig</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/0*nVH2RJO8FjdNPtxn.png" /></figure><p>Since we’re using a Wi-Fi connection, our Pi IP can be seen under the ‘wlan0’ header.</p><h3>Step Two: Your RDFox License</h3><p>As always you’ll need a license to run RDFox.</p><p>If you don’t have a license, you can <a href="https://www.oxfordsemantic.tech/tryrdfoxforfree"><strong>request one for free</strong></a>!</p><p>You’ll need to move your license over to the directory you just created.</p><p>There are several ways to transfer a file to a Pi, but in this case, we found that the easiest way to copy it from your main<strong> computer connected to the same network</strong>.</p><p>Enter the following command on your <strong>main machine</strong>:</p><pre>scp &lt;Licence folder location&gt;/RDFox.lic pi@&lt;IP address of the RPI&gt;:~/.RDFox/</pre><p>Replace &lt;Licence folder location&gt; with the file path of your newly acquired license and &lt;IP address of the RPI&gt; with, you guessed it, the IP address of your raspberry PI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/0*rdeosMNYcWpn_QOM.png" /></figure><h3>Step Three: Downloading RDFox</h3><p>(Optional SSH Remote Login)<br>If you chose the lightweight OS (without a desktop) you might find it easier to run the following commands remotely. To establish a remote SSH connection with the Pi, execute the following from your main computer:</p><pre>ssh pi@&lt;IP address of the RPI&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/0*kLtCUnmGT2Op5p-N.png" /></figure><p>Through a browser, go to the <a href="https://www.oxfordsemantic.tech/downloads"><strong>RDFox download</strong></a> page and copy the URL for the latest RDFox Linux ARM Image.</p><p>You’ll now need to download the latest version of RDFox onto the Pi using the copied URL.</p><p>Begin the download with:</p><pre>wget &lt;Image URL&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YAC0qELauFNEm7eY.png" /></figure><h3>Step Four: Unzipping the Image</h3><p>Before starting RDFox, you first need to unzip the image with:</p><pre>unzip RDFox-linux-arm64–5.7.zip</pre><p><em>(Remember to update the version number accordingly)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/0*vdyu8kUXWsOjy-Zn.png" /></figure><h3>Step Five: Running RDFox on a Raspberry Pi</h3><p>Now all that’s left is to start RDFox. Simply do this as you would in any other instance. For the purposes of this article we’ll start it in sandbox mode.</p><pre>RDFox-linux-arm64–5.7/RDFox sandbox .</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/0*ZlsA3KKmfDerJQZa.png" /></figure><p>To access this instance of RDFox from another computer on the network (as is often convenient), you need to open the endpoint.</p><p>As per usual, that is achieved with the command:</p><pre>endpoint start</pre><p>Now from any machine on the same network, open a browser to the <a href="https://www.oxfordsemantic.tech/glossary/rest-api"><strong>RDFox endpoint</strong></a> at:</p><pre>http://&lt;IP address of the RPI&gt;:12110/console/</pre><p>From here you can create a datastore, import data and rules, <a href="https://www.oxfordsemantic.tech/fundamentals/how-to-query-a-graph-database"><strong>query the database</strong></a> and explore the results — the entirety of the console functionality is at your disposal. What you do with it is up to you.</p><p>Take a look at our <a href="https://www.oxfordsemantic.tech/getting-started"><strong>video tutorial series</strong></a> if you want something to follow along.</p><p>Here is a small <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-graph-explorer"><strong>visualisation of the graph</strong></a> that we created in homage to the device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/0*7TIGPk_LwwG2t7Tt.jpg" /></figure><p>While a very simple procedure, the significance of what you’ve just created should not be overlooked. The world&#39;s most powerful graph database now fits in your palm, running on a £12 computer. Having created an instance of RDFox on the edge, an almost unlimited catalogue of use cases has become available to you. Whether it’s on-location analytics, mobile automation, or industry 4.0, if you have a solution in mind, you can build it with RDFox.</p><p>If you’re new to RDFox or in need of a refresher, check out our <a href="https://www.oxfordsemantic.tech/getting-started"><strong>getting started guide</strong></a> for the next steps in any solution.</p><h3>The Team and Resources</h3><p>The team behind <a href="https://www.oxfordsemantic.tech/"><strong>Oxford Semantic Technologies</strong></a> started working on <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Innovation (OSI) and Oxford University’s investment arm (OUI). The author is proud to be a member of this <a href="https://www.oxfordsemantic.tech/company"><strong>team</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54e6362b063" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/knowledge-graphs-and-reasoning-on-edge-devices-the-5-simple-steps-to-running-the-worlds-fastest-54e6362b063">Knowledge Graphs and Reasoning on Edge Devices: The 5 simple steps to running the world’s fastest…</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning and Semantic Reasoning, the Perfect Union — Using Object Detection with RDFox]]></title>
            <link>https://medium.com/oxford-semantic-technologies/machine-learning-and-semantic-reasoning-the-perfect-union-using-object-detection-with-rdfox-2b291267d893?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b291267d893</guid>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Wed, 17 Aug 2022 16:09:53 GMT</pubDate>
            <atom:updated>2022-10-04T16:36:52.079Z</atom:updated>
            <content:encoded><![CDATA[<h3>Machine Learning and Semantic Reasoning, the Perfect Union — Using Object Detection with RDFox</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZrBxN23s1fTHqZzyRgM5A.png" /><figcaption>Original photo by <a href="https://unsplash.com/@clayleconey?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Clay LeConey</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The two <a href="https://medium.com/blog/ask-the-oxford-professors-the-interplay-between-machine-learning-and-semantic-reasoning">branches of AI</a>, machine learning and <a href="https://medium.com/fundamentals/what-is-semantic-reasoning">semantic reasoning</a>, are often discussed as opposing forces — one a probabilistic black-box and the other reliant upon provable <a href="https://medium.com/fundamentals/what-is-semantic-inference">logical inferences</a>. In reality, their strengths can be combined to create a solution greater than the sum of its parts. While exploring <a href="https://medium.com/product">RDFox</a>, our in-house experts at <a href="https://www.volvocars.com/intl">Volvo Cars</a> set out to do just that, pairing <a href="https://medium.com/fundamentals/what-is-a-knowledge-graph">knowledge graph</a> reasoning with object detection.</p><blockquote>This article was written by <a href="https://www.linkedin.com/in/gabriel-lindman-829992186">Gabriel Lindman</a> as a joing project between <a href="https://www.volvocars.com/intl">Volvo Cars</a> and <a href="https://www.oxfordsemantic.tech/">Oxford Semantic Technologies</a>. Follow him on medium <a href="https://medium.com/@gabriel.lindman">here</a>. Permission has been given to publish across our channels, including the <a href="https://www.oxfordsemantic.tech/blog">OST Blog</a>.</blockquote><p>With this in mind, there were a few features of RDFox in particular that we wanted to explore:</p><p>· <a href="https://medium.com/fundamentals/what-is-owl">OWL2</a> to build <a href="https://medium.com/fundamentals/what-is-an-ontology">ontologies</a></p><p>· Semantic reasoning for a real-time <a href="https://medium.com/glossary/semantic-reasoning-engine">decision engine</a></p><p>· <a href="https://medium.com/glossary/in-memory">In-memory</a> data storage and management well suited for edge applications</p><p>We wanted to create a project utilizing these features to learn more about RDFox and to create something visually engaging to demonstrate the potential to our colleagues. So, after some brainstorming, we decided to try and feed the <a href="https://medium.com/fundamentals/what-is-a-graph-database">database</a> with object detection information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/0*XPaCHvpn-NRAMdr8.jpg" /><figcaption>Detecting objects in an image using YOLOv5</figcaption></figure><p>Object detection is a growing field within computer vision related to identifying objects as well as their relative size and position. In this case, we used an open-source pre-trained model with 80 classes from the MS coco dataset as this suited our purposes for the project. These computer vision models can use various types of input data to extract features for classification, like point cloud data from LiDAR or RADAR. We opted for a trusty web camera to keep things simple. The model we used is the YOLOv5, an open-source PyTorch implementation and further developed version of the YOLO algorithm by Joseph Redmond. Like doctor Frankenstein, he became scared of his own creation and decided to halt his research when he saw its use in military applications and because of privacy concerns. He did an interesting TED talk about the potential benefits this technology has, as well as the dangers it unlocks. With this in mind, we decided to approach the project carefully… First adding the direct information that the model provides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/0*A72JTpbLu8h36zTB.png" /><figcaption>Object information fed to RDFox</figcaption></figure><p>The detected car and cup from the first figure are passed to RDFox together with a frame. Each object is also given a confidence, as well as information about their relative bounding boxes. If the bounding box of one object overlaps another, it <strong>:isOverlapping</strong>. If an object bounding box were to completely surround another, that object <strong>:isContaining</strong> the relatively smaller second object. Each frame is also time stamped and given a count integer from the start of the video stream. After that, we decided to add a simple ontology to the graph to give the objects some basic classes. To build on this, one could add all sorts of wonderful meaning to the detected objects using the OWL2 web ontology language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/0*KaLiLvFQ4hmyV7bT.png" /><figcaption>Objects with classes in RDFox</figcaption></figure><p>Our graph is growing. Next, we wanted to explore reasoning, so using rules we implemented a little made up scenario. If a vehicle of any kind is detected in the graph, we mark it with a heads up: 🙂. If there is more than one vehicle in the graph, we can guess that there is a bit more traffic, so we mark this with a somewhat more concerned alert: 😯. Finally, if bounding boxes are overlapping, we guess that this is an immediate traffic situation, like an overtake: 😱.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oqLdqYsfQI0-2yd9YBuNvA.gif" /><figcaption>Three scenarios</figcaption></figure><p>You can see me acting out another scenario below, this time of a person using a cell phone. The assumption is that a person bounding box containing a technology bounding box of any kind makes the person distracted. Notice that our ontology deducts that our <strong>cell phone</strong> node should be classified as a <strong>technology</strong> node, and we use that in our rules to decide about the <strong>person</strong> node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4g8Z92YI9AV83bYz6kWt3w.gif" /><figcaption>A cell phone distraction scenario</figcaption></figure><p>So, what we have done is look at a simple use case of graph technology operating in real-time, along with the basic use of ontologies and reasoning with RDFox.</p><p>Some things we could do to take the project further:</p><p>· Train the object detection model to a more applied use case</p><p>· Use the frames and/or time information to give the graph a “memory” that spans more than one frame.</p><p>· Run the project on an edge device, like a raspberry PI, using an edge TPU to offload the inference of the object detection model.</p><p>This has been a fun project, learning RDFox while thinking about how this type of technology can be used in the future. Graphs can lead to an abundance of useful insights for the user, offering personalization and functionality without even having to share any private data from their devices. The market pull may even increase moving forward as consumers become more aware of their digital footprint and concerned with data privacy, creating an ever greater need for solutions like this one.</p><h4>About the Author</h4><p>Hello there! My name is <a href="https://www.linkedin.com/in/gabriel-lindman-829992186">Gabriel Lindman</a>, and I joined the <a href="https://www.volvocars.com/intl">Volvo Cars</a> graduate program last year. A few months back, I gained an interest in graph technologies. I did not know much about it back then, but started talking to a more senior colleague at Volvo Cars who specializes in the field. I did not major in computer science, or work with graphs prior to this, but lack of experience has never stopped my enthusiasm before.‍</p><h4>The Team and Resources</h4><p>The team behind <a href="https://www.oxfordsemantic.tech/"><strong>Oxford Semantic Technologies</strong></a> started working on <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Innovation (OSI) and Oxford University’s investment arm (OUI). The author is proud to be a member of this <a href="https://www.oxfordsemantic.tech/company"><strong>team</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b291267d893" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/machine-learning-and-semantic-reasoning-the-perfect-union-using-object-detection-with-rdfox-2b291267d893">Machine Learning and Semantic Reasoning, the Perfect Union — Using Object Detection with RDFox</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The RDFox Syntax Highlighting VS Code Extension]]></title>
            <link>https://medium.com/oxford-semantic-technologies/the-rdfox-syntax-highlighting-vs-code-extension-7ad8bfdecc25?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ad8bfdecc25</guid>
            <category><![CDATA[rdf]]></category>
            <category><![CDATA[datalog]]></category>
            <category><![CDATA[vscode-extension]]></category>
            <category><![CDATA[sparql]]></category>
            <category><![CDATA[vscode]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Fri, 22 Jul 2022 14:33:01 GMT</pubDate>
            <atom:updated>2022-07-22T14:33:01.043Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LhrVkbQHN4qPXa10SalWpQ.png" /></figure><p>We’re pleased to announce the release of <a href="https://www.oxfordsemantic.tech/product">RDFox </a>Syntax Highlighting for VS Code. This open-source extension is designed to help RDFox users work with their <a href="https://www.oxfordsemantic.tech/fundamentals/data-relationships-in-a-graph">data</a>, <a href="https://www.oxfordsemantic.tech/fundamentals/how-to-query-a-graph-database">queries </a>and <a href="https://www.oxfordsemantic.tech/fundamentals/what-kind-of-rules-can-i-write-in-rdfox">rules </a>more efficiently.</p><p>The extension adds colour to keywords, operators, <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-an-iri-what-does-iri-mean">IRIs </a>and literals in a number of <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-rdf">RDF formats</a> ( <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-ttl-file">Turtle</a>, TriG, N-Triples and N-Quads), as well as <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-datalog">Datalog rules</a>, <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-sparql">SPARQL scripts</a>, and RDFox shell scripts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D2m8CPygJ7beGYO9.png" /></figure><p>It also adds a set of icons to help you organise and navigate your project directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NGbbYXJjtnQrh1h_.png" /></figure><h3>How to Get The RDFox VS Code Extension</h3><p>To use the extension yourself, simply go to the “Extensions” tab in VS Code, type “RDFox” in the search bar and click “Install” on the extension page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nOUYIX3RHHeoLazj.png" /></figure><p>Once enabled, the extension will automatically apply colours and icons to your RDFox files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*omVHA_CSTOhaJEXScVwUow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jutlZNSSGWbPHJ6ottl1IQ.png" /></figure><h3>Put your code to work with RDFox</h3><p>If you’re working with RDF, SPARQL, or Datalog and aren’t already using RDFox, you can <a href="https://www.oxfordsemantic.tech/tryrdfoxforfree">try it for free today</a>! Not only is RDFox the world’s fastest <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-a-graph-database">graph database</a>, but it also offers the most performant and complete <a href="https://www.oxfordsemantic.tech/fundamentals/what-is-semantic-reasoning">semantic reasoning</a> available on the market. Now that coding your solutions is easier than ever, there’s no excuse not to get stuck in!</p><p>The team behind <a href="https://www.oxfordsemantic.tech/"><strong>Oxford Semantic Technologies</strong></a> started working on <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Innovation (OSI) and Oxford University’s investment arm (OUI). The author is proud to be a member of this <a href="https://www.oxfordsemantic.tech/company"><strong>team</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ad8bfdecc25" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/the-rdfox-syntax-highlighting-vs-code-extension-7ad8bfdecc25">The RDFox Syntax Highlighting VS Code Extension</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s New in RDFox v5.6: Highlighting Semantic Reasoning]]></title>
            <link>https://medium.com/oxford-semantic-technologies/whats-new-in-rdfox-v5-6-highlighting-semantic-reasoning-a86847419a3a?source=rss-e811d46b4f87------2</link>
            <guid isPermaLink="false">https://medium.com/p/a86847419a3a</guid>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[updates]]></category>
            <category><![CDATA[semanticweb]]></category>
            <category><![CDATA[semantic-reasoning]]></category>
            <category><![CDATA[rdfox]]></category>
            <dc:creator><![CDATA[Thomas Vout]]></dc:creator>
            <pubDate>Thu, 19 May 2022 09:35:42 GMT</pubDate>
            <atom:updated>2022-05-19T09:35:42.453Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dm9m38qPNwXfbBokMqblAg.png" /></figure><p>With <a href="https://docs.oxfordsemantic.tech/release-notes.html">RDFox v5.6</a> comes a flurry of improvements: enhancing the Web Console to increase your efficiency when handling data; introducing a powerful, versatile way to interact with the RDFox Shell remotely; and an all-new tool to visualise semantic reasoning — the latest essential for data comprehension. Each, in its own way, will change the way you use RDFox from this day on.</p><h3>How to Show Reasoning in an RDFox Knowledge Graph</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*LqRwl3XU4UtkkFWhGP8Srg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*k1YPeZtsIgjAdPBLDyLuOg.png" /><figcaption>By clicking ‘Highlight reasoning”, all derived edges in your graph will glow, and the rest will be dimmed.</figcaption></figure><p>One of the most exciting features to arrive in v5.6 is the new ‘highlight reasoning’ — allowing you to distinguish explicit and derived edges from one another in the data store explorer. Edges that exist as a consequence of rules can now be highlighted with the rest being dimmed to emphasize the extent to which the reasoner has enriched your data.</p><p>With vibrant and immediate feedback, this new view serves to make your life easier in two main ways. The first is by exposing a view of semantic inference in the system, increasing explainability for both your own benefit and that of others. The second makes it easier to spot any inferred edges that don’t belong, facilitating the debugging of rules.</p><h3>New Features Helping You to Explore Your Data Store in the RDFox Web Console</h3><h4>How to Copy IRIs in the New Context Menus</h4><p>In response to user feedback, the functionality of context menus has been expanded across the board. Not only have entirely new features been introduced, but they will now appear on edges too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*amNmy51mVTn5xt47u_VWEQ.png" /><figcaption>Right clicking on a predicate will now produce a context menu.</figcaption></figure><p>Highly awaited among the additions was the ability to copy node IRIs, however, RDFox v5.6 doesn’t stop there. You can now copy the IRIs (or labels where relevant) of all entities that appear in the graph, and even the entire fact when selecting an edge. These features, along with the ability to hide edges (as well as nodes), serve to streamline the process of exploring your data, reducing opportunities for error and helping you to work efficiently. Whether using the information within RDFox or for an external application, the copy button will soon become an invaluable tool.</p><h4>What is the RDFox Remote Shell?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*mcz90X06l8a2iRVQJKHctQ.png" /><figcaption>The RDFox Remote Shell allows multiple users to execute RDFox commands simultaneously.</figcaption></figure><p>In RDFox v5.6 we have introduced a new experimental feature: the remote shell. This allows remote use of the RDFox shell, providing an incredibly useful tool for anyone using RDFox at a distance. Expanding access in this way allows you to trigger operations on remote servers using RDFox shell commands rather than having to resort to hand-written REST requests. This, for the first time, allows multiple users to use the shell interface simultaneously on the same server.</p><p>Connecting to the shell remotely is simple. While already having an instance of RDFox running, simply execute the following command in a new terminal.</p><pre>RDFox [-role &lt;role&gt; -password &lt;password&gt;] remote &lt;server-url&gt; [&lt;command&gt; …]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wuoVV_kMSZsc3EXPzF1vVg.png" /><figcaption>The RDFox Remote Shell accessed via the ‘guest’ role.</figcaption></figure><p>See the <a href="https://docs.oxfordsemantic.tech/command-line-reference.html#connecting-to-a-server-experimental">RDFox documentation</a> for more details.</p><h3>Reasoning Engine Performance Improvements and Bug Fixes</h3><p>As always we have continued to push the performance of RDFox to the absolute limit to maintain our proud title of the world’s most performant knowledge graph. Alongside that also come some bug fixes and optimisations to keep up our zero-tolerance for known errors and incredibly high standards of quality.</p><h3>RDFox 5.6: Try it for yourself!</h3><p>If you already have a license key for RDFox, you can <a href="https://www.oxfordsemantic.tech/downloads">download this latest version now</a>. Otherwise if you’re new here, you can <a href="https://www.oxfordsemantic.tech/tryrdfoxforfree">request a free trial</a> and start your RDFox journey today!</p><p>If you’re in need of some inspiration for a project, check out our other <a href="https://www.oxfordsemantic.tech/blog">blog posts</a> for the exciting use cases and applications currently in action.</p><h3>The Team and Resources</h3><p>The team behind <a href="https://www.oxfordsemantic.tech/"><strong>Oxford Semantic Technologies</strong></a> started working on <a href="https://www.oxfordsemantic.tech/product"><strong>RDFox</strong></a> in 2011 at the Computer Science Department of the University of Oxford with the conviction that flexible and high-performance reasoning was a possibility for data-intensive applications without jeopardising the correctness of the results. RDFox is the first market-ready knowledge graph designed from the ground up with reasoning in mind. Oxford Semantic Technologies is a spin-out of the University of Oxford and is backed by leading investors including Samsung Venture Investment Corporation (SVIC), Oxford Sciences Innovation (OSI) and Oxford University’s investment arm (OUI). The author is proud to be a member of this <a href="https://www.oxfordsemantic.tech/company"><strong>team</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a86847419a3a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oxford-semantic-technologies/whats-new-in-rdfox-v5-6-highlighting-semantic-reasoning-a86847419a3a">What’s New in RDFox v5.6: Highlighting Semantic Reasoning</a> was originally published in <a href="https://medium.com/oxford-semantic-technologies">Oxford Semantic Technologies</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>