Skip to content

Instantly share code, notes, and snippets.

View jermnelson's full-sized avatar

Jeremy Nelson jermnelson

View GitHub Profile
@jermnelson
jermnelson / glossary.md
Last active August 1, 2018 20:45
Library Technology Glossary

Library Technology Glossary

  • Access Points are the software "hooks" in the library catalog where patrons are able to search to look up the item. Typical Access Points include author, title, and subject. With the advent of Discovery Layers/Systems, more of the MARC records is exposed for searching.
  • BIBFRAME, short for bibliographic framework, is a Library of Congress sponsored vocabulary for modeling bibliographic entities and relationships for library physical and digital collections.
  • Discovery Layers/Systems a catagory of library systems with Blacklight being one of the most
    popular, that provide a faceted search built upon full-text search indexing using Solr or Elasticsearch.
@prefix bf: <http://id.loc.gov/ontologies/bibframe/> .
@prefix cc_scholar: <https://www.coloradocollege.edu/ns/scholar/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://catalog.coloradocollege.edu/8adbad68-d611-11e7-bb49-005056c00008> a cc_scholar:Research ;
rdfs:label "Jeremy Nelson's Research Interests"@en ;
@jermnelson
jermnelson / myth-map.ttl
Last active November 2, 2017 20:46
Theseus and the Minotaur RDF Graph
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://sws.geonames.org/6697802/> a schema:AdministrativeArea ;
schema:geo [ a schema:GeoCoordinates ;
@jermnelson
jermnelson / .gitignore
Last active April 1, 2016 21:08
DPLA JSON to Redis Protocol Script
*.swp
*.resp
@jermnelson
jermnelson / Dockerfile
Created July 7, 2015 15:27
Adds Elasticsearch war to Docker image, source for default image of jermnelson/semantic-server-base
FROM jermnelson/semantic-server-core
MAINTAINER "Jeremy Nelson <jermnelson@gmail.com>"
# $CATALINE_HOME is defined in source image
COPY webapps/elasticsearch.war $CATALINA_HOME/webapps/elasticsearch.war
@jermnelson
jermnelson / Dockerfile
Last active August 29, 2015 14:24
Dockerfile for Semantic Server Backend using Tomcat as the application server with Fedora 4, Blazegraph deployed as webapps. This gist builds the jermnelson/semantic-server-core Docker images
FROM java:8-jre
MAINTAINER "Jeremy Nelson <jermnelson@gmail.com>"
ENV CATALINA_HOME /usr/local/tomcat
ENV PATH $CATALINA_HOME/bin:$PATH
RUN mkdir -p "$CATALINA_HOME"
WORKDIR $CATALINA_HOME
# see https://www.apache.org/dist/tomcat/tomcat-8/KEYS
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \
We couldn’t find that file to show.
@jermnelson
jermnelson / .a_name
Last active August 29, 2015 14:18
BIBCAT Prospector Ingestion Class
Prospector MARC21 Ingester
@jermnelson
jermnelson / default
Created March 18, 2015 19:01
BIBCAT nginx default configuration file
# BIBCAT nginx default configuration using uwsgi socket
# for bibframe-catalog
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /usr/share/nginx/html;
index index.html index.htm;
@jermnelson
jermnelson / marc2dc.py
Created March 11, 2015 16:09
Command-line script for converting MARC21 to Dublin Core XML
"""Python script for converting MARC21 to Dublin Core XML
Usage:
Command-line
$ mkdir output_xml
$ cp marc2dc.py output_xml/.
$ cd output_xml
$ python marc2dc.py --marc E:\Research\test-marc-file.mrc
"""