Lucinda is a general RDF-resource browser which could be configured to work with any triplestore providing a SPARQL-endpoint address. In this repository you can find few examples of Lucinda usage. Lucinda was first presented at Wikicite2018.
1. In your HTML browsing page, do the following things:
<div id="__lucinda__"></div>
<head>
:
<link href="https://github.com/opencitations/lucinda/blob/master/path/to/lucinda.css" rel="stylesheet">
<footer>
):
<script type="text/javascript" src="https://github.com/opencitations/lucinda/raw/master/path/to/lucinda.js"></script>
<script type="text/javascript" src="https://github.com/opencitations/lucinda/raw/master/path/to/lucinda.js"></script>
<script type="text/javascript" src="https://github.com/opencitations/lucinda/raw/master/path/to/my_lucionda_addon.js"></script>
2. Define your resource template(s), each template is defined by:
3. Run Lucinda:
<script>
block right after the imported JS modules and set the default configurations of Lucinda (have a look at the guidelines on how to correctly do this):
Lucinda.init({
url_base: "/browser",
templates: [
"brbrowser"
]
});
Lucinda.run();