Semantic Layer course
Knowledge layer 40 min AccuracyConsistencyExplainability

Reasoning: facts nobody typed in

Where Module 1's three answers become three named rules

Section 1

The axioms were promises

Next section
Section 2

Defined classes: R1 and R2 fire

Next section
Section 3

Three definitions, three named classes

Next section
Section 4

Profiles, engines and rule languages

Next section
Section 5

Watch the triples appear

Next section
Section 6

Continuous reasoning as an event loop

Next section
Section 7

Why is L-5150 a defaulted loan?

Hands on

Derive the default set

35 min

Run an OWL reasoner (owlrl, or ELK via Jena) over the Meridian ontology plus data, produce the inferred named graph, then query the three default classes and see L-2087 in Operational only, L-4590 in Regulatory and Operational, and L-5150 in all three.

make lab-up            # once, starts Postgres + Fuseki + Ontop
make lab lab07-run-reasoner

Full instructions, starter files and the solution are in labs/modules/lab07-run-reasoner/README.md. The lab checks its own work, so you will know if it passed.

Check yourself

Quiz

7 questions, pass mark 70%. Answers are explained either way, so a wrong guess is not wasted.

1 Ingestion asserts only that L-1042 is a mrb:MortgageLoan. After reasoning, L-1042 is also typed as SecuredLoan, Loan, LoanAccount and Account. What produced those four triples?
2 Why do inferred triples go into a separate named graph rather than alongside the asserted data? (pick two)

Select all that apply.

3 Under Meridian's three named rules, where does L-2087 (Daniel's personal loan, 47 days past due, no write-off date) fall?
4 A migration bug asserts br:BR-KL01 mrb:borrower cust:C-1001. What does the reasoner do?
5 Meridian runs ELK on every change event and HermiT only nightly. What is the reasoning behind that split?
6 Meridian materialises inferred triples with forward chaining rather than deriving them at query time. What is the main cost, and the main reason they accept it?
7 Daniel Okafor's APP-9001 has credit score 640 and DTI 0.41. Which classes does the SWRL rule set derive for it?