Title (goal) | live querying of object graph |
---|---|
Primary Actor | script or program acting against the repository |
Story | Ingest and update routines often have to determine where in the graph of relationships to place a new (or updated) object, in doing so, querying a synchronously updated index of the relationships is necessary. For example:
|
Comments | In previous versions of fedora, having the resource index synchronized caused a huge performance hit, but if updates weren't synchronized, the most common use cases would fail in unpredictable ways. One query might not pick up recent changes, then the next one would, even with only a single process running against fedora. |
Querying unidirectional relationships take the following form and seem to work in the alpha-4 release.
Code Block |
---|
SELECT ?s WHERE { ?s <http://fedora.lib.virginia.edu/relationships#follows> <http://localhost:8080/rest/firstObject> } |