Skip to content

ORM data models, schemas, and vocabularies for pyoxigraph

License

Notifications You must be signed in to change notification settings

p2p-ld/pydantigraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pydantigraph

ORM data models, schemas, and vocabularies for pyoxigraph

  • ORM-like read/write with pyoxigraph
    • Read - just model fields
    • Read - model fields + all triples with matching subject
    • Lazy read - read connected entities when accessed
    • Write
    • Update
    • Delete
    • Crawl - get triples n-steps out from current object leaves with filtering
  • Namespaces for using schema
    • Code generation from existing schema
  • Fields and type annotations for declaring terms
    • Fields are properly checked by MyPy using the first type parameter
  • Lists <-> blank node collections
  • Pydantic validation
    • JSON-Schema
    • RDF serialization with rdflib
    • IRI (not URL) validator
    • Only fields that map onto RDF literals allowed

See Also

About

ORM data models, schemas, and vocabularies for pyoxigraph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages