To get a driving license, humans learn the rules;
so should autonomous vehicles
RDFox for Autonomous Vehicles
White Paper 2020
With so many variables in play, this is hardly an easy question to answer. But thankfully, complex questions are our specialty.
Go to f1.rdfox.tech to find the answer.
The RDFox Web Console has long been utilized and well-loved by users — encompassing easy accessibility and human-centred visualisation. However, up until now it has been an experimental add-on. With RDFox v5.4 this all changes, seeing an end to the Console’s experimental tag. This change comes about with an increase in the Console’s functionality, now a more holistic and faithful portrayal of RDFox.
"Getting started with and using RDFox is even easier now that 5.4 brings full SPARQL support." — Knowledge Engineer and user of RDFox
The RDFox Console now has full support for SPARQL 1.1, allowing you to use all the queries and updates that were previously available in the Shell and through the REST endpoint.
The new, complete list of queries and updates is as follows.
You can find more information about these queries, their application, and their syntax, in the SPARQL query documentation.
Similarly, you can find out all the details of these operations in the SPARQL update documentation, setting you up perfectly to implement them in your own projects.
To accompany the official SPARQL specification, examples of these commands as used in RDFox can be found in the RDFox documentation. We highly recommend the RDFox getting started guide for any newcomers looking for a simple introduction to RDFox, whether in the Console, Shell, or REST endpoint.
The one query exempt from our support is the nonnormative DESCRIBE that we have omitted for now due to its indeterminate definition.
“Viewing triples in a table is a compromise, but now with the ability to run CONSTRUCT queries in the console and visually explore their results in their natural graph form, the new connections are easily perceived by the human eye.” — Ontologist and user of RDFox
A wholly new feature to RDFox is the CONSTRUCT Explorer. The concept is simple: when possible — when the result can be expressed as an RDF graph — your query answers can now be visualised as a graph in addition to the pre-existing tabular format.
Unlike the Explorer View in which the visualised nodes and edges are a subset of those present in the data store (ie. If a result exists in the datastore, it will be displayed as it is in the data, otherwise it will be omitted from the graph), the CONSTRUCT Explorer allows users to visualise any graph that can arise from legal SPARQL, regardless of whether the nodes exist in the same form (or at all) in the datastore.
Take the following query for example:
As you can see, the graphs in the Explorer View and the CONSTRUCT Explorer are quite different — the latter having diverged from the datastore significantly, and even added supplementary nodes that do not appear in the data.
To activate this extraordinary feature, you must use the output variables ?S ?P ?O in your queries. Capitalisation is required. This ensures your results are valid triples at the very least. This incredibly powerful tool may seem simple on the surface, but it creates endless possibilities.
You can still manipulate the graph as you can in the Explorer View, but you cannot expand it beyond the scope of the query results.
The CONSTRUCT Explorer is restricted to display only 200 nodes (not including literals) to keep the view from becoming an illegible mess of information. Seeing as result sets larger than this cannot currently be displayed as a graph, we suggest you make use of the LIMIT keyword, so that the resulting subgraph can be shown.
“The ability to export query results is a significant convenience, and in conjunction with CONSTRUCT, I can fine-tune queries in the console, view the results, and seamlessly load the export back into RDFox.” — Ontologist and user of RDFox
Whatever the query, you are now able to download your results in any of a range of formats, suited to your preference. These include JSON, Turtle, CSV, and many more.
The secondary benefit of using the output variables ?S ?P ?O and now ?G when leveraging named graphs (again, case-specific) derives from their original purpose — forcing the results to be triples or quads. Due to this fact, RDFox will allow you to download your results in a triple or quad friendly format — specifically Turtle, N-Triples, N-Quads, and Trig variants.
Even though the maximum number of results displayed in the Console is 200, exporting the results will export the entire set of results, not just those shown.
“Adding named graph support to the Console is game changing. The depth and flexibility that it brings to my work is invaluable. I love that we can import data files, such as turtle, directly into a named graph with just a click.” — Software Engineer and user of RDFox
Another game-changing addition to the console is named graph support! You can now visualise and otherwise make use of named graphs just as you would expect, in line with the shell functionality.
An empty named graph can be generated using the CREATE update:
You can then populate your new graph with an INSERT or LOAD update. Alternatively, you can navigate to ‘add content’ in the menu, select your desired graph, and ‘drag and drop’ a file containing your data, importing it directly to the graph.
Once filled with data, you are free to update or query as you please — any results can be visualised in the Explorer View, just as with the Default graph. If the results contain more than one graph, you can select which are displayed — one, multiple, or all of them. This of course allows you to switch between graphs simply by choosing one at a time.
“The small UI changes have made a huge difference to the way I use RDFox. Working is smoother, more intuitive, and I can navigate my data more efficiently.” — Knowledge Engineer and user of RDFox
For a while now the visualised graph in the Explorer has been malleable, allowing the user to pick and choose what they see after they’ve executed their query. This hasn’t changed. It has, however, become easier and more user friendly.
Upon right-clicking a node, you will see the option to hide the node itself or to hide (or unhide) its in- and out-bound edges. A small dot will appear in the top right-hand corner of the node if some of its edges are hidden. To make this process smoother, we’ve added a filter option to the list — allowing you to search for specific edges, either by the edge IRI or IRI of the connected node. We have also added an ‘All’ option, which simply selects or deselects all of the connecting edges for faster tweaking of large visualisations.
It is important to note that changing the graph visually does not change the data, only what is shown.
There have been a number of more subtle changes to the way the Console looks and behaves — all striving to make your life more comfortable. For example, the ‘Query’ and ‘Explore’ buttons at the top have been renamed to ‘SPARQL’ and ‘Explore’ respectively for clarity, and the editor is now resizable. These are just a couple of many ergonomic improvements that we have added, the rest are yours to discover.
These exciting new additions to the Console have unleashed a myriad of possibilities — allowing you to use RDFox like never before. Using the proper tool doesn’t just make life easier: the right tool in the right hands creates opportunities that go far beyond what could ever be achieved without, enriching and enhancing the possible. This is the RDFox Web Console, now in your hands.
A configuration Management Use Case - Powered by metaphactory and RDFox
Download the Joint White Paper