brettkromkamp / topic-db Goto Github PK
View Code? Open in Web Editor NEWTopicDB is a topic maps-based semantic graph store (using SQLite for persistence)
License: MIT License
TopicDB is a topic maps-based semantic graph store (using SQLite for persistence)
License: MIT License
Examples:
The GetAssociations command will be renamed to GetTopicAssociations (retrieve all associations for a given topic). And, the GetAssociations will become a command class to retrieve associations, optionally filtered by 'instance of' and 'scope'.
Source:
topic-db/topicdb/core/store/topicstore.py
Line 2137 in 444856a
topic-db/topicdb/core/store/topicstore.py
Line 70 in 444856a
Current set of tests are whole insufficient: https://github.com/brettkromkamp/topic-db/tree/master/tests
The tests need to be reviewed (probably updated) and appropriately extended to ensure sufficient coverage.
Currently, the topic map engine uses SQLite as its persistence store. It should be possible to use different persistence stores (e.g., PostgreSQL).
Implementation detail: I will probably implement this using the strategy pattern.
Currently, the GetTopicIdentifiers command class returns topic identifiers regardless of the type (i.e., instance of) of the topics. It should be possible to filter what type of topic identifiers should be returned. This is already relevant for StoryTechnologies' scene browser.
This change will have consequences downstream (i.e., Contextualise).
This will require refactoring of the StoryTechnologies Story Engine (https://github.com/brettkromkamp/story_engine) code base.
In addition, track permissions (i.e., can-view, can-edit and can-comment) and ownership on the connection between a user and a topic map.
Expected output:
elon-musk
lyndon-rive
solar-city
solar-energy
space-x
falcon-9
falcon-heavy
dragon
tesla
model-s
model-x
model-y
roadster
Actual (erroneous) output:
elon-musk
tesla
roadster
model-y
model-x
model-s
space-x
dragon
falcon-heavy
falcon-9
lyndon-rive
solar-city
solar-energy
Order of the siblings is not necessarily relevant, but overall "shape" of the tree/graph is.
Method:
topic-db/topicdb/core/store/topicstore.py
Line 970 in 44af2ba
Refactor TopicDB to be asynchronous.
Relevant links:
Currently, the different command classes (e.g., GetAssociations, GetAttributes, GetTopicsHierarchy) allow for retrieving topic map-related data. Nonetheless, it should be possible to return data for user-defined queries.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.