Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankier/any23jena
Bridge to load triples using Any23 into a Jena Model/Graph
https://github.com/frankier/any23jena
any23 jena rdf
Last synced: about 1 month ago
JSON representation
Bridge to load triples using Any23 into a Jena Model/Graph
- Host: GitHub
- URL: https://github.com/frankier/any23jena
- Owner: frankier
- License: apache-2.0
- Created: 2018-01-03T11:43:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T14:34:07.000Z (about 7 years ago)
- Last Synced: 2024-11-08T10:54:05.570Z (3 months ago)
- Topics: any23, jena, rdf
- Language: Java
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# any23jena
This tiny library provides a bridge to allow Any23 to load triples into a Jena
Model/Graph. This can be used to support formats Jena doesn't support natively
(e.g. RDFa).## Installation
This library is available on jCenter. See: https://bintray.com/frankier/maven/any23jena
## Example
You can use it like so::
Model myModel = org.apache.jena.rdf.model.ModelFactory.createDefaultModel();
JenaTripleHandler tripleHandler = new JenaTripleHandler(myModel);final Any23 any23 = new Any23("html-rdfa11");
any23.extract("file:///path/to/rdfa.html", tripleHandler);
// myModel now contains your triples