nash
nash
I have the same question. By looking over the docs [here](https://neo4j.com/docs/labs/nsmntx/current/inference/), it seems classical reasoning is not possible, or am I missing something?
Perhaps related to #416
Why shouldn't we? Perhaps we could use another kind of syntax if we don't want to overload the dot notation.
How about `isbn = book.get(attr=ns.isbn)` ?
Another suggestion: support aliases defined in the code. As an illustration: ``` python set_alias(alias='position', oclass=onto.Atom, func=lambda atom: atom.get(onto.Position)[0].vector) ... a = onto.Atom() ... p = a.position ```
Good point. It can still be beneficial though to have a "read-only" wrapper, for direct access to data in an OSP-core script.
That sounds indeed better. Great suggestion.
Could be related to mapping data from tables to RDF. Related technologies: - OntoRefine: https://openrefine.org/ , https://graphdb.ontotext.com/documentation/free/loading-data-using-ontorefine.html - YARRRML - SPARQL-Integrate: https://github.com/SmartDataAnalytics/RdfProcessingToolkit/blob/master/README-SI.md
Maybe `len(cuds_object)` should simply be then a call for a recursive function?
It's either recursion when calling `len()` or when calling `add()` (to update the counters). Maybe we shouldn't support it then? or create a utility function that makes it clear that...