Package io.setl.rdf.normalization
Class RdfNormalize
- java.lang.Object
-
- io.setl.rdf.normalization.RdfNormalize
-
public class RdfNormalize extends java.lang.ObjectPerform RDF normalization.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.apicatalog.rdf.RdfDatasetnormalize(com.apicatalog.rdf.RdfDataset input)Normalize an RDF dataset using the URDNA 2015 algorithm.static com.apicatalog.rdf.RdfDatasetnormalize(com.apicatalog.rdf.RdfDataset input, java.lang.String algorithm)Normalize an RDF dataset using the specified algorithm.
-
-
-
Method Detail
-
normalize
public static com.apicatalog.rdf.RdfDataset normalize(com.apicatalog.rdf.RdfDataset input)
Normalize an RDF dataset using the URDNA 2015 algorithm.- Parameters:
input- the dataset to be normalized- Returns:
- a new normalized equivalent dataset.
-
normalize
public static com.apicatalog.rdf.RdfDataset normalize(com.apicatalog.rdf.RdfDataset input, java.lang.String algorithm) throws java.security.NoSuchAlgorithmExceptionNormalize an RDF dataset using the specified algorithm. NB. Currently only "URDNA2015" is supported.- Parameters:
input- the dataset to be normalizedalgorithm- the normalization algorithm. If null or empty, URDNA2015 is assumed.- Returns:
- a new normalized equivalent dataset.
- Throws:
java.security.NoSuchAlgorithmException- if the algorithm is not known (i.e. not "URDNA2015")
-
-