org.dllearner.kb
Class SparqlEndpointKS
java.lang.Object
org.dllearner.kb.SparqlEndpointKS
- All Implemented Interfaces:
- Component, KnowledgeSource
public class SparqlEndpointKS
- extends Object
- implements KnowledgeSource
SPARQL endpoint knowledge source (without fragment extraction),
in particular for those algorithms which work directly on an endpoint
without requiring an OWL reasoner.
- Author:
- Jens Lehmann
SparqlEndpointKS
public SparqlEndpointKS()
SparqlEndpointKS
public SparqlEndpointKS(SparqlEndpoint endpoint)
init
public void init()
throws ComponentInitException
- Description copied from interface:
Component
- Method to be called after the component has been configured.
Implementation of components can overwrite this method to
perform setup and initialisation tasks for this component.
- Specified by:
init in interface Component
- Throws:
ComponentInitException - This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
rethrow occuring exception as ComponentInitException and
giving an error message as well as the actualy exception by
using the constructor ComponentInitException.ComponentInitException(String, Throwable).
getEndpoint
public SparqlEndpoint getEndpoint()
getUrl
public URL getUrl()
setUrl
public void setUrl(URL url)
getDefaultGraphURIs
public List<String> getDefaultGraphURIs()
setDefaultGraphURIs
public void setDefaultGraphURIs(List<String> defaultGraphURIs)
getNamedGraphURIs
public List<String> getNamedGraphURIs()
setNamedGraphURIs
public void setNamedGraphURIs(List<String> namedGraphURIs)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann