The Scientific World Journal / 2014 / Article / Alg 5

Research Article

Towards the Novel Reasoning among Particles in PSO by the Use of RDF and SPARQL

Algorithm 5

Pseudocode of the PSO population in RDF.
(1)<rdf:RDF>
(2) <rdf:Description rdf:about=“http://www.example.org/population”>
(3)  <ns1:member_of rdf:resource=“http://www.example.org/particle1”/>
(4)  <ns1:member_of rdf:resource=“http://www.example.org/particle2”/>
(5)  
(6)  <ns1:member_of rdf:resource=“http://www.example.org/particle ”/>
(7) </rdf:Description>
(8) <rdf:Description rdf:about=“http://www.example.org/particle1”>
(9)  <ns1:is_neighbor_of rdf:HREF=“http://www.example.org/particle2”/>
(10)    <ns1:is_neighbor_of rdf:HREF=“http://www.example.org/particle5”/>
(11)     <ns1:id>1</ns1:id>
(12)  </rdf:Description>
(13)  
(14) </rdf:RDF>

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.