public class SparqlQueryDescriptionConvertRDFS extends Object
| Constructor and Description |
|---|
SparqlQueryDescriptionConvertRDFS() |
| Modifier and Type | Method and Description |
|---|---|
static String |
conceptRewrite(String descriptionKBSyntax,
SPARQLTasks st,
int maxDepth)
replaces each String representing a concept in descriptionKBSyntax with a
union of the subclasses ex: (c sub b); (b sub a ) then: (a AND b) will be
((a OR b OR c) AND (b OR a))
|
public SparqlQueryDescriptionConvertRDFS()
public static String conceptRewrite(String descriptionKBSyntax, SPARQLTasks st, int maxDepth)
descriptionKBSyntax - the description in KB syntaxmaxDepth - determines the depth of retrieval, if 1 classes are replaced by direct subclasses only,
1 is HIGHLY RECOMMENDED FOR LARGE HIERARCHIES)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann