Creating Parthenos Entities Mapping to gCube Resources

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/parthenos-entities@141967 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-01-31 16:32:35 +00:00
parent dc7d78d002
commit 4df2c0882c
29 changed files with 182 additions and 115 deletions

View File

@ -1,8 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface P9_consists_of {
}

View File

@ -1,6 +1,12 @@
package org.gcube.informationsystem.model.relation;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE10_Digital_Curating_Service;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE20_Volatile_Digital_Object;
import org.gcube.informationsystem.model.relation.isrelatedto.parthenos.PP32_curates;
public interface PP11_curates_volatile_digital_object extends PP32_curates {
public interface PP11_curates_volatile_digital_object
<Out extends PE10_Digital_Curating_Service, In extends PE20_Volatile_Digital_Object>
extends PP32_curates<Out,In> {
}

View File

@ -1,5 +1,8 @@
package org.gcube.informationsystem.model.relation;
import org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse.PP32i_is_curated_by;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -1,9 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP12_curates_volatile_software extends PP11_curates_volatile_digital_object {
}

View File

@ -1,10 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP12i_was_volatile_software_curated_by extends
PP11i_was_volatile_digital_object_curated_by {
}

View File

@ -1,10 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP13_curates_volatile_dataset extends
PP11_curates_volatile_digital_object {
}

View File

@ -1,10 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP13i_was_volatile_dataset_curated_by extends
PP11i_was_volatile_digital_object_curated_by {
}

View File

@ -1,8 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP1_currently_offers extends P9_consists_of {
}

View File

@ -1,9 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP1i_is_currently_offered_by extends P9i_forms_part_of {
}

View File

@ -1,8 +0,0 @@
package org.gcube.informationsystem.model.relation;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP32_curates {
}

View File

@ -1,11 +0,0 @@
package org.gcube.informationsystem.model.relation;
import org.gcube.informationsystem.model.relation.isrelatedto.cidoc.P16_used_specific_object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP40_created_successor_of extends P16_used_specific_object {
}

View File

@ -1,11 +0,0 @@
package org.gcube.informationsystem.model.relation;
import org.gcube.informationsystem.model.relation.isrelatedto.parthenos.PP6_hosts_digital_object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP8_hosts_dataset extends PP6_hosts_digital_object {
}

View File

@ -1,12 +0,0 @@
package org.gcube.informationsystem.model.relation;
import org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse.PP6i_is_digital_object_hosted_by;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP8i_is_dataset_hosted_by extends
PP6i_is_digital_object_hosted_by {
}

View File

@ -0,0 +1,34 @@
package org.gcube.informationsystem.model.relation.isrelatedto.cidoc;
import org.gcube.informationsystem.model.entity.Resource;
import org.gcube.informationsystem.model.relation.IsRelatedTo;
/**
* @author Luca Frosini (ISTI - CNR)
* Domain: E4 Period
* Range: E4 Period
* Subproperty of: E92 Spacetime Volume. P132 spatiotemporally overlaps
* with.:E92 Spacetime Volume
* Quantification: one to many, (0,n:0,1)
*
* Scope note: This property associates an instance of E4 Period with another
* instance of E4 Period that is defined by a subset of the phenomena that
* define the former. Therefore the spacetime volume of the latter must fall
* within the spacetime volume of the former.
*
* This property is transitive.
*
* Examples:
* Cretan Bronze Age (E4) consists of Middle Minoan (E4)
*
* In First Order Logic:
* P9(x,y) E4(x)
* P9(x,y) E4(y)
* P9(x,y) P10(y,x)
*
*/
public interface P9_consists_of
<Out extends Resource, In extends Resource>
extends IsRelatedTo<Out, In> {
}

View File

@ -1,4 +1,4 @@
package org.gcube.informationsystem.model.relation;
package org.gcube.informationsystem.model.relation.isrelatedto.cidoc.inverse;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -0,0 +1,15 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE11_Software_Curating_Service;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE23_Volatile_Software;
import org.gcube.informationsystem.model.relation.PP11_curates_volatile_digital_object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP12_curates_volatile_software
<Out extends PE11_Software_Curating_Service, In extends PE23_Volatile_Software>
extends PP11_curates_volatile_digital_object<Out,In> {
}

View File

@ -0,0 +1,14 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE12_Data_Curating_Service;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE24_Volatile_Dataset;
import org.gcube.informationsystem.model.relation.PP11_curates_volatile_digital_object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP13_curates_volatile_dataset
<Out extends PE12_Data_Curating_Service, In extends PE24_Volatile_Dataset>
extends PP11_curates_volatile_digital_object<Out,In> {
}

View File

@ -1,11 +1,9 @@
package org.gcube.informationsystem.model.relation;
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos;
import org.gcube.informationsystem.model.entity.resource.cidoc.D14_Software;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE13_Software_Computing_E_Service;
import org.gcube.informationsystem.model.relation.isrelatedto.cidoc.P16_used_specific_object;
/**
* @author Luca Frosini (ISTI - CNR)
*/

View File

@ -0,0 +1,14 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE1_Service;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE26_RI_Project;
import org.gcube.informationsystem.model.relation.isrelatedto.cidoc.P9_consists_of;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP1_currently_offers
<Out extends PE26_RI_Project, In extends PE1_Service>
extends P9_consists_of<Out,In> {
}

View File

@ -0,0 +1,14 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE32_Curated_Thing;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE3_Curating_Service;
import org.gcube.informationsystem.model.relation.IsRelatedTo;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP32_curates
<Out extends PE3_Curating_Service, In extends PE32_Curated_Thing>
extends IsRelatedTo<Out, In> {
}

View File

@ -0,0 +1,14 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos;
import org.gcube.informationsystem.model.entity.resource.cidoc.E65_Creation;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE22_Persistent_Dataset;
import org.gcube.informationsystem.model.relation.isrelatedto.cidoc.P16_used_specific_object;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP40_created_successor_of
<Out extends E65_Creation, In extends PE22_Persistent_Dataset>
extends P16_used_specific_object<Out,In> {
}

View File

@ -0,0 +1,14 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE18_Dataset;
import org.gcube.informationsystem.model.entity.resource.parthenos.PE7_Data_Hosting_Service;
import org.gcube.informationsystem.model.relation.isrelatedto.Manages;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP8_hosts_dataset
<Out extends PE7_Data_Hosting_Service, In extends PE18_Dataset>
extends PP6_hosts_digital_object<Out,In>, Manages<Out, In> {
}

View File

@ -0,0 +1,13 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse;
import org.gcube.informationsystem.model.relation.PP11i_was_volatile_digital_object_curated_by;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP12i_was_volatile_software_curated_by extends
PP11i_was_volatile_digital_object_curated_by {
}

View File

@ -0,0 +1,13 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse;
import org.gcube.informationsystem.model.relation.PP11i_was_volatile_digital_object_curated_by;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP13i_was_volatile_dataset_curated_by extends
PP11i_was_volatile_digital_object_curated_by {
}

View File

@ -1,8 +1,7 @@
package org.gcube.informationsystem.model.relation;
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse;
import org.gcube.informationsystem.model.relation.isrelatedto.cidoc.inverse.P16i_was_used_for;
/**
* @author Luca Frosini (ISTI - CNR)
*/

View File

@ -0,0 +1,11 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse;
import org.gcube.informationsystem.model.relation.isrelatedto.cidoc.inverse.P9i_forms_part_of;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP1i_is_currently_offered_by extends P9i_forms_part_of {
}

View File

@ -1,4 +1,4 @@
package org.gcube.informationsystem.model.relation;
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse;
/**
* @author Luca Frosini (ISTI - CNR)

View File

@ -1,4 +1,4 @@
package org.gcube.informationsystem.model.relation;
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse;
import org.gcube.informationsystem.model.relation.isrelatedto.cidoc.inverse.P16i_was_used_for;

View File

@ -0,0 +1,11 @@
package org.gcube.informationsystem.model.relation.isrelatedto.parthenos.inverse;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface PP8i_is_dataset_hosted_by extends
PP6i_is_digital_object_hosted_by {
}