Skip to content

Instantly share code, notes, and snippets.

@johardi
Last active May 19, 2020 17:12
Show Gist options
  • Save johardi/3b47ae1fc7f354adc625893cec3e1e17 to your computer and use it in GitHub Desktop.
Save johardi/3b47ae1fc7f354adc625893cec3e1e17 to your computer and use it in GitHub Desktop.
Running the ClassFrame Query

Running the Frame Query

STEP 1

In a Terminal:

Run the SSH Tunneling command:

ssh -L 7474:localhost:7474 -L 7687:localhost:7687 <username>@13.79.232.10

Open a Web browser and enter http://localhost:7474 to open the Neo4j Browser.

STEP 2

In Neo4j Browser:

Copy the the value from the projectId, branchId and ontologyDocumentId property.

MATCH (p:Project)-->(b:Branch)-->(o:OntologyDocument) RETURN *

STEP 3

In Neo4j Browser:

Run the Cypher queries below.

Class Frame

Parameters:

Query string: https://gist.github.com/johardi/7e0754fabcc566c4721fc4386ee4023b

Object Property Frame

Parameters:

Query string: https://gist.github.com/johardi/d948236cc87f2349e49d02a2354e2971

Data Property Frame

Parameters:

Query string: https://gist.github.com/johardi/ab80bb35018a53f145789c2a0315712b

Annotation Property Frame

Parameters:

Query string: https://gist.github.com/johardi/b91440834d178e0aa19e164af5e4fde6

Named Individual Frame

Parameters:

Query string: https://gist.github.com/johardi/bf2c1f013089b103ee54a4eeefca73e3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment