What does the report claim?

A reported claim stays inside its quotation. The recorded measurement is given separately.

Program · N3 data · Answers · Proof · Check · Playground

The question

Two reports make different claims about Milan’s walking score. Which one claims his score was 4? What score was recorded as the measurement?

Historical background

Notation3 lets a statement use an entire quoted graph as a value. Dörthe Arndt and Pierre-Antoine Champin describe how graph terms let statements refer to what a graph says. Notation3: Graph Terms for RDF

What we tell eyemind

Each report quotes an N3 graph written with braces. The LE rule finds that graph and uses contains the triple to look for the reported score. The recorded score comes from a triple outside the braces.

What eyemind concludes

ex:original claims a walking score of 4 for ex:milan.
ex:milan has a recorded walking score of 6.
struct('le:answer', 'reports', iri('https://example.org/study/original'))
struct('le:answer', 'recorded', 6)

What the proof establishes

The checked proof finds 4 inside the original report’s quoted graph. It finds the recorded score of 6 in the outer data.

Try it

node bin/eyemind.js --explain examples/quoted-report-le.le examples/data/quoted-report-le.n3
node bin/eyemind.js --check-proof examples/proof/quoted-report-le.js examples/quoted-report-le.le examples/data/quoted-report-le.n3