[an error occurred while processing this directive]
The information on this page is kept for historical/archival reasons. These pages are not updated any more. Please update your link.
n
owl:AllDifferent description and adding all the named individuals in
the owl:distinctMembers list. However, maintaining such a list is
costly (size of the input file is increased considerably and each individual
addition and removal affects the list). Pellet provides an option USE_UNIQUE_NAME_ASSUMPTION to enable
UNA in the reasoning process. You can set turn this option on by changing the
configuration file or programmatically accessing the PelletOptions class.Can I use Pellet to do Closed World Reasoning?
Some forms of closed world can be encoded in an OWL ontology by explicitly
limiting the universe to the known individuals, e.g. setting owl:Thing
equivalent to an enumeration of all the known individuals (using owl:oneOf). The extension of a class can also be closed by settng it equivalent to the numeration of all members. Similar can be done for property assertions.
There's an implementation of ALCK (ALC + the K operator) in
an SVN branch.
There are two ways of using K right now: either restrictedly in the TBox, in
the form of an epistemic rule, or in query, where you can use K arbitrarily on
classes/properties. See
this paper
for more information. There are also some examples in the SVN branch and an
online demo.
Note that, this implementation is in a preliminary state and not heavily
tested. Let us know about bugs/problems by sending an e-mail to the Pellet
mailing list.
How can I configure Pellet
Several feature of Pellet can be controlled by changing the configuration
file. A sample configuration file named "pellet.properties" can be found in
the Pellet distribution. The location of the used configuration file
should be specified by setting the system property "pellet.configuration". The
location should be specified as a (relative or absolute) URL. For example, the following command would
use the local file located at the current directory:
java -jar lib\pellet.jar -Dpellet.configuration=file:pellet.properties
If the system property is not set, the configuration file inside pellet.jar
will be used. By rebuilding the jar file you can change the default
configuration. See the sample configuration file for the description of
parameters that can be configured. Note that, these configuration parameters
can also be controlled programmatically by accessing the PelletOptions class.
|
|
Class(<a:Person> partial restriction(<a:hasAddress> someValuesFrom(<a:Address>)) Class(<a:Student> partial <a:Person>)) ObjectProperty(a:hasAddress Functional)
If this ontology is loaded in an OntModel backed by Pellet
calling Student.listSuperClasses() would not include the restriction in the
result. There are several reasons for this behavior: Treating each restriction
as a named class would make it harder to reason with the ontology and the
results you get in the end is not that useful. For example, in the above
example, the reasoner can also return restriction(<a:hasAddress>
minCardinality(1)) or restriction(<a:hasAddress>
maxCardinality(1)) or restriction(<a:hasAddress>
allValuesFrom(<a:Address>)) as a super class because they are all
entailed by the above definition. Once class expression are considered, there
are infinitely many possibilities, e.g.
maxCardinality(1) implies maxCardinality(2)
and so on. For this reason, Pellet will not return a restriction in an answer
just because they physically exists in the ontology. However, one needs to get
the syntactic definitions in the ontology and all the results Pellet returns
are concatenated by the answers from the raw model. This means calling
Person.listSuperClasses() for the above example would include the restriction
in the results.
Note that, all the boolean functions would still work as expected. For
example, asking the question like Student.hasSuperClass( restriction ) where
restriction is the anonymous resource corresponding to the someValuesFrom
restriction, Pellet will return true.
// import
org.mindswap.pellet.owlapi.Reasoner
|
pellet-dig -port 8080 in the command prompt. java -cp lib/pellet.jar org.mindswap.pellet.PelletKRSSKnowledgeBase.loadKRSS(Reader) function also
provides programmatic support to load KRSS files to a Pellet knowledge
base