Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes (June 14) #5

Open
tpetricek opened this issue Jun 14, 2019 · 0 comments
Open

Notes (June 14) #5

tpetricek opened this issue Jun 14, 2019 · 0 comments

Comments

@tpetricek
Copy link
Member

Small things to do next:

  • Fix the integer bug
  • (if it is not too hard) Write Cypher script to export original Dr Who database
  • Write Cypher script to make all the modifications to Dr Who database
  • Why don't we have drWho.Episodes? and also, can we get names for them?
  • Why is there 2x Rory in drWho.Planet.Earth.'COMES_FROM'.'Amy Pond'.LOVES.
  • Why are there multiple things in drWho.Character.Doctor.'ENEMY_OF'

Big things to do - any:

We want to be able to write, say:

drWho.Character.Doctor.'ENEMY_OF'.'[any]'.'APPEARED_IN'.`[any]`.get_properties

And get any enemies of Doctor together with episodes in which they appeared.

First step: changing the structure so that we return any in the list of options:

  • Add [any] to nodes_of_type and linked_from_node
  • Those two currently generate links_from_node links
  • Add links_from_any_node_of_type (maybe nicer name :-)) taking a specific label and returning all links from any node of a given type (label)
  • In /linked_from_node/<node>/<link> we have to handle the case when <node>=[any]

Second step:

  • Modify all code so that every time we let user select type (label), node or label, add the relevant information to the trace

  • Print the body of HTTP request in get_properties to see what you get!

  • Generate traces like:

    node=Derek Jacobi&link=PLAYED&node=Master
    

    When we add any we can do:

    node=Derek Jacobi&link=PLAYED&node=[any]
    
  • Modify get_properties so that it works based on the trace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant