diff --git a/README.md b/README.md index 39878ac..c50af18 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Using RDF Shapes to define the schema of Gene Ontology Causal Activity Models - # Schema See [shapes/go-cam-shapes.shex](shapes/go-cam-shapes.shex) diff --git a/shapes/WIP_standard_annot_ShEx b/shapes/WIP_standard_annot_ShEx index 2439c83..1ec1503 100644 --- a/shapes/WIP_standard_annot_ShEx +++ b/shapes/WIP_standard_annot_ShEx @@ -172,6 +172,8 @@ PREFIX results_in_remodeling_of: part_of: @ *; has_input: ( @ OR @ OR @ OR @ ) *; has_output: ( @ OR @ OR @ ) *; + has_primary_input: ( @ OR @ OR @ OR @ ) *; + has_primary_output: ( @ OR @ OR @ ) *; occurs_in: @ {0,1}; has_target_end_location: @ {0,1}; has_target_start_location: @ {0,1}; @@ -457,18 +459,18 @@ PREFIX results_in_remodeling_of: @ AND EXTRA a { a @; enables: ( @ OR @ ) {0,1}; - contributes_to: @ {0,1}; located_in: ( @ OR @ ) {0,1}; is_active_in: ( @ OR @ OR @VirionComponent> ) {0,1}; part_of: @ *; - has_part: ( @ OR @ ) *; - existence_overlaps: ( @ OR @ OR @ ) *; - existence_starts_and_ends_during: ( @ OR @ OR @ ) *; involved_in: ( @ OR @ ) {0,1}; acts_upstream_of_negative_effect: @ {0,1}; acts_upstream_of_positive_effect: @ {0,1}; acts_upstream_of_or_within_negative_effect: @ {0,1}; - acts_upstream_of_or_within_positive_effect: @ {0,1}; + acts_upstream_of_or_within_positive_effect: @ {0,1}; + has_part: ( @ OR @ ) *; + existence_overlaps: ( @ OR @ OR @ ) *; + existence_starts_and_ends_during: ( @ OR @ OR @ ) *; + } // rdfs:comment "a protein complex" IRI @ AND EXTRA rdfs:subClassOf { diff --git a/shapes/go-cam-shapes.shex b/shapes/go-cam-shapes.shex index 47201c5..e9690ec 100644 --- a/shapes/go-cam-shapes.shex +++ b/shapes/go-cam-shapes.shex @@ -129,6 +129,7 @@ PREFIX results_in_growth_of: PREFIX results_in_movement_of: PREFIX results_in_remodeling_of: + { a [owl:Ontology] + ; contributor: xsd:string +; #TODO would be better as an IRI @@ -193,6 +194,8 @@ PREFIX results_in_remodeling_of: part_of: @ *; has_input: ( @ OR @ OR @ OR @ ) *; has_output: ( @ OR @ OR @ ) *; + has_primary_input: @ *; + has_primary_output: @ *; occurs_in: @ {0,1}; transports_or_maintains_localization_of: ( @ OR @ ) *; has_target_end_location: @ {0,1}; @@ -405,32 +408,32 @@ PREFIX results_in_remodeling_of: @ AND EXTRA a { a ( @ OR @ ) {1}; - enabled_by: ( @ OR @ ) *; + enabled_by: ( @ OR @ ) * // true; part_of: @ *; - has_part: @ *; + has_part: @ * // true; occurs_in: @ {0,1}; has_output: ( @ OR @ ) *; has_input: ( @ OR @ ) *; has_primary_input: ( @ OR @ ) *; has_primary_output: ( @ OR @ ) *; - directly_provides_input_for: ( @ OR @ ) *; + directly_provides_input_for: ( @ OR @ ) * // true; regulates: ( @ OR @ ) *; negatively_regulates: ( @ OR @ ) *; positively_regulates: ( @ OR @ ) *; directly_regulates: ( @ OR @ ) *; directly_negatively_regulates: ( @ OR @ ) *; directly_positively_regulates: ( @ OR @ ) *; - indirectly_regulates: ( @ OR @) *; - indirectly_positively_regulates: ( @ OR @ ) *; - indirectly_negatively_regulates: ( @ OR @ ) *; - constitutively_upstream_of: ( @ OR @ ) *; - removes_input_for: ( @ OR @ ) *; - has_small_molecule_regulator: @ *; - has_small_molecule_activator: @ *; - has_small_molecule_inhibitor: @ *; - causally_upstream_of_or_within: ( @ OR @ OR @ ) *; - causally_upstream_of_or_within_negative_effect: @ *; - causally_upstream_of_or_within_positive_effect: @ *; + indirectly_regulates: ( @ OR @) * // true; + indirectly_positively_regulates: ( @ OR @ ) * // true; + indirectly_negatively_regulates: ( @ OR @ ) * // true; + constitutively_upstream_of: ( @ OR @ ) * // true; + removes_input_for: ( @ OR @ ) * // true; + has_small_molecule_regulator: @ * // true; + has_small_molecule_activator: @ * // true; + has_small_molecule_inhibitor: @ * // true; + causally_upstream_of_or_within: ( @ OR @ OR @ ) * // true; + causally_upstream_of_or_within_negative_effect: @ * // true; + causally_upstream_of_or_within_positive_effect: @ * // true; causally_upstream_of: ( @ OR @ OR @ ) *; causally_upstream_of_negative_effect: ( @ OR @ OR @ ) *; causally_upstream_of_positive_effect: ( @ OR @ OR @ ) *; @@ -521,11 +524,14 @@ PREFIX results_in_remodeling_of: @ AND EXTRA a { a @; - located_in: @ {0,1}; - is_active_in: @ OR @ {0,1}; - has_part: ( @ OR @) *; + located_in: @ {0,1} // true; + is_active_in: @ OR @ {0,1} // true; + part_of: @ {0,1}; + adjacent_to: @ *; + overlaps: @ *; existence_overlaps: ( @ OR @ OR @ ) *; existence_starts_and_ends_during: ( @ OR @ OR @ ) *; + has_part: ( @ OR @) * // true; } // rdfs:comment "a protein complex" IRI @ AND EXTRA rdfs:subClassOf {