...
- VirtualCollectionRDF.title
- VirtualCollectionRDF.description
- VirtualCollectionRDF.size (NOTE: Defined in Collections ontology. Is there an equivalent in the ORE ontology?)size
- VirtualCollectionRDF.visibility (NOTE: ' Visibility' implementation is TBD.)
Challenges
Example Query
Code Block | ||
---|---|---|
| ||
# _VIRTUAL_COLLECTION_URI_ = "http://localhost:3000/individual/vc123"
SELECT ?title ?description ?size ?visibility
WHERE
{
<http://localhost:3000/individual/vc123> <http://purl.org/dc/elements/1.1/title> ?title .
<http://localhost:3000/individual/vc123> <http://purl.org/dc/elements/1.1/description> ?description .
<http://localhost:3000/individual/vc123> <http://purl.org/dc/elements/1.1/size> ?size .
<http://localhost:3000/individual/vc123> <http://purl.org/dc/elements/1.1/visibility> ?visibility .
} |
Notes
- This should be fairly straightforward query that matches a single Virtual Collection.See notes inline with Data Returned list
Questions
- size is not currently defined in VirtualCollectionRDF because I'm modeling the ORE ontology. It is defined in the Collections ontology. Is there an equivalent in the ORE ontology?
- The implementation of visibility (i.e., PUBLIC, PRIVATE, SHARED) has not yet been fully designed.
- From the SPARQL doc, it appears that if any one of the selected 'objects' is not defined for a virtual collection, then it will not be included in the results. I have not tested this.
...
Get List of Virtual Collections with Pagination
...
- VirtualCollectionRDF.title
- VirtualCollectionRDF.description
- VirtualCollectionRDF.size (NOTE: Defined in Collections ontology. Is there an equivalent in the ORE ontology?)
- VirtualCollectionRDF.visibility (NOTE: ' Visibility' implementation is TBD.)
Challenges
- How does SPARQL handle sorting?
- How does SPARQL track paginated results? How does SPARQL specifying track tokens for retrieving the next set of search results?
- The metadata involved in the search query and in the returned result are fairly straightforward.
- See notes inline with Data Returned list.
...
- VirtualCollectionRDF.title
- VirtualCollectionRDF.description
- VirtualCollectionRDF.size (NOTE: Defined in Collections ontology. Is there an equivalent in the ORE ontology?)
Challenges
- Same as for "Owned by Me and Sorted by Collection Name"
...