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.String
getCollectionIdForConcept(java.lang.String s)
returns the unique semantic ID for a vocabulary term (i.e. concept)GraphCode
getQueryGraphCode(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:SemanticExtension
returns the unique semantic ID for a vocabulary term (i.e. concept)- Specified by:
getCollectionIdForConcept
in interfaceSemanticExtension
-
getQueryGraphCode
Description copied from interface:SemanticExtension
returns a Graph Code for a given SparQL query, which represents the external inferences of an already existing calculated base Graph Code- Specified by:
getQueryGraphCode
in interfaceSemanticExtension
-
getRelationShipTypes
public int[] getRelationShipTypes(java.lang.String concept1, java.lang.String concept2)Description copied from interface:SemanticExtension
returns all externalized relationship types for two vocabulary terms- Specified by:
getRelationShipTypes
in interfaceSemanticExtension
-