Skip to content

Instantly share code, notes, and snippets.

@ncarboni
Last active April 24, 2021 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncarboni/5c0558aa43c619926db759b0fceb3738 to your computer and use it in GitHub Desktop.
Save ncarboni/5c0558aa43c619926db759b0fceb3738 to your computer and use it in GitHub Desktop.
CRM query for obtaining appellation, dimension and creation date of an object
SELECT ?creation_date ?appellation ?label ?dimension_value ?dimension_unit
WHERE {
?x crm:P1_is_identified_by ?appellation ;
crm:P43_has_dimension ?dimension .
?creation_event crm:P108_has_produced ?x ;
crm:P4_has_time-span ?creation_date .
?dimension crm:P90_has_value ?dimension_value ;
crm:P91_has_unit ?dimension_unit .
?appellation rdfs:label ?label
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment