Science Environment for Ecological Knowledge
Ecoinformatics site parent site of Partnership for Biodiversity Informatics site parent site of SEEK - Home
Science Environment for Ecological Knowledge









 

 

 



SMS Service Interfaces

Difference between version 67 and version 59:

Line 7 was replaced by line 7
- !! Overview
+ !!! Overview
At line 17 added 2 lines.
+ Boolean match( ResourceID, ConceptExpression, RemoteFlag )
+
Line 26 was replaced by line 28
- ConceptExpression semanticType( ResourceID, String, RemoteFlag ) // for summarizing annotations
+ ConceptExpression semanticTypeConcepts( ResourceID, String, RemoteFlag ) // for summarizing annotations
Line 34 was replaced by line 36
- !! {{Search}}: Simple Concept-Based Searching
+ !!! {{Search}}: Simple Concept-Based Searching
Line 43 was replaced by line 45
- The service returns a set of resources (as LSIDs) that have semantic annotations "matching" the given search term.
+ The service returns a set of resources (as LSIDs) that have semantic types "matching" the given search term.
Line 49 was replaced by line 51
- ResourceType getResourceType( ResourceID )
+ ResourceType getResourceType( ResourceID )
Line 51 was replaced by line 53
- Set<SemanticAnnotationID> getSemanticAnnotations( RemoteSearchFlag )
+ Set<SemanticTypeID> getSemanticAnnotations( RemoteSearchFlag )
Line 53 was replaced by line 55
- Set<Ontology> getOntology( OntologyID )
+ Set<Ontology> getOntology( OntologyID )
Line 56 was replaced by line 58
- The first operation returns the resource type of a given resource identifier (an LSID). The second operation returns the set of semantic annotations known to the kepler object manager (including annotations stored on remote repositories depending on the value of the remote flag). The last operation returns the ontology for a given ontology identifier (also a resource id). Note that this last operation could be used with an ontology service, e.g., the simple one described at the end of this page[simple ontology service|1].
+ The first operation returns the resource type of a given resource identifier (an LSID). The second operation returns the set of semantic types known to the kepler object manager (including semantic types stored on remote repositories depending on the value of the remote flag). The last operation returns the ontology for a given ontology identifier (also a resource id). Note that this last operation could be used with an ontology service, e.g., the simple one described at the end of this page[simple ontology service|1].
Line 58 was replaced by line 60
- ! Optimized Remote Searching
+ !! Optimized Remote Searching
Line 60 was replaced by line 62
- In general, the {{search}} operation requires access to all semantic annotations to find matching resources. For example, consider a search expression {{A and B}}, i.e., a resource must contribute to both concept {{A}} and concept {{B}}. To find appropriate matches for this search term, the algorithm must look for annotations that explicitly state {{A and B}} as well as those that state only {{A}} and only {{B}} (which taken together make {{A and B}}). Note that an annotation that states only {{A}} may be in one repository, while an annotation that states only {{B}} may be in another. Thus, for remote searches, the {{search}} algorithm must obtain and consider all remote annotations to find matching resources, making the {{search}} operation inherently centralized.
+ In general, the {{search}} operation requires access to all semantic types to find matching resources. For example, consider a search expression {{A and B}}, i.e., a resource must contribute to both concept {{A}} and concept {{B}}. To find appropriate matches for this search term, the algorithm must look for semantic types that explicitly state {{A and B}} as well as those that state only {{A}} and only {{B}} (which taken together make {{A and B}}). Note that a semantic type that states only {{A}} may be in one repository, while a semantic type that states only {{B}} may be in another. Thus, for remote searches, the {{search}} algorithm must obtain and consider all remote semantic types to find matching resources, making the {{search}} operation inherently centralized.
Line 75 was replaced by line 77
- !! {{Query}}: Complex Concept-Based Searching
+ !!! {{Query}}: Complex Concept-Based Searching
Line 83 was replaced by lines 85-103
- !! {{Compatible}}: Checking Semantically Well-Formed Connections
+
+ !!!{{Match}}: Checking Matching Resources
+
+ {{{
+ Boolean match( ConceptExpression, ResourceID, RemoteFlag )
+ }}}
+
+
+ The arguments for this service are:
+ # A resource whose semantic types are to be checked;
+ # A concept expression; and
+ # A flag denoting whether local or remote repositories are searched
+
+ The service returns true if the resource has a semantic type matching the concept expression. Note that given a set of resources {{R}} returned by the {{search}} service for a concept expression {{c}} and remote flag value {{m}} (either true or false), for each {{r}} in {{R}}, {{match(r, c, m)}} is true. That is, {{r}} is a {{match}} for search {{c}}.
+
+ The {{match}} service is included primarily to support browsing of ontologies.
+
+
+ !!! {{Compatible}}: Checking Semantically Well-Formed Connections
Line 86 was replaced by line 106
- compatible( ResourceID, Connection, ResourceID, StructTypeFlag, RemoteFlag ) :: Boolean
+ Boolean compatible( ResourceID, Connection, ResourceID, StructTypeFlag, RemoteFlag )
Line 91 was replaced by line 111
- !! {{SearchCompatible}}: Searching for Semantically Well-Formed Connections
+ !!! {{SearchCompatible}}: Searching for Semantically Well-Formed Connections
Line 94 was replaced by line 114
- searchCompatible( ResourceID, Port, StructTypeFlag, RemoteFlag ) :: Set<ResourceID>
+ Set<ResourceID> searchCompatible( ResourceID, Port, StructTypeFlag, RemoteFlag )
Line 98 was replaced by line 118
- !! {{Compose}}: Suggesting Well-Structured Actor Connections
+ !!! {{Compose}}: Suggesting Well-Structured Actor Connections
Line 101 was replaced by line 121
- compose( ResourceID, Connection, ResourceID, RemoteFlag ) :: Set<StructMapping>
+ Set<StructMapping> compose( ResourceID, Connection, ResourceID, RemoteFlag )
Line 104 was replaced by line 124
- !! {{Merge}}: Suggesting Simple Merging of Heterogeneous Datasets
+ !!! {{Merge}}: Suggesting Simple Merging of Heterogeneous Datasets
Line 107 was replaced by line 127
- merge( ResourceID, Connection, ResourceID, RemoteFlag ) :: Set<StructMapping>
+ Set<StructMapping> merge( ResourceID, Connection, ResourceID, RemoteFlag )
Line 111 was replaced by line 131
- !! {{SemanticType}}: Summarizing Semantic Annotations
+ !!! {{SemanticType}}: Summarizing Semantic Annotations
Line 114 was replaced by line 134
- semanticType( ResourceID, String, RemoteFlag ) :: ConceptExpression
+ ConceptExpression semanticType( ResourceID, String, RemoteFlag )
Line 118 was replaced by line 138
- !! A Simple Ontology Interface
+ !!! A Simple Ontology Interface
Line 125 was replaced by line 145
- getConcepts( OntologyID ) :: Set<ConceptID>
+ Set<ConceptID> getConcepts( OntologyID )
Line 127 was replaced by line 147
- getRoles( OntologyID ) :: Set<RoleID>
+ Set<RoleID> getRoles( OntologyID ) :: Set<RoleID>
Line 129 was replaced by line 149
- getMatchingConcepts( OntologyID, String ) :: Set<ConceptID>
+ Set<ConceptID> getMatchingConcepts( OntologyID, String )
Line 131 was replaced by line 151
- getMatchingRoles( OntologyID, String ) :: Set<ConceptID>
+ Set<ConceptID> getMatchingRoles( OntologyID, String )
Line 133 was replaced by line 153
- getSubConcepts( OntologyID, ConceptID, DirectFlag ) :: Set<ConceptID>
+ Set<ConceptID> getSubConcepts( OntologyID, ConceptID, DirectFlag )
Line 135 was replaced by line 155
- getSuperConcepts( OntologyID, ConceptID, DirectFlag ) :: Set<ConceptID>
+ Set<ConceptID> getSuperConcepts( OntologyID, ConceptID, DirectFlag )
Line 137 was replaced by line 157
- getSubRoles( OntologyID, RoleID, DirectFlag ) :: Set<RoleID>
+ Set<RoleID> getSubRoles( OntologyID, RoleID, DirectFlag )
Line 139 was replaced by line 159
- getSuperRoles( OntologyID, RoleID, DirectFlag ) :: Set<RoleID>
+ Set<RoleID> getSuperRoles( OntologyID, RoleID, DirectFlag )
Line 141 was replaced by line 161
- satisfies( ConceptExpression, ConceptExpression ) :: Boolean
+ Booolean satisfies( ConceptExpression, ConceptExpression )
At line 144 added 2 lines.
+
+ !!! Comments

Back to SMS Service Interfaces, or to the Page History.