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

Quilt module: add sub-graphs for collection members, collections a proxy is part of, related media, and related topics #109

Closed
nevali opened this issue Mar 13, 2017 · 2 comments

Comments

@nevali
Copy link
Member

nevali commented Mar 13, 2017

/UUID/members
/UUID/collections
/UUID/media
/UUID/related

Internal tracking: RESDATA-1124

@nevali nevali changed the title Quilt module: Quilt module: add sub-graphs for collection members, collections a proxy is part of, related media, and related topics Mar 13, 2017
@nevali
Copy link
Member Author

nevali commented Mar 14, 2017

Quilt should take the following approach:

  1. Only used cached data when not fetching a sub-graph; just generate summary information (as per Quilt module: if cached data is not available, generate what we can from the index #106)
  2. If the request is for a sub-graph (e.g., explicit request for members) or the sub-graph is not present in the cache (because it's not been generated by Twine [yet]), perform a SQL query as appropriate.

Sub-graphs are modelled along the lines of (formatted as TriG):

</479a591a520942dd8f0845b3123fdf07> {
  </479a591a520942dd8f0845b3123fdf07>
    a foaf:Document ;
    rdfs:seeAlso </479a591a520942dd8f0845b3123fdf07/media> .

  </479a591a520942dd8f0845b3123fdf07#id>
    a frbr:Work ;
    rdfs:label "The Foundation of the National Health Service"@en ;
    mrss:player <https://www.youtube.com/embed/0pnEMBgEG24?list=PLcvEcrsF_9zI2dNGU9uUOWo9tenQi93UG> ;
    wrds:isDescribedBy </479a591a520942dd8f0845b3123fdf07/media> .

}

</479a591a520942dd8f0845b3123fdf07/media> {

  <479a591a520942dd8f0845b3123fdf07/media>
    a void:Dataset ;
    dct:isPartOf </479a591a520942dd8f0845b3123fdf07> ;
    rdfs:label "Media related to the creative work 'The Foundation of the National Health Service'"@en .

  </479a591a520942dd8f0845b3123fdf07#id>
    a frbr:Work ;
    rdfs:label "The Foundation of the National Health Service"@en ;
    olo:Slot </479a591a520942dd8f0845b3123fdf07/media#a7a764527fbc45daa68c79220f867684> .

}

@nevali
Copy link
Member Author

nevali commented Nov 23, 2017

Superseded by patchwork issue.

@nevali nevali closed this as completed Nov 23, 2017
@nevali nevali added the invalid label Nov 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant