Skip to content
Snippets Groups Projects
Commit 56f53895 authored by Eliott Sammier's avatar Eliott Sammier
Browse files

Add id property for pages

parent 9f41c844
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ def generate_triples(
# Type and simple properties
graph.add((page, RDF.type, OWL.NamedIndividual))
graph.add((page, RDF.type, NS["Page"]))
graph.add((page, NS["id"], Literal(page_id)))
add_title(graph, page, page_title)
add_index(
graph,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment