I am using Rowlex Library. I have a .rdf.xml (extension) file with content:
<Ontologyowl:User rdf:about="userid_1">
<Ontologyowl:hasRated>
<Ontologyowl:Rating rdf:about="Rating_1">
</Ontologyowl:Rating>
</Ontologyowl:hasRated>
<Ontologyowl:hasRated>
<Ontologyowl:Rating rdf:about="Rating_1">
</Ontologyowl:Rating>
</Ontologyowl:hasRated>
</Ontologyowl:User>
I intend to extract the information in the "hasRated" tag. I know it could be achieved using the "Rating" URI, but the output i get is not what i require. I intend to extract all information in the "hasRated" tag (as mentioned in the hasRated tag) in the file. Currently i am able to extract information from the first "hasRated" tag only, I need to extract information from every "hasRated" tag of user.
I would really appreciate any help provided in this matter. Thanks.