| Line 18 was replaced by line 18 |
| - Boolean match( ConceptExpression, ResourceID, RemoteFlag ) |
| + Boolean match( ResourceID, ConceptExpression, RemoteFlag ) |
| At line 83 added 2 lines. |
| + |
| + |
| At line 90 added 10 lines. |
| + 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. |
| + |
| + |
| Line 133 was replaced by line 145 |
| - getConcepts( OntologyID ) :: Set<ConceptID> |
| + Set<ConceptID> getConcepts( OntologyID ) |
| Line 135 was replaced by line 147 |
| - getRoles( OntologyID ) :: Set<RoleID> |
| + Set<RoleID> getRoles( OntologyID ) :: Set<RoleID> |
| Line 137 was replaced by line 149 |
| - getMatchingConcepts( OntologyID, String ) :: Set<ConceptID> |
| + Set<ConceptID> getMatchingConcepts( OntologyID, String ) |
| Line 139 was replaced by line 151 |
| - getMatchingRoles( OntologyID, String ) :: Set<ConceptID> |
| + Set<ConceptID> getMatchingRoles( OntologyID, String ) |
| Line 141 was replaced by line 153 |
| - getSubConcepts( OntologyID, ConceptID, DirectFlag ) :: Set<ConceptID> |
| + Set<ConceptID> getSubConcepts( OntologyID, ConceptID, DirectFlag ) |
| Line 143 was replaced by line 155 |
| - getSuperConcepts( OntologyID, ConceptID, DirectFlag ) :: Set<ConceptID> |
| + Set<ConceptID> getSuperConcepts( OntologyID, ConceptID, DirectFlag ) |
| Line 145 was replaced by line 157 |
| - getSubRoles( OntologyID, RoleID, DirectFlag ) :: Set<RoleID> |
| + Set<RoleID> getSubRoles( OntologyID, RoleID, DirectFlag ) |
| Line 147 was replaced by line 159 |
| - getSuperRoles( OntologyID, RoleID, DirectFlag ) :: Set<RoleID> |
| + Set<RoleID> getSuperRoles( OntologyID, RoleID, DirectFlag ) |
| Line 149 was replaced by line 161 |
| - satisfies( ConceptExpression, ConceptExpression ) :: Boolean |
| + Booolean satisfies( ConceptExpression, ConceptExpression ) |