Common Settings
Mandatory common settings:
Former option kb.cacheTemplatePath has been eliminted, the caches are dynamically created in the main cache folder for each user and his or her base.
kb.advancedType- The name of the type. May affect interpreation of advanced key-values defined for the Knowledge base proxy.
Examplekb.advancedType = SPARQL
kb.name - The name of the knowledge base. Should be unique.
Examplekb.name = DBpedia
kb.stopListFile - A file that lists things (e.g., predicate URIs) to be used by an instance of uk.ac.shef.dcs.kbproxy.KBSearchResultFilter, which decides what triples/relations/classes to remove from the result as they are too general or meaningless. Specific rules are implemented by subclasses of uk.ac.shef.dcs.kbproxy.KBSearchResultFilter, which should be instantiated as part of uk.ac.shef.dcs.kbproxy.KBProxy.
Examplekb.stopListFile = resources\\kbstoplist_dbpedia.txt
kb.endpoint - SPARQL endpoint of the knowledge base.
Examplekb.endpoint = http://localhost:8896/sparql
kb.structure.groups - The list of predicates used in the knowledge base. Multiple configuration files can be separated by the "|". See KB Structure Settings (Groups).
Examplekb.structure = dbpedia|rdf|skos
Insert Settings
kb.insert.supported - Enables inserting new concepts into the knowledge base.
kb.insert.supported = false
Mandatory insert settings when kb.insert.supported is true
kb.insert.prefix.data - Prefix used in data elements (instances of classes).
Examplekb.insert.prefix.data = http://odalic.eu/resource/
kb.insert.prefix.schema - Prefix used in schema elements (classes and properties).
kb.insert.prefix.schema = http://odalic.eu/schema/
kb.insert.graph - Named graph used for new concepts.
Examplekb.insert.graph = http://odalic.eu
kb.fulltextEnabled - Enables full-text search in the knowledge base. If a query keyword does not match to anything, it tries to split it into parts using "and".
Defaultkb.fulltextEnabled = true
kb.useBifContains - Enables support for the Virtuoso full-text search. Does nothing if the full-text search is disabled.
Defaultkb.useBifContains = true
kb.languageSuffix - The language suffix used in exact string matching and labels of newly added concepts.
Defaultkb.languageSuffix =
Optional insert settings (the implementation is free to ignore and even when omitted, the shown values are used as defaults).
kb.insert.endpoint - When present it is used to insert resources instead of the default one. Some bases do have separate endpoint for insertion.
kb.insert.endpoint =
kb.insert.defaultClass - Default class used in situations, when the class is not specified.
Defaultkb.insert.defaultClass = http://www.w3.org/2002/07/owl#Thing
kb.insert.predicate.label - Predicate used for assigning labels.
Defaultkb.insert.label = http://www.w3.org/2000/01/rdf-schema#label
kb.insert.predicate.alternativeLabel - Predicate used for assigning alternative labels.
Defaultkb.insert.label = http://www.w3.org/2000/01/rdf-schema#label
kb.insert.predicate.subclassOf - Predicate used for the "subclass of" relationship.
Defaultkb.insert.predicate.subclassOf = http://www.w3.org/2000/01/rdf-schema#subClassOf
kb.insert.predicate.subPropertyOf - Predicate used for the "sub-property of" relationship.
Defaultkb.insert.predicate.subProperty = http://www.w3.org/2000/01/rdf-schema#subPropertyOf
kb.insert.type.class - Type used for inserting classes.
Defaultkb.insert.type.class = http://www.w3.org/2002/07/owl#Class
kb.insert.type.property - Type used for inserting properties.
Defaultkb.insert.type.property = http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
kb.insert.type.dataProperty - datatype properties type
kb.insert.type.dataProperty = http://www.w3.org/2002/07/owl#DatatypeProperty
kb.insert.type.objectProperty - object properties type
kb.insert.type.objectProperty = http://www.w3.org/2002/07/owl#ObjectProperty
Other optional settings (implementation is free to ignore them too).
kb.classTypeMode - During initial disambiguation, class restriction is applied to the disambiguated entity. There are two modes, in which the class restriction may be applied. In the standard “indirect” mode, the disambiguated entity must be instance of something, which is a class. In the direct mode, the disambiguated entity can be class itself - this is the case e.g. in case of SKOS schemas, where there are just skos:Concepts.
Defaultkb.classTypeMode = indirect
kb.structure.predicate.instanceOf - Predicate used for the "instance of" relationship.
Defaultkb.structure.predicate.instanceOf = http://www.w3.org/1999/02/22-rdf-syntax-ns#type
kb.structure.predicate.domain - Predicate used to specify domains of properties.
Defaultkb.structure.predicate.domain = http://www.w3.org/2000/01/rdf-schema#domain
kb.structure.predicate.range - Predicate used to specify ranges of properties.
Defaultkb.structure.predicate.range = http://www.w3.org/2000/01/rdf-schema#range