rdf resource declaration

Data in the file is not written in the same order in which I need to process them. So my question is, whether should be all properties of one resource declared at one place (in one description tag) and thus whole file processed at once and only then created rdf. Or whether it is possible to add properties to previously declared resource anywhere in document during data processing?

Taggings:

1 answer

rdf resource declaration-solution

It is possible to define resource in one place and add properities in another like this:

<rdf:Description rdf:about="http://www.example.sk/Maria_Juana">
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
</rdf:Description>

<rdf:Description rdf:about="http://www.example.sk/Maria_Juana">
<rdf:name>Maria Juana</rdf:name>
</rdf:Description>

Taggings: