Changes between Initial Version and Version 1 of cypher_queries


Ignore:
Timestamp:
Nov 8, 2015, 10:24:01 PM (9 years ago)
Author:
arussell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • cypher_queries

    v1 v1  
     1==Cypher examples for use in Neo4j Browser==
     2
     31)      List of all titles for an author. This should include variant versions for a title.
     4--MATCH (texts:TEXT)-[was_created_by]->(author:PERSON)
     5--WHERE author.name_translit = "Šihāb al-Dīn Abū al-ʿAbbās Aḥmad ibn Rajab ibn Ṭaybuġā al-Majdī al-Šāfiʿī"
     6--RETURN author, texts
     72)      List of all witnesses for a title (the list should distinguish which witnesses go with a particular title version)
     8--MATCH (witnesses:WITNESS)-[is_part_of]->(title:TEXT)
     9--WHERE title.label = "Risāla fī al-barāhīn ʿalā masāʾil al-jabr wa-ʾl-muqābala"
     10--RETURN title, witnesses
     11
     123)      List of all commentaries and super-commentaries on a given title
     13--MATCH (texts:TEXT)-[rel:is_commentary_on*]->(primary:TEXT)
     14--WHERE primary.label = "Kitāb al-Išārāt wa-ʾl-tanbīhāt"
     15--RETURN primary, texts
     16
     174)      List of all authors who wrote in connection with a particular title (commentaries, super-commentaries)
     18--MATCH (authors:PERSON)<-[was_created_by]-(commentaries:TEXT)-[rel:is_commentary_on*]->(primary:TEXT)
     19--WHERE primary.label = "Kitāb al-Išārāt wa-ʾl-tanbīhāt"
     20--RETURN primary, commentaries, authors
     21
     225)      List of all people who had other “roles” associated with a title (e.g. copyists , owners, patrons, teachers, students, etc.)
     23  * currently no specialised interface (PERSON -*- TITLE)
     24
     256)      Bring up people associated with a particular title (not just one huge list of people, but be able to distinguish author, student, teacher)
     26  * see 5)?
     27
     287)      Bring up people associated with a particular witness (not just one huge list of people, but be able to distinguish owner, say, from commentator)
     29  * currently no specialised interface (PERSON -*- WITNESS)
     30
     318)      Bring up all the works dedicated to a particular “patron” (e.g., Ulugh Beg)
     32  * possible with OpenMind, Drupal and Popoto (TEXT was-dedicated-to PERSON)
     33
     349)      Bring up all owners of a particular codex
     35  * possible with OpenMind, Drupal and Popoto (PERSON <was-owned-by CODEX)
     36
     3710)     Bring up all codices owned by a single person
     38  * possible with OpenMind, Drupal and Popoto (CODEX was-owned-by PERSON)
     39
     4011)     Create a Table of contents for a particular codex
     41  * list of witnesses possible with OpenMind, Drupal and Popoto (WITNESS part-of CODEX)
     42
     4312)     Bring up all works studied in a madrasa (institution event)
     44
     4513)     Search for specific words in incipits, explicits and colophons
     46  * full text search necessary
     47
     4814)     Find copying dates in a certain range