updated ontology, queries, index.js

Allmost everything working as intended now.