Skip to content

Instantly share code, notes, and snippets.

View suellenstringer-hye's full-sized avatar

Suellen Stringer-Hye suellenstringer-hye

  • Vanderbilt University Library
  • Nashville, TN
View GitHub Profile
@suellenstringer-hye
suellenstringer-hye / 01-access-collection.xqy
Created March 24, 2017 20:19 — forked from CliffordAnderson/01-access-collection.xqy
XQuery Samples for Blue Mountain Project
xquery version "3.1";
declare namespace tei = "http://www.tei-c.org/ns/1.0";
fn:collection("bluemountain-transcriptions")/tei:TEI
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@suellenstringer-hye
suellenstringer-hye / books.csv
Last active January 20, 2017 17:28 — forked from CliffordAnderson/books.csv
Sample CSV for XQuery Book
Author Title ISBN Binding Year Published
Jeannette Walls The Glass Castle 074324754X Paperback 2006
James Surowiecki The Wisdom of Crowds 9780385503860 Paperback 2005
Lawrence Lessig The Future of Ideas 9780375505782 Paperback 2002
Larry Bossidy, Ram Charan, Charles Burck Execution 9780609610572 Hardcover 2002
Kurt Vonnegut Slaughterhouse-Five 9780791059258 Paperback 1999
Vladimir Nabokov Lolita 87965467890 Hardback 1956
Somebody Vonnegut is great Paperback 2017
@suellenstringer-hye
suellenstringer-hye / 0_reuse_code.js
Created January 13, 2017 20:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@suellenstringer-hye
suellenstringer-hye / gist:3515b57f3a77b4057732
Last active February 5, 2016 16:32 — forked from brownht1/gist:807d996c35de219a806d
Artists Books: mentor as a property
= Selection of Artists' Books from Vanderbilt University's Southern Presses
=== OUR DATASET
This collection is based on 240 of Vanderbilt University's artists' books published in the "South" (defined using the U.S. Census Bureau's definition). The gist is a part of a Vanderbilt University Dean Fellows project by Haley Brown.
[source, cypher]
----
CREATE
//People

#Scholarly Communications ##Workshop Series (Fall 2015)

###Sessions:

  • 9/18, 25; 10/2, 9, 23, 30; 11/6, 13, 20; 12/4

###Introduction to GIS using ArcGIS Online ####Friday, DATE

  • Lindsey Fox
match (a {name:"Flannery O\'Connor"}),(c:Letter {date:1950}),(b {name:"Brainerd Chaney"})
create c-[:To]->b
--------------------------------------------
DIVINITY
LOAD NODES:
LOAD CSV WITH HEADERS FROM "https://raw.githubusercontent.com/EdWarga/VUIR-Data-Project/master/Divinity/Article-node.csv" AS csvLine
CREATE (a:Article { id: csvLine.ArtID, title: csvLine.Title, year: toInt(csvLine.PubYear) })
LOAD CSV WITH HEADERS FROM "https://raw.githubusercontent.com/EdWarga/VUIR-Data-Project/master/Divinity/Author-node.csv" AS csvLine
CREATE (p:Person { id: csvLine.AutID, name: csvLine.Author })