Which graph reported Milan’s score?

The original report and its correction each keep their own score.

Program · TriG data · Answers · Proof · Check · Playground

The question

The original report lists Milan’s walking score as 4. The correction lists 6. Which graph supplied each score?

Historical background

TriG became a W3C Recommendation in 2014. It represents RDF datasets with named graphs alongside a default graph. The data in this example uses the name of each report as its graph name. W3C TriG Recommendation

What we tell eyemind

The LE template has three places. The first takes the person, the second takes the score and the third takes the graph name. The default graph also has a score of 9, which has no graph name to fill that third place.

What eyemind concludes

ex:milan has a walking score of 4 in ex:original.
ex:milan has a walking score of 6 in ex:corrected.
struct('le:answer', 'reported_scores', 4, iri('https://example.org/study/original'))
struct('le:answer', 'reported_scores', 6, iri('https://example.org/study/corrected'))

What the proof establishes

The checked proof ties both scores to facts that include the graph name in the compiled program.

Try it

node bin/eyemind.js examples/named-graphs-le.le examples/data/named-graphs-le.trig
node bin/eyemind.js --check-proof examples/proof/named-graphs-le.js examples/named-graphs-le.le examples/data/named-graphs-le.trig