What is the rdfa parser for java that supports the rdfa attributes currently in use?

I am building a Java application using Jena for semantic information. I am looking for an RDFa parser that will allow me to properly retrieve all RDFa instructions. In particular, one that extracts information about the used namespaces and assumes that the RDFa tags on the page are correct creates the correct triples that distinguish between the properties of the object and the data.

I went through all RDFa partners from http://rdfa.info/wiki/Consume for Java. All of them are struggling to extract any RDFa statements, and if they do not crash, the Jena RDFa parser shows a lot of errors and then dies from a terrible death, the data is of little use as it is processed incorrectly and usually mixes. I am new to this area, so please be gentle :)

I also thought about using a library written in another language, but then I still do not know how to connect it to the Java code. Any suggestions?

+3
source share
2 answers

RDFa HTML. any23 library RDFa, HTML. RDFa RDF, .., .

+3

java-rdfa. jena validator.nu html 5 parser, html, (.. ).

+3

Source: https://habr.com/ru/post/1743701/


All Articles