Skip to content

Instantly share code, notes, and snippets.

Avatar

Ethan Gruber ewg118

  • American Numismatic Society
  • Charlottesville, Virginia
View GitHub Profile
@ewg118
ewg118 / die-query.sparql
Created Oct 19, 2020
Get coins connected to a die, either obverse or reverse.
View die-query.sparql
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#>
View newell.ttl
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
<http://numismatics.org/authority/american_numismatic_society>
a <http://www.cidoc-crm.org/cidoc-crm/E74_Group> ;
rdfs:label "American Numismatic Society" .
<http://numismatics.org/authority/newell>
@ewg118
ewg118 / newell.json
Created Sep 25, 2020
Linked Art JSON-LD for Edward Newell
View newell.json
{
"@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 Aug 28, 2020
Denarius Linked Art JSON-LD
View denarius.la.json
{
"@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 Aug 28, 2020
Seleucus I as Linked Art JSON-LD
View seleucus_i.la.json
{
"@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 Aug 28, 2020
Nomisma Mint in Linked Art JSON-LD
View rome.la.json
{
"@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 Jun 19, 2020
Query monograms by letter and get associated mints
View letter-query.sparql
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
Lost River State Park
View test.geojson
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
BnF coins in PCO
View bnf_pco.sparql
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
Alexander coinage with letters, ordered by date
View delta-eta-types.sparql
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 .
You can’t perform that action at this time.