Class RdfNormalize


  • public class RdfNormalize
    extends java.lang.Object
    Perform RDF normalization.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.apicatalog.rdf.RdfDataset normalize​(com.apicatalog.rdf.RdfDataset input)
      Normalize an RDF dataset using the URDNA 2015 algorithm.
      static com.apicatalog.rdf.RdfDataset normalize​(com.apicatalog.rdf.RdfDataset input, java.lang.String algorithm)
      Normalize an RDF dataset using the specified algorithm.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.NoSuchAlgorithmException
        Normalize an RDF dataset using the specified algorithm. NB. Currently only "URDNA2015" is supported.
        Parameters:
        input - the dataset to be normalized
        algorithm - 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")