Closed doobybug closed 5 years ago
Yes you should be able to add the annotations datastore to Fuseki. I have the following guide:
https://github.com/glenrobson/SimpleAnnotationServer/blob/master/doc/FusekiJena.md
Which will hopefully help but you should find the jena data files in the data
directory.
I think I managed to add the annotions datastore but is it possible to query them from the sparql endpoint? Each annotation is showing as a seperate graph
Ah great it looks like you've got it working. Yes all of the annotations are separate graphs to keep them self contained. You can query them with something similar to:
select ?annoId ?graph where {
GRAPH ?graph {
?on <http://www.w3.org/ns/oa#hasSource> <http://example.com/canvas/id> .
?annoId <http://www.w3.org/ns/oa#hasTarget> ?on
}
}
Does that help?
Perfect yes...I didn't notice that they were in seperate graphs
Thats great news.
Hi,
I have been trying to connect Fuseki to view the triple store. Can you add the dataset through the fuseki interface? If so where is the path to the annotations dataset ?