(01) (QUERY-REF:sender …:receiver
(02)    :content “<rdf:RDFxmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#
(03)   <owl:Ontology rdf:about=http://acg.ual.es/soleres/tests/LookupOntology.owl”/>
(04)  
(05)  <QueryForm  rdf:about =http://acg.ual.es/soleres/tests/LookupOntology.owl#QueryFormInstance”>
(06)    <queryString  rdf:datatype=http://www.w3.org/2001/XMLSchema#string >
(07)       %  here the SPARQL sentence
(08)    </queryString>
(09)  </QueryForm>
(10)   <Query rdf:about=http://acg.ual.es/soleres/tests/LookupOntology.owl#QyeryInstance
(11)    </rdf:RDF>”
(12)    :languageLookupOntology
(13)    :ontology  http://acg.ual.es/soleres/tests/LookupOntology.owl)
Algorithm 2