Issue 11459

network agents and relationships to datasets: migrate into registry

11459
Reporter: ahahn
Assignee: ahahn
Type: Task
Summary: network agents and relationships to datasets: migrate into registry
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-06-21 16:54:28.702
Updated: 2013-12-16 17:50:32.448
Resolved: 2013-01-16 12:19:28.874
        
Description: Networks (OBIS, HerpNet,..., but also "resources hosted by ) and their connections to datasets are presently only represented in the index database (resource_network, network_membership). Having been added to the dataset-aware registry, the content of these tables now will have to migrated to the registry, maintained there, and consequently synchronised into the db tables by the HIT.
The "resources hosted by" agent should be auto-generated on first registration of a dataset under a country node.]]>
    


Author: fmendez@gbif.org
Created: 2012-07-11 10:23:09.887
Updated: 2012-07-11 10:23:09.887
        
Migrations scripts are not using at all the following tables: resource_country, resource_network and network_membership. Should we create relations for entities in those tables? or, are those tables used for statistics only?. In case we have to process them in some way, i have several questions:
 1. resource_country: should be interpreted as, Country "OWNS" Dataset? (OWNS is the only relation that fits here.)
 2. network_membership: should be interpreted as, Country "OWNS" Dataset?
 3. resource_network: should we create those networks in the registry?

The relations types we have in this moment are: ENDORSES, OWNS, SERVES,HAS_INSTALLATION and HAS_CONSTITUENT; so, probably we need a new relation type for those elements.

    


Author: ahahn@gbif.org
Created: 2012-07-12 09:53:56.434
Updated: 2012-07-12 09:53:56.434
        
I think in an earlier discussion we decided to migrate them manually, as there are not that many, so that they would not need to be processed. In the current portal, the tables are used at
- http://data.gbif.org/countries/IL: resource_country = dataset contributes to information _about_ country - generated at rollover, not a registry issue
- http://data.gbif.org/datasets/browse/R: resource_network and network_membership (1) = resources "hosted by" (actually: dataset's publisher ENDORSED by) country
- http://data.gbif.org/datasets/browse/O: resource_network and network_membership (2) = data network HAS_CONSTITUENT dataset

The third one is the one we want to model in the registry, where the network is not a country, but a thematic bracket (like VertNet: only some datasets of a number of publishers world-wide belong to it). The second one was a stop-gap solution to be able to show a country's contribution. This table is calculated at rollover, so that the data are still available. It does not need to be translated into the registry.
    


Author: mdoering@gbif.org
Created: 2012-11-05 15:37:23.956
Updated: 2012-11-05 15:37:23.956
        
Talk to Andrea what is the state. Appears to be a dynamic query to ask for datasets owned by orgs from one Node?

Consider adding a method to list all datasets for a node and similar for other registry network entities
    


Author: ahahn@gbif.org
Created: 2012-12-13 11:55:21.555
Updated: 2012-12-13 11:55:21.555
        
a) countries are solved via Nodes and will not become explicit networks on the registry
b) special interest networks like VertNet should be registered and have has_consituents relations to either orgs or datasets. In case of orgs all owned datasets are expected to participate in the network
    


Author: ahahn@gbif.org
Created: 2012-12-13 14:20:13.25
Updated: 2012-12-13 14:20:13.25
        
Re. b): created the following networks and transferred dataset relations from the index db:
BioCASe: http://gbrds.gbif.org/browse/agent?uuid=ec6f7100-8bd0-4db0-9c4c-10c200a964af
MaNIS: http://gbrds.gbif.org/browse/agent?uuid=5f4aabef-4e10-408c-a1a3-463051570156
ORNIS: http://gbrds.gbif.org/browse/agent?uuid=e8fbd857-c988-48e5-954f-6e14d0961137
OBIS: http://gbrds.gbif.org/browse/agent?uuid=2b7c7b4f-4d4f-40d3-94de-c28b6fa054a6
PGR: http://gbrds.gbif.org/browse/agent?uuid=ae3a42e4-5829-4210-8d8a-84b0cbda47bc
HerpNet: http://gbrds.gbif.org/browse/agent?uuid=60381621-d5ae-4289-a128-a0dbbb12df35
OZCAM: http://gbrds.gbif.org/browse/agent?uuid=7e359ce2-3245-4079-ab93-9b08cd68739c
VertNet: http://gbrds.gbif.org/browse/agent?uuid=7ddd1f14-a2b0-4838-95b0-785846f656f3