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 / 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": "http://purl.org/heritagedata/schemes/agl_et/concepts/145148",
"took_place_at": {
@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#>
@ewg118
ewg118 / new-bm-vases.sparql
Last active Jun 28, 2019
New ResearchSpace British Museum Greek vase SPARQL query
View new-bm-vases.sparql
PREFIX ecrm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX thes: <http://collection.britishmuseum.org/id/thesauri/>
PREFIX rs: <http://www.researchspace.org/ontology/>
PREFIX bmo: <http://collection.britishmuseum.org/id/ontology/>
PREFIX object: <http://collection.britishmuseum.org/id/object/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
@ewg118
ewg118 / old-bm-vases.sparql
Created Jun 28, 2019
Query for Greek/Roman vases in the old British Museum SPARQL endpoint
View old-bm-vases.sparql
PREFIX bmo: <http://collection.britishmuseum.org/id/ontology/>
PREFIX dcmitype: <http://purl.org/dc/dcmitype/>
PREFIX ecrm: <http://erlangen-crm.org/current/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX object: <http://collection.britishmuseum.org/id/object/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX thes: <http://collection.britishmuseum.org/id/thesauri/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
@ewg118
ewg118 / uvalibrary.csv
Last active Jun 19, 2019
HTTP calls to load a single page for the UVA Library framework (https://www.library.virginia.edu/policies/nondisclosure-clauses-in-licenses/)
View uvalibrary.csv
type URL response
GET https://www.library.virginia.edu/policies/nondisclosure-clauses-in-licenses/ [HTTP/1.1 200 OK 0ms]
GET https://www.library.virginia.edu/bower_components/webcomponentsjs/webcomponents-loader.js [HTTP/1.1 200 OK 0ms]
GET https://static.lib.virginia.edu/js/controllers/libweb.js [HTTP/1.1 200 OK 0ms]
GET https://www.library.virginia.edu/images/icon-32.png [HTTP/1.1 200 OK 0ms]
GET https://www.library.virginia.edu/bower_components/webcomponentsjs/webcomponents-hi.js [HTTP/1.1 200 OK 0ms]
XHRGET https://static.lib.virginia.edu/js/controllers/libweb.js [HTTP/1.1 200 OK 0ms]
XHRGET https://www.library.virginia.edu/src/uvalib-app.html [HTTP/1.1 200 OK 0ms]
XHRGET https://www.library.virginia.edu/bower_components/uvalib-theme/uvalib-ui-element.html [HTTP/1.1 200 OK 0ms]
XHRGET https://www.library.virginia.edu/bower_components/uvalib-theme/uvalib-theme.html [HTTP/1.1 200 OK 0ms]
@ewg118
ewg118 / coin.json
Created Jun 17, 2019
coin JSON-LD example
View coin.json
{
"@context": "https://linked.art/ns/v1/linked-art.json",
"id": "http://numismatics.org/collection/1948.19.2344",
"type": "HumanMadeObject",
"_label": "Silver Coin of Antiochus IV Epiphanes, Antioch, 168 BC - 164 BC 1948.19.2344",
"identified_by": [
{
"type": "Name",
"value": "Silver Coin of Antiochus IV Epiphanes, Antioch, 168 BC - 164 BC 1948.19.2344",
"classified_as": [
@ewg118
ewg118 / nomisma-2015.ttl
Last active Apr 19, 2019
nomisma ontology turtle
View nomisma-2015.ttl
@prefix : <http://nomisma.org/ontology#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@base <http://nomisma.org/ontology#> .
<http://nomisma.org/ontology#> rdf:type owl:Ontology ;
You can’t perform that action at this time.