Conventions used
There are several text conventions used throughout this book.
Code in text
: Indicates code words in the text, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “we are using the apoc
procedure to add EncounterClass
to an encounter node. Since we are trying to add labels dynamically, we have to use the apoc
option.”
A block of code is set as follows:
CREATE (p {name: 'Tom'}) RETURN p
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold: “The Cypher query looks like this:
MATCH (d:Drug)<-[:HAS_DRUG]-()<-[:HAS_ENCOUNTER]-(p) WITH DISTINCT d, p WITH d.description as drug, count(p) as patients WHERE patients > 100 RETURN drug, patients
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “In particular, the addition of a new Encounter node and the HAS_END relationship are a bit different from how we approach data in the RDBMS world.”
Tips or important notes
Appear like this.