Research Article

OntoTrader: An Ontological Web Trading Agent Approach for Environmental Information Retrieval

Algorithm 3

(01)  (INFORM-REF:sender …:receiver
(02)    :content “<rdf:RDFxmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#” …
(03) <owl:Ontologyrdf:about=http://acg.ual.es/soleres/tests/LookupOntology.owl”/> …
(04)  <OfferSeq rdf:about=http://acg.ual.es/soleres/tests/LookupOntology.owl#OfferSeqInstance”>
(05)<resultString rdf:datatype=http://www.w3.org/2001/XMLSchema#string >
(06)
(07)<sparql xmlns=http://www.w3.org/2005/sparql-reslts#
(08) <head>  <variable name=EID__VariableName”/>  </head>
(09)<results>
(10) <result>
(11)       <binding name=EID__VariableName >
(12)      <literal datatype=http://www.w3.org/2001/XMLSchema#string >C1</literal>
(13)     </binding>
(14) </result>
(15) <result>
(16)      <binding name=EID__VariableName >
(17)     <literal datatype=http://www.w3.org/2001/XMLSchema#string >C1L1</literal>
(18)      </binding>
(19) </result>
(20) 
(21)  </results>
(22)  </sparql>
(23)  </resutString>
(24)  </OfferSeq>
(25)  <NotEmptyOfferSeq rdf:about=http://…/LookupOntology.owl#NotEmptyOfferSeqInstance”/>
(26)  <Query rdf:about=http://acg.ual.es/soleres/tests/LookupOntology.owl#QueryInstance”/>
(27) </rdf:RDF>”
(28) :languageLookupOntology
(29) :ontology  http://acg.ual.es/soleres/tests/LookupOntology.owl)