Skip to content

Instantly share code, notes, and snippets.

@ncarboni
ncarboni / labels_gnd.ttl
Created Mar 19, 2020
Labels GND converted
View labels_gnd.ttl
<https://d-nb.info/gnd/118540238>
a <https://d-nb.info/standards/elementset/gnd#Person> ;
gnd:forename "Johann Wolfgang"^^xsd:string ;
gnd:preferredName "Johann Wolfgang von Goethe"^^xsd:string ;
gnd:prefix "von"^^xsd:string ;
gnd:surname "Goethe"^^xsd:string ;
gnd:variantName "Johann Wolfgang Goethe"^^xsd:string, "Johan Wolfgang von Goethe"^^xsd:string, "Johan Wolphgang Goethe"^^xsd:string, "Johan W. von Goethe"^^xsd:string, "Joh. Wolfg. v. Goethe"^^xsd:string, "J. Wolfgang Goethe"^^xsd:string, "J. W. v. Goethe"^^xsd:string, "J. W. Goethe"^^xsd:string, "Jan Wolfgang Goethe"^^xsd:string, "Jean Wolfgang von Goethe"^^xsd:string, "Juan Wolfgang von Goethe"^^xsd:string, "Juan Wolfgang Goethe"^^xsd:string, "Juan W. Goethe"^^xsd:string, "João Wolfgang von Goethe"^^xsd:string, "Iohann Wolfgang Goethe"^^xsd:string, "Iohan Wolphgang Goethe"^^xsd:string, "Ioannes W. Goethe"^^xsd:string, "I. W. Goethe"^^xsd:string, "Wolfgango Goethe"^^xsd:string, "Wolfango Goethe"^^xsd:string, "W. von Goethe"^^xsd:string, "V
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
@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 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 / 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 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 / GND_entityfact_same_as_encoding.ttl
Last active Mar 19, 2020
GND EntityFacts encoding of sameness
View GND_entityfact_same_as_encoding.ttl
@prefix gnd: <https://d-nb.info/standards/elementset/dnb#> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix schema: <http://schema.org/> .
<https://d-nb.info/gnd/4050471-2/about> gnd:isDescribedIn [
@ncarboni
ncarboni / gnd_entityfacts_coordinates.ttl
Last active Mar 19, 2020
GND EntityFacts coordinates
View gnd_entityfacts_coordinates.ttl
@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 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 change_knowledge_Rembrandt.ttl
@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#> .
You can’t perform that action at this time.