Skip to content

Instantly share code, notes, and snippets.

View sterkenburgsara-zz's full-sized avatar

Sara Sterkenburg sterkenburgsara-zz

  • Vanderbilt University
  • Nashville, TN
View GitHub Profile
@sterkenburgsara-zz
sterkenburgsara-zz / syriaca-bibl-ner-test.xq
Created September 18, 2015 21:37
Mining Syriaca database for bibl sources and matching them on OCLC Search API
xquery version "3.1";
declare namespace tei="http://www.tei-c.org/ns/1.0";
let $doc := fn:doc("draft-data-works/251.xml")
let $term := $doc//tei:bibl[@xml:id="bibl251-9"]/text()
let $search-term := fn:substring-after($term, ".")
let $final-search-term := fn:encode-for-uri(fn:normalize-space($search-term))
let $query := fetch:text("
http://www.worldcat.org/webservices/catalog/search/opensearch?q="||$final-search-term||"&wskey=[insert-key]")
xquery version "3.1";
declare namespace marc="http://www.loc.gov/MARC21/slim";
let $records := fn:doc("https://raw.githubusercontent.com/sterkenburgsara/MARCXML-projects/master/Artists'%20Books/artistsbk.xml")//marc:collection/marc:record
let $csv :=
element recordset{
for $individual in $records
let $header := $individual/marc:controlfield[@tag='008']/text()
@sterkenburgsara-zz
sterkenburgsara-zz / ArtistsBooksMARCXML_CSV.xq
Last active December 14, 2015 19:59
ArtistsBooksMARCXML_CSV
xquery version "3.0";
declare namespace marc="http://www.loc.gov/MARC21/slim";
let $records := fn:collection("artistsbk")//marc:collection/marc:record
let $csv :=
element recordset{
for $individual in $records
= Roosevelt Family Geneaology
:neo4j-version: 2.1.0
:author: Suellen Stringer-Hye
:twitter: @suellenshye
:tags: domain:education, use-case:geneaology
== Purpose of Graph
@sterkenburgsara-zz
sterkenburgsara-zz / curator-workshops.md
Last active August 29, 2015 14:07
Documentation for Exhibition Curator Workshops

Workshops for Exhibition Curators

  • November 11-13, 2014

The 2014-2015 exhibition season is upon us! As the selected curators for this season, you will be the stewards of your given topics: responsible for researching, selecting, describing, and designing your portion of the overall exhibition in the coming year. This three-day workshop series will aim to familiarize you with a few tools that will help us track and manage digital description. This will help to streamline our process and allow us to have a single, updated point of reference for all metadata edits and changes in the coming year.

These workshops will not presuppose any prior XML or markup knowledge.

#Schedule:

  • Schedule is subject to change
@sterkenburgsara-zz
sterkenburgsara-zz / roosevelt
Last active August 29, 2015 14:07 — forked from stardustnrust/roosevelt
Neo4j Data on Roosevelt Family Genealogy for Cypher Queries
= Roosevelt Family Genealogy
== Modeling the Graph
//graph
=== OUR DATASET
[source, cypher]
<postcard>
<unitdate>
<date type="single">Oct. 13</date>
</unitdate>
<location>Küsnacht</location>
<body>
<salutation>My dear Jelliffe,</salutation>
<p>It is nice to hear of you again after many years.</p>
<p>I just want to tell you that I see no point in sending my papers to your journal.
You surely know that I am a mystic according to American standards. So I think it will