How to search values in attributes and retrieve them?

Skip to first unread message

Go S

Mar 25, 2019, 12:30:25 PM3/25/19
to EasyRdf Discussion
Hello like-minded people!
I have two questions regarding processing RDF.

I have RDF/XML from GeoNames.
The overall structure of an entity looks like this:
<gn:Feature rdf:about=""></gn:Feature>
<foaf:Document rdf:about=""></foaf:Document>

From there, I would like to extract all the URLs. For example:
<gn:parentFeature rdf:resource=""/>
<dcterms:created rdf:datatype="">2006-01-15</dcterms:created>

To this end,
1) How can I search values (i.e. regular expression for "http://") in attributes?
2) After that, how can I fetch the string value of the attributes (i.e. and

Can anyone help on those? Many thanks in advance!
Reply all
Reply to author
0 new messages