The graph learning lab: connect evidence clearly
Practice the decisions that keep a knowledge graph understandable and reusable: separate subjects, qualify roles, preserve source meaning, and interpret validation honestly.
Practice four graph decisions through illustrated lessons: separate subjects, qualify component roles, distinguish applicability from provenance, and interpret a shape-check result. The optional 3D view is a conceptual aid rather than a normative graph representation.
Takeaway. Explicit identities and qualified relationships make a graph inspectable; a passed shape check does not make its claims true.
Worked example: What does a knowledge graph add to a catalogue entry?
- Continue with the interactive workbench · Edit, run real validation, repair and download.
Make the graph explain its own claims
Four short decisions connect plain-language diagrams to the released ontology terms. Answer in any order and follow the links when you want the complete example.
Keep what is represented separate from its representation
A physical instrument and a digital representation need separate identifiers. MODAVIS uses representationOf to connect them. Cuntz’s GLB depicts aspects of the organ; changing a mesh does not change the identity of the physical instrument.
Two subjects, one explicit relation
Read the triple as “ex:model representationOf ex:instrument”. Never merge the two identities with owl:sameAs.
| Relationship | Description | |
|---|---|---|
| Instrument IRI | ex:instrument | MusicalInstrument: the research subject. |
| Representation IRI | ex:model | DigitalRepresentation: a separate digital resource. |
Which connection is appropriate for a model and the instrument it depicts?
- model representationOf instrument. Correct. The relation connects two distinct identities without claiming completeness or equivalence.
- model owl:sameAs instrument. sameAs collapses their identities. A representation relation is not an identity claim.
- Use the instrument’s identifier for the model file too. One identifier should name one thing at one identity layer. Keep the digital resource separate.
Build the runnable identity graph
A role assignment is a record of its own
The released violin fixture distinguishes a string component, its membership in the instrument, and a FunctionalRoleAssignment of sound generator. Use qualified memberships and assignments when structural kind or scope matters. The component itself is not just its function.
A component’s role is an identified assignment
Use ComponentMembership when instrument, parent, type or scope matters. The direct hasComponent link is a discovery shortcut.
| Relationship | Description | |
|---|---|---|
| Instrument | A violin | The generic released example works beyond organs. · has a component record |
| Component | Its string | A component identity is distinct from membership. · has a role assignment |
| Assigned role | Sound generator | A FunctionalRoleAssignment carries the role. |
You need to record a component’s functional role in a scoped configuration. What do you preserve?
- Component identity plus a qualified role-assignment record. Exactly. Keep the assignment and its scope separate from the component identity.
- Only rename the component “sound generator”. A label does not preserve the assignment relationship or its scope.
- Treat its current role as a permanent identity. A function can be contextual. Missing scope does not establish a permanent universal role.
Read the published generic violin example
Keep production history and applicability on separate paths
The real Cuntz observation gives 1281 mm and a source-cell flag. Its resultTime is qualified as a workbook modification timestamp, while another flag identifies a source series of 2019. Retaining both lets another researcher understand the record without inventing its measurement-session date.
Two dates answer different questions
The actual measurement-session date remains unresolved. Preserve the qualification with the timestamp.
| Relationship | Description | |
|---|---|---|
| File history | 16 September 2020 | Workbook modification timestamp, 10:33:05Z. |
| Source flag | Series 2019 | A source-series flag, not a recovered session date. |
The workbook was modified in 2020. What should your reused claim say about the measurement session?
- The session date remains unresolved; retain the timestamp qualification. Yes. The file-history timestamp and source-series flag support different statements.
- The pipe was measured at that precise 2020 instant. That interpretation is not established by the released evidence.
- It was certainly measured on a known day in 2019. The series flag does not identify a specific session day. Preserve what is known and what remains unknown.
Follow the released observation’s sources
Use a structural check, then review the claim
The generic learning graph conforms when the model represents the separate instrument. The intentionally invalid variant fails because it creates a self-representation cycle. SHACL can expose that structural problem. It cannot decide whether a historically plausible reconstruction is correct.
Meaning and record checking are separate jobs
A passed shape check does not prove the historical truth of the statement.
| Relationship | Description | |
|---|---|---|
| OWL | Identity & relationships | Express the ontology’s semantic distinctions. |
| SHACL | Required record structure | Check a graph against a declared profile. |
Your graph passes the released exchange shapes. What can you conclude?
- It meets the checks run against that graph and profile. Correct. Record the inputs, version and scope; scientific interpretation still needs evidence and review.
- All its statements are scientifically true. Shape conformance is not a truth test for historical or acoustic claims.
- It meets every possible publication or application profile. Different profiles can add requirements. The report must name which checks were actually run.
Run the positive and negative checks
A small graph you can reuse today
A qualified claim remains connected to its grounds
Context bindings qualify the assertion’s applicability; provenance describes the record’s production. These are additional links, not a single undifferentiated date field.
| Relationship | Description | |
|---|---|---|
| Source fragment | An inspectable passage | A selector locates evidence in a fixed source snapshot. · is used by an evidence relation |
| Evidence relation | How the source bears on it | Supporting, opposing or another governed role. · is evaluated by that relation |
| Assertion | An attributable claim | Subject, predicate, value, status and generating activity. |
Choose one question from your own collection and write down the subject, the statement, the source and the scope. Give the statement and source their own identities when you need to preserve review or disagreement. Translate only those relationships whose published definitions fit the question. Then validate, inspect the report and ask another reader to follow the source trail.
What does a knowledge graph add to a catalogue entry?
A graph stores named things and explicit relationships. RDF expresses a statement as a subject, a relationship and an object; many such statements can share the same subject.
Consider the Cuntz pipe represented as rank:ged:pipe:key-036. A measurement, a source workbook and an activity can all refer to it without being squeezed into one text field.
- Start with a plain sentence. “This observation concerns that pipe.” Here the observation is the subject, the feature-of-interest relationship connects it to the pipe, and the pipe is the object.
- Connect the evidence. The observation points to the measurement activity and raw-result workbook realization. The activity names Philipp Hosbach as its agent. These links answer different questions: what was observed, where it came from and who is credited.
- Ask a connected question. A reader can follow the pipe to an observation, then to the workbook cell, unit and processing history. That chain is more useful than merely finding the same word in several descriptions.
Read the connections as a sentence
The arrows express the teaching sequence. Consult the release for the exact machine-readable relationships.
| Relationship | Description | |
|---|---|---|
| Instrument | Cuntz | The physical research subject. · follow the component |
| Component record | Pipe key-036 | The released record identifies a particular pipe. · inspect its observation |
| Observation | 1281 mm | A result about the identified feature and property. |
Takeaway. A graph makes relationships addressable and traversable; it does not make the linked assertions automatically true.
Limit. These sentences explain graph structure. They are not a copy-and-paste RDF serialization or a claim that English relationship labels are normative ontology terms.
-
Cuntz Positiv · VAO 0.5.0-rc.2 · Published manifest: identities, measurement observations, realization digests, profiles and rights. Exact examples checked against this release.
-
MODAVIS Ontology Network 0.1.0 · Identity, state, configuration, evidence, assertions, context and provenance. Teaching examples explain its distinctions without inventing new normative properties.
-
Build and query the starter graph · A complete Turtle fixture, pinned exchange validation and an executable query.
-
Read the Cuntz evidence walkthrough · One actual released observation, with its timestamp and source qualification.
-
Reuse through a VAO carrier · Carry identified resources, evidence and exact bytes together.
Sources
- MODAVIS Ontology Network 0.1.0 · immutable release · Terms, governed vocabularies, versioned shapes and interpretation guide.
- Cuntz Positiv · content release 0.5.0-rc.2 · Archived evidence used for the Cuntz examples: content release 0.5.0-rc.2, declared VAO formatVersion 0.5.0. Updating this guide to VAO 0.6.0 does not rewrite the deposited source.
- MODAVIS 0.1.0 interpretation guide