Changes between Version 3 and Version 4 of cypher_queries
- Timestamp:
- Nov 8, 2015, 10:30:57 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypher_queries
v3 v4 3 3 1) List of all titles for an author. This should include variant versions for a title. 4 4 {{{ 5 6 7 5 MATCH (texts:TEXT)-[was_created_by]->(author:PERSON) 6 WHERE author.name_translit = "Šihāb al-Dīn Abū al-ʿAbbās Aḥmad ibn Rajab ibn Ṭaybuġā al-Majdī al-Šāfiʿī" 7 RETURN author, texts 8 8 }}} 9 9 10 10 2) List of all witnesses for a title (the list should distinguish which witnesses go with a particular title version) 11 11 {{{ 12 13 14 12 MATCH (witnesses:WITNESS)-[is_part_of]->(title:TEXT) 13 WHERE title.label = "Risāla fī al-barāhīn ʿalā masāʾil al-jabr wa-ʾl-muqābala" 14 RETURN title, witnesses 15 15 }}} 16 16 17 17 3) List of all commentaries and super-commentaries on a given title 18 18 {{{ 19 20 21 19 MATCH (texts:TEXT)-[rel:is_commentary_on*]->(primary:TEXT) 20 WHERE primary.label = "Kitāb al-Išārāt wa-ʾl-tanbīhāt" 21 RETURN primary, texts 22 22 }}} 23 23 24 24 4) List of all authors who wrote in connection with a particular title (commentaries, super-commentaries) 25 25 {{{ 26 27 28 26 MATCH (authors:PERSON)<-[was_created_by]-(commentaries:TEXT)-[rel:is_commentary_on*]->(primary:TEXT) 27 WHERE primary.label = "Kitāb al-Išārāt wa-ʾl-tanbīhāt" 28 RETURN primary, commentaries, authors 29 29 }}} 30 30