Giter VIP home page Giter VIP logo

ontotrek's People

Contributors

ddooley avatar dependabot[bot] avatar matnguyen avatar wwhsiao avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

ontotrek's Issues

Adding OWL ontology URL input

I am restructuring code to work directly off of OWL rdf/xml files, courtesy of rdflib.js . This will make it MUCH easier to render any given ontology in 3d. No more need for ontofetch.py.

Display multiple ontologies

Allow more than one ontology to be displayed within same graph, by successively selecting them. Perhaps delete ontology from graph by selecting root node and hitting delete.

Allow dc:description to be used

IAO:definition is used within OBOFoundry ontologies. Others may use dc:description so allow that to be read in. More of an ontofetch.py capability.

Unable to render PATO ontology

Is the PATO ontology .owl file misformed? The following error is obtained when trying to render it:

Uncaught TypeError: Cannot read property 'prefix' of undefined
    at development.js:154
    at updateObj (3d-force-graph.min.js:5)
    at 3d-force-graph.min.js:2
    at Array.forEach (<anonymous>)
    at 3d-force-graph.min.js:2
    at eu (3d-force-graph.min.js:2)
    at Au (3d-force-graph.min.js:5)
    at Function.update (3d-force-graph.min.js:5)
    at 3d-force-graph.min.js:2
    at c (3d-force-graph.min.js:2)

Other_parents items of some ontologies like ECOCORE create rendering problem

Drawing links from some "other_parents" items to a given node, where the other parent in question hasn't been created yet I guess, creates an odd branch depth jump, ultimately resulting in much more spread out graph. It may arise when parent node has been deprecated and so hasn't been created in graph if switch to show deprecated items is off.

Code is in line 604 of common.js, around "// 3rd pass does secondary parent LINKS which could be to shallower nodes"

Cache graphs to minimize rendering

Create a cached xyx version of a graph that can be saved after it is rendered. Then we can add that as the default to display, and just have an option to clear a cache and regenerate from source owl file.

Enable branch highlighting

Enable highlight / hiding of branches of ontology temporarily - e.g. select node and have all sub-notes hidden/emphasized.

Add visualization of some types of reasoning errors - like class as subclass of disjoint classes

Protege and Robot (https://github.com/ontodev/robot) have the capability of generating one or more explanations for errors. Feed these into OntoTrek to enable visualization of the conflicting inheritance classes.

E.g. if it is reported that "populated place, Alaska" is unsatisfiable, then run robot:

robot explain --input genepio-edit.owl --reasoner HermiT --axiom "'populated place, Alaska' EquivalentTo owl:Nothing" --explanation output.md

This yields:

populated place, Alaska EquivalentTo Nothing

Enable OntoTrek to receive this markdown and display contradiction.

Rendering after applying settings slows down

It seems like a hidden data structure left over from previous render is slowing an algorithm down. Currently the workaround is to reload the app, apply settings, then select an ontology.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.