Fixes #11240#note-21: changed names of provenance graph and properties to be URLs instead of plain strings.
When adding json extras that are repeatable URLs, add them as separate field with labels in the form label (%d) so they appear in different table row and are clickable. Otherwise they look like clickable strings, but they are just a concatenation of URI that is not resolvable. Done for datasets, to be done for other types of entities .
Get timespan with "timewithin" (for CulturaItalia temporal coverages) and exclude specific coverages from the generic "subject"
Added has type labels for actors
For Actor's contact points, add their URIs if they have no labels.
Fixed rules for the generation of a name suitable for ckan.
Renamed parthenos oranization to parthenos_registry and dariah-de consortium as agreed for the catalogue
Renamed org id (i.e. source) for DARIAH IT based on https://support.d4science.org/issues/12287#note-5
throws exception if the data source name cannot be mapped into a ckan org by the CKANUtils class.
Removed unused group template
Setting owner_org based on the datasource name
New names for system:type and ckan groups correspond to maintaining RI consortium, hence only RI_Projects will have one.
Let's return blank string upon error instead of throwing exception
Fixed web param name and ignoring webmvc test
Added new timeout parameter for anytime query
today the resourcetype is not required...
Using delete method
removed old commented code
registry delete requires the type of entity
Removed/deprecated unused methods
According to george's feedback, base types to be considered for the JRR are {Project, Service, Actors, Datasets, Software, Physical Collections, Standards} i.e. {PE35_Project, PE1_Service, E39_Actor, PE18_Dataset, D14_Software, E78_Collection, E29_Design_or_Procedure)....
lets' put the title string in crm:P102_has_title
Add extra field only if its value is not blank
Updated license mapping for catalogue based on input from LRE Map
method for languages
specify UTF-8 for URL decoding
Removed TODOs
CurationPlans are linked to CuratingServices only, not to Things.
Double decoding for URLs like http://parthenos.d4science.org/handle/Parthenos/REG/Dataset/Appellation/Isidore%2520Dataset
handle/ has length 7
fixed generation of catalogue name
New methods to get subjects with pagination given a datasource API
Retry in case of known NullPointerException on the catalogue
Do not log 200 status
multiple descriptions
Get adopters of a curation plan
multiple notes
Support multiple has_note
removed duplicate entry
Trying to get relationship (uses/usedby) between Dataset and Software
Pass datasource name for creating groups
handling groups with datasourcename
Trying to map to ckan licenses
fixed timespan for projects
UnsupportedOperationException instead of deprecated NotImplementedException
Do not eregister all resources in a given RDF: only the resource whose URI is in the header/objIdentifier
including PE28_Curation_Plan in catalogue registration
fixed compilation problem due to method renaming
Multiple sources for contact point + ignore groups because they are not registered for a reason I still do not get
Added method to get provider Uri and competences are multiple, not one
better mapping to ckan for Datasets
Commented unused extra fields
Mapping to ckan refined for PE1_Services
Better mapping Projects into the catalogue
getLabel does not throw NullPointer when the resource is null
Nicer json for Actors on the catalogue
Updated crmdig namespace
log when groups cannot be created
just ordering
We do not want to register E55_Types
Added todo for condition of use
refactoring methods for coverages
Added missing iterator
Reuse getTitle method on providers
The activitytype must be taken explicitly by URI prefix on types
Dropped authorization from mapping
The availability type must be taken explicitly by URI prefix on types
Bypassing Query and QueryEngineFactory, otherwise we cannot use the inference rules
Need to use inference rules also in /subjectsWithType method
some logs to INFO
Log when the resource could not be registered in the catalogue and hence we get a blank uuid
Loggin queries that returned 504 GatewayTimeout
ENsure that also resource names are compliant to the rules of the catalogue
based on the sparql templates competency is a string, in the model it is a PE36_Competency_Type
Let\s check if we do not get the following warning at client side by setting the response status in void GET methods that write directly on the output stream. The warning is: 'org.springframework.http.converter.json.MappingJackson2HttpMessageConverter- Failed to evaluate serialization for type [void]: java.lang.IllegalStateException: Failed to instantiate standard serializer (of type com.fasterxml.jackson.databind.ser.std.NullSerializer): Class com.fasterxml.jackson.databind.ser.BasicSerializerFactory can not access a member of class com.fasterxml.jackson.databind.ser.std.NullSerializer with modifiers "private"'
better error logging
removed todo, because I did it
Removed deprecated classes
logging
handle httpstatus properly
Added method to delete a resource by uuid
Getting the item title from the label if a proper title cannot be found
Isolate the registration on the catalogue temporarly
better regex to have alphanumeric item and group names for the catalogue
Basic implementation for E55 and E29 to the catalogue
Added TODO to remember in the near future about the error handling
Let's get also the maintaining RI as provider (so they will also be added as groups)
Registering providers as catalogue groups
Better try using InputStream...
Debugging "org.apache.jena.riot.RiotNotFoundException: Not found" and related(?) parsing issue
Let's not log all queries, just the template name
fixed commas
Better to set the title and ensure the group name complies with the catalogue requirements
Ensure the provider names are already registered as catalogue groups
Curates relationships
curation relationships
Fixed hosted_by
re-using getLabel method
Because of how we construct the RDF that we read from Virtuoso (see sparql templates), the title is always a literal.
More metadata for the catalogue based on the minimal metadata (https://docs.google.com/spreadsheets/d/1JAvI9AYP4yn6Lj-ABvzA3xqm4CpOulEeuHXmPTrs6so/edit#gid=1550301525)