|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.core.configurators.SparqlKnowledgeSourceConfigurator
public class SparqlKnowledgeSourceConfigurator
automatically generated, do not edit manually. run org.dllearner.scripts.ConfigJavaGenerator to update
| Constructor Summary | |
|---|---|
SparqlKnowledgeSourceConfigurator(SparqlKnowledgeSource sparqlKnowledgeSource)
|
|
| Method Summary | |
|---|---|
int |
getBreakSuperClassRetrievalAfter()
breakSuperClassRetrievalAfter stops a cyclic hierarchy after specified number of classes. |
String |
getCacheDir()
cacheDir dir of cache. |
boolean |
getCloseAfterRecursion()
closeAfterRecursion gets all classes for all instances. |
Set<String> |
getDefaultGraphURIs()
defaultGraphURIs a list of all default Graph URIs. |
boolean |
getDissolveBlankNodes()
dissolveBlankNodes determines whether Blanknodes are dissolved. |
boolean |
getGetAllSuperClasses()
getAllSuperClasses If true then all superclasses are retrieved until the most general class (owl:Thing) is reached.. |
boolean |
getGetPropertyInformation()
getPropertyInformation gets all types for extracted ObjectProperties. |
Set<String> |
getInstances()
instances relevant instances e.g. positive and negative examples in a learning problem. |
Set<String> |
getNamedGraphURIs()
namedGraphURIs a list of all named Graph URIs. |
Set<String> |
getObjList()
objList list of all ignored objects. |
String |
getPredefinedEndpoint()
predefinedEndpoint the mode of the SPARQL Filter, use one of DBPEDIA, LOCAL, GOVTRACK, REVYU, MYOPENLINK, FACTBOOK. |
String |
getPredefinedFilter()
predefinedFilter the mode of the SPARQL Filter, use one of YAGO,SKOS,YAGOSKOS , YAGOSPECIALHIERARCHY, TEST. |
String |
getPredefinedManipulator()
predefinedManipulator the mode of the Manipulator, use one of STANDARD, DBPEDIA-NAVIGATOR. |
Set<String> |
getPredList()
predList list of all ignored roles. |
int |
getRecursionDepth()
recursionDepth recursion depth of KB fragment selection. |
List<StringTuple> |
getReplaceObject()
replaceObject rule for replacing predicates. |
List<StringTuple> |
getReplacePredicate()
replacePredicate rule for replacing predicates. |
boolean |
getSaveExtractedFragment()
saveExtractedFragment Specifies whether the extracted ontology is written to a file or not. |
static SparqlKnowledgeSource |
getSparqlKnowledgeSource(URL url,
Set<String> instances)
|
URL |
getUrl()
url URL of SPARQL Endpoint. |
boolean |
getUseCache()
useCache If true a Cache is used. |
boolean |
getUseCacheDatabase()
useCacheDatabase If true, H2 database is used, otherwise one file per query is written.. |
boolean |
getUseImprovedSparqlTupelAquisitor()
useImprovedSparqlTupelAquisitor uses deeply nested SparqlQueries, according to recursion depth, still EXPERIMENTAL. |
boolean |
getUseLits()
useLits use Literals in SPARQL query. |
String |
getVerbosity()
verbosity control verbosity of output for this component. |
boolean |
isReinitNecessary()
true, if this component needs reinitializsation. |
void |
setBreakSuperClassRetrievalAfter(int breakSuperClassRetrievalAfter)
|
void |
setCacheDir(String cacheDir)
|
void |
setCloseAfterRecursion(boolean closeAfterRecursion)
|
void |
setDefaultGraphURIs(Set<String> defaultGraphURIs)
|
void |
setDissolveBlankNodes(boolean dissolveBlankNodes)
|
void |
setGetAllSuperClasses(boolean getAllSuperClasses)
|
void |
setGetPropertyInformation(boolean getPropertyInformation)
|
void |
setInstances(Set<String> instances)
|
void |
setNamedGraphURIs(Set<String> namedGraphURIs)
|
void |
setObjList(Set<String> objList)
|
void |
setPredefinedEndpoint(String predefinedEndpoint)
|
void |
setPredefinedFilter(String predefinedFilter)
|
void |
setPredefinedManipulator(String predefinedManipulator)
|
void |
setPredList(Set<String> predList)
|
void |
setRecursionDepth(int recursionDepth)
|
void |
setReplaceObject(List<StringTuple> replaceObject)
|
void |
setReplacePredicate(List<StringTuple> replacePredicate)
|
void |
setSaveExtractedFragment(boolean saveExtractedFragment)
|
void |
setUrl(URL url)
|
void |
setUseCache(boolean useCache)
|
void |
setUseCacheDatabase(boolean useCacheDatabase)
|
void |
setUseImprovedSparqlTupelAquisitor(boolean useImprovedSparqlTupelAquisitor)
|
void |
setUseLits(boolean useLits)
|
void |
setVerbosity(String verbosity)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SparqlKnowledgeSourceConfigurator(SparqlKnowledgeSource sparqlKnowledgeSource)
sparqlKnowledgeSource - see SparqlKnowledgeSource| Method Detail |
|---|
public static SparqlKnowledgeSource getSparqlKnowledgeSource(URL url,
Set<String> instances)
url - URL of SPARQL Endpointinstances - relevant instances e.g. positive and negative examples in a learning problem
public URL getUrl()
public String getCacheDir()
public boolean getUseCache()
public boolean getUseCacheDatabase()
public Set<String> getInstances()
public int getRecursionDepth()
public String getPredefinedFilter()
public String getPredefinedEndpoint()
public String getPredefinedManipulator()
public Set<String> getPredList()
public Set<String> getObjList()
public boolean getSaveExtractedFragment()
public List<StringTuple> getReplacePredicate()
public List<StringTuple> getReplaceObject()
public int getBreakSuperClassRetrievalAfter()
public boolean getUseLits()
public boolean getGetAllSuperClasses()
public boolean getCloseAfterRecursion()
public boolean getGetPropertyInformation()
public boolean getDissolveBlankNodes()
public boolean getUseImprovedSparqlTupelAquisitor()
public String getVerbosity()
public Set<String> getDefaultGraphURIs()
public Set<String> getNamedGraphURIs()
public void setUrl(URL url)
url - URL of SPARQL Endpoint.
mandatory: true| reinit necessary: true
default value: nullpublic void setCacheDir(String cacheDir)
cacheDir - dir of cache.
mandatory: false| reinit necessary: true
default value: cachepublic void setUseCache(boolean useCache)
useCache - If true a Cache is used.
mandatory: false| reinit necessary: true
default value: truepublic void setUseCacheDatabase(boolean useCacheDatabase)
useCacheDatabase - If true, H2 database is used, otherwise one file per query is written..
mandatory: false| reinit necessary: true
default value: falsepublic void setInstances(Set<String> instances)
instances - relevant instances e.g. positive and negative examples in a learning problem.
mandatory: true| reinit necessary: true
default value: nullpublic void setRecursionDepth(int recursionDepth)
recursionDepth - recursion depth of KB fragment selection.
mandatory: false| reinit necessary: true
default value: 1public void setPredefinedFilter(String predefinedFilter)
predefinedFilter - the mode of the SPARQL Filter, use one of YAGO,SKOS,YAGOSKOS , YAGOSPECIALHIERARCHY, TEST.
mandatory: false| reinit necessary: true
default value: nullpublic void setPredefinedEndpoint(String predefinedEndpoint)
predefinedEndpoint - the mode of the SPARQL Filter, use one of DBPEDIA, LOCAL, GOVTRACK, REVYU, MYOPENLINK, FACTBOOK.
mandatory: false| reinit necessary: true
default value: nullpublic void setPredefinedManipulator(String predefinedManipulator)
predefinedManipulator - the mode of the Manipulator, use one of STANDARD, DBPEDIA-NAVIGATOR.
mandatory: false| reinit necessary: true
default value: nullpublic void setPredList(Set<String> predList)
predList - list of all ignored roles.
mandatory: false| reinit necessary: true
default value: []public void setObjList(Set<String> objList)
objList - list of all ignored objects.
mandatory: false| reinit necessary: true
default value: []public void setSaveExtractedFragment(boolean saveExtractedFragment)
saveExtractedFragment - Specifies whether the extracted ontology is written to a file or not. The OWL file is written to the cache dir.Some DBpedia URI will make the XML invalid.
mandatory: false| reinit necessary: true
default value: falsepublic void setReplacePredicate(List<StringTuple> replacePredicate)
replacePredicate - rule for replacing predicates.
mandatory: false| reinit necessary: true
default value: []public void setReplaceObject(List<StringTuple> replaceObject)
replaceObject - rule for replacing predicates.
mandatory: false| reinit necessary: true
default value: []public void setBreakSuperClassRetrievalAfter(int breakSuperClassRetrievalAfter)
breakSuperClassRetrievalAfter - stops a cyclic hierarchy after specified number of classes.
mandatory: false| reinit necessary: true
default value: 1000public void setUseLits(boolean useLits)
useLits - use Literals in SPARQL query.
mandatory: false| reinit necessary: true
default value: truepublic void setGetAllSuperClasses(boolean getAllSuperClasses)
getAllSuperClasses - If true then all superclasses are retrieved until the most general class (owl:Thing) is reached..
mandatory: false| reinit necessary: true
default value: truepublic void setCloseAfterRecursion(boolean closeAfterRecursion)
closeAfterRecursion - gets all classes for all instances.
mandatory: false| reinit necessary: true
default value: truepublic void setGetPropertyInformation(boolean getPropertyInformation)
getPropertyInformation - gets all types for extracted ObjectProperties.
mandatory: false| reinit necessary: true
default value: falsepublic void setDissolveBlankNodes(boolean dissolveBlankNodes)
dissolveBlankNodes - determines whether Blanknodes are dissolved. This is a costly function..
mandatory: false| reinit necessary: true
default value: truepublic void setUseImprovedSparqlTupelAquisitor(boolean useImprovedSparqlTupelAquisitor)
useImprovedSparqlTupelAquisitor - uses deeply nested SparqlQueries, according to recursion depth, still EXPERIMENTAL.
mandatory: false| reinit necessary: true
default value: falsepublic void setVerbosity(String verbosity)
verbosity - control verbosity of output for this component.
mandatory: false| reinit necessary: true
default value: warningpublic void setDefaultGraphURIs(Set<String> defaultGraphURIs)
defaultGraphURIs - a list of all default Graph URIs.
mandatory: false| reinit necessary: true
default value: []public void setNamedGraphURIs(Set<String> namedGraphURIs)
namedGraphURIs - a list of all named Graph URIs.
mandatory: false| reinit necessary: true
default value: []public boolean isReinitNecessary()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||