Class MappingRelationUtils
java.lang.Object
se.liu.ida.hefquin.mappings.algebra.MappingRelationUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.query.DatasetReturns the RDF dataset resulting from the given mapping relation.
-
Constructor Details
-
MappingRelationUtils
public MappingRelationUtils()
-
-
Method Details
-
convertToRDF
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.)
-