I have several thousands URIRef ontology values that I’m trying to get a string representation of: I could go to each one’s link individually (eg http://purl.obolibrary.org/obo/RO_0002219) and get it (e.g surrounded by), but how can I do it with Python? There are 2 ways that I see how to do it but I couldn’t figure out either. One way would
Tag: rdf
Running SPARQL Queries on turtle file
I’m trying to run SPARQL queries on turtle files using python, but my sparql returns all the entries, how can I return the entry with name=”Idham Al-Taif Mahmoud”? turtle file: python code: Answer I think your issue is with the methods. Here is a link with a nice example of what you want to do. The following script works for