== ATLA Scholarly Communications
:neo4j-version: 3.1
:author: Clifford Anderson
:twitter: andersoncliffb

=== An Initial Data Model for Scholarly Communications in Theology and Religious Studies

//setup
[source,cypher]
----
CREATE 

// ATLA a.k.a "The Hub"
(atla:ATLA {name:"American Theological Library Association" }),

// Institutions
(ptsem:Institution {name:"Princeton Theological Seminary"}),
(drew:Institution {name:"Drew Theological School"}),
(ustpaul:Institution {name:"Saint Paul University"}),
(luthersem:Institution {name:"Luther Seminary"}),
(vanderbilt:Institution {name:"Vanderbilt University"}),

// Faculty
(cba:Faculty {name: "Clifford B. Anderson"}),

// Article


(pts)-[:Member]->(atla),
(drew)-[:Member]->(atla)

RETURN *
----

Render results as a graph with: `//graph_result` like this:

//graph_result

Or the full graph with `//graph`

=== Query the Graph to Show All the Things You Like

[source,cypher]
----
MATCH (you:Person {name:"You"})-[like:LIKE]->(liked)
RETURN you.name AS who, type(like) AS how, liked.name AS what
----

Render the results as a table with: `//table` like this:

//table

NOTE: This document is a GraphGist itself, so you can use the green https://github.com/neo4j-contrib/gists/blob/master/meta/Home.adoc[Page Source,role=label] button on top of the page to see the original AsciiDoc document.