Version: 2022.03.02
https://docs.google.com/document/d/136NBEwqi0Jwon4h23m0BfDMMIn_TBx06o1pPXNz8HXk/edit
This API wraps a number of different more modular APIs and database engines or analysis services. The idea is that the API implementation will do the right thing - for example, using Solr for searches but injecting results with fast in-memory traversal of ontology graphs.
When starting up, configure with:
- PURL of tbox
- BOLT connector metadata for neo4j
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.collection.mutable.WeakHashMap | |
/** | |
* Utility traits for classes whose companion objects are to | |
* intern their instances, never creating repeated objects. | |
* | |
* Instances are cached based on their immutable | |
* arguments, as provided to companion object's {{apply()}}. | |
*/ |