How to insert an individual according to spo

classic Classic list List threaded Threaded
2 messages Options
SSN
Reply | Threaded
Open this post in threaded view
|

How to insert an individual according to spo

SSN
How to insert individuals in type of "King has ruled Country"
King, has_ruled, Country_Name as the s, p and o.
Reply | Threaded
Open this post in threaded view
|

Re: How to insert an individual according to spo

Jiba
Administrator
Hi,

If you want to insert RDF triple, you should use RDFlib over the Owlready quadstore :

See doc here: https://owlready2.readthedocs.io/en/latest/world.html?highlight=rdflib#working-with-rdflib-for-performing-sparql-queries

The graph can then be used as any RDFlib graph.

Jiba