Skip to content

Data Versioning

Eugene edited this page Nov 3, 2020 · 10 revisions

Data Versioning

Graph

Turtle

The following record has to be updated every time new version of "urn:nasa:pds:context:investigation:mission.orex" label is released.

<urn:nasa:pds:context:investigation:mission.orex> 
  <registry:last_lidvid> <urn:nasa:pds:context:investigation:mission.orex::1.1>.

Queries

Get basic contextual information about a collection "urn:nasa:pds:orex.spice:spice_kernels::8.0"

SELECT 
  ?lidvid_ref ?ref_sub_class ?ref_type ?ref_name
WHERE {
  <urn:nasa:pds:orex.spice:spice_kernels::8.0> <pds:lid_ref> ?lid_ref.
  ?lid_ref <registry:last_lidvid> ?lidvid_ref.        # Get last lidvid
  ?lidvid_ref <pds:product_class> "Product_Context".
  ?lidvid_ref <pds:product_sub_class> ?ref_sub_class.
  ?lidvid_ref <pds:type> ?ref_type.
  ?lidvid_ref <pds:name> ?ref_name.
}

Clone this wiki locally