rdflib-sqlalchemy
rdflib-sqlalchemy copied to clipboard
Understanding 'N'-prefixed IDs with RDFLib-SQLAlchemy
trafficstars
When using RDFLib with the SQLAlchemy backend to store RDF data in a PostgreSQL database, I've noticed that some subject and object fields have IDs starting with "N".
Example Entry:
| Subject | Predicate | Object |
|---|---|---|
| http://purl.obolibrary.org/obo/BFO_0000062 | http://www.w3.org/2002/07/owl#propertyChainAxiom | N160ea22f83814f728990ceaafb6fbc43 |
Question:
- What is the significance of these IDs starting with "N"?
- Are they representing blank nodes in RDF?
- How should they be interpreted or handled when querying the database directly?
- Any clarification on this would be greatly appreciated.
Thank you!