Package | Description |
---|---|
laas.openrobots.ontology |
Base package, that mainly stores the oro-server entry class,
OroServer . |
laas.openrobots.ontology.backends |
Provides the actual underlying ontology-based storage.
|
laas.openrobots.ontology.helpers | |
laas.openrobots.ontology.modules.alterite |
Allows explicit representation of other agents with independant models of
the world.
|
laas.openrobots.ontology.modules.base | |
laas.openrobots.ontology.tests |
Provides unit-tests suites fro oro-server.
|
Constructor and Description |
---|
PartialStatement(java.lang.String partialStatement,
com.hp.hpl.jena.rdf.model.impl.ModelCom model)
Create a new partial statement from its string representation.
Works as OpenRobotsOntology.createStatement(String) except at least one variable, prepended with a "?", is expected.
This class implements Statement , but the PartialStatement.getSubject() , PartialStatement.getPredicate() and PartialStatement.getObject() method will return null if the corresponding part of the statement is unbounded. |
Modifier and Type | Method and Description |
---|---|
boolean |
IOntologyBackend.add(java.util.Set<com.hp.hpl.jena.rdf.model.Statement> statements,
MemoryProfile memProfile,
boolean safe)
Adds a set of new statements (assertion) to the ontology.
|
boolean |
OpenRobotsOntology.add(java.util.Set<com.hp.hpl.jena.rdf.model.Statement> statements,
MemoryProfile memProfile,
boolean safe) |
boolean |
IOntologyBackend.add(com.hp.hpl.jena.rdf.model.Statement statement,
MemoryProfile memProfile,
boolean safe)
Deprecated.
Please use
IOntologyBackend.add(Set, MemoryProfile, boolean) instead |
boolean |
OpenRobotsOntology.add(com.hp.hpl.jena.rdf.model.Statement statement,
MemoryProfile memProfile,
boolean safe) |
PartialStatement |
IOntologyBackend.createPartialStatement(java.lang.String statement)
This static method acts as a PartialStatement factory.
|
PartialStatement |
OpenRobotsOntology.createPartialStatement(java.lang.String statement) |
com.hp.hpl.jena.rdf.model.Statement |
IOntologyBackend.createStatement(java.lang.String statement)
This static method acts as a Statement factory.
|
com.hp.hpl.jena.rdf.model.Statement |
OpenRobotsOntology.createStatement(java.lang.String statement) |
void |
OpenRobotsOntology.list(java.lang.String pattern) |
void |
IOntologyBackend.update(java.util.Set<com.hp.hpl.jena.rdf.model.Statement> stmts)
Update the value of a property.
|
void |
OpenRobotsOntology.update(java.util.Set<com.hp.hpl.jena.rdf.model.Statement> stmts) |
Modifier and Type | Method and Description |
---|---|
static com.hp.hpl.jena.rdf.model.RDFNode |
Helpers.parseLiteral(java.lang.String lex,
com.hp.hpl.jena.rdf.model.impl.ModelCom model)
Parse a SPARQL string representing a literal to an actual Jena
Literal . |
Modifier and Type | Method and Description |
---|---|
void |
AlteriteModule.addForAgent(java.lang.String id,
java.util.Set<java.lang.String> rawStmts)
Add statements in a specific agent cognitive model.
|
void |
AlteriteModule.addForAgent(java.lang.String id,
java.util.Set<java.lang.String> rawStmts,
java.lang.String memProfile)
Add statements in a specific agent cognitive model with a specific
memory model.
|
void |
AlteriteModule.clearForAgent(java.lang.String id,
java.util.Set<java.lang.String> rawStmts) |
java.util.Set<java.lang.String> |
AlteriteModule.findForAgent(java.lang.String id,
java.lang.String varName,
java.util.Set<java.lang.String> statements) |
java.util.Set<java.lang.String> |
AlteriteModule.findForAgent(java.lang.String id,
java.lang.String varName,
java.util.Set<java.lang.String> statements,
java.util.Set<java.lang.String> filters) |
java.util.Set<java.util.List<java.lang.String>> |
AlteriteModule.lookupForAgent(java.lang.String agent_id,
java.lang.String id) |
void |
AlteriteModule.removeForAgent(java.lang.String id,
java.util.Set<java.lang.String> rawStmts)
Deprecated.
|
void |
AlteriteModule.revise(java.util.Set<java.lang.String> statements,
java.lang.String json_policy)
Generic knowledge revision request
|
boolean |
AlteriteModule.safeAddForAgent(java.lang.String id,
java.util.Set<java.lang.String> rawStmts) |
boolean |
AlteriteModule.safeAddForAgent(java.lang.String id,
java.util.Set<java.lang.String> rawStmts,
java.lang.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 |
AlteriteModule.updateForAgent(java.lang.String id,
java.util.Set<java.lang.String> rawStmts) |
Modifier and Type | Method and Description |
---|---|
void |
BaseModule.add(java.util.Set<java.lang.String> rawStmts)
Like
#add(Set with the MemoryProfile.DEFAULT memory profile. |
void |
BaseModule.add(java.util.Set<java.lang.String> rawStmts,
java.lang.String memProfile)
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. |
java.lang.Boolean |
BaseModule.check(java.util.Set<java.lang.String> stmts) |
java.lang.Boolean |
BaseModule.checkConsistency(java.util.Set<java.lang.String> rawStmts)
Checks that a set of statements are consistent with the current model.
|
void |
BaseModule.clear(java.util.Set<java.lang.String> rawStmts)
Removes all statements matching any statements or partial statements in
the provided set.
|
java.util.Set<java.lang.String> |
BaseModule.find(java.lang.String varName,
java.util.Set<java.lang.String> statements)
Tries to identify a resource given a set of partially defined statements about this resource.
This is a simpler form for BaseModule.find(String, Set, Set) , without filters. |
java.util.Set<java.lang.String> |
BaseModule.find(java.lang.String varName,
java.util.Set<java.lang.String> statements,
java.util.Set<java.lang.String> filters)
Tries to identify a resource given a set of partially defined statements (plus optional restrictions) about this resource.
First simple example: |
void |
BaseModule.remove(java.util.Set<java.lang.String> rawStmts)
Deprecated.
Use
BaseModule.clear(Set) instead. |
boolean |
BaseModule.safeAdd(java.util.Set<java.lang.String> rawStmts) |
boolean |
BaseModule.safeAdd(java.util.Set<java.lang.String> rawStmts,
java.lang.String memProfile)
Adds statements with a specific memory model, but only if the statement
doesn't cause any inconsistency.
|
void |
BaseModule.update(java.util.Set<java.lang.String> rawStmts)
Update the value of a property.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenRobotsOntologyTest.alteriteModule1()
This test checks that the Alterite module works as expected regarding
addition of agents.
|
void |
OpenRobotsOntologyTest.alteriteModule2()
This test checks Alterite module general methods.
|
void |
EventsTest.clearEvent() |
void |
EventsTest.clearEvents() |
void |
EventsTest.eventsFactChecking() |
void |
EventsTest.eventsFactCheckingAlternateModel() |
void |
EventsTest.eventsNewClassInstance()
This tests event framework on "NEW_CLASS_INSTANCE" type of events
|
void |
EventsTest.eventsNewInstance()
This tests event framework on "NEW_INSTANCE" type of events
|
void |
EventsTest.eventsNewInstanceWithSameAs()
This tests event "NEW_INSTANCE" with owl:sameAs predicate
|
void |
OpenRobotsOntologyTest.getInfos()
This test retrieve in the ontology details about a resource.
|
void |
OpenRobotsOntologyTest.getInfosDefaultNs()
This test is exactly the same as
#testGetInfos() except we don't specify any namespaces. |
ORO is a part of the OpenRobots framework.
openrobots@laas.fr
LAAS-CNRS 2009-2011