Skip to content

Instantly share code, notes, and snippets.

@ncarboni
ncarboni / provenance.ttl
Created Jan 8, 2019
Modelling of provenance information with CIDOC-CRM
View provenance.ttl
@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> .
View term integration
@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 / exhibition.ttl
Last active May 20, 2019
Model of an exhibition in CIDOC-CRM
View exhibition.ttl
@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 / appellation.ttl
Last active Jul 8, 2019
Modelling of diverse types of appellations in CIDOC-CRM
View appellation.ttl
@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/500020981/appellation/name> , <http://example.com/500020981/appellation/surname> , <http://example.com/500020981/appellation/full> .
<http://example.com/500020981/appellation/name>
a crm:E41_Appellation ;
@ncarboni
ncarboni / associative_properties_gvp.ttl
Created Jan 6, 2020
Example of use of GVP associative properties for a term.
View associative_properties_gvp.ttl
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 .
View ULAN_encoding_sameness.ttl
ulan:500035452 a gvp:Subject , skos:Concept , gvp:PersonConcept ;
skos:exactMatch <http://id.loc.gov/authorities/names/nb98021061> ;
skos:closeMatch <http://id.loc.gov/authorities/names/nb98021061> .
@ncarboni
ncarboni / LOC_encoding_sameness.nt
Last active Mar 18, 2020
LOC sameness encoding
View LOC_encoding_sameness.nt
#record 1
<http://id.loc.gov/authorities/names/no2012024999> <http://www.loc.gov/mads/rdf/v1#hasCloseExternalAuthority> <http://www.wikidata.org/entity/Q4885699> .
#record 2 - Rome
<http://id.loc.gov/authorities/names/n79018704> <http://www.w3.org/2004/02/skos/core#exactMatch> <http://viaf.org/viaf/sourceID/LC%7Cn++79018704#skos:Concept> .
<http://id.loc.gov/authorities/names/n79018704> <http://www.loc.gov/mads/rdf/v1#hasCloseExternalAuthority> <http://id.worldcat.org/fast/1346395> .
#record 3 - Michelangelo Buonarroti
<http://id.loc.gov/authorities/names/n80152368> <http://www.w3.org/2004/02/skos/core#exactMatch> <http://viaf.org/viaf/sourceID/LC%7Cn++80152368#skos:Concept> .
<http://id.loc.gov/authorities/names/n80152368> <http://www.w3.org/2004/02/skos/core#closeMatch> <http://www.wikidata.org/entity/Q5592> .
View geonames_coordinates.rdf
<gn:Feature rdf:about="https://sws.geonames.org/3169070/">
<wgs84_pos:lat>41.89193</wgs84_pos:lat>
<wgs84_pos:long>12.51133</wgs84_pos:long>
<wgs84_pos:alt>20</wgs84_pos:alt>
</gn:Feature>
@ncarboni
ncarboni / ulan_encoding_labels.ttl
Last active Mar 19, 2020
ULAN encoding labels
View ulan_encoding_labels.ttl
ulan:500010654 a gvp:Subject , skos:Concept , gvp:PersonConcept ;
rdfs:label "Rota" , "Buonarroti, Michelangelo" , "Michelangelo Buonarroti" , "Michelangelo Buonarotti" , "Michelangelo" , "Michael Angelo" , "Michelagnolo di Lodovico Buonarroti Simoni" , "Michelagniolo di Lodovico de Lionardo di Buonarroto Simoni" , "Michelagniolo di Lodovico di Lionardo di Buonarroto Simoni" , "Buonarroti, Michel Angelo" , "Michelangelo di Lodovico di Lionardo di Buonarroto Simoni" , "Michelangelo di Ludovico Buonarroti" , "Michelangiolo" , "Buonarroti, Michelagniolo" , "Bonarroti, Michelangelo" , "Bonorotti, Michelangelo" , "Buonarota, Michelangelo" , "Michael Angelo Buonaroti" , "Michael Angelo Buonarotti" , "Michelagniolo Buonarroti" , "Michel-Ange" , "Michelagnolo Buonarotti" , "Michelagnolo Buonarruoti" , "Michelange Bonaroti" , "Michelang. o Bonarota" , "Michel Angel de Bonarrotta" , "Michelangelo Bonarota" , "Michelangelo Bonaroti" , "Michelangelo Buonarota" , "Michelangelo Buonaroti" , "Michelangelo Buonarrota" , "Mi
View label_gnd_json_ld.json
{
"@context": "https://hub.culturegraph.org/entityfacts/context/v1/entityfacts.jsonld",
"@id": "https://d-nb.info/gnd/118540238",
"preferredName": "Johann Wolfgang von Goethe",
"surname": "Goethe",
"prefix": "von",
"forename": "Johann Wolfgang",
"@type": "person",
"variantName": ["Johann Wolfgang Goethe", "Johan Wolfgang von Goethe", "Johan Wolphgang Goethe", "Johan W. von Goethe", "Joh. Wolfg. v. Goethe", "J. Wolfgang Goethe", "J. W. v. Goethe", "J. W. Goethe", "Jan Wolfgang Goethe", "Jean Wolfgang von Goethe", "Juan Wolfgang von Goethe", "Juan Wolfgang Goethe", "Juan W. Goethe", "João Wolfgang von Goethe", "Iohann Wolfgang Goethe", "Iohan Wolphgang Goethe", "Ioannes W. Goethe", "I. W. Goethe", "Wolfgango Goethe", "Wolfango Goethe", "W. von Goethe", "Volfgango Goethe", "Volfango Goethe", "Giov. L. Goethe", "G. L. Goethe", "Goethe", "Johann Wolfgang Von Goethe", "Goethius", "Johann W. êvonë Göthe", "Jan Wolfgang Göthe", "Jan Wolfang Göthe", "J. W. von Göthe", "Giov. Volfango Göthe", "Göthe", "Iogann V