Skip to content

Instantly share code, notes, and snippets.

Ethan Gruber ewg118

  • American Numismatic Society
  • Charlottesville, Virginia
Block or report user

Report or block ewg118

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ewg118
ewg118 / railroad-trespassing.csv
Created Jan 10, 2020
Citations for railroad trespassing in Charlottesville, georeferenced, 1997-2020
View railroad-trespassing.csv
Address Coordinates City Date-Time Date
600 BRANDON AVE 38.029233,-78.504678 Charlottesville 1998-02-24T10:53:00Z 1998-02-24
100 GARRETT ST 38.028772,-78.482812 Charlottesville 1998-08-26T01:15:00Z 1998-08-26
100 GARRETT ST 38.028772,-78.482812 Charlottesville 1998-08-26T11:15:00Z 1998-08-26
RR TRACKS UNDER JEFFERSON PK AVE 38.0288016,-78.5088788 Charlottesville 1999-04-02T00:33:00Z 1999-04-02
RR TRACKS UNDER JEFFERSON PK AVE 38.0288016,-78.5088788 Charlottesville 1999-04-02T00:35:00Z 1999-04-02
RR TRACKS UNDER JEFFERSON PK AVE 38.0288016,-78.5088788 Charlottesville 1999-04-02T00:35:00Z 1999-04-02
RR TRACKS UNDER JEFFERSON PK AVE 38.0288016,-78.5088788 Charlottesville 1999-04-02T00:35:00Z 1999-04-02
RR TRACKS UNDER JEFFERSON PK AVE 38.0288016,-78.5088788 Charlottesville 1999-04-02T00:39:00Z 1999-04-02
1159 N EMMET ST 38.05152,-78.50217 Charlottesville 1999-04-17T16:15:00Z 1999-04-17
@ewg118
ewg118 / monogram-letters.sparql
Created Jan 8, 2020
Example monogram query for letters
View monogram-letters.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 / cville_train_track_arrests.csv
Created Dec 20, 2019
Arrests since 1997 of walking near the train tracks in Charlottesville, VA
View cville_train_track_arrests.csv
Address City Date
Charlottesville 7/29/1997 0:01
600 BRANDON AV Charlottesville 2/24/1998 10:53
100 BK GARRETT ST Charlottesville 8/26/1998 1:15
100 BK GARRETT ST Charlottesville 8/26/1998 11:15
RR TRACKS UNDER JEFFERSON PK AV Charlottesville 4/2/1999 0:33
RR TRACKS UNDER JEFFERSON PK AV Charlottesville 4/2/1999 0:35
RR TRACKS UNDER JEFFERSON PK AV Charlottesville 4/2/1999 0:35
RR TRACKS UNDER JEFFERSON PK AV Charlottesville 4/2/1999 0:35
RR TRACKS UNDER JEFFERSON PK AV Charlottesville 4/2/1999 0:39
@ewg118
ewg118 / kerameikos-vase.rdf
Created Oct 25, 2019
A single vase from the Indianapolis Museum of Art mapped from Linked Art JSON-LD to RDF for Kerameikos (including ARIADNE-compliant findspot model)
View kerameikos-vase.rdf
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:edm="http://www.europeana.eu/schemas/edm/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:kid="http://kerameikos.org/id/" xmlns:void="http://rdfs.org/ns/void#" xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:kon="http://kerameikos.org/ontology#" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:crmsci="http://www.ics.forth.gr/isl/CRMsci/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:crmgeo="http://www.ics.forth.gr/isl/CRMgeo/" xmlns:crmarchaeo="http://www.cidoc-crm.org/cidoc-crm/CRMarchaeo/"
xmlns:crm="http://www.cidoc-crm.org/cidoc-crm/">
<crm:E53_Place rdf:about="http://www.wikidata.org/entity/Q931172">
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
<skos:exactMatch rdf:resource="http://vocab.getty.edu/tgn/7015539"/>
@ewg118
ewg118 / test-findspots.sparql
Last active Oct 25, 2019
Querying direct or parent findspot coords
View test-findspots.sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX crmgeo: <http://www.ics.forth.gr/isl/CRMgeo/>
PREFIX crmsci: <http://www.ics.forth.gr/isl/CRMsci/>
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 kid: <http://kerameikos.org/id/>
PREFIX kon: <http://kerameikos.org/ontology#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ewg118
ewg118 / wikidata-hier.sparql
Created Oct 18, 2019
Geographic hierarchy and coords in Wikidata for Winchester, England
View wikidata-hier.sparql
SELECT ?parent ?parentLabel ?coordinate WHERE {
wd:Q172157 wdt:P131+ ?parent.
?parent p:P625/ps:P625 ?coordinate
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en"
}
}
View findspot-linked-art.json
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "https://finds.org.uk/database/artefacts/record/id/975239",
"type": "HumanMadeObject",
"_label": "WILT-5C537D",
"was_found_by": {
"id": "http://example.org/discovery/1",
"type": "Discovery",
"specific_technique": [
{
@ewg118
ewg118 / linked-art-ariadne.ttl
Last active Oct 16, 2019
Archaeological object with a findspot
View linked-art-ariadne.ttl
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX geo: <http://www.ics.forth.gr/isl/CRMgeo/>
PREFIX arch: <http://www.cidoc-crm.org/cidoc-crm/CRMarchaeo/>
PREFIX sci: <http://www.ics.forth.gr/isl/CRMsci/>
<https://finds.org.uk/database/artefacts/record/id/975239> a crm:E22_Man-MadeObject ;
sci:O19i_was_object_found_by ?encounter .
?encounter a sci:S19_Encounter_Event ;
crm:P7_took_place_at ?place ;
@ewg118
ewg118 / linked-art.rdf
Created Sep 27, 2019
A coin in the ANS after having been harvested from its Linked Art JSON-LD serialization in the Nomisma.org XForms back-end
View linked-art.rdf
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:nm="http://nomisma.org/id/" xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:un="http://www.owl-ontologies.com/Ontology1181490123.owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:void="http://rdfs.org/ns/void#" xmlns:svcs="http://rdfs.org/sioc/services#"
xmlns:edm="http://www.europeana.eu/schemas/edm/" xmlns:nmo="http://nomisma.org/ontology#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:doap="http://usefulinc.com/ns/doap#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:crm="http://www.cidoc-crm.org/cidoc-crm/">
<edm:WebResource rdf:about="http://images.numismatics.org/collectionimages%2F19001949%2F1944%2F1944.100.76933.obv.noscale.jpg/full/!400,400/0/default.jpg">
<svcs:has_service rdf:resource="http://images.numismatics.org/collectionimages%2F190019
@ewg118
ewg118 / non-pleiades-greek-mints.sparql
Created Jul 21, 2019
Greek mints without a Pleiades URI for World Heritage Gazetteer Workshop (many Iberian mints)
View non-pleiades-greek-mints.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#>
You can’t perform that action at this time.