Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parsing an RDF file in python

Does anyone know how to pars RDF file in Python to get all the values within a specific tag? thanks

like image 703
Hossein Avatar asked May 30 '10 21:05

Hossein


1 Answers

Are you using an RDF library? Otherwise, perhaps you should. For example, see the documentation of three RDF libraries for Python:

  • Redland RDF libraries
  • RDFLib
  • RDF/XML parser
like image 93
Jochem Schulenklopper Avatar answered Oct 03 '22 11:10

Jochem Schulenklopper