Copyright © 2010 by the Submitting Members.
This document is available under the W3C Document License. See the W3C Intellectual Rights Notice and Legal Disclaimers for additional information.
OWLlink provides a declarative interface for – among other things – asserting OWL axioms to a Knowledge Base (KB) of an OWL reasoner. This OWLlink extension adds the ability to retract previously asserted axioms from KBs. This document describes the accompanying HTTP/S-Expression Binding of this extension.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications can be found in the W3C technical reports index at http://www.w3.org/TR/.
This document is a part of the OWLllink Submission which comprises eight documents:
Earlier drafts of the OWLlink specification have been published by the informal OWLlink working group at http://www.owllink.org.
By publishing this document, W3C acknowledges that the Submitting Members have made a formal Submission request to W3C for discussion. Publication of this document by W3C indicates no endorsement of its content by W3C, nor that W3C has, is, or will be allocating any resources to the issues addressed by it. This document is not the product of a chartered W3C group, but is published as potential input to the W3C Process. A W3C Team Comment has been published in conjunction with this Member Submission. Publication of acknowledged Member Submissions at the W3C site is one of the benefits of W3C Membership. Please consult the requirements associated with Member Submissions of section 3.3 of the W3C Patent Policy. Please consult the complete list of acknowledged W3C Member Submissions.
The HTTP/S-Expression binding of this extension follows the guidelines of the [OWLlink HTTP/S-Expression Binding].
The following example request message demonstrates the use of retraction using the S-Expression syntax. Please note the use of the NamespacePrefix OWLlink Functional message to declare a namespace prefix "ret" for the namespace <http://www.owllink.org/ext/retraction#>.
(NamespacePrefix () ret |http://www.owllink.org/ext/retraction#|) (RequestMessage () (CreateKB (:kb |http://www.owllink.org/examples/KB_ext1|)) (Tell (:kb |http://www.owllink.org/examples/KB_ext1|) (ClassAssertion |http://www.owllink.org/examples/myOntology#A| |http://www.owllink.org/examples/myOntology#i|)) (GetInstances (:kb |http://www.owllink.org/examples/KB_ext1| :direct "false") |http://www.owllink.org/examples/myOntology#A|) (ret.Retract (:|http://www.owllink.org/ext/retraction#kb| "http://www.owllink.org/examples/KB_ext1") (ClassAssertion |http://www.owllink.org/examples/myOntology#A| |http://www.owllink.org/examples/myOntology#i|)) (GetInstances (:kb |http://www.owllink.org/examples/KB_ext1| :direct "false") |http://www.owllink.org/examples/myOntology#A|) (ReleaseKB (:kb |http://www.owllink.org/examples/KB_ext1|)))
The corresponding response message is shown below.
(ResponseMessage () (KB (:kb |http://www.owllink.org/examples/KB_ext1|)) (OK ()) (SetOfIndividualSynsets () (IndividualSynset () |http://www.owllink.org/examples/myOntology#i|)) (OK ()) (SetOfIndividualSynsets ()) (OK ()))