Skip to content

Understanding 'N'-prefixed IDs with RDFLib-SQLAlchemy #110

@karthik-m-jain

Description

@karthik-m-jain

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions