Uses of Annotation Interface
laas.openrobots.ontology.service.RPCMethod
Packages that use RPCMethod
Package
Description
Base package, that mainly stores the oro-server entry class,
OroServer
.Provides the actual underlying ontology-based storage.
Allows explicit representation of other agents with independant models of
the world.
Provides methods to extract similarities, differences and categories from
a set of concepts.
Provides the cognitive event manager module.
-
Uses of RPCMethod in laas.openrobots.ontology
Methods in laas.openrobots.ontology with annotations of type RPCMethod -
Uses of RPCMethod in laas.openrobots.ontology.backends
Methods in laas.openrobots.ontology.backends with annotations of type RPCMethod -
Uses of RPCMethod in laas.openrobots.ontology.modules.alterite
Methods in laas.openrobots.ontology.modules.alterite with annotations of type RPCMethodModifier and TypeMethodDescriptionvoid
AlteriteModule.addForAgent
(String id, Set<String> rawStmts) Add statements in a specific agent cognitive model.void
AlteriteModule.addForAgent
(String id, Set<String> rawStmts, String memProfile) Add statements in a specific agent cognitive model with a specific memory model.boolean
AlteriteModule.checkConsistencyForAgent
(String id) void
AlteriteModule.clearEvent
(String agent, String eventId) void
AlteriteModule.clearEventsForAgent
(String agent) void
AlteriteModule.clearForAgent
(String id, Set<String> rawStmts) AlteriteModule.discriminateForAgent
(String id, Set<String> rawConcepts) AlteriteModule.findForAgent
(String id, String varName, Set<String> statements) AlteriteModule.getInfosForAgent
(String id, String lex_resource) Returns the set of asserted and inferred statements whose the given node is part of, in the specifi agent model.AlteriteModule.listAgents()
AlteriteModule.lookupForAgent
(String agent_id, String id) AlteriteModule.registerEventForAgent
(String agent, String type, String triggeringType, String variable, List<String> pattern, IEventConsumer consumer) AlteriteModule.registerEventForAgent
(String agent, String type, String triggeringType, List<String> pattern, IEventConsumer consumer) Eventsvoid
AlteriteModule.removeForAgent
(String id, Set<String> rawStmts) Deprecated.void
Generic knowledge revision requestboolean
AlteriteModule.safeAddForAgent
(String id, Set<String> rawStmts) boolean
AlteriteModule.safeAddForAgent
(String id, Set<String> rawStmts, String memProfile) Adds statements in a specific agent cognitive model with a specific memory model, but only if the statement doesn't cause any inconsistency.void
void
AlteriteModule.updateForAgent
(String id, Set<String> rawStmts) -
Uses of RPCMethod in laas.openrobots.ontology.modules.base
Methods in laas.openrobots.ontology.modules.base with annotations of type RPCMethodModifier and TypeMethodDescriptionvoid
LikeBaseModule.add(Set<String>, String)
with theMemoryProfile.DEFAULT
memory profile.void
Adds a set of statements (assertions) to the ontology from their string representation in the given memory profile.
This method does nothing if the statements already exist with the same memory profile.BaseModule.checkConsistency()
Checks if the ontology is consistent.BaseModule.checkConsistency
(Set<String> rawStmts) Checks that a set of statements are consistent with the current model.void
Removes all statements matching any statements or partial statements in the provided set.Tries to identify a resource given a set of partially defined statements about this resource.
This is a simpler form forBaseModule.find(String, Set, Set)
, without filters.Tries to identify a resource given a set of partially defined statements (plus optional restrictions) about this resource.
First simple example:BaseModule.getClassesOf
(String individual) BaseModule.getDirectClassesOf
(String individual) BaseModule.getDirectInstancesOf
(String type) Returns all the direct instances of a given class (ie, the instances whose the given class is the direct parent), as asserted or inferred from the ontology.BaseModule.getDirectSubclassesOf
(String type) Returns all the direct sub-classes of a given class (ie, the classes whose the given class is the direct parent), as asserted or inferred from the ontology.BaseModule.getDirectSuperclassesOf
(String type) Returns all the direct super-classes of a given class (ie, the classes whose the given class is a direct descendant), as asserted or inferred from the ontology.Returns the set of asserted and inferred statements whose the given node is part of.BaseModule.getInstancesOf
(String type) Returns all the instances of a given class, as asserted or inferred from the ontology.Returns the label associated to a concept whose name is 'id'.BaseModule.getResourceDetails
(String id) LikeBaseModule.getResourceDetails(String, String)
with language set to default language (as set in the server config file).BaseModule.getResourceDetails
(String id, String language_code) Returns a complete description of a resource identified byid
, including its type, label (in a specified language, if available), plus: - superclasses, subclasses and instances for classes - class for instances These data are sent as a JSON serialization.BaseModule.getSubclassesOf
(String type) Returns all the sub-classes of a given class, as asserted or inferred from the ontology.BaseModule.getSuperclassesOf
(String type) Returns all the super classes of a given class, as asserted or inferred from the ontology.MapsIOntologyBackend.query(String, String)
into a RPC callvoid
Deprecated.boolean
boolean
Adds statements with a specific memory model, but only if the statement doesn't cause any inconsistency.void
Update the value of a property. -
Uses of RPCMethod in laas.openrobots.ontology.modules.categorization
Methods in laas.openrobots.ontology.modules.categorization with annotations of type RPCMethodModifier and TypeMethodDescriptionCategorizationModule.discriminate
(Set<String> rawConcepts) CategorizationModule.getDifferences
(String conceptA, String conceptB) Returns the differences between two concepts (in their literal representation).CategorizationModule.getSimilarities
(String conceptA, String conceptB) Returns the similarities between two concepts (in their literal representation). -
Uses of RPCMethod in laas.openrobots.ontology.modules.events
Methods in laas.openrobots.ontology.modules.events with annotations of type RPCMethodModifier and TypeMethodDescriptionvoid
EventModule.clearEvent
(String eventId) Removes one event trigger from the model.void
EventModule.clearEvents()
EventModule.registerEvent
(String type, String triggeringType, String variable, List<String> pattern, IEventConsumer consumer) EventModule.registerEvent
(String type, String triggeringType, List<String> pattern, IEventConsumer consumer)
BaseModule.clear(Set)
instead.