Uses of Class
laas.openrobots.ontology.exceptions.IllegalStatementException
Packages that use IllegalStatementException
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 unit-tests suites fro oro-server.
-
Uses of IllegalStatementException in laas.openrobots.ontology
Constructors in laas.openrobots.ontology that throw IllegalStatementExceptionModifierConstructorDescriptionPartialStatement(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 returnnullif the corresponding part of the statement is unbounded. -
Uses of IllegalStatementException in laas.openrobots.ontology.backends
Methods in laas.openrobots.ontology.backends that throw IllegalStatementExceptionModifier and TypeMethodDescriptionbooleanIOntologyBackend.add(com.hp.hpl.jena.rdf.model.Statement statement, MemoryProfile memProfile, boolean safe) Deprecated.booleanIOntologyBackend.add(Set<com.hp.hpl.jena.rdf.model.Statement> statements, MemoryProfile memProfile, boolean safe) Adds a set of new statements (assertion) to the ontology.booleanOpenRobotsOntology.add(com.hp.hpl.jena.rdf.model.Statement statement, MemoryProfile memProfile, boolean safe) booleanOpenRobotsOntology.add(Set<com.hp.hpl.jena.rdf.model.Statement> statements, MemoryProfile memProfile, boolean safe) IOntologyBackend.createPartialStatement(String statement) This static method acts as a PartialStatement factory.OpenRobotsOntology.createPartialStatement(String statement) com.hp.hpl.jena.rdf.model.StatementIOntologyBackend.createStatement(String statement) This static method acts as a Statement factory.com.hp.hpl.jena.rdf.model.StatementOpenRobotsOntology.createStatement(String statement) voidvoidUpdate the value of a property.void -
Uses of IllegalStatementException in laas.openrobots.ontology.helpers
Methods in laas.openrobots.ontology.helpers that throw IllegalStatementExceptionModifier and TypeMethodDescriptionstatic com.hp.hpl.jena.rdf.model.RDFNodeHelpers.parseLiteral(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 IllegalStatementExceptionModifier and TypeMethodDescriptionvoidAlteriteModule.addForAgent(String id, Set<String> rawStmts) Add statements in a specific agent cognitive model.voidAlteriteModule.addForAgent(String id, Set<String> rawStmts, String memProfile) Add statements in a specific agent cognitive model with a specific memory model.voidAlteriteModule.clearForAgent(String id, Set<String> rawStmts) AlteriteModule.findForAgent(String id, String varName, Set<String> statements) AlteriteModule.lookupForAgent(String agent_id, String id) voidAlteriteModule.removeForAgent(String id, Set<String> rawStmts) Deprecated.voidGeneric knowledge revision requestbooleanAlteriteModule.safeAddForAgent(String id, Set<String> rawStmts) booleanAlteriteModule.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.voidAlteriteModule.updateForAgent(String id, Set<String> rawStmts) -
Uses of IllegalStatementException in laas.openrobots.ontology.modules.base
Methods in laas.openrobots.ontology.modules.base that throw IllegalStatementExceptionModifier and TypeMethodDescriptionvoidLikeBaseModule.add(Set<String>, String)with theMemoryProfile.DEFAULTmemory profile.voidAdds 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(Set<String> rawStmts) Checks that a set of statements are consistent with the current model.voidRemoves 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:voidDeprecated.UseBaseModule.clear(Set)instead.booleanbooleanAdds statements with a specific memory model, but only if the statement doesn't cause any inconsistency.voidUpdate the value of a property. -
Uses of IllegalStatementException in laas.openrobots.ontology.tests
Methods in laas.openrobots.ontology.tests that throw IllegalStatementExceptionModifier and TypeMethodDescriptionvoidOpenRobotsOntologyTest.alteriteModule1()This test checks that the Alterite module works as expected regarding addition of agents.voidOpenRobotsOntologyTest.alteriteModule2()This test checks Alterite module general methods.voidEventsTest.clearEvent()voidEventsTest.clearEvents()voidEventsTest.eventsFactChecking()voidEventsTest.eventsFactCheckingAlternateModel()voidEventsTest.eventsNewClassInstance()This tests event framework on "NEW_CLASS_INSTANCE" type of eventsvoidEventsTest.eventsNewInstance()This tests event framework on "NEW_INSTANCE" type of eventsvoidEventsTest.eventsNewInstanceWithSameAs()This tests event "NEW_INSTANCE" with owl:sameAs predicatevoidOpenRobotsOntologyTest.getInfos()This test retrieve in the ontology details about a resource.voidOpenRobotsOntologyTest.getInfosDefaultNs()This test is exactly the same asexcept we don't specify any namespaces.invalid reference
#testGetInfos()
IOntologyBackend.add(Set, MemoryProfile, boolean)instead