Comments (6)
SubsetLink is a InheritanceLink. If you don't want subtypes run get_atoms_by_type with subtype=False
from opencog.
Closing, this seems to be not-a-bug, per last comment.
from opencog.
Just to add one comment, there is also a Scheme version of this function (cog-get-atoms
) and by default it doesn't return any subtypes of the atom type being queried (and it seems more intuitive that way). It would be better if we have consistent APIs across different bindings?
from opencog.
t would be better if we have consistent API
Yes, it would be. I'd happily merge such a pull req, if @noskill has no objections.
from opencog.
@linas Sure, i have no objection to changing of scheme api.
from opencog.
No we are not changing the scheme API. There is too much code that uses it as it is. No one uses the Python API for anything .. change the python.
from opencog.
Related Issues (20)
- cannot find -lBoost::filesystem HOT 6
- Ghosts unit tests failing. HOT 12
- No Relex2Logic output is generated after nlp-parse HOT 11
- Opencog repo: Cannot find lBoost::filesystem, lBoost::system HOT 17
- [RuntimeError] Can't get the atomspace that guile is using. python3 bot HOT 7
- Sureal examples return Error HOT 1
- LgConnector is always interpreted as a node in Guile HOT 5
- NOP
- Unbound Variable: TypeSet HOT 5
- wont compile will these errors HOT 2
- unable to build HOT 5
- opencog/nlp/types/atom_types.h: No such file or directory HOT 4
- nlp-types build error HOT 1
- fatal error: opencog/nlp/types/atom_types.h: No such file or directory HOT 3
- Building opencog error HOT 1
- FuzzyUTest fails to build looking for AtomTable HOT 8
- Error when trying to set-relex-server-host from guile shell or cogserver scm shell. (Path to running GHOST) HOT 7
- New issue HOT 2
- [Website] The blog is down
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 opencog.