© Lamy Jean-Baptiste 2021
L. Jean-BaptisteOntologies with Pythonhttps://doi.org/10.1007/978-1-4842-6552-9_11

11. Working with RDF triples and worlds

Lamy Jean-Baptiste1  
(1)
Université Sorbonne Paris Nord, LIMICS, Sorbonne Université INSERM, UMR 1142, Bobigny, France
 

In this chapter, we will see how to directly access Owlready’s RDF quadstore and how to create several isolated “worlds”, each having their own quadstore.

11.1 RDF triples

RDF (Resource Description Framework) is a graph model for the formal description of resources and metadata. In particular, any OWL ontology can be expressed in the form of an RDF graph. An RDF graph consists of a set of RDF triples of the form (subject, predicate, object). The predicate corresponds to a property in the ...

Get Ontologies with Python: Programming OWL 2.0 Ontologies with Python and Owlready2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.