Response samples from the catalogue
Updated dependencies for registry according to Luca's suggestions
refactoring
compilation error solved
Fixed class name: guys..."Resource" is a very unlucky name...
tostring method
implemented findInRegistry method
Testing the registry library
ByPass QueryBuilder, otherwise the virtuoso pragma are not parsable
Playing with inference rules on the remote sparql endpoint
Do not define version numbers when using a spring-boot parent
Additional methods needed by the JRR publishing workflow
Can't find a way to use the DEFINE virtuoso pragma using the jena connector.
throws exception
Refactoring and deprecation for registration on catalogue and registry
For almost every graph we used to return also "concept URLs" like "http://parthenos.d4science.org/handle/Parthenos/REG/Concept/datasettype/metadata"...let's try to avoid them skipping non URL resources and resources whose type is not in the parthenos namespace.
Back with no inference, otherwise we are passing all triples in CIDOC-CRM, DIG and PE, which is not what we want.
Add inferred info after getting sparql result.
Back to simple construct
using lambdas
testing
Fixed duplicate guava dependency
Let's try using a VirtGraph
We should be able to use DEFINE if we use Virtuoso specific classes, see https://www.openlinksw.com/vos/main/Main/VirtJenaSPARQLExample12
it seems 406 really depends on the DEFINE construct to use inf rules...
Test: 406 error if I use the inference rules?
log debug unpublish info
Updated test
SPARQL queries
SPARQL queries that will be used to get the info for the JRR and catalogue
Removed duplicate creation of rel
No Exception to be declared
Use inference rules
instructions to create inference rule based on parthenos model
Let's try to get only the triples where the known resource is subject
Let's throw exceptions!
openaire exporter package is not applicable here :-)
Do not need to import directly jena-core: we have the super-pom
Serialize in XML RDF PLAIN and not ABBREV
Testing RDF XML serialization
cleanup
DESCRIBE query does not work: we do not know what Virtuoso can return. Now we explicitely ask for all triples where a resource is involved as subject or object
Updated properties
intellij file
API that read from Virtuoso
Removed Async annotation
Testing Virtuoso DESCRIBE remote queries.
As George said, let's skip resources with no http URI as they are relevant to give info about another resource, not as a resource itself.
Passing needed args
Fixed json format
Reordering methods
CRM RDFS schema changed URL.
Creating json for the CKAN Catalogue
Fixed after refactoring classes
Need guava 20
getter/setter
Let's skip empty records
Moved to common package
Added client for CKAN Catlaogue and refactoring
log idMap
logs
test
Comment with TODO
let's be super sure we are giving UTF-8 encoded string to the registry
Fixed iteration
Handle the cases when the target of P1_is_identified_by is a string and not a resource
Handle cases when title is not in a resource but is a string
Trying again the sync publishing
Tring another response code
But I am not ready yet to change the return status code
trying to debug the mistry of missing exception logs
testing with a controller that logs the exception
Better close the Jena Model to ensure resources are released.
Check problems with rel registration
Also check for nul source in rels
Scaffolding for the dropRegistry method
code formatting
Registration of curation plans
check for null targets
Escaping ' which seems not to be automatically escaped as expected
Let's log the json that fails
jackson writeString handles escaping on its own and matching IsoControl chars did not help
Trying to explicitely set the UTF-8 encoding
Sleep to make the test work with async controller
Async implementation of the controller
Ensure we do not process services with type PE1_Service only because that's marked as abstract in the registry and we cannot register
Test for illegal chars
Process E55_Types
Let's remove the control chars as well
Quote quotes when writing descriptions and labels
Modified getSpecificType: jena refuses to choose one when there is more than one possibility
log typo fixed
Fixed virtuoso drop and added test
The missing break that caused me an headache
Log and exceptions
cleanup commented code
email cannot be empty
Fixed json for facets
no way the registry can handle '-'