Skip to content

Instantly share code, notes, and snippets.

View ncarboni's full-sized avatar

Nicola Carboni ncarboni

View GitHub Profile
@ncarboni
ncarboni / gnd_entityfacts_coordinates.ttl
Last active March 19, 2020 08:57
GND EntityFacts coordinates
@prefix dc: <http://purl.org/dc/terms/> .
@prefix geojson: <https://purl.org/geojson/vocab#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://d-nb.info/gnd/4050471-2>
a <https://d-nb.info/standards/elementset/gnd#PlaceOrGeographicName> ;
dc:spatial [
a <https://purl.org/geojson/vocab#Feature> ;
geojson:geometry [
a geojson:Point ;
@ncarboni
ncarboni / associative_properties_gvp.ttl
Created January 6, 2020 11:55
Example of use of GVP associative properties for a term.
aat:300003960 a gvp:Subject , skos:Concept , gvp:Concept ;
skos:related aat:300375097 , aat:300052411 , aat:300003961 ;skos:related aat:300375097 , aat:300052411 , aat:300003961 ;
gvp:aat2100_distinguished_from aat:300375097 , aat:300003961 .
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix crmpc: <http://www.cidoc-crm.org/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 vir: <http://w3id.org/vir#> .
@prefix inf: <http://www.cidoc-crm.org/cidoc-crm/CRMinf/> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix ontolex: <http://www.w3.org/ns/lemon/ontolex#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix lexinfo: <http://www.lexinfo.net/ontology/2.0/lexinfo#> .
@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#> .
@prefix frbroo: <http://iflastandards.info/ns/fr/frbr/frbroo/> .
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@ncarboni
ncarboni / provenance.ttl
Created January 8, 2019 16:21
Modelling of provenance information 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#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://example.com/work/663763> a crm:E22_Man-made-object ;
crm:P24i_changed_ownership_through <https://example.com/acquisition/22734637> ;
crm:P24i_changed_ownership_through <https://example.com/acquisition/22734638> ;
crm:P24i_changed_ownership_through <https://example.com/acquisition/22734639> .
@ncarboni
ncarboni / exhibition.ttl
Last active May 20, 2019 12:52
Model of an exhibition in 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#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix geo: <http://www.opengis.net/ont/geosparql#>.
<https://example.com/event/exhibition/1> a crm:E7_Activity ;
crm:p1_is_identified_by <https://example.com/appellation/33> ;
crm:p4_has_time-span <https://example.com/timespan/10> ;
@ncarboni
ncarboni / type.ttl
Created January 8, 2019 11:14
Modelling of a E55 Type in 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#> .
<http://example.com/work/7761> a crm:E22_Man-Made_Object ;
crm:P2_has_type <http://vocab.getty.edu/aat/300033618> .
<http://vocab.getty.edu/aat/300033618> a crm:E55_Type .
@ncarboni
ncarboni / identifier.ttl
Created January 8, 2019 10:53
Modelling of an identifier in 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#> .
<http://example.com/500020981> a crm:E21_Person ;
crm:P1_is_identified_by <http://example.com/identifier/500020981> .
<https://collection.itatti.harvard.edu/resource/identifier/500020981> a crm:E42_Identifier ;
rdfs:label "500020981" ;
@ncarboni
ncarboni / notes.ttl
Created January 8, 2019 10:32
Modelling of notes in 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#> .
<http://example.com/person/134> a crm:E21_Person ;
crm:P01i_is_domain_of <http://example.com/note/123> ;
crm:P3_has_note "Kommissär der Eidgen. Kunstkommission" .
<http://example.com/note/123> a crm:PC3_has_note ;
@ncarboni
ncarboni / roles.ttl
Created January 8, 2019 10:18
Modelling of roles in an activity 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#> .
<http://example.com/exhibition/177> a crm:E7_Activity ;
crm:P01i_is_domain_of <http://example.com/curation/0766> .
<http://example.com/curation/0766> a crm:PC14_carried_out_by ;
crm:p02_has_range <http://example.com/person/134> , <http://example.com/person/135> ;