[Python] How to run a SPARQL update statement using RDFLIB in python

Discussão em 'Python' iniciado por Stack, Dezembro 9, 2024.

  1. Stack

    Stack Membro Participativo

    I know there is an update statement in SPARQL, but I am not really sure how to use it in RDFLIB. For instance, I have an ontology that contains Alice and Julius as individuals and I want to run a SPARQL update to change their properties. This includes things like updating their ages, likes, hobbies, etc.

    I also want to be able to add individuals and their properties if they do not exist in the ontology. Example, adding John, his age, likes, hobbies, etc.

    Continue reading...

Compartilhe esta Página