Skip to content

Instantly share code, notes, and snippets.

@ncarboni
Last active November 24, 2022 11:30
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/60782ef795e536714ff7a969292f3b34 to your computer and use it in GitHub Desktop.
Save ncarboni/60782ef795e536714ff7a969292f3b34 to your computer and use it in GitHub Desktop.
Modelling of the role of an agent in a production event with CIDOC-CRM
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix crm: <http://http://www.cidoc-crm.org/cidoc-crm/> .
@prefix sari: <http://w3id.org/sari#> .
<https://example.com/production_activity/17762> a crm:E12_Production ;
crm:P01i_is_domain_of <http://example.com/production/0766> .
<http://example.com/production/0766> a crm:PC14_carried_out_by ;
crm:p02_has_range <http://example.com/person/134> ;
crm:p14.1_in_the_role_of <http://example.com/type/FORGER> .
<http://example.com/type/FORGER> a crm:E55_Type .
<http://example.com/person/134> a crm:E21_Person .
@datamusee
Copy link

datamusee commented Nov 24, 2022

#graphical view

graph LR
subgraph Exemple
A[https://example.com/production_activity/17762] -->|a| A1[crm:E12_Productio]
A -->|crm:P01i_is_domain_of  | A2[http://example.com/production/0766]
A2 -->|a| A3[crm:PC14_carried_out_by]
A2 -->|crm:p02_has_range | A4[http://example.com/person/134]
A2 -->|crm:p14.1_in_the_role_of | A5[http://example.com/type/FORGER]
A5 -->|a| A6[crm:E55_Type]
A4 -->|a| A7[crm:E21_Person]
end
subgraph Namespaces
id1(crm: http://http://www.cidoc-crm.org/cidoc-crm/<br/>)
end
style Namespaces width: 99%, fill:#fff
style Exemple width: 99%, fill:#fff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment