Closed pietercolpaert closed 3 years ago
I think that so far tree:path
has mostly been a filter on which triples to consider from an external resource, right? Because it seems like in this context, it's the other way around, and it describes where to find more information about the current resource.
Apart from that, I like it!
@hdelva Good point! So tree:path
gets a different meaning in a tree:Embedding than in a tree:Relation. I don’t think this is a huge issue though. Or should we consider different predicates?
tree:embed → tree:qualifiedImport?
import and conditionalImport added to the spec.
This came up in the Linked Connections 2.0 discussion today: we need to be able to describe when a collection fragments based on a type of entity. Therefore we propose to have a
tree:embed
on atree:Node
, where other files can be embedded when a client is looking for an entity on a certain property path.For example:
This leaves the stops and routes out of a connections collection, and instead tells a client, when interested in these entities, to discover them at another location.
When you always need to import a file with a certain view, you can simply use: