Skip to main content

Python resource

Path to this ontology's generated .py file, relative to abi:pythonPackage. Used to build the dotted module for `from <module> import <Class>`.

ABIAnnotation property
IRI
http://ontology.naas.ai/abi/pythonResource
Module
EventOntology ยท ABI

Examplesโ€‹

Turtle
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix ex: <https://example.org/> .

ex:subject1 abi:pythonResource "Example" . # python resource
SPARQL
PREFIX abi: <http://ontology.naas.ai/abi/>

# Pairs linked by "python resource"
SELECT ?term ?value WHERE {
?term abi:pythonResource ?value .
}
LIMIT 100

Used in ABIโ€‹

Python resource is referenced in 39 files of jupyter-naas/abi (revision 56f86c1): 20 ontology modules, 17 processes and 2 example datasets, across the agent, bus, cache, email, keyvalue, linkedin, naas-abi, object_storage, organizations, people, personnel, secret, triple_store, vector_store and x modules.

In ontology modulesโ€‹

In processesโ€‹

In example dataโ€‹

  • personnel (personnel): used in 7 statements.
  • people (people): used in 5 statements.