• Non ci sono risultati.

COBRA, a Demo

N/A
N/A
Protected

Academic year: 2021

Condividi "COBRA, a Demo"

Copied!
2
0
0

Testo completo

(1)

COBRA, a Demo

Rafael Pe˜ naloza

1,2?

and Aparna Saisree Thuluva

1??

1

Institute for Theoretical Computer Science, Technische Universit¨ at Dresden

2

Center for Advancing Electronics Dresden

penaloza@tcs.inf.tu-dresden.de,aparna saisree.thuluva@tu-dresden.de

COBRA is a tool for performing context-based reasoning in OWL ontologies, with an emphasis on its applications. COBRA is built on top of standard OWL reasoning tools, and uses the OWL-API, which makes it easy to use, maintain, and keep up-to-date with reasoning technologies.

To understand the behaviour of COBRA, we must first explain the idea of context-based reasoning. We consider as input for the system an annotated OWL ontology. Intuitively, this annotated ontology is a compact representation of a class of ontologies, which we call contexts. More precisely, every axiom in an OWL ontology is annonated, using the owl:annotation tag, with a list of labels that express the contexts that this axiom belongs to. For example, if we have two contexts C

1

and C

2

containing axioms α

1

and α

2

; and α

2

and α

3

, respectively, then the annotated input ontology O will contain three axioms α

1

, α

2

, and α

3

annotated with {c

1

}, {c

1

, c

2

}, and {c

2

}, respectively. One of the main goals of context-based reasoning is to identify the class of contexts that entail a given logical consequence.

An obvious method for solving this reasoning problem would be to first ex- tract all the different contexts from the annotated ontology, and perform stan- dard reasoning in all of them. Given the speed of state-of-the-art OWL reasoners, this approach, in the following called the na¨ıve approach produces a very efficient reasoning procedure for realistic OWL ontologies, assuming that the number of contexts is small. However, as the number of contexts grows, so does the total execution time of the na¨ıve method, by a linear factor.

To handle cases where the number of contexts is high (e.g., above a thousand) more effective methods based on axiom-pinpointing, for detecting large clusters of contexts entailing the consequence, through only one call to the reasoner, and a variant of Reiter’s Hitting Set Tree (HST) algorithm [3] for ensuring that all possible contexts have been detected through a systematic search. Specifically, we use the HST approach for computing the so-called boundary of a consequence described in [1]. Notice that in this case, the HST approach can be further optimized, since the background lattice required in [1] corresponds to the class of all sets of labels, with union and intersection as operators, which are easier to compute.

COBRA implements the na¨ıve and the HST methods via a sequence of black- box calls to standard OWL reasoners. For the HST method, it must call a rea-

?

Partially supported by DFG within the Cluster of Excellence ‘cfAED’

??

Supported by the International MSc Program in Computational Logic (MCL)

(2)

soner capable of explanation services. Specifically, the reasoner must not only answer whether a consequence holds from an ontology or not, but in the affir- mative case, additionally provide a justification; that is, a minimal sub-ontology still entailing this consequence. Additionally, since the na¨ıve and the HST algo- rithms both require reasoning over several, slightly different, ontologies, incre- mental reasoning tools have a strong positive impact in the performance of the overall system. The current version of COBRA uses the explanation capabilities of HermiT [4] and the very efficient incremental reasoner ELK [5] whenever the input ontology adheres to the OWL 2 EL profile of OWL 2.

A typical application scenario for context-based reasoning is in the area of error-tolerant reasoning, where the different contexts correspond to the repairs of an unwanted consequence (see [2] for details). For that reason, COBRA provides also an ontology-annotation service based on the computation of all repairs.

In a nutshell, the system receives as input a classical OWL ontology O, and an unwanted consequence of O. It then computes all the repairs w.r.t. this unwanted consequence, and annotates O considering each repair as a context. Notice that applying this tool to Snomed CT can lead to situations with over ten million contexts.

The demo will showcase the behaviour of the different components of the tool and their use for practical applications, with special emphasis on error-tolerant reasoning.

References

1. F. Baader, M. Knechtel, and R. Pe˜ naloza. Context-dependent views to axioms and consequences of semantic web ontologies. J. Web Sem., 12:22–40, 2012.

2. M. Ludwig and R. Pe˜ naloza. Error-tolerant reasoning in the description logic EL.

In Proc. of JELIA’14, volume 8761 of LNCS, pages 107–121. Springer, 2014.

3. R. Reiter. A theory of diagnosis from first principles. Artificial Intelligence, 32(1):57–95, 1987.

4. R. Shearer, B. Motik, and I. Horrocks. HermiT: A Highly-Efficient OWL Reasoner.

In Proc. of OWLED 2008 EU, Karlsruhe, Germany, 2008.

5. F. S. Yevgeny Kazakov, Markus Kr¨ otzsch. The incredible elk - from polynomial

procedures to efficient reasoning with el ontologies. J. Autom. Reas., 53(1):1–61,

2014.

Riferimenti

Documenti correlati

b) Given that the standard enthalpies of combustion of 1,3-butadiene and 4-ethenyl-cyclohexene are –2540 and –4930 kJ mol –1 respectively, calculate the standard enthalpy change

Inoltre, monitorando l’attività di caccia del Gufo reale attraverso la tecnica della radiotelemetria e analizzando la macchia bianca presente nel sottocoda del Coniglio, sua

By using the term “residents” then the Palestinians of WBGS were treated by the Israeli occupation forces as foreign nationals and aliens, who just happened to be present in

quark search is performed in a mass range from 200 to 1000 GeV using a sample of events containing one light lepton, a hadroni- cally decaying tau lepton, and at least two jets, with

Quando, dunque, l'intervento medico non può fare altro che accentuare le sofferenze e prolungare il processo di morte, il vero bene della persona può esigere l'astensione o

 la marca deve diventare una piattaforma di sviluppo per l’azienda. Le aziende, passando a una strategia di marketing relazionale, investono su tutti quegli elementi

Al centro di Lucy, prima storia ambientata al di fuori del contesto caraibico, vi è ancora l’esperienza della giovane protagonista: il dolore di essere stata

Sensor signal is acquired and analysed in the frequency domain in order to investigate the presence of the characteristic frequency of the phenomenon (i.e.,