Uses of Class
laas.openrobots.ontology.exceptions.IllegalStatementException
-
Packages that use IllegalStatementException 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. -
-
Uses of IllegalStatementException in laas.openrobots.ontology
Constructors in laas.openrobots.ontology that throw IllegalStatementException Constructor 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 asOpenRobotsOntology.createStatement(String)
except at least one variable, prepended with a "?", is expected. This class implementsStatement
, but thePartialStatement.getSubject()
,PartialStatement.getPredicate()
andPartialStatement.getObject()
method will returnnull
if the corresponding part of the statement is unbounded. -
Uses of IllegalStatementException in laas.openrobots.ontology.backends
Methods in laas.openrobots.ontology.backends that throw IllegalStatementException Modifier and Type Method Description boolean
IOntologyBackend. add(com.hp.hpl.jena.rdf.model.Statement statement, MemoryProfile memProfile, boolean safe)
Deprecated.Please useIOntologyBackend.add(Set, MemoryProfile, boolean)
insteadboolean
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(com.hp.hpl.jena.rdf.model.Statement statement, MemoryProfile memProfile, boolean safe)
boolean
OpenRobotsOntology. add(java.util.Set<com.hp.hpl.jena.rdf.model.Statement> statements, 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)
-
Uses of IllegalStatementException in laas.openrobots.ontology.helpers
Methods in laas.openrobots.ontology.helpers that throw IllegalStatementException Modifier and Type Method 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 JenaLiteral
. -
Uses of IllegalStatementException in laas.openrobots.ontology.modules.alterite
Methods in laas.openrobots.ontology.modules.alterite that throw IllegalStatementException Modifier and Type Method 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 requestboolean
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)
-
Uses of IllegalStatementException in laas.openrobots.ontology.modules.base
Methods in laas.openrobots.ontology.modules.base that throw IllegalStatementException Modifier and Type Method Description void
BaseModule. add(java.util.Set<java.lang.String> rawStmts)
Like#add(Set
with the, String) 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 forBaseModule.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.UseBaseModule.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. -
Uses of IllegalStatementException in laas.openrobots.ontology.tests
Methods in laas.openrobots.ontology.tests that throw IllegalStatementException Modifier and Type Method 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 eventsvoid
EventsTest. eventsNewInstance()
This tests event framework on "NEW_INSTANCE" type of eventsvoid
EventsTest. eventsNewInstanceWithSameAs()
This tests event "NEW_INSTANCE" with owl:sameAs predicatevoid
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.
-