rdflib-sqlalchemy icon indicating copy to clipboard operation
rdflib-sqlalchemy copied to clipboard

Understanding 'N'-prefixed IDs with RDFLib-SQLAlchemy

Open karthik-m-jain opened this issue 1 year ago • 0 comments
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!

karthik-m-jain avatar Sep 14 '24 23:09 karthik-m-jain