Class MicrodataExtractorTest

    • Constructor Detail

      • MicrodataExtractorTest

        public MicrodataExtractorTest()
    • Method Detail

      • testSchemaOrgNestedProps

        public void testSchemaOrgNestedProps()
                                      throws org.eclipse.rdf4j.repository.RepositoryException,
                                             org.eclipse.rdf4j.rio.RDFHandlerException,
                                             IOException,
                                             org.eclipse.rdf4j.rio.RDFParseException,
                                             ExtractionException
        Reference test for Schema.org.
        Throws:
        ExtractionException - if an exception is raised during extraction
        org.eclipse.rdf4j.repository.RepositoryException - if an error is encountered whilst loading content from a storage connection
        org.eclipse.rdf4j.rio.RDFHandlerException - if there is an error in the RDFHandler implementation
        IOException - if there is an error loading input data
        org.eclipse.rdf4j.rio.RDFParseException - if there is an error parsing an actual RDF stream
      • testUnusedItemprop

        public void testUnusedItemprop()
      • testExample2

        public void testExample2()
      • testExample5

        public void testExample5()
      • testMicrodataBasic

        public void testMicrodataBasic()
      • testMicrodataMissingScheme

        public void testMicrodataMissingScheme()
      • testMicrodataGoogleRichSnippet

        public void testMicrodataGoogleRichSnippet()
                                            throws org.eclipse.rdf4j.rio.RDFHandlerException,
                                                   org.eclipse.rdf4j.repository.RepositoryException,
                                                   IOException,
                                                   org.eclipse.rdf4j.rio.RDFParseException
        Reference test as provided by Google Rich Snippet for Microdata.
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException - if an error is encountered whilst loading content from a storage connection
        org.eclipse.rdf4j.rio.RDFHandlerException - if there is an error in the RDFHandler implementation
        IOException - if there is an error loading input data
        org.eclipse.rdf4j.rio.RDFParseException - if there is an error parsing an actual RDF stream
      • testExample5221

        public void testExample5221()
                             throws org.eclipse.rdf4j.rio.RDFHandlerException,
                                    org.eclipse.rdf4j.repository.RepositoryException,
                                    IOException,
                                    org.eclipse.rdf4j.rio.RDFParseException
        First reference test for Microdata Extraction algorithm.
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException - if an error is encountered whilst loading content from a storage connection
        org.eclipse.rdf4j.rio.RDFHandlerException - if there is an error in the RDFHandler implementation
        IOException - if there is an error loading input data
        org.eclipse.rdf4j.rio.RDFParseException - if there is an error parsing an actual RDF stream
      • testExample5222

        public void testExample5222()
                             throws org.eclipse.rdf4j.rio.RDFHandlerException,
                                    org.eclipse.rdf4j.repository.RepositoryException,
                                    IOException,
                                    org.eclipse.rdf4j.rio.RDFParseException
        Second reference test for Microdata Extraction algorithm.
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException - if an error is encountered whilst loading content from a storage connection
        org.eclipse.rdf4j.rio.RDFHandlerException - if there is an error in the RDFHandler implementation
        IOException - if there is an error loading input data
        org.eclipse.rdf4j.rio.RDFParseException - if there is an error parsing an actual RDF stream
      • testExampleSchemaOrg1

        public void testExampleSchemaOrg1()
                                   throws org.eclipse.rdf4j.rio.RDFHandlerException,
                                          org.eclipse.rdf4j.repository.RepositoryException,
                                          IOException,
                                          org.eclipse.rdf4j.rio.RDFParseException
        First reference test for http://schema.org/.
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException - if an error is encountered whilst loading content from a storage connection
        org.eclipse.rdf4j.rio.RDFHandlerException - if there is an error in the RDFHandler implementation
        IOException - if there is an error loading input data
        org.eclipse.rdf4j.rio.RDFParseException - if there is an error parsing an actual RDF stream
      • testExampleSchemaOrg2

        public void testExampleSchemaOrg2()
                                   throws org.eclipse.rdf4j.rio.RDFHandlerException,
                                          org.eclipse.rdf4j.repository.RepositoryException,
                                          IOException,
                                          org.eclipse.rdf4j.rio.RDFParseException
        Second reference test for http://schema.org/.
        Throws:
        org.eclipse.rdf4j.repository.RepositoryException - if an error is encountered whilst loading content from a storage connection
        org.eclipse.rdf4j.rio.RDFHandlerException - if there is an error in the RDFHandler implementation
        IOException - if there is an error loading input data
        org.eclipse.rdf4j.rio.RDFParseException - if there is an error parsing an actual RDF stream
      • testMicrodataNestedUrlResolving

        public void testMicrodataNestedUrlResolving()
                                             throws IOException
        Throws:
        IOException
      • testTel

        public void testTel()