Project

General

Profile

Statistics
| Revision:

# Date Author Comment
51490 25/03/2018 12:56 PM Alessia Bardi

better error logging

51488 25/03/2018 12:54 PM Alessia Bardi

Added crm:P2_has_type for all sparql query templates

51485 24/03/2018 05:11 PM Alessia Bardi

Yes, let's use union everywhere

51484 24/03/2018 05:08 PM Alessia Bardi

Looks like using UNION is much more performant than using OPTIONAL. See http://www.snee.com/bobdc.blog/2014/10/dropping-optional-blocks-from.html

51483 24/03/2018 04:16 PM Alessia Bardi

removed todo, because I did it

51480 24/03/2018 04:15 PM Alessia Bardi

Using specific queries for Software and Dataset: the one for DigitalObject has been deleted as it could not be executed because of timeout exception during tests. I do not want to run such heavy query on the production virtuoso

51479 24/03/2018 01:14 PM Alessia Bardi

Removed deprecated classes

51478 24/03/2018 01:09 PM Alessia Bardi

logging

51477 24/03/2018 01:09 PM Alessia Bardi

handle httpstatus properly

51476 24/03/2018 01:08 PM Alessia Bardi

Added method to delete a resource by uuid

51475 24/03/2018 01:08 PM Alessia Bardi

added missing namespace

51455 23/03/2018 06:15 PM Alessia Bardi

removed wrong } in service sparql template

51452 23/03/2018 05:09 PM Alessia Bardi

Getting the item title from the label if a proper title cannot be found

51445 23/03/2018 05:01 PM Alessia Bardi

Isolate the registration on the catalogue temporarly

51443 23/03/2018 04:51 PM Alessia Bardi

better regex to have alphanumeric item and group names for the catalogue

51442 23/03/2018 04:29 PM Alessia Bardi

Basic implementation for E55 and E29 to the catalogue

51437 23/03/2018 03:43 PM Alessia Bardi

Added TODO to remember in the near future about the error handling

51436 23/03/2018 03:07 PM Alessia Bardi

Let's try to get the providers for all types of resources

51435 23/03/2018 03:06 PM Alessia Bardi

provider must come with at least the title

51433 23/03/2018 03:05 PM Alessia Bardi

Let's get also the maintaining RI as provider (so they will also be added as groups)

51432 23/03/2018 02:56 PM Alessia Bardi

Registering providers as catalogue groups

51429 22/03/2018 07:35 PM Alessia Bardi

Better try using InputStream...

51428 22/03/2018 07:23 PM Alessia Bardi

Debugging "org.apache.jena.riot.RiotNotFoundException: Not found" and related(?) parsing issue

51426 22/03/2018 06:01 PM Alessia Bardi

Added missing dots in sparql templates

51425 22/03/2018 06:01 PM Alessia Bardi

fixed sparql template

51423 22/03/2018 05:48 PM Alessia Bardi

Let's not log all queries, just the template name

51420 22/03/2018 05:39 PM Alessia Bardi

fixed commas

51419 22/03/2018 05:39 PM Alessia Bardi

Better to set the title and ensure the group name complies with the catalogue requirements

51418 22/03/2018 05:34 PM Alessia Bardi

Ensure the provider names are already registered as catalogue groups

51414 22/03/2018 04:59 PM Alessia Bardi

Resolved TODOs in sparql query templates

51413 22/03/2018 04:57 PM Alessia Bardi

removed duplicate line and re-order for haspart rels

51412 22/03/2018 04:55 PM Alessia Bardi

curation plan in sparql template

51411 22/03/2018 04:54 PM Alessia Bardi

subjects and coverages in sparql template

51410 22/03/2018 04:52 PM Alessia Bardi

provided service

51409 22/03/2018 04:50 PM Alessia Bardi

actor members

51403 22/03/2018 12:56 PM Alessia Bardi

has_maintaining_team with optional contact points

51402 22/03/2018 12:53 PM Alessia Bardi

PP1 currently offers

51401 22/03/2018 12:50 PM Alessia Bardi

Curates relationships

51400 22/03/2018 12:37 PM Alessia Bardi

curation relationships

51399 22/03/2018 12:31 PM Alessia Bardi

Fixed hosted_by

51398 22/03/2018 12:06 PM Alessia Bardi

formatting

51397 22/03/2018 12:06 PM Alessia Bardi

re-using getLabel method

51396 22/03/2018 12:02 PM Alessia Bardi

Thanks to sprql template activitytype can be accessed as literal

51395 22/03/2018 11:58 AM Alessia Bardi

Thanks to sparql template service competence can be accessed as a simple label

51394 22/03/2018 11:55 AM Alessia Bardi

Optional rdfs:label in sparql templates

51393 22/03/2018 11:51 AM Alessia Bardi

optional description in sparql templates

51392 22/03/2018 11:50 AM Alessia Bardi

Because of how we construct the RDF that we read from Virtuoso (see sparql templates), the title is always a literal.

51391 22/03/2018 11:43 AM Alessia Bardi

More metadata for the catalogue based on the minimal metadata (https://docs.google.com/spreadsheets/d/1JAvI9AYP4yn6Lj-ABvzA3xqm4CpOulEeuHXmPTrs6so/edit#gid=1550301525)

51390 22/03/2018 10:22 AM Alessia Bardi

Added constants for PARTHENOS_BASE_URL

51374 21/03/2018 02:59 PM Alessia Bardi

crm prefix was unknown, let's use the full URI names fro the types we want to skip

51373 21/03/2018 02:54 PM Alessia Bardi

Let's exclude E55_Type and E41_Appellation, not all entities whose type is not in the parthenos namespace

51372 21/03/2018 02:22 PM Alessia Bardi

resolved TODOs

51370 20/03/2018 07:24 PM Alessia Bardi

Enrich the values to add to a resource in the catalogue

51321 16/03/2018 07:23 PM Alessia Bardi

I think we must use an InfModel to process the rdf before registering it

51319 16/03/2018 05:46 PM Alessia Bardi

Because of https://support.d4science.org/issues/11466, let's not throw exception, but let's try to continue, if possible.
Purge method implemented and tested

51290 15/03/2018 07:27 PM Alessia Bardi

do not log the response from the catalogue

51289 15/03/2018 07:26 PM Alessia Bardi

Fixed parsing of error information in cataloague response

51288 15/03/2018 07:26 PM Alessia Bardi

Ensure the ckan name is lowercase

51287 15/03/2018 06:46 PM Alessia Bardi

throws exception whenever needed

51286 15/03/2018 06:44 PM Alessia Bardi

throws exception

51285 15/03/2018 06:42 PM Alessia Bardi

Checking POST response status code before accessing the response body

51284 15/03/2018 06:37 PM Alessia Bardi

Debugging for unexpected NPE

51276 15/03/2018 04:27 PM Alessia Bardi

Extract the rdf block from the record submitted for registration

51270 15/03/2018 12:28 PM Alessia Bardi

No need to go through jena Model before delivering the response in the output stream

51268 15/03/2018 12:25 PM Alessia Bardi

it sounds like we are passing wrong data to the register method...let's see

51267 15/03/2018 12:24 PM Alessia Bardi

No need to log the endpoint every time

51265 15/03/2018 12:05 PM Alessia Bardi

Can't use jena Query because does not support inference rule, can't use jena HttpEngine because it does not support long queryif we do not use Query: hence let's query with handmade post request to the sparql endpoint.

51258 14/03/2018 06:53 PM Alessia Bardi

Getting unexpected 406 because of wrong sparql query..some debug logs might help

51246 14/03/2018 04:41 PM Alessia Bardi

Fixed freemarker configuration setting

51233 14/03/2018 02:44 PM Alessia Bardi

Using an infModel

51232 14/03/2018 02:44 PM Alessia Bardi

just todo comment

51231 14/03/2018 02:41 PM Alessia Bardi

sparql queries are now freemarker templates where the subjectURL can be injected

51230 14/03/2018 02:35 PM Alessia Bardi

Comments in sparql are identified by #, not //

51229 14/03/2018 02:32 PM Alessia Bardi

Added declaration to use inference rules

51130 09/03/2018 03:58 PM Alessia Bardi

No need to infer in memory: we can have the inference rule run directly on virtuoso

51129 09/03/2018 03:55 PM Alessia Bardi

logging jena package

51126 09/03/2018 03:42 PM Alessia Bardi

Re-order switch cases

51096 08/03/2018 03:45 PM Alessia Bardi

refactoring

51066 07/03/2018 12:05 AM Alessia Bardi

compilation error solved

51065 07/03/2018 12:05 AM Alessia Bardi

Fixed class name: guys..."Resource" is a very unlucky name...

51064 07/03/2018 12:03 AM Alessia Bardi

tostring method

51063 07/03/2018 12:03 AM Alessia Bardi

implemented findInRegistry method

51045 05/03/2018 06:09 PM Alessia Bardi

ByPass QueryBuilder, otherwise the virtuoso pragma are not parsable

51043 05/03/2018 05:04 PM Alessia Bardi

Playing with inference rules on the remote sparql endpoint

51001 01/03/2018 07:23 PM Alessia Bardi

Additional methods needed by the JRR publishing workflow

50939 26/02/2018 06:55 PM Alessia Bardi

Can't find a way to use the DEFINE virtuoso pragma using the jena connector.

50937 26/02/2018 06:48 PM Alessia Bardi

Refactoring and deprecation for registration on catalogue and registry

50928 24/02/2018 04:04 PM Alessia Bardi

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.

50924 23/02/2018 05:06 PM Alessia Bardi

Back with no inference, otherwise we are passing all triples in CIDOC-CRM, DIG and PE, which is not what we want.

50922 23/02/2018 04:57 PM Alessia Bardi

Add inferred info after getting sparql result.

50921 23/02/2018 04:46 PM Alessia Bardi

Back to simple construct

50920 23/02/2018 04:43 PM Alessia Bardi

using lambdas

50917 23/02/2018 04:29 PM Alessia Bardi

Let's try using a VirtGraph

50908 23/02/2018 03:26 PM Alessia Bardi

We should be able to use DEFINE if we use Virtuoso specific classes, see https://www.openlinksw.com/vos/main/Main/VirtJenaSPARQLExample12

50905 23/02/2018 02:41 PM Alessia Bardi

it seems 406 really depends on the DEFINE construct to use inf rules...

50902 23/02/2018 02:22 PM Alessia Bardi

Test: 406 error if I use the inference rules?

50900 23/02/2018 11:09 AM Alessia Bardi

log debug unpublish info

50851 21/02/2018 06:16 PM Alessia Bardi

SPARQL queries

50850 21/02/2018 06:15 PM Alessia Bardi

SPARQL queries that will be used to get the info for the JRR and catalogue

50849 21/02/2018 06:14 PM Alessia Bardi

Removed duplicate creation of rel