Hi,

I was looking to implement something like substitute() using RDFLib.

I checked the note:
https://afs.github.io/substitute.htm
But I couldn't find a clear example.

For example, how would this query string (the template)

PREFIX dbo: <http://dbpedia.org/ontology/>
CONSTRUCT
WHERE { ?city dbo:populationTotal ?population }

would look like after substituting (?city,
<http://dbpedia.org/resource/Copenhagen>)?


Martynas

Reply via email to