agroportal / project-management

Repository used to consolidate documentation about the AgroPortal project and track content related issues.
http://agroportal.lirmm.fr
7 stars 0 forks source link

Clean zombie graph in AgroPortal #630

Open syphax-bouazzouni opened 2 weeks ago

syphax-bouazzouni commented 2 weeks ago

Using the below SPARAL query, we list all the current existent graphs, we should have only the last one.

SELECT DISTINCT ?graph
WHERE {
  GRAPH ?graph {
    ?s ?p ?v.
  }

}

we have this table

syphax-bouazzouni commented 2 weeks ago

For example VT has all this data graphs , 45 | 21 | 12 | 48 | 57 | 18 | 42 | 24 | 69 | 54 | 63 | 51 | 60 | 19 | 55 | 16 | 46 | 22 | 13 | 49 | 58 | 43 | 25 | 64 | 67 | 52 | 61 | 14 | 17 | 20 | 47 | 56 | 23 | 68 | 59 | 53 | 62 | 65 | 44 | 26 | 50 | 41 | 15, where should have only 69 which is the latest submission. And they are not empty graphs image image image

syphax-bouazzouni commented 2 weeks ago

Normally we have this script that should prevent that https://github.com/ontoportal-lirmm/ncbo_cron/blob/master/bin/ncbo_cron#L321, https://github.com/ncbo/ncbo_cron/issues/21