Note: This is not really a blog post in its own right, just a "cheat sheet" with a fewe useful URLs and some Cypher queries so I will have something handy for "demo any where, any time" during the Museums and the Web 2014 conference.
http://gist.neo4j.org/?7817558
http://gist.neo4j.org/?8640853
http://www.cidoc-crm.org/comprehensive_intro.html
1.
// Get all Class Declarations
MATCH (n) RETURN n
2.
// Get E7 Activity and its friends
MATCH a_path= ((e7)--(friend))
WHERE e7.crm_id = 'E7'
RETURN a_path
3.
// Get E7 Activity and its friends minus its IS_A relationships.
MATCH a_path= ((e7)-[rel]-(friend))
WHERE e7.crm_id = 'E7' AND NOT type(rel) = 'IS_A'
RETURN a_path
4.
// Get E7 Activity and its friends
MATCH a_path= ((e7)--(friend))
WHERE e7.crm_id = 'E7'
RETURN a_path
5.
// Get E41 Appelation and its friends
MATCH a_path= ((e41)--(friend))
WHERE e41.crm_id = 'E7'
RETURN a_path
6.
// Get E41 Appelation and its friends
MATCH a_path= ((e41)-[*2]-(friend))
WHERE e41.crm_id = 'E41'
RETURN a_path