-
Notifications
You must be signed in to change notification settings - Fork 53
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
How to filter with metadataPrefix #31
Comments
I am not sure I understand your question - what class is this, and what are you trying to do? |
I'm trying to implement a DataProvider. So I've created a class that implements the ItemRepository interface (com.lyncode.xoai.dataprovider.repository package). In this interface, there are getItem, getItems and getItemIdentifiers methods. So I've supposed that class where I can get metadata from my data source (a triplestore actually). For instance, the getItem get one parameter named identifier. And there is no metadataPrefix so that I can make a SPARQL query that filter resources based on a specific metadataPrefix. But may be I'm wrong ? |
Hi the metadataPrefix is used to define the format of your response. For example oai_dc. There is this assumption that not all items are displayable within the given format. As so, yes it can be used to folter out items but usually is not used. |
Hi, What do you think? |
I don't see how can we retrieve the metadataPrefix from the request to the methods getItems, getIem and getItemIdentifiers.
I just want to make a query to the data source with the metadataPrefix.
The text was updated successfully, but these errors were encountered: