Comments (5)
There is a series of undocumented (:-/) methods that might be helpful to you. They take as input the shortform and return a boolean telling whether or not the entity exists. Example:
brain.knowsClass("Cell");
brain.knowsObjectProperty("part-of");
Does it solves your problem? If yes, this should be added to the main doc.
from brain.
It does indeed. I've been using direct OWL API calls, but this is much more convenient. Thanks!
from brain.
Cool! I add it to the doc then. Thanks for reporting and sorry for delays in replying!
from brain.
Also seems there is no equivalent method for checking individuals (at least I don't see one in the javadoc). Would be great if you could add that too.
from brain.
OK - I will implement.
from brain.
Related Issues (17)
- Handling individuals HOT 5
- getAnnotations() HOT 3
- Documentation request HOT 3
- Queries on labels with spaces not working HOT 2
- Add methods to allow deletion of axioms
- Feature Request: Methods for adding GCIs
- Feature Request - support for axiom annotation
- ShortFormIDs can't begin with number in 1.5.1 - but worked fine in 1.4.3 HOT 1
- Class error "java.beans.Introspector". HOT 1
- Control over Elk workers HOT 1
- Getters for Top level properties
- Checking if a class is present in the ontology
- Support for unique rdfs:label ? HOT 5
- Prefixes are not kept from the source ontology with the learn method
- Feature request - web service HOT 3
- Clarifying prefix handling from constructor and learn()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brain.