How can I use the RDFLIB module in Python to retrieve a value from an OWL file using SparQL?
- 阅读更多 关于 How can I use the RDFLIB module in Python to retrieve a value from an OWL file using SparQL?
问题 I am currently trying to write a script in Python that uses the RDFLIB module in order to retrieve a specific value from an OWL file by using SPARQL. The problem I'm facing is that the current version of my script returns no data. I tried to print each row in order for myself to analayse the output, but the output simply reads "Process finished with exit code 0". My final goal is to retrieve a value (in the example, this value will be '96') from the OWL file. The object to which this value is