I’m making an attempt to conceive a wine cellar software for my father and for enjoyable on my free time.
I’ve determined to make a easy MVC with Pixi.js / JQuery and Bootstrap served by Categorical for the entrance and a REST API with JAX-RS Jersey for the again (so in Java).
The software program is meant to be use on a neighborhood degree, so hosted by the consumer and solely the consumer’s cellar is meant to feed the appliance with knowledge.
I’ve studied ontologies, RDF triplets and OWL throughout my semester and I need to implement it within the challenge to arrange bottles of wine and the info associated to them (like the colour, the citadel, the grapes used and so forth), however we’ve not utilized it to an internet app.
I have been trying on the internet how one can use and apply ontologies in Java and I discovered Apache Jena which appears to be the instrument I need to work with.
Nonetheless, I don’t know how one can arrange and retailer the bottle of wine. Ought to I exploit solely the XML file utilized by the OWL ontology and populated by the consumer supplied knowledge ?
Or ought to I retailer the bottles of wine in SQL and populate my ontology with this knowledge ?
The primary resolution appears a bit bizarre as a result of storing knowledge in a single file doesn’t appears environment friendly.
And the second resolution appears additionally a bit off as a result of it duplicates the info.
I feel my questions comes from the truth that I don’t perceive how ontologies works inside a webapp, so I might use a few of your assist to make clear my thoughts.