A possible request to Ontology pattern detection service, listening at http://owl.vse.cz:8080/ontologyTransformation/detection, is as follows:
POST /ontologyTransformation/detection HTTP/1.1 Host: owl.vse.cz:8080 Content-Length: 140 tp=http://nb.vse.cz/~svabo/patomat/tp/tp_hasSome2.xml&ontology=http://nb.vse.cz/~svabo/oaei2009/data/cmt.owl
A possible response from Ontology pattern detection service is as follows:
HTTP/1.1 201 Created Content-Type: text/xml;charset=ISO-8859-1 Content-Length: 474 <query_results> <pattern_instance> <binding placeholder="?p">hasDecision</binding> <binding placeholder="?B">Decision</binding> <binding placeholder="?A">Paper</binding> <binding placeholder="?C">Acceptance</binding> </pattern_instance> </query_results>
The output XML format has the following structure as XML DTD, http://nb.vse.cz/~svabo/patomat/tp/detectionOutput.dtd:
<!ELEMENT query_results (pattern_instance)> <!ELEMENT pattern_instance (binding)+> <!ELEMENT binding (#PCDATA)> <!ATTLIST binding placeholder CDATA #REQUIRED>