Package de.swa.gmaf.extensions.defaults
Class DefaultExtension
java.lang.Object
de.swa.gmaf.extensions.defaults.DefaultExtension
- All Implemented Interfaces:
SemanticExtension
public class DefaultExtension extends java.lang.Object implements SemanticExtension
Extension to external semantic models - WORK IN PROGRESS
- Author:
- stefan_wagenpfeil
-
Constructor Summary
Constructors Constructor Description DefaultExtension() -
Method Summary
Modifier and Type Method Description java.lang.StringgetCollectionIdForConcept(java.lang.String s)returns the unique semantic ID for a vocabulary term (i.e. concept)GraphCodegetQueryGraphCode(java.lang.String sparql, GraphCode base)returns a Graph Code for a given SparQL query, which represents the external inferences of an already existing calculated base Graph Codeint[]getRelationShipTypes(java.lang.String concept1, java.lang.String concept2)returns all externalized relationship types for two vocabulary terms
-
Constructor Details
-
DefaultExtension
public DefaultExtension()
-
-
Method Details
-
getCollectionIdForConcept
public java.lang.String getCollectionIdForConcept(java.lang.String s)Description copied from interface:SemanticExtensionreturns the unique semantic ID for a vocabulary term (i.e. concept)- Specified by:
getCollectionIdForConceptin interfaceSemanticExtension
-
getQueryGraphCode
Description copied from interface:SemanticExtensionreturns a Graph Code for a given SparQL query, which represents the external inferences of an already existing calculated base Graph Code- Specified by:
getQueryGraphCodein interfaceSemanticExtension
-
getRelationShipTypes
public int[] getRelationShipTypes(java.lang.String concept1, java.lang.String concept2)Description copied from interface:SemanticExtensionreturns all externalized relationship types for two vocabulary terms- Specified by:
getRelationShipTypesin interfaceSemanticExtension
-