...
_:aggregation edm:provider "Moomin Valley Historical Society" .
Info | ||
---|---|---|
| ||
Most |
Info | ||
---|---|---|
| ||
Property Declarations handle typed values through |
...
Child Declarations
Child (Node) Declarations extend the language with tools for specifying nested graph structure. Rather than specifying a value to set on the property, they create new RDF resource.
...
_:agent dpla:providedLabel "Moomin Valley Historical Society" .
...
Because the declaration block can accept its own Child Declarations, it is possible to create deeply nested structures.
...
_:littleMy dpla:providedLabel "Little My" .
...
Info | ||
---|---|---|
| ||
Abstractly, a Krikri::Mapping is a tree of declarations. The declarations themselves can be seen as rules for generating a rooted RDF graph from parsed records. The Aggregation constitutes the root node, and each additional Child Declaration creates a descendent node. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Krikri::Mapper.define(:my_mapping) do uri 'this' sourceResource class: DPLA::MAP::SourceResource do uri 'http://example.org/source_resource' end end |
Value Methods
...
Info |
---|
Current and version specific documentation for Value methods is in |