View Javadoc
1   package de.dlr.shepard.context.semantic;
2   
3   import java.util.Map;
4   
5   public interface ISemanticRepositoryConnector {
6     /**
7      * Returns a map of language-label pairs or an empty map if not found
8      *
9      * @param termIri The iri of the term in question
10     * @return a map of labels
11     */
12    Map<String, String> getTerm(String termIri);
13  
14    /**
15     * Checks whether the sparql endpoint responds as expected
16     *
17     * @return boolean
18     */
19    boolean healthCheck();
20  }