Practical Technology Showcase Summary 2022-05-06 — Reasoning and Inference
Knowledge Graphs, Linked Data, and Data Connectivity related posts and live demonstrations.
Virtuoso’s Reasoning and Inference Capabilities
The notion of a Semantic Web is “deceptively simple,” just like the real-world. It can be demonstrated using very simple examples, while still remaining somewhat tricky to comprehend.
The following is a demonstration of Knowledge Graph based reasoning and inference by Kingsley Idehen, using book recommendations from Barrack Obama and Oprah Winfrey via ReadThisTwice.
We start with two book recommendation pages, each comprising a personal recommendation:
Loading the Raw Data
Using SPARQL via the OpenLink Structured Data Sniffer (OSDS) Browser Extension, we extract, transform, and load (ETL) the Knowledge Graph embedded in each page.Challenge
At this juncture, you have a Knowledge Graph that manifests as a collection of Entity Relationships constructed from hyperlinks, but with an obvious flaw: Barack Obama and Oprah both recommend “Becoming” (by Michele Obama), but that’s nowhere to be found in the Knowledge Graph.Solution
Use an inference rule to dynamically correct the problem spotted in the Knowledge Graph. No coding adventures required!Here are two pages that demonstrate how such an inference rule solves this Knowledge Graph problem:
How was this done?
Simply telling the Virtuoso instance to treat the theschema:name
property (or relation) as “uniquely identifying” is enough. Once that is established, the Knowledge Graph dynamically solves the problem through an ability to compute the meaning (i.e., semantics) of “uniquely identifying”. (Note: A “unique identifier” is an identifier that identifies one and only one entity, but this must not be confused with an identifier which is the one and only identifier of an entity.)Important point
Virtuoso leverages its high-performance DBMS engine to deliver powerful reasoning and inference that scales to support the demands of the Web.Here’s a unique hypermedia document regarding this demo, generated courtesy of our Twingler Smart Agent, for future reuse and recall.
Related Demos and Other Info
Our recently released, Gradle-packaged collection of Java samples on GitHub also includes easy to understand custom reasoning and inference examples that leverage SPARQL as the rules definition language, Learn More…
Demonstration of built-in reasoning and inference using British Royal Family relations
Demonstration of custom inference and reasoning using British Royal Family Relationships
Harmonizing Disparate RDBMS Data using Virtuoso’s built-in Reasoning and Inference functionality
Creating Custom Inference Rules using the SPIN Vocabulary and Virtuoso 8.0
Using Custom Inference Rules to dynamically generate Linked Data from Open Data
Related Apps & Services
OpenLink Structured Data Sniffer (OSDS) — A browser extension…
…for Chrome and other Browsers that support the Web Extensions open standard, including Chromium-based, Opera, Brave, Vivaldi, and others
…for Firefox-based Browsers
Twingler — A Smart Agent solution for transforming threaded content into Knowledge Graph nuggets, for easy reuse and recall.
URIBurner — A Free and Publicly Accessible Linked Data Transformation Service and Knowledge Graph Management Service
Virtuoso — Multi-Model DBMS & Middleware Platform
Post Archives