Class MappingRelationUtils

java.lang.Object
se.liu.ida.hefquin.mappings.algebra.MappingRelationUtils

public class MappingRelationUtils extends Object
  • Constructor Details

    • MappingRelationUtils

      public MappingRelationUtils()
  • Method Details

    • convertToRDF

      public static org.apache.jena.query.Dataset convertToRDF(MappingRelation r)
      Returns the RDF dataset resulting from the given mapping relation.
      Parameters:
      r - - the mapping relation from which the RDF dataset is extracted
      Returns:
      the extracted RDF dataset
      Throws:
      IllegalArgumentException - if the schema of the given mapping relation does not include the expected attributes (MappingRelation.sAttr, MappingRelation.pAttr, etc.)