How does this work?
This website is powered by the
Precis Ontology for modeling personal professional metadata, which is a part of the greater
Precis Toolkit. The website is statically served using
GitHub Pages.
With the exception of the
homepage and the
contact page, all pages are generated at runtime on the client side. This operation is performed by loading a copy of my
personal Precis ontology on the client side, and extracting information from the graph using
SPARQL.
The
SPARQL queries used for this purpose are consolidated in a single
JavaScript module, and are available
from the project repository. Additionally, the
JavaScript module handling page layouts is also
available here.
Certain nodes in the graph are linked to external
Knowledge Graph entities from
DBpedia. When an object with an associated
DBpedia entity is moused over, a popover is displayed with information from that entity's
DBpedia resource.
As with the core page layout process, this operation is also enabled by
SPARQL queries to the
DBpedia SPARQL server, with results added to the page dynamically on the client side. The source code used for this operation is available
here.
This is an
Open Source project, and source code is available
on GitHub.
Acknowledgements
License
The MIT License (MIT)
Copyright (c) 2020 Rukmal Weerawarana
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.