Atomic Paths

An Atomic Path is a string that consists of at least one URL, followed by one or more URLs or Shortnames. Every single value in an Atomic Resource can be targeted through such a Path. They can be used as identifiers for specific Values.

The simplest path, is the URL of a resource, which represents the entire Resource with all its properties. If you want to target a specific atom, you can use an Atomic Path with a second URL. This second URL can be replaced by a Shortname, if the Resource is an instance of a class which has properties with that shortname (sounds more complicated than it is).


Let's start with this simple graph:

["", "", "McLovin"]

Then the following Path targets the McLovin value: => McLovin

If the resource is an instance of a Class (an atomic:isA property), you can use the Shortnames of the Properties that are referred to by that class. Since John is an instance of a Person, he might have a lastname which maps to lastname => McLovin

We can also traverse relationships:

["", "", ""]
["", "", "McLovin"]
["", "", ""]
["", "", "The greatest company!"] employer description => The greatest company!

In the example above, the XCorp subject exists and is the source of the The greatest company! value. However, using paths, it's also possible to created nested resources without creating new URLs for all children.

Nested Resources

All Atomic Data Resources that we've discussed so far have a URL as a subject. Unfortunately, creating unique and resolvable URLs can be a bother, and sometimes not necessary. If you've worked with RDF, this is what Blank Nodes are used for. In Atomic Data, we have something similar: Nested Resources.

Let's use a Nested Resource in the example from the previous section:

["", "", "McLovin"]
["", "", "The greatest company!"]

By combining two Subject URLs into a single string, we've created a nested resource. The Subjet of the nested resource is, including the spacebar.

Note that the path from before still resolves: employer description => The greatest company!

Serialization formats are free to use nesting to denote paths - which means that it is not necessary to include these path strings explicitly in most serialization formats.

For example:

  "@id": "",
  "@context": "",
  "hasShoes": [
      "name": "Mr. Boot",
      "name": "Sunny Sandals",

The Path of Mr. Boot is: hasShoes 1 name

This Path is useful for storing the value in other serialization formats, such as .ad3:

[" 0", "", "Mr. Boot"]
[" 1", "", "Sunny Sandals"]

You can target an item in an array by using a number to indicate its position, starting with 0.

Notice how the Resource with the name: Mr. Boot does not have an explicit @id, but it does have a Path.