Skip to content

Instantly share code, notes, and snippets.

View ewg118's full-sized avatar

Ethan Gruber ewg118

  • American Numismatic Society
  • Charlottesville, Virginia
View GitHub Profile
@ewg118
ewg118 / newell.json
Created September 25, 2020 14:48
Linked Art JSON-LD for Edward Newell
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "http://numismatics.org/authority/newell",
"type": "Person",
"_label": "Newell, Edward Theodore, 1886-1941",
"identified_by": [
{
"type": "Name",
"content": "Newell, Edward Theodore, 1886-1941",
"classified_as": [
@ewg118
ewg118 / denarius.la.json
Created August 28, 2020 18:17
Denarius Linked Art JSON-LD
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "http://nomisma.org/id/denarius",
"type": "Type",
"_label": "Denarius",
"identified_by": [
{
"type": "Name",
"content": "Denarius",
"classified_as": [
@ewg118
ewg118 / seleucus_i.la.json
Created August 28, 2020 18:13
Seleucus I as Linked Art JSON-LD
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "http://nomisma.org/id/seleucus_i",
"type": "Person",
"_label": "Seleucus I Nicator",
"identified_by": [
{
"type": "Name",
"content": "Seleucus I Nicator",
"classified_as": [
@ewg118
ewg118 / rome.la.json
Created August 28, 2020 18:07
Nomisma Mint in Linked Art JSON-LD
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "http://nomisma.org/id/rome",
"type": "Place",
"_label": "Rome",
"classified_as": [
{
"id": "http://nomisma.org/id/mint",
"_label": "Mint"
}
@ewg118
ewg118 / letter-query.sparql
Created June 19, 2020 20:59
Query monograms by letter and get associated mints
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX nm: <http://nomisma.org/id/>
PREFIX nmo: <http://nomisma.org/ontology#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT DISTINCT ?mint WHERE {
?monogram crm:P106_is_composed_of "Ψ", "Χ" .
@ewg118
ewg118 / test.geojson
Created May 30, 2020 18:14
Lost River State Park
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ewg118
ewg118 / bnf_pco.sparql
Created May 27, 2020 19:38
BnF coins in PCO
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX dcmitype: <http://purl.org/dc/dcmitype/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX nm: <http://nomisma.org/id/>
PREFIX nmo: <http://nomisma.org/ontology#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ewg118
ewg118 / delta-eta-types.sparql
Created May 14, 2020 17:22
Alexander coinage with letters, ordered by date
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX nmo: <http://nomisma.org/ontology#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?type ?date ?mint ?label ?lat ?long WHERE {
?monogram crm:P106_is_composed_of "Δ", "Η" .
?side nmo:hasControlmark ?monogram .
@ewg118
ewg118 / hadrian-concordances.csv
Created May 13, 2020 20:35
Concordance of old and new Hadrian RIC IDs for coins in OCRE
We can't make this file beautiful and searchable because it's too large.
coin,id,collection,dataset,old,new
https://finds.org.uk/database/artefacts/record/id/145988,BH-FB1820,,"Roman coins from the Portable Antiquities Scheme",ric.2.hdn.577A,ric.2_3(2).hdn.241
https://finds.org.uk/database/artefacts/record/id/146671,BERK-7CEA81,,"Roman coins from the Portable Antiquities Scheme",ric.2.hdn.617,ric.2_3(2).hdn.649|ric.2_3(2).hdn.650
https://finds.org.uk/database/artefacts/record/id/181058,SUSS-45EEB0,,"Roman coins from the Portable Antiquities Scheme",ric.2.hdn.975b,ric.2_3(2).hdn.881
https://finds.org.uk/database/artefacts/record/id/224361,SF-A41513,,"Roman coins from the Portable Antiquities Scheme",ric.2.hdn.577B,ric.2_3(2).hdn.242
https://finds.org.uk/database/artefacts/record/id/22606,SOMDOR220,,"Roman coins from the Portable Antiquities Scheme",ric.2.hdn.85b,ric.2_3(2).hdn.394
https://finds.org.uk/database/artefacts/record/id/240230,LEIC-7AB954,,"Roman coins from the Portable Antiquities Scheme",ric.2.hdn.577B,ric.2_3(2).hdn.242
https://finds.org.uk/database/artefacts/record/id
@ewg118
ewg118 / test.geojson
Last active May 5, 2020 19:33
test geojson polygon
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.