Creating Parthenos Entities Mapping to gCube Resources

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/parthenos-entities@141946 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-01-31 14:13:09 +00:00
parent 0adf87895a
commit 024a9bf394
15 changed files with 132 additions and 39 deletions

View File

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

View File

@ -1,9 +1,55 @@
package org.gcube.informationsystem.parthenos.model.relation;
import org.gcube.informationsystem.model.entity.Resource;
import org.gcube.informationsystem.model.relation.IsRelatedTo;
/**
* @author Luca Frosini (ISTI - CNR)
* @author Luca Frosini (ISTI - CNR)
*
* Domain: E70 Thing
* Range: E70 Thing
* Superproperty of: E33 Linguistic Object. P73i has translation (is
* translation of): E33 Linguistic Object E18 Physical Thing. P128 carries
* (is carried by): E90 Symbolic Object
* Quantification: many to many (0,n:0,n)
*
* Scope note: This property generalises the notions of
* "copy of" and "similar to" into a directed relationship, where the
* domain expresses the derivative or influenced item and the range the
* source or influencing item, if such a direction can be established.
* The property can also be used to express similarity in cases that can
* be stated between two objects only, without historical knowledge
* about its reasons. The property expresses a symmetric relationship in
* case no direction of influence can be established either from
* evidence on the item itself or from historical knowledge. This holds
* in particular for siblings of a derivation process from a common
* source or non-causal cultural parallels, such as some weaving
* patterns. The P130.1 kind of similarity property of the P130 shows
* features of (features are also found on) property enables the
* relationship between the domain and the range to be further
* clarified, in the sense from domain to range, if applicable. For
* example, it may be expressed if both items are product of the same
* mould, or if two texts contain identical paragraphs. If the reason
* for similarity is a sort of derivation process, i.e., that the
* creator has used or had in mind the form of a particular thing during
* the creation or production, this process should be explicitly
* modelled. In these cases, P130 shows features of can be regarded as a
* shortcut of such a process. However, the current model does not
* contain any path specific enough to infer this property.
* Specializations of the CIDOC CRM may however be more explicit, for
* instance describing the use of moulds etc.
* In First Order Logic:
* P130 (x,y) E70(x)
* P130 (x,y) E70(y)
* P130(x,y,z) [P130(x,y) E55(z)]
* P130(x,y) P130(y,x)
*
* Properties: P130.1 kind of similarity: E55 Type
*
*/
public interface P130_shows_features_of {
public interface P130_shows_features_of
<Out extends Resource, In extends Resource>
extends IsRelatedTo<Out, In> {
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,36 @@
package org.gcube.informationsystem.parthenos.model.relation.isrelatedto;
import org.gcube.informationsystem.model.entity.Resource;
import org.gcube.informationsystem.model.relation.IsRelatedTo;
/**
* @author Luca Frosini (ISTI - CNR)
* P129 is about (is subject of)
*
* Domain: E89 Propositional Object
* Range: E1 CRM Entity
* Subproperty: E89 Propositional Object. P67 refers to (is referred to by):
* E1 CRM Entity
* Quantification: many to many (0,n:0,n)
*
* Scope note: This property documents that an E89 Propositional Object has as
* subject an instance of E1 CRM Entity.
* This differs from P67 refers to (is referred to by), which refers to an E1
* CRM Entity, in that it describes the primary subject or subjects of an E89
* Propositional Object.
*
* Examples:
* The text entitled Reach for the sky (E33) is about Douglas Bader (E21)
*
* In First Order Logic:
* P129(x,y) E89(x)
*
* Definition of the CIDOC Conceptual Reference Model version 6.2.2
* 90P129(x,y) E1(y)
* P129(x,y) P67(x,y)
*
*/
public interface P129_is_about<Out extends Resource, In extends Resource>
extends IsRelatedTo<Out, In> {
}

View File

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

View File

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

View File

@ -1,4 +1,4 @@
package org.gcube.informationsystem.parthenos.model.relation;
package org.gcube.informationsystem.parthenos.model.relation.isrelatedto.inverse;
/**

View File

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

View File

@ -1,4 +1,5 @@
package org.gcube.informationsystem.parthenos.model.relation;
package org.gcube.informationsystem.parthenos.model.relation.isrelatedto.inverse;
/**