Interface SemanticExtension

All Known Implementing Classes:
DefaultExtension, SemWebExtension

public interface SemanticExtension
Interface to attach semantic extensions to a MMFG collection
Author:
stefan_wagenpfeil
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCollectionIdForConcept​(java.lang.String concept)
    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 Code
    int[] getRelationShipTypes​(java.lang.String concept1, java.lang.String concept2)
    returns all externalized relationship types for two vocabulary terms
  • Method Details

    • getCollectionIdForConcept

      java.lang.String getCollectionIdForConcept​(java.lang.String concept)
      returns the unique semantic ID for a vocabulary term (i.e. concept)
    • getQueryGraphCode

      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 Code
    • getRelationShipTypes

      int[] getRelationShipTypes​(java.lang.String concept1, java.lang.String concept2)
      returns all externalized relationship types for two vocabulary terms