opensemanticsearch / open-semantic-search-apps

Python/Django based webapps and web user interfaces for search, structure (meta data management like thesaurus, ontologies, annotations and named entities) and data import (ETL like text extraction, OCR and crawling filesystems or websites)
https://opensemanticsearch.org/
GNU General Public License v3.0
95 stars 36 forks source link

Snippets to added ontologies, and enabling graphs for them #30

Open bhelou opened 6 years ago

bhelou commented 6 years ago

Hi,

I'm interested in adding snippets to an added ontology, and graph visualization (through Analyze->Connections (Graph)).

For example, let's say I've added the ontology human disease ontology.xrdf. To add snippets and graph visualization, I first find the name of the facet associated with the ontology by viewing /etc/solr-php-ui/config.facets.php. I get

image (BTW, what does the _ss stand for. Semantic search?)

I could modify that config file directly but to avoid errors, I go to Django admin page and add the human_disease_ontology_xrdf_ss facet:

I can now see snippets

image

I can also find 'diseases' when I try to visualize graphs

I am not sure if this is how OSS is intended to be used. Is there a better way to add snippets and enable graph visualization?

Best regards, Bassam

bhelou commented 6 years ago

I just realized that for graph visualization, I don't have to do what I suggested to include an ontology.

Although added ontologies don't appear in "Types of entities (classes) & connections (properties)", if I click on "Add more ...", I can find the ontologies I've added. (I'd think all facets appear when I press "Add more ..."?)