Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

librdfa-rdf4j is a RDFParser that is built on top of librdfa, which claims to be the fastest RDFa processor. The librdfa processor is written in C for XML and HTML languages. In order to connect Java code with the C processor, the RDF4J parser uses SWIG. In project folder, there is an annotated C header file that creates wrapper code, making available the librdfa library in Java. If you want to see the C code developed for the bridge between librdfa and Java, please check the c folder of the parser.

In order to use the parser, you can just add the dependency as a normal maven project. Later on, you can use the Rio API when providing the RDFFormat.RDFA.

Building from source

Install

...